CN117061266B - Control method and control device of intelligent household equipment - Google Patents

Control method and control device of intelligent household equipment Download PDF

Info

Publication number
CN117061266B
CN117061266B CN202311323225.6A CN202311323225A CN117061266B CN 117061266 B CN117061266 B CN 117061266B CN 202311323225 A CN202311323225 A CN 202311323225A CN 117061266 B CN117061266 B CN 117061266B
Authority
CN
China
Prior art keywords
command
information
function
intelligent home
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311323225.6A
Other languages
Chinese (zh)
Other versions
CN117061266A (en
Inventor
曾春亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311323225.6A priority Critical patent/CN117061266B/en
Publication of CN117061266A publication Critical patent/CN117061266A/en
Application granted granted Critical
Publication of CN117061266B publication Critical patent/CN117061266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application provides a control method and a control device for intelligent household equipment, which can realize the control of various intelligent household equipment, and has stronger universality, thereby improving user experience. The method comprises the following steps: receiving broadcast information from the intelligent home equipment, wherein the broadcast information carries information for indicating the intelligent home equipment to support a second intelligent home protocol; responding to the broadcast information, acquiring first description information from the intelligent home equipment, wherein the first description information is used for indicating M functions of the intelligent home equipment, at least one command supported by each function of the M functions and equipment type of the intelligent home equipment, the first description information is generated based on the second intelligent home protocol, and M is a positive integer; and determining translation control information based on the first description information, and controlling the intelligent household equipment by utilizing the translation control information.

Description

Control method and control device of intelligent household equipment
Technical Field
The application relates to the technical field of terminals, in particular to a control method and a control device of intelligent household equipment.
Background
With the development of the internet of things (internet of things, ioT), users can control smart home devices through mobile phones, tablet computers or gateways and other electronic devices. By way of example, a user may control the functions of turning on, turning off, or adjusting brightness of the smart desk lamp through a smart home application program in the mobile phone. The control of the electronic device on the intelligent home equipment is realized by depending on an intelligent home protocol. The intelligent home protocol is a rule and convention which must be followed for completing communication or service between the intelligent home device and other electronic devices, and is one of key implementation technologies in the intelligent home field. The intelligent home protocol prescribes various commands and comments of the various commands, so that when the electronic equipment and the intelligent home equipment adopt the same intelligent home protocol for communication and adopt the intelligent home protocol to send the commands to the intelligent home equipment, the intelligent home equipment can identify and execute the commands, thereby executing corresponding operations.
However, there are a plurality of smart home protocols in the smart home industry at present, different brands of smart home devices may support different smart home protocols, so that in the case that the smart home protocols supported by the smart home devices and the smart home protocols supported by the electronic devices are different, the smart home devices may not be able to recognize commands from the electronic devices. Accordingly, there is a need to provide a method for enabling an electronic device to control a plurality of different types of smart home devices.
Disclosure of Invention
The application provides a control method and a control device for intelligent household equipment, which can realize the control of various intelligent household equipment, and has stronger universality, thereby improving user experience.
In a first aspect, a control method of an intelligent home device is provided, the control method is applied to an electronic device, and the electronic device supports a first intelligent home protocol, and the method includes: receiving broadcast information from the intelligent home equipment, wherein the broadcast information carries information for indicating the intelligent home equipment to support a second intelligent home protocol; responding to the broadcast information, acquiring first description information from the intelligent home equipment, wherein the first description information is used for indicating M functions of the intelligent home equipment, at least one command supported by each function of the M functions and equipment type of the intelligent home equipment, the first description information is generated based on the second intelligent home protocol, and M is a positive integer; determining translation control information based on the first description information, and controlling the intelligent home equipment by using the translation control information; the translation comparison information comprises a first corresponding relation and/or a second corresponding relation, the first corresponding relation comprises a corresponding relation between a function identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a function identifier of the intelligent home equipment corresponding to the second intelligent home protocol, and the second corresponding relation comprises a corresponding relation between a command identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a command identifier of the intelligent home equipment corresponding to the second intelligent home protocol.
According to the control method of the intelligent home equipment, when the electronic equipment receives broadcast information of the intelligent home equipment and determines that a second intelligent home protocol adopted by the intelligent home equipment is different from a first intelligent home protocol adopted by the electronic equipment, translation comparison information corresponding to the intelligent home equipment is determined according to the equipment type, a plurality of functions and commands corresponding to each function in the plurality of functions of the intelligent home equipment, the translation comparison information can comprise a first corresponding relation between a plurality of function identifications defined by the first intelligent home protocol and a plurality of function identifications defined by the second intelligent home protocol, and a second corresponding relation between a plurality of command identifications defined by the first intelligent home protocol and a plurality of command identifications defined by the second intelligent home protocol. Therefore, compared with the translation contrast information corresponding to the plurality of intelligent home devices preset in the electronic device, for the new type of intelligent home devices without the translation contrast information preset in the electronic device, the electronic device can determine the translation contrast information corresponding to the new type of intelligent home devices according to the device type, the plurality of functions and the command corresponding to each function in the plurality of functions of the new type of intelligent home devices, so that the control method of the intelligent home devices has higher universality.
It should be understood that the function identifier of the smart home device corresponding to the first smart home protocol may be understood as a function identifier of the smart furniture device defined by the first smart home protocol, and the command identifier of the smart home device corresponding to the second smart home protocol may be understood as a command identifier of the smart furniture device defined by the second smart home protocol; in the first corresponding relation, the meaning or annotation of the functional identifier of the corresponding smart home device corresponding to the first smart home protocol is the same as the meaning or annotation of the functional identifier of the corresponding smart home device corresponding to the second smart home protocol.
With reference to the first aspect, in certain implementation manners of the first aspect, the translation control information is determined based on a first description file and a second description file, wherein the first description file is determined based on the first description information and a first smart home protocol definition file corresponding to the first smart home protocol, and the second description file is determined based on the first description information and a second smart home protocol definition file corresponding to the second smart home protocol.
It should be appreciated that the first smart home protocol definition file may also be referred to as a standard model definition library of the first smart home protocol, where the first smart home protocol definition file is defined using the first smart home protocol, and includes information indicating a plurality of functions supported by the device of each of the plurality of device types and commands supported by each of the plurality of functions. The second smart home protocol definition file may also be referred to as a standard model definition library of a second smart home protocol, where the second smart home protocol definition file is defined using the second smart home protocol, and the second smart home protocol definition file includes information indicating a plurality of functions supported by devices of each of the plurality of device types and commands supported by each of the plurality of functions.
With reference to the first aspect, in certain implementation manners of the first aspect, the determining translation control information based on the first description information includes: sending the first description information to a cloud server; and receiving the translation control information from the cloud server.
With reference to the first aspect, in certain implementation manners of the first aspect, the translation control information is determined according to a first description file, a second description file and second description information, where the first description file is determined based on the second description file and a first smart home protocol definition file corresponding to the first smart home protocol, the second description file is determined based on the first description file and a second smart home protocol definition file corresponding to the second smart home protocol, and the second description information includes information for indicating the target function and a target command supported by each function of the target function, and the second description information is used for indicating part or all of the information in the second description file.
It should be understood that the second description information may be understood as information for describing a translation range of a device type of the smart home device. The second description information may be information defined using a second smart home protocol. The second description information includes part or all of the information in the second description file, that is, the target function is all or part of the M functions, and the target command is all or part of the at least one command. The target function can be understood as a function of the intelligent home equipment which needs to be translated by the cloud server, the target command can be understood as a command which needs to be translated by the cloud server and is supported by the function of the intelligent home equipment, and the target command is all or part of a plurality of commands supported by the target function.
With reference to the first aspect, in certain implementation manners of the first aspect, the first description information includes function identifiers of the M functions and command identifiers of the at least one command, and the second description information includes function identifiers of the target functions and command identifiers of the target commands; the determining translation control information includes: searching the function identifiers of the M functions, the comments of the function identifiers of the M functions and the comments of the command identifiers of the at least one command from the second intelligent home protocol definition file by utilizing the function identifiers of the M functions and the command identifiers of the at least one command to obtain the second description file; searching the function identification of the target function, the annotation of the function identification of the target function and the annotation of the command identification of the target command supported by each function in the target function and the annotation of the command identification of the target command from the first intelligent home protocol definition file by utilizing the function identification of the target function and the command identification of the target command to obtain the first description file; determining the first corresponding relation based on the function identification of the target function, the first description file and the second description file; and determining the second corresponding relation based on the command identification of the target command, the first description file and the second description file.
It should be appreciated that the second correspondence may be determined based on the first correspondence, and the first correspondence may include, for example, a correspondence between a first function identifier in the first description file and a second function identifier in the second description file, and the electronic device may search for a first command identifier that is the same as an annotation of a second command identifier in at least one command supported by the second function identifier from at least one command supported by the first function identifier in the first description file, and set the correspondence between the first command identifier and the second command identifier, so that, in a case where at least one command supported by two different functions has the same command, the electronic device may also set the correct first correspondence and the second correspondence.
With reference to the first aspect, in certain implementation manners of the first aspect, the method further includes: acquiring equipment type information of the intelligent home equipment from the intelligent home equipment, wherein the equipment type information indicates at least one equipment type; sending a first request for acquiring a control card corresponding to the at least one equipment type to the cloud server, wherein the first request comprises the equipment type information; and receiving card information from the cloud server, wherein the card information comprises information for indicating a combined control card, and the combined control card comprises a control card corresponding to each equipment type in the at least one equipment type and a function button corresponding to each equipment type in the at least one equipment type.
It is understood that control cards corresponding to multiple device types can be stored in the cloud server, after the electronic device sends device type information of the intelligent household device to the cloud server, the control cards corresponding to each device type in at least one device type can be combined to obtain a combined control card corresponding to the intelligent household device, and therefore, compared with the control cards corresponding to multiple device product types stored in the cloud server, the cloud server can determine the control card of the intelligent household device according to the device type information of the intelligent household device.
With reference to the first aspect, in certain implementation manners of the first aspect, the controlling the smart home device using the translation control information includes: acquiring a first command, wherein the first command is used for requesting to execute a first operation on the intelligent home equipment; translating the first command into a second command by using the translation control information, wherein the translation control information comprises a corresponding relation between the first command and the second command; and sending the second command to the intelligent household equipment.
It should be understood that the first command is a command defined using a first smart home protocol and the second command is a command defined using a second smart home protocol. In the first case, the first command may be a command generated by the electronic device and defined by using the first smart home protocol, that is, the electronic device detects an input operation of the user and generates a first command corresponding to the input operation. In the second case, the first command may be a command sent by the terminal device to the electronic device or a command sent by the terminal device to the electronic device through the cloud server.
With reference to the first aspect, in certain implementation manners of the first aspect, the acquiring, in response to the broadcast information, first description information from the smart home device includes: responding to the broadcast information, and judging whether the second intelligent home protocol supported by the intelligent home equipment is the same as the first intelligent home protocol; and under the condition that the second intelligent home protocol is different from the first intelligent home protocol, acquiring the first description information from the intelligent home equipment.
It should be appreciated that in the case where the smart home protocol supported by the smart home device is different from the smart home protocol supported by the electronic device, the electronic device determines translation contrast information corresponding to the smart home device. Under the condition that the intelligent home protocol supported by the intelligent home device is the same as the intelligent home protocol supported by the electronic device, the intelligent home device can identify the command generated by the electronic device, and the electronic device does not need to translate the command.
In a second aspect, another control method of an intelligent home device is provided and applied to a cloud server, and the method includes: receiving first description information from electronic equipment, wherein the first description information is used for indicating M functions of intelligent home equipment, at least one command supported by each function of the M functions and equipment type of the intelligent home equipment, the first description information is generated based on the second intelligent home protocol, the electronic equipment supports the first intelligent home protocol, and M is a positive integer; determining translation control information based on the first description information, wherein the translation control information comprises a first corresponding relation and/or a second corresponding relation, the first corresponding relation comprises a corresponding relation between a functional identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a functional identifier of the intelligent home equipment corresponding to the second intelligent home protocol, and the second corresponding relation comprises a corresponding relation between a command identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a command identifier of the intelligent home equipment corresponding to the second intelligent home protocol; and sending the translation comparison information to the electronic equipment.
With reference to the second aspect, in certain implementations of the second aspect, the first description information includes a function identification of the M functions and a command identification of the at least one command; the determining translation control information based on the first description information includes: searching comments of the function identifications of the M functions and the function identifications of the M functions, and comments of the command identifications of the at least one command and the command identifications of the at least one command from a second intelligent home protocol definition file corresponding to the first intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a second description file; searching comments of the function identifications of the M functions and the function identifications of the M functions, and comments of the command identifications of the at least one command and the command identifications of the at least one command from a first intelligent home protocol definition file corresponding to the first intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain the second description file; the translation control information is determined based on the first description file and the second description file.
With reference to the second aspect, in certain implementations of the second aspect, the first description information includes a function identification of the M functions and a command identification of the at least one command; the determining translation control information based on the first description information includes: searching comments of the function identifications of the M functions and the function identifications of the M functions, and comments of the command identifications of the at least one command and the command identifications of the at least one command from a second intelligent home protocol definition file corresponding to the second intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a second description file; searching a first intelligent home protocol definition file corresponding to the first intelligent home protocol for comments of a function identifier of a target function and a function identifier of the target function, which are preset in the cloud server, included in second description information, and comments of command identifiers of target commands supported by each function in the target function and command identifiers of the target commands, by using the function identifiers of the target function and the command identifiers of the target commands, so as to obtain a first description file, wherein the second description information is used for indicating part or all of information in the second description file, and the second description information comprises information for indicating the target function and the target commands supported by each function in the target function; and determining the translation contrast information based on the first description file, the second description file and the second description information.
With reference to the second aspect, in certain implementations of the second aspect, the second description information includes a function identifier of the target function and a command identifier of the target command; the determining the translation control information based on the first description file, the second description file and the second description information includes: determining the first corresponding relation based on the function identification of the target function, the first description file and the second description file; and determining the second corresponding relation based on the command identification of the target command, the first description file and the second description file.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: acquiring equipment type information of the intelligent home equipment from the intelligent home equipment, wherein the equipment type information is used for indicating at least one equipment type; receiving a first request from the electronic device for acquiring a control card corresponding to the at least one device type, wherein the at least one device type is acquired from the smart home device; responding to the first request, combining control cards corresponding to each equipment type in the at least one equipment type to obtain a combined control card, wherein the combined control card comprises function buttons corresponding to each equipment type in the at least one equipment type; and sending card information to the electronic device, wherein the card information comprises information for indicating the combined control card.
In a third aspect, a control device of an intelligent home device is provided, configured to perform a method in any one of the possible implementation manners of the first aspect. In particular, the apparatus comprises means for performing the method in any one of the possible implementations of the first or second aspect.
In a fourth aspect, the present application provides a control device of a smart home device, including a processor, where the processor is coupled to a memory, and is configured to execute instructions in the memory, so as to implement a method in any one of the possible implementation manners of the first aspect or the second aspect. Optionally, the apparatus further comprises a memory. Optionally, the apparatus further comprises a communication interface, the processor being coupled to the communication interface.
In one implementation, the device is an electronic device or cloud server. When the device is an electronic device or a cloud server, the communication interface may be a transceiver, or an input/output interface.
In another implementation, the apparatus is a chip configured in an electronic device or cloud server. When the device is a chip configured in an electronic device or a cloud server, the communication interface may be an input/output interface.
In a fifth aspect, there is provided a processor comprising: input circuit, output circuit and processing circuit. The processing circuit is configured to receive signals via the input circuit and to transmit signals via the output circuit, such that the processor performs the method of any one of the possible implementations of the first or second aspect.
In a specific implementation flow, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, various logic circuits, and the like. The input signal received by the input circuit may be received and input by, for example and without limitation, a receiver, the output signal may be output by, for example and without limitation, a transmitter and transmitted by a transmitter, and the input circuit and the output circuit may be the same circuit, which functions as the input circuit and the output circuit, respectively, at different times. The embodiments of the present application do not limit the specific implementation manner of the processor and the various circuits.
In a sixth aspect, a processing device is provided that includes a processor and a memory. The processor is configured to read instructions stored in the memory and to receive signals via the receiver and to transmit signals via the transmitter to perform the method of any one of the possible implementations of the first or second aspect.
Optionally, the processor is one or more, and the memory is one or more.
Alternatively, the memory may be integrated with the processor or the memory may be separate from the processor.
In a specific implementation process, the memory may be a non-transient (non-transitory) memory, for example, a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips, where the type of the memory and the manner of disposing the memory and the processor are not limited in this application.
It should be appreciated that the related data interaction flow may be, for example, a flow of sending indication information from a processor, and the receiving capability information may be a flow of receiving input capability information by the processor.
The processing means in the sixth aspect may be a chip, and the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor, implemented by reading software code stored in a memory, which may be integrated in the processor, or may reside outside the processor, and exist separately.
In a seventh aspect, there is provided a computer program product comprising: a computer program (which may also be referred to as code, or instructions) which, when executed, causes a computer to perform the method of any one of the possible implementations of the first or second aspects described above.
In an eighth aspect, a computer readable storage medium is provided, which stores a computer program (which may also be referred to as code, or instructions) which, when run on a computer, causes the computer to perform the method of any one of the possible implementations of the first or second aspect.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 2 is a software architecture block diagram of a terminal device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a system to which the method according to the embodiment of the present application is applicable;
FIG. 4 is a schematic diagram of yet another system to which the method provided in the embodiments of the present application is applicable;
FIG. 5 is a flow chart of a method of determining a control card;
fig. 6 is a flow chart of a control method of an intelligent home device according to an embodiment of the present application;
Fig. 7 is a schematic process diagram of an electronic device obtaining translation control information according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating a method for determining a control card according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a determination process of a control card according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of a control process of an intelligent home device according to an embodiment of the present application;
fig. 11 is a flow chart of another control method of an intelligent home device according to an embodiment of the present application;
fig. 12 is a schematic block diagram of a control device of an intelligent home device according to an embodiment of the present application;
fig. 13 is a schematic block diagram of a control device of another smart home device according to an embodiment of the present application.
Detailed Description
The technical solutions in the present application will be described below with reference to the accompanying drawings.
In the embodiments of the present application, the words "first," "second," and the like are used to distinguish between identical or similar items that have substantially the same function and effect. For example, the first value and the second value are merely for distinguishing between different values, and are not limited in order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The terminal device provided in the embodiment of the present application is a terminal device with a touch display screen, and may specifically be a mobile phone, a tablet computer (pad), a desktop computer, a notebook computer, and the like. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal equipment.
In order to better understand the terminal device in the embodiment of the present application, the hardware structure of the terminal device in the embodiment of the present application is described in detail below with reference to fig. 1.
Fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. As shown in fig. 1, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (subscriber identification module, SIM) card interface 195, and the like. Wherein the sensor module 180 may include a pressure sensor 180A, a touch sensor 180B, etc.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180B, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180B through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other terminal devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device or displays images or video through a display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions through an audio module 170, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The touch sensor 180B, also referred to as a "touch device". The touch sensor 180B may be disposed on the display 194, and the touch sensor 180B and the display 194 form a touch screen, which is also referred to as a "touch screen". The touch sensor 180B is used to detect a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180B may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 2 is a software architecture block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include applications for cameras, gallery, calendar, phone calls, map, navigation, WLAN, bluetooth, music, video, short messages, smart home, etc.
The user can control various intelligent home devices through the intelligent home, such as an intelligent desk lamp, a sound box and the like; the smart home may include a control card module. The control card module can be used for determining a display interface of the terminal equipment for displaying contents such as a function switch of the intelligent household equipment.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, a translation engine module, a translation module, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
The translation module may determine a translation look-up table and second description information for describing multiple functions of the smart home device according to a device type of the smart home device, first description information for describing multiple functions of the smart home device, a first smart home protocol adopted by the first description information, and a second smart home protocol adopted by the electronic device 100, where the second description information adopts the second smart home protocol.
The interconnection and intercommunication control module can be used for receiving commands from other terminal devices or cloud servers for controlling the intelligent home devices and sending the commands to the translation engine module.
The translation engine module may be configured to translate the command described by the second smart home protocol from the interconnection control module into the command described by the first smart home protocol according to the translation look-up table, so that the smart home device can recognize and execute the command.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer is used for driving the hardware so that the hardware works. The kernel layer at least includes a display driver, a screen driver, an image processor (graphics processing unit, GPU) driver, a camera, and a sensor driver, which is not limited in this embodiment. For example, the screen driver may drive a screen bright or off screen.
With the development of the internet of things (internet of things, ioT), users can control smart home devices through mobile phones, tablet computers or gateways and other electronic devices. By way of example, a user may control the functions of turning on, turning off, or adjusting brightness of the smart desk lamp through a smart home application program in the mobile phone. The control of the electronic device on the intelligent home equipment is realized by depending on an intelligent home protocol. The intelligent home protocol is a rule and convention which must be followed for completing communication or service between the intelligent home device and other electronic devices, and is one of key implementation technologies in the intelligent home field. The intelligent home protocol prescribes various commands and comments of the various commands, so that when the electronic equipment and the intelligent home equipment adopt the same intelligent home protocol for communication and adopt the intelligent home protocol to send the commands to the intelligent home equipment, the intelligent home equipment can identify and execute the commands, thereby executing corresponding operations.
However, there are a plurality of smart home protocols in the smart home industry at present, different brands of smart home devices may support different smart home protocols, so that in the case that the smart home protocols supported by the smart home devices and the smart home protocols supported by the electronic devices are different, the smart home devices may not be able to recognize commands from the electronic devices. Accordingly, there is a need to provide a method for enabling an electronic device to control a plurality of different types of smart home devices.
For ease of understanding, a system to which the method provided in the embodiments of the present application is applicable will be first illustrated with reference to fig. 3 and 4.
Fig. 3 is a schematic diagram of a system 300 to which the method provided in the embodiment of the present application is applicable. As shown in fig. 3, the system 300 includes an electronic device and a smart home device.
The electronic device may be a terminal device, such as the mobile phone 303 shown in fig. 3. The smart home devices may be, for example, a smart desk lamp 301 and a sweeping robot 302 shown in fig. 3. The user can control the intelligent desk lamp 301 and the sweeping robot 302 through the mobile phone 303, for example, the light brightness of the intelligent desk lamp 301 is adjusted through the mobile phone 303, and the sweeping robot 302 is controlled through the mobile phone 303 to sweep the floor.
In a first possible implementation, the mobile phone 303 supports a first smart home protocol, and the smart desk lamp 301 and the sweeping robot 302 support a second smart home protocol. The smart home application program can be installed in the mobile phone 303, and a user can determine multiple functions of the smart desk lamp 301 and the sweeping robot 302 through the smart home application program. In case that the mobile phone 303 detects an input operation of a function button of the plurality of functions by a user, a command 1 for controlling the smart desk lamp 301 and/or the sweeping robot 302 may be generated based on the first smart home protocol and the input operation. Under the condition that the first smart home protocol and the second smart home protocol are different, the mobile phone 303 may translate the command 1 into the command 2 by using the translation control information corresponding to the smart desk lamp 301 and/or the sweeping robot 302, where the command 2 is described by using the second smart home protocol, and the translation control information includes a corresponding relationship between the command 1 and the command 2. Thus, when the cell phone 303 sends the command 2 to the smart desk lamp 301 and/or the sweeping robot 302, the smart desk lamp 301 and/or the sweeping robot 302 can recognize and execute the command.
In a second possible embodiment, the system 300 further includes a cloud server, and the cloud server may determine translation control information corresponding to the intelligent desk lamp 301 and/or the sweeping robot 302, and send the translation control information to the mobile phone 303. For example, when the mobile phone 303 detects the intelligent desk lamp 301 and/or the sweeping robot 302 and determines that the second smart home protocol and the first smart home protocol indicated by the intelligent desk lamp 301 and/or the sweeping robot 302 are different, translation control information corresponding to the intelligent desk lamp 301 and/or the sweeping robot 302 may be obtained from the cloud server.
It should be understood that the second possible implementation differs from the first possible implementation in that the translation comparison information is determined by the cloud server and sent to the electronic device, and the control process of the remaining electronic devices on the smart home device is the same as that of the first possible implementation, which is not described herein.
Fig. 4 is a schematic diagram of yet another system 400 to which the method provided in the embodiments of the present application is applicable. As shown in fig. 4, the system 400 includes a terminal device, an electronic device, an intelligent home device, and a cloud server.
The electronic device may be a terminal device or a network device, such as the smart speaker 403 shown in fig. 4. The smart home devices may be, for example, a smart desk lamp 401 and a sweeping robot 402 shown in fig. 4. The intelligent speaker 403 establishes a bluetooth connection with the intelligent desk lamp 401 and the sweeping robot 402 or is in the same local area network. The terminal device may be, for example, a cell phone 404 shown in fig. 4. The user can control the intelligent table lamp 401 and the sweeping robot 402 through the mobile phone 404, for example, the light brightness of the intelligent table lamp 401 is adjusted through the mobile phone 404, and the sweeping robot 402 is controlled through the mobile phone 404 to sweep the floor, etc.
In one possible implementation, the cell phone 404 supports a first smart home protocol, and the smart desk lamp 401 and/or the sweeping robot 402 supports a second smart home protocol. The smart home application program can be installed in the mobile phone 404, and a user can determine multiple functions of the smart desk lamp 401 and the sweeping robot 402 through the smart home application program. After the terminal device detects an input operation of the functional buttons of the intelligent desk lamp 401 and/or the sweeping robot 402 by the user, a command 3 corresponding to the input operation may be generated. In one case, the distance between the mobile phone 404 and the intelligent speaker 403 is far, and when the bluetooth connection cannot be established or the mobile phone 404 is in the same local area network, the mobile phone 404 can send the command 3 to the intelligent speaker 403 through the cloud server 405; in another case, when a bluetooth connection is established between the mobile phone 404 and the smart speaker 403 or the mobile phone 404 is in the same lan, the mobile phone 404 may directly send the command 3 to the smart speaker 403. Then, the intelligent speaker 403 may translate the command 3 into a command 4 that the intelligent desk lamp 401 and/or the sweeping robot 402 can recognize by using the translation control information corresponding to the intelligent desk lamp 401 and/or the sweeping robot 402, and send the command 4 to the intelligent desk lamp 401 and/or the sweeping robot 402, so as to control the intelligent desk lamp 401 and the sweeping robot 402.
The translation comparison information may be determined by the smart speaker 403 itself, or may be obtained by the smart speaker 403 from the cloud server 405, which is not specifically limited in this application.
It should be understood that the system 300 and the system 400 are merely examples of a system to which the method provided in the embodiments of the present application is applicable, and the system to which the method provided in the embodiments of the present application is applicable may further include more or fewer devices, for example, may include one or more smart home devices, and the number and the form of each device in the system are not specifically limited in this application.
In system 300 and system 400, a smart home device can recognize and execute a command received by the smart home device when the command is a smart home protocol recognizable by the smart home device. For example, when the smart home device is a Matter type device, the smart home device may recognize various commands using the Matter protocol, and thus, in the case when the command received by the smart home device is a Matter protocol, the smart home device may recognize and execute the command. At present, in order to enable the electronic device to control various devices adopting different types of intelligent home protocols, a translation comparison table of various different intelligent home devices can be preset in the electronic device, and the translation comparison table can be used for translating commands adopting other types of intelligent home protocols into commands in the intelligent home protocols adopted by the intelligent home devices. Therefore, the electronic equipment can translate the command of the terminal equipment or the electronic equipment into the command which can be identified by the intelligent household equipment according to the translation comparison table, so that the intelligent household is controlled.
However, as the types of devices of the current smart home devices are more and the types of the adopted smart home protocols are more and more, for the smart home devices of a part type, a translation comparison table corresponding to the smart home devices of the part type may not be preset in the electronic device, and as the smart home devices of the part type may not recognize a command from the electronic device, the electronic device or the terminal device may not control the smart home devices of the part type, so that the control method of the smart home devices is poor in universality and poor in user experience.
In addition, when the electronic device needs to display an interface of the function buttons of the smart home device, for example, for an intelligent desk lamp, the electronic device can display the interface of the function buttons including the switch button, the brightness adjusting button and the like, so that a user can realize control of the smart home device through operation of the function buttons in the interface. Illustratively, the display interface of the electronic device may be determined by a method as shown in fig. 5, the method 500 comprising the steps of:
s501, the electronic device sends a request 1 to the intelligent home device, wherein the request 1 is used for requesting the device product model of the intelligent home device. Correspondingly, the smart home device receives a request 1 from the electronic device.
S502, in response to the request 1, the smart home device sends information 1 to the electronic device, where the information 1 includes information indicating a device product model of the smart home device. Correspondingly, the electronic device receives information 1 from the smart home device.
S503, the electronic device sends a request 2 to the cloud server, wherein the request 2 is used for requesting a target control card corresponding to the equipment product model of the intelligent home equipment. Correspondingly, the cloud server receives a request 2 from the electronic device.
It should be understood that the control card may also be understood as a display interface, and the control card may include function buttons corresponding to functions of the smart home device. For example, the control card corresponding to the equipment product model of the intelligent desk lamp can comprise function buttons such as a switch button, a brightness adjusting button and the like.
S504, responding to the request 2, and acquiring a target control card corresponding to the equipment product model of the intelligent household equipment by the cloud server.
It should be understood that the cloud server can store a plurality of control cards corresponding to various equipment product models, so that the cloud server can search the control cards corresponding to the equipment product models of the intelligent household equipment from the plurality of control cards under the condition that the equipment product models of the intelligent household equipment are determined, and the control cards are target control cards.
S505, the cloud server sends information 2 to the electronic equipment, wherein the information 2 comprises information for indicating a target control card. Correspondingly, the electronic device receives information 2 from the cloud server.
S506, based on the information 2, the electronic device displays the target control card.
According to the method 500, a plurality of control cards corresponding to various equipment product types are required to be stored in the cloud server, and along with the increase of the equipment types of the intelligent home equipment, more and more control cards are required to be stored in the cloud server. In addition, for the intelligent home equipment which does not store the control card corresponding to the equipment product model in the cloud server, the electronic equipment cannot acquire the control card corresponding to the intelligent home equipment from the cloud server, so that the electronic equipment cannot display the control card, and a user cannot control the intelligent home equipment through the electronic equipment, therefore, the method enables the electronic equipment to acquire the control card stored in the cloud server only, and the universality is poor.
In order to solve the technical problems, the present application provides a control method and a control device for an intelligent home device, where an electronic device detects broadcast information of the intelligent home device, and determines that a second intelligent home protocol adopted by the intelligent home device is different from a first intelligent home protocol adopted by the electronic device, translation control information corresponding to the intelligent home device is determined according to a device type, a plurality of functions and a command corresponding to each function in the plurality of functions of the intelligent home device, so that, for a new type of intelligent home device, the electronic device can also determine translation control information corresponding to the new type of intelligent home device according to the device type, the plurality of functions and the command corresponding to each function in the plurality of functions of the intelligent home device.
The following describes in detail a control method of the smart home device according to the present application with reference to fig. 6 to 11. The embodiment shown in the application shows the control method of the intelligent home equipment from the perspective of equipment interaction. The specific form and number of the devices shown therein are merely examples and should not be construed as limiting the practice of the methods provided herein in any way. Next, taking an electronic device, an intelligent home device and a cloud server as an execution main body as an example, a control method of the intelligent home device in the embodiment of the present application is described in detail.
It should be understood that the electronic device may be the electronic device itself, for example, a terminal device such as a mobile phone, a tablet computer, or a network device such as a router, a gateway, etc., may be a chip, a chip system or a processor that supports the electronic device to implement a control method of the smart home device, or may be a logic module or software that can implement all or part of the electronic device; the intelligent household equipment can be intelligent household equipment, such as an intelligent desk lamp, a television, a sweeping robot and an intelligent sound box, can also be a chip, a chip system or a processor for supporting the intelligent household equipment to realize a control method of the intelligent household equipment, and can also be a logic module or software for realizing all or part of the intelligent household equipment; the cloud server may be one or more server devices, or may be a chip, a chip system or a processor that supports the cloud server to implement a control method of the smart home device, which is not limited in detail.
Fig. 6 is a flowchart of a control method 600 of an intelligent home device according to an embodiment of the present application. The method 600 may be applied in the system 300 or the system 400. The hardware structure of the electronic device may be as shown in fig. 1, and the software structure of the electronic device may be as shown in fig. 2. The method 600 includes the steps of:
s601, the intelligent home equipment sends broadcasting information, and the broadcasting information carries information for indicating the intelligent home equipment to support a second intelligent home protocol. Correspondingly, the electronic device receives broadcast information from the smart home device.
The smart home protocol may also be referred to as a communication protocol, which may be understood as rules and conventions that must be followed to complete communication or services between the smart home device and other electronic devices, such as a Matter protocol. Different electronic devices or smart home devices may support different smart home protocols. The broadcast information may be bluetooth broadcast information, wireless fidelity (wireless fidelity, wi-Fi) broadcast information, near field communication/near field wireless communication technology (near field communication, NFC) broadcast information, etc., which is not specifically limited in this application.
Under the condition that the Bluetooth switches of the intelligent home equipment and the electronic equipment are in an on state, the broadcast information can be Bluetooth broadcast information; in the case where the smart home device and the electronic device are in the same local area network, the broadcast information may be Wi-Fi broadcast information. The information carried in the broadcast information for indicating that the smart home device supports the second smart home protocol may be understood that the broadcast information carries an identifier of the second smart home protocol, and in an example, the broadcast information carries Ma, where Ma may be an identifier of the Matter protocol. The electronic device may determine, according to the Ma, that the smart home device supports the Matter protocol.
It should be understood that, besides the information for indicating that the smart home device supports the second smart home protocol, other information may be carried in the broadcast information, for example, a device identifier of the smart home device, etc., and the content included in the broadcast information is not specifically limited in this application.
S602, responding to broadcast information, the electronic device acquires first description information from the intelligent home device, wherein the first description information is used for indicating M functions of the intelligent home device, at least one command supported by each function of the M functions and the device type of the intelligent home device, the first description information is generated based on a second intelligent home protocol, and M is a positive integer. Correspondingly, the electronic device receives first description information from the intelligent home device.
The first description information is used for indicating M functions of the smart home device, at least one command supported by each function of the M functions, and a device type of the smart home device, which may be understood as that the first description information includes an identifier of the M functions, an identifier of the at least one command, and an identifier of the device type of the smart home device. The first description information may be preset information in the smart home device, and the first description information may also be referred to as a model description file, where the name of the first description information is not specifically limited in this application.
For example, assuming that the smart home device is a smart desk lamp, the M functions may be a switching function, a brightness adjusting function, and the like; the at least one command supported by the switching function may be two commands of on and off; the at least one command supported by the brightness adjustment function may be both a command to adjust brightness up and a command to adjust brightness down.
It should be understood that the first description information may be a simplified file for describing functions and commands of the smart home device, that is, the first description information may include an identifier of M functions, an identifier of at least one command, and an identifier of a device type of the smart home device, and the electronic device may not be able to determine the functions possessed by the smart home device and the commands supported by each function according to the first description information. Illustratively, assuming that the smart home device is a smart desk lamp, the first description information includes On/Off, 00 and 01 supported by On/Off; wherein On/Off is used for indicating the switch function of the intelligent desk lamp, 00 is used for indicating the On command supported by the switch function, and 01 is used for indicating the Off command supported by the switch function. In the case where the smart home protocols supported by the electronic device and the smart home device are different, the electronic device may not be able to determine the meaning corresponding to each identifier according to On/Off, and On/Off supported 00 and 01.
In addition, the first description information may be used to indicate information such as a function type, which may be used to describe different types of the M functions of the smart home device, in addition to the M functions, at least one command supported by each of the M functions, and the device type of the smart home device. For example, assuming that the smart home device is a smart desk lamp, the smart desk lamp includes a main lamp and a night lamp, wherein the main lamp and the night lamp both correspond to a switching function and a brightness adjustment function, the function type of the smart desk lamp may include the main lamp function and the night lamp function, wherein the main lamp function supports a first switching function and a first brightness adjustment function, the first switching function supports a first on command and a first off command, and the first brightness adjustment function supports a first brightness adjustment command and a first brightness adjustment command; the night light function supports a second switch function and a second dimming function, the second switch function supports a second on command and a second off command, and the second dimming function supports a second turn-up dimming command and a second turn-down dimming command.
And S603, the electronic equipment sends the first description information to the cloud server. Correspondingly, the cloud server receives first description information from the electronic equipment.
S604, the cloud server determines translation contrast information based on the first description information. The translation comparison information comprises a first corresponding relation and/or a second corresponding relation, the first corresponding relation comprises a corresponding relation between a function identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a function identifier of the intelligent home equipment corresponding to the second intelligent home protocol, and the second corresponding relation comprises a corresponding relation between a command identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a command identifier of the intelligent home equipment corresponding to the second intelligent home protocol.
It should be understood that the function identifier of the smart home device included in the first correspondence may be an identifier of all or part of the M functions, and the command identifier of the smart home device included in the second correspondence may be an identifier of all or part of at least one command supported by each of the M functions. For example, assuming that the intelligent home device is an intelligent table lamp, and the M functions of the intelligent table lamp include a switching function, a light adjusting function, a camera shooting function and a music playing function, the function identifier of the intelligent home device included in the first corresponding relationship may be an identifier of the switching function and an identifier of the light adjusting function; if the switch function of the intelligent desk lamp supports an on command and an off command, the light adjusting function supports a brightness adjusting command, a cold light adjusting command and a warm light adjusting command, the command identifier of the intelligent household device included in the second corresponding relation can be an on command identifier, an off command identifier, a brightness adjusting command and a brightness adjusting command.
The function identifier of the intelligent home equipment corresponding to the first intelligent home protocol can be understood as the function identifier of the intelligent furniture equipment defined by the first intelligent home protocol, and the command identifier of the intelligent home equipment corresponding to the second intelligent home protocol can be understood as the command identifier of the intelligent furniture equipment defined by the second intelligent home protocol; in the first corresponding relation, the meaning or annotation of the functional identifier of the corresponding smart home device corresponding to the first smart home protocol is the same as the meaning or annotation of the functional identifier of the corresponding smart home device corresponding to the second smart home protocol. For example, in the first correspondence, there is a correspondence between Light and E1, where Light and E1 each represent a desk lamp, and Light is described by using a first smart home protocol, and E1 is described by using a second smart home protocol.
In addition, in addition to the first correspondence and the second correspondence, the translation comparison information may further include more types of correspondence, for example, a third correspondence, where the third correspondence includes a correspondence between a function type identifier of the smart home device corresponding to the first smart home protocol and a function type identifier of the smart home device corresponding to the second smart home protocol; for example, the fourth corresponding relationship includes a corresponding relationship between a device type identifier of the smart home device corresponding to the first smart home protocol and a device type identifier of the smart home device corresponding to the second smart home protocol; for example, the fifth correspondence may include a correspondence between a device model identifier of the smart home device corresponding to the first smart home protocol and a device model identifier of the smart home device corresponding to the second smart home protocol.
Illustratively, the translation control information may be as shown in table 1. The translation control information includes a first correspondence, a second correspondence, and a third correspondence. The Light is a function type identifier corresponding to the first intelligent home protocol, the On is a function identifier corresponding to the first intelligent home protocol, and the On is a command identifier corresponding to the first intelligent home protocol; endpoint 1 is a function type identifier corresponding to a first smart home protocol, ON_OFF_CLUSTER is a function identifier corresponding to the first smart home protocol, and ON/OFF, OFF and ON are command identifiers corresponding to a second smart home protocol.
The first corresponding relation comprises a corresponding relation of On and Endpoint 1, wherein On and Endpoint 1 both represent switching functions; the second corresponding relation comprises a corresponding relation of reading and On/Off, a corresponding relation of closing and Off and a corresponding relation of opening and On, wherein the reading and On/Off respectively represent reading commands, the closing and Off respectively represent closing commands, and the opening and On respectively represent opening commands; the third correspondence includes a correspondence of Light and Endpoint 1, both Light and Endpoint 1 representing a main Light function.
TABLE 1
And S605, the cloud server sends the translation contrast information to the electronic equipment. Correspondingly, the electronic equipment receives the translation comparison information from the cloud server and controls the intelligent household equipment by utilizing the translation comparison information.
According to the control method of the intelligent home equipment, when the electronic equipment receives broadcast information of the intelligent home equipment and determines that a second intelligent home protocol adopted by the intelligent home equipment is different from a first intelligent home protocol adopted by the electronic equipment, translation comparison information corresponding to the intelligent home equipment is determined according to the equipment type, a plurality of functions and commands corresponding to each function in the plurality of functions of the intelligent home equipment, the translation comparison information can comprise a first corresponding relation between a plurality of function identifications defined by the first intelligent home protocol and a plurality of function identifications defined by the second intelligent home protocol, and a second corresponding relation between a plurality of command identifications defined by the first intelligent home protocol and a plurality of command identifications defined by the second intelligent home protocol. Therefore, compared with the translation contrast information corresponding to the plurality of intelligent home devices preset in the electronic device, for the new type of intelligent home devices without the translation contrast information preset in the electronic device, the electronic device can determine the translation contrast information corresponding to the new type of intelligent home devices according to the device type, the plurality of functions and the command corresponding to each function in the plurality of functions of the new type of intelligent home devices, so that the control method of the intelligent home devices has higher universality.
In the method 600, S604 can be implemented in two ways, as follows.
The first mode and the translation contrast information are determined based on a first description file and a second description file, the first description file is determined based on the first description information and a first intelligent home protocol definition file corresponding to the first intelligent home protocol, and the second description file is determined based on the first description information and a second intelligent home protocol definition file corresponding to the second intelligent home protocol.
It should be appreciated that the first smart home protocol definition file may also be referred to as a standard model definition library of the first smart home protocol, where the first smart home protocol definition file is defined using the first smart home protocol, and includes information indicating a plurality of functions supported by the device of each of the plurality of device types and commands supported by each of the plurality of functions. The second smart home protocol definition file may also be referred to as a standard model definition library of a second smart home protocol, where the second smart home protocol definition file is defined using the second smart home protocol, and the second smart home protocol definition file includes information indicating a plurality of functions supported by devices of each of the plurality of device types and commands supported by each of the plurality of functions. The names of the first smart home protocol definition file and the second smart home protocol definition file are not particularly limited.
In a first mode, the first description information includes function identifiers of M functions and command identifiers of at least one command; in the case where the translation control information is determined based on the first description file and the second description file, S604 may be implemented by: searching the function identifications of the M functions, the comments of the command identifications of the at least one command and the comments of the command identifications of the at least one command from a second intelligent home protocol definition file corresponding to the second intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a second description file; searching the function identifications of the M functions, the comments of the command identifications of the at least one command and the comments of the command identifications of the at least one command from a first intelligent home protocol definition file corresponding to the first intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a second description file; translation control information is determined based on the first description file and the second description file.
Alternatively, determining the translation control information based on the first description file and the second description file may be implemented by: determining a first corresponding relation based on the function identifiers of the M functions, the first description file and the second description file; and determining a second corresponding relation based on the command identification of the at least one command, the first description file and the second description file.
Wherein, based on the function identifications of the M functions, the first description file and the second description file, determining the first correspondence may be implemented by: searching a second function identifier which is the same as the annotation of the first function identifier in the second description file from the first description file, setting the corresponding relation between the first function identifier and the second function identifier to obtain a first corresponding relation, wherein the first function identifier belongs to function identifiers of M functions; based on the identification corresponding to the command identification of the at least one command and the first description file, determining the second correspondence may be implemented by: searching a second command identifier which is the same as the annotation of the first command identifier in the second description file from the first description file, setting the corresponding relation between the first command identifier and the second command identifier to obtain a second corresponding relation, wherein the first command identifier belongs to the command identifier of at least one command.
It should be appreciated that the second correspondence may be determined based on the first correspondence, and the first correspondence may include, for example, a correspondence between a first function identifier in the first description file and a second function identifier in the second description file, and the electronic device may search for a first command identifier that is the same as an annotation of a second command identifier in at least one command supported by the second function identifier from at least one command supported by the first function identifier in the first description file, and set the correspondence between the first command identifier and the second command identifier, so that, in a case where at least one command supported by two different functions has the same command, the electronic device may also set the correct first correspondence and the second correspondence. In an exemplary embodiment, the function identifier includes a light switch function identifier and a sound box function identifier, where the light switch function identifier supports an on command and an off command, and the sound box function identifier supports an on command and an off command, so that after the electronic device determines a correspondence between the light switch function identifier defined by using the first smart home protocol and the light switch function identifier defined by using the second smart home protocol, a correspondence between the on command supported by using the light switch function defined by using the first smart home protocol and the on command supported by using the light switch function defined by using the second smart home protocol may be set, thereby avoiding setting a correspondence between the on command supported by using the light switch function defined by using the second smart home protocol and the on command supported by using the sound box switch function defined by using the first smart home protocol.
The second mode and the translation contrast information are determined according to a first description file, a second description file and second description information, the first description file is determined based on the second description file and a first intelligent home protocol definition file corresponding to the first intelligent home protocol, the second description file is determined based on the first description file and a second intelligent home protocol definition file corresponding to the second intelligent home protocol, the second description information comprises information used for indicating target functions and target commands supported by each function in the target functions, and the second description information is used for indicating part or all of information in the second description file.
The second mode is different from the first mode in that in the second mode, translation control information is further required to be determined according to the second description information, and the first description file is determined according to the second description information and the first smart home protocol definition file.
The second description information may be understood as information describing a translation range of a device type of the smart home device. The second description information may be information defined using a second smart home protocol. The second description information includes part or all of the information in the second description file, that is, the target function is all or part of the M functions, and the target command is all or part of the at least one command. The target function can be understood as a function of the intelligent home equipment which needs to be translated by the cloud server, the target command can be understood as a command which needs to be translated by the cloud server and is supported by the function of the intelligent home equipment, and the target command is all or part of a plurality of commands supported by the target function.
Alternatively, the second description information may include a function identification of the target function, an annotation of the function identification of the target function, a command identification of the target command supported by each of the target functions, and an annotation of the command identification of the target command supported by each of the target functions. Other identifications, such as a function type identification, an annotation of a function type identification, or an identification of an event attribute, an annotation of an identification of an event attribute, and the like, may also be included in the second description information. The event attribute may be an alarm event, a laundry completion event, etc.
Illustratively, the second description information may be as shown in table 2, on_off represents the switch function, 006 is a function identifier of the switch function; on/Off represents a read, 0000 is a command identifier of the read; off represents Off, 00 is the command identification of Off; on indicates On, 01 is the command identification of On.
TABLE 2
In the second mode, the first description information includes function identifiers of M functions and command identifiers of at least one command, and the second description information includes function identifiers of target functions and command identifiers of target commands, and S604 may be implemented in the following manner: searching the function identifications of the M functions, the comments of the command identifications of the at least one command and the comments of the command identifications of the at least one command from a second intelligent home protocol definition file corresponding to the second intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a second description file; searching the function identification of the target function, the annotation of the function identification of the target function and the annotation of the command identification of the target command supported by each function in the target function from a first intelligent home protocol definition file corresponding to the first intelligent home protocol by utilizing the function identification of the target function and the command identification of the target command to obtain a first description file; determining a first corresponding relation based on the function identification of the target function, the first description file and the second description file; and determining a second corresponding relation based on the command identification of the target command, the first description file and the second description file.
According to the technical scheme of the second mode, compared with the method for translating all the information in the second description file, the cloud server can translate part of functions and/or part of commands of the intelligent home equipment, all the information in the second description file is not required to be translated, and the flexibility is high.
It should be understood that the manner of determining the first corresponding relationship in the second manner is similar to the manner of determining the first corresponding relationship in the first manner, and the manner of determining the second corresponding relationship in the second manner is similar to the manner of determining the second corresponding relationship in the first manner, which is referred to the description above and will not be repeated here.
In addition, in the embodiment of the present application, before determining the translation control information, the cloud server may determine, according to the first description file, the second description file, the target function and the target command, a mapping relationship between at least one command supported by each target function in the first description file and at least one command supported by each target function in the second description file; and determining translation control information according to the mapping relation, the format requirement of the translation control information and other information. Illustratively, as shown in table 3, assume that the target function includes a switch function belonging to a Light function type, in the first description file, an identification of the Light function type is Light, an identification of the switch function is On, and at least one command supported by the switch function includes read, off, and On; in the second description file, the switch function is identified as on_off_closed, the read is identified as ON/OFF, the OFF is identified as OFF, and the ON is identified as ON.
TABLE 3 Table 3
As an alternative embodiment, S602 may be implemented by: responding to the broadcast information, and judging whether a second intelligent home protocol supported by the intelligent home equipment is the same as the first intelligent home protocol; and under the condition that the second intelligent home protocol is different from the first intelligent home protocol, acquiring the first description information from the intelligent home equipment.
It should be appreciated that in the case where the smart home protocol supported by the smart home device is different from the smart home protocol supported by the electronic device, the electronic device determines translation contrast information corresponding to the smart home device. Under the condition that the intelligent home protocol supported by the intelligent home device is the same as the intelligent home protocol supported by the electronic device, the intelligent home device can identify the command generated by the electronic device, and the electronic device does not need to translate the command.
Alternatively, the obtaining the first description information from the smart home device may be implemented by: the electronic device sends a request 3 for requesting the first description information to the smart home device, and correspondingly, the smart home device receives the request 3. In response to the request 3, the smart home device sends the first description information to the electronic device, and correspondingly, the electronic device receives the first description information from the smart home device.
In addition, the first description file can be used for determining translation comparison information, and the electronic device can also be used for generating a command for instructing the smart home device to execute an operation. Therefore, after the cloud server determines the first description file and the translation control information, the first description file and the translation control information may be sent to the electronic device.
In one example, the electronic device can obtain the translation control information and the first description file using a process as shown in FIG. 7. When the electronic equipment receives the broadcast information from the intelligent home equipment, determining that the intelligent home equipment supports a second intelligent home protocol; the electronic equipment acquires first description information from the intelligent home equipment and sends the first description information to the cloud server. The cloud server receives first description information from the electronic equipment; the cloud server determines a second description file based on the first description information and the second intelligent home protocol definition file; the cloud server determines a first description file according to the second description information and the first intelligent home protocol definition file; and the cloud server determines translation control information and the first description file by using the first description file, the second description file and the first description information, and sends the translation control information and the first description file to the electronic equipment.
In the system 300, after the electronic device obtains the translation contrast information, a control card of the smart home device may be displayed in the smart home application program, where the control card of the smart home device includes a function button corresponding to the smart home device, for example, at least one function button corresponding to a target function; or, in the system 400, after the electronic device obtains the translation look-up table, the electronic device may obtain a control card of the smart home device, and send the control card to the terminal device, so that the terminal device displays the control card. Illustratively, the electronic device may obtain a control card for the smart home device through a method 800 as shown in fig. 8. The method 800 includes the steps of:
s801, the electronic equipment acquires equipment type information of the intelligent home equipment from the intelligent home equipment, wherein the equipment type information indicates at least one equipment type. Correspondingly, the electronic device receives device type information from the smart home device.
S802, the electronic device sends a first request for acquiring a control card corresponding to at least one device type to the cloud server, wherein the first request comprises device type information. Correspondingly, the cloud server receives a first request from the electronic device.
S803, responding to the first request, combining control cards corresponding to each equipment type in at least one equipment type to obtain a combined control card, wherein the combined control card comprises function buttons corresponding to each equipment type in at least one equipment type.
It should be appreciated that the combined control card may include a control card corresponding to each of the at least one device type.
S804, the cloud server sends card information to the electronic equipment, wherein the card information comprises information for indicating the combined control card. Correspondingly, the electronic equipment receives card information from the cloud server.
Optionally, the electronic device displays the combined control card; alternatively, in the scene 400, the electronic device may transmit card information to the terminal device to cause the terminal device to display the combination control card.
It is understood that control cards corresponding to multiple device types can be stored in the cloud server, after the electronic device sends device type information of the intelligent household device to the cloud server, the control cards corresponding to each device type in at least one device type can be combined to obtain a combined control card corresponding to the intelligent household device, and therefore, compared with the control cards corresponding to multiple device product types stored in the cloud server, the cloud server can determine the control card of the intelligent household device according to the device type information of the intelligent household device. For example, a control card corresponding to a desk lamp type device, a control card corresponding to a sound box type device and a control card corresponding to a camera type device are stored in a cloud server, and for an intelligent desk lamp with a new product model 0001 of a device on the market, the intelligent desk lamp not only supports the function of the desk lamp type device, but also supports the function of the sound box type device, when an electronic device acquires the control card corresponding to the intelligent desk lamp through the method 500, if the control card corresponding to 0001 is not stored in the cloud server, the electronic device cannot acquire the control card corresponding to the intelligent desk lamp; however, when the electronic device obtains the control card corresponding to the intelligent desk lamp through the method 500, the electronic device obtains device type information from the intelligent desk lamp, where the device type information may include a desk lamp device type and a sound box device type, so that the cloud server may combine the control card corresponding to the desk lamp device type and the control card corresponding to the sound box device type according to the desk lamp device type and the sound box device type, to obtain the control card corresponding to the intelligent desk lamp, so that the method 800 has higher universality.
In an example, as shown in fig. 9, a control card set is preset in the cloud server, where the control card set includes control cards corresponding to multiple device types; for the intelligent home equipment 1, assuming that the equipment type information of the intelligent home equipment 1 comprises the equipment type 1 and the equipment type 2, the cloud server can combine the control card 1 corresponding to the equipment type 1 and the control card 2 corresponding to the equipment type 2 to obtain the control card corresponding to the intelligent home equipment 1; for the intelligent home equipment 2, assuming that the equipment type information of the intelligent home equipment 2 comprises the equipment type 2 and the equipment type 3, the cloud server can combine the control card 2 corresponding to the equipment type 2 and the control card 3 corresponding to the equipment type 3 to obtain the control card corresponding to the intelligent home equipment 2; similarly, for the intelligent home device N, assuming that the device type information of the intelligent home device N includes the device type m and the device type m+1, the cloud server may combine the control card m corresponding to the device type m and the control card m+1 corresponding to the device type m+1 to obtain the control card corresponding to the intelligent home device N.
As an alternative embodiment, the electronic device controlling the smart home device using the translation contrast information in S605 may be implemented by: the electronic equipment acquires a first command, wherein the first command is used for requesting to execute a first operation on the intelligent household equipment; the electronic equipment translates the first command into a second command by using translation control information, wherein the translation control information comprises a corresponding relation between the first command and the second command; and the electronic equipment sends the second command to the intelligent household equipment, and correspondingly, the intelligent household equipment receives the second command from the electronic equipment.
It should be understood that the first command is a command defined using a first smart home protocol and the second command is a command defined using a second smart home protocol.
In the first case, as shown in the system 300, the first command is a command generated by the electronic device and defined by using the first smart home protocol, that is, the electronic device detects an input operation of the user, and generates a first command corresponding to the input operation.
Wherein, the electronic device generates the first command based on the input operation of the user by: the method 600 further comprises: the electronic equipment sets a first association relation between the function buttons and the target functions included in the combined control card and a second association relation between at least one state of each of the function buttons and the target commands according to the first description file; detecting input operation of a user on a first function button in the combined control card, wherein the first function button is switched to a first state; based on the first association and the second association, a first command associated with the first state of the first function button is generated.
Setting the first association relationship and the second association relationship may also be understood as generating a description file including the first association relationship and the second association relationship, so that when the user operates the first function button, the electronic device may determine, according to the first association relationship, that the electronic device needs to control the function of the smart home device, and determine the first command according to the state of the first function button and the second association relationship.
It should be appreciated that the first description file may refer to the description in the method 600 above, and is not repeated here.
In the second case, as shown in the system 400, the first command is a command sent by the terminal device to the electronic device or a command sent by the terminal device to the electronic device through the cloud server.
Illustratively, as shown in fig. 10, the first command is a command sent by the terminal device to the electronic device. The electronic equipment comprises an interconnection control module, a translation engine module and a translation module. The translation module may be configured to determine the first description file and the translation control information, and send the translation control information and the first description file to the translation engine module. After the terminal equipment sends the first command to the electronic equipment, interconnection and interworking control in the electronic equipment acquires the first command and sends the first command to the translation engine module. The translation engine module may translate the first command into a second command using the translation control information and send the second command to the smart home device.
Fig. 11 is a flowchart of a control method 1100 of an intelligent home device according to an embodiment of the present application. The method 1100 may be applied in the system 300 or the system 400. The hardware structure of the electronic device may be as shown in fig. 1, and the software structure of the electronic device may be as shown in fig. 2. The method 1100 includes the steps of:
S1101, the intelligent home equipment sends broadcasting information, and the broadcasting information carries information for indicating the intelligent home equipment to support a second intelligent home protocol. Correspondingly, the electronic device receives broadcast information from the smart home device.
S1102, responding to broadcast information, the electronic device acquires first description information from the intelligent home device, wherein the first description information is used for indicating M functions of the intelligent home device, at least one command supported by each function of the M functions and the device type of the intelligent home device, the first description information is generated based on a second intelligent home protocol, and M is a positive integer. Correspondingly, the electronic device receives first description information from the intelligent home device.
S1103, the electronic device determines translation comparison information according to the first description information, and controls the intelligent home device by using the translation comparison information. The translation contrast information comprises a first corresponding relation and/or a second corresponding relation, the first corresponding relation comprises a corresponding relation between a function identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a function identifier of the intelligent home equipment corresponding to the second intelligent home protocol, and the second corresponding relation comprises a corresponding relation between a command identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a command identifier of the intelligent home equipment corresponding to the second intelligent home protocol.
It should be appreciated that, in contrast to the method 600, the method 1100 is different in that the translation control information is not acquired by the electronic device from the cloud server, but is determined by the electronic device itself, and other than that, the embodiment of the method 1100 is similar to the embodiment of the method 600, and reference is made to the above description and will not be repeated here.
Optionally, in the method 1100, the electronic device may further send the first description information to a cloud server, where the cloud server determines the first description file and the second description file, and sends the first description file and the second description file to the electronic device; the electronic device then determines translation control information based on the first description file and the second description file.
It should be understood that, in the embodiment of the present application, the electronic device may be interconnected through a short-range communication protocol, so as to implement information interaction between the electronic device and the smart home device or the terminal device. The short-range communication protocol includes at least one of a wireless fidelity (wireless fidelity, wi-Fi) protocol, a Bluetooth (BT) protocol, a near field communication/near field wireless communication technology (near field communication, NFC) protocol, or a Zigbee protocol.
It will be understood that various names related to the embodiments of the present application are merely examples, for example, a function of an intelligent home device may also be referred to as a functional attribute of the intelligent home device, a function type of the intelligent home device may also be referred to as a service of the intelligent home device, a first description file may also be referred to as a first model file, a second description file may also be referred to as a functional model description file, and first description information may also be referred to as a simplified model description file, which is not limited in this application.
It should be understood that the sequence numbers of the above methods do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof.
The control method of the smart home device according to the embodiment of the present application is described in detail above with reference to fig. 6 to 11, and the control apparatus of the smart home device according to the embodiment of the present application is described in detail below with reference to fig. 12.
Fig. 12 is a schematic block diagram of a control device 1200 of an intelligent home device according to an embodiment of the present application. The apparatus 1200 supports a first smart home protocol. As shown in fig. 12, the apparatus 1200 includes: a transceiver module 1201 and a processing module 1202.
In one possible implementation, the apparatus 1200 is configured to implement the steps corresponding to the electronic device in the method 600, the method 800, or the method 1100.
In another possible implementation manner, the apparatus 1200 is configured to implement steps corresponding to the cloud server in the method 600, the method 800, or the method 1100.
It should be appreciated that the apparatus 1200 herein is embodied in the form of functional modules. The term module herein may refer to an application specific integrated circuit (application specific integrated circuit, ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor, etc.) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an alternative example, it will be understood by those skilled in the art that the apparatus 1200 may be specifically an electronic device or a cloud server in the foregoing embodiment, and the apparatus 1200 may be used to execute each flow and/or step corresponding to the electronic device or the cloud server in the foregoing method embodiment, which is not repeated herein.
The apparatus 1200 has a function of implementing corresponding steps executed by the electronic device or the cloud server in the method; the above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In an embodiment of the present application, the apparatus 1200 in fig. 12 may also be a chip, for example: SOC. Correspondingly, the processing module 1202 may be a transceiver circuit of the chip, which is not limited herein.
Fig. 13 shows a schematic block diagram of a control device 1300 of an intelligent home device according to an embodiment of the present application. The apparatus 1300 includes a processor 1301, a transceiver 1302, and a memory 1303. The processor 1301, the transceiver 1302 and the memory 1303 communicate with each other through an internal connection path, the memory 1303 is configured to store instructions, and the processor 1301 is configured to execute the instructions stored in the memory 1303, so as to control the transceiver 1302 to transmit signals and/or receive signals.
It should be understood that the apparatus 1300 may be specifically an electronic device or a cloud server in the foregoing embodiment, and may be configured to perform each step and/or flow corresponding to the electronic device or the cloud server in the foregoing method embodiment. The memory 1303 may optionally include read-only memory and random access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store information of the device type. The processor 1301 may be configured to execute instructions stored in a memory, and when the processor 1301 executes instructions stored in the memory, the processor 1301 is configured to perform the steps and/or flows of the method embodiments described above. The transceiver 1302 may include a transmitter that may be used to implement various steps and/or processes for performing transmit actions corresponding to the transceiver described above, and a receiver that may be used to implement various steps and/or processes for performing receive actions corresponding to the transceiver described above.
It should be appreciated that in embodiments of the present application, the processor may be a central processing unit (central processing unit, CPU), the processor may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor executes instructions in the memory to perform the steps of the method described above in conjunction with its hardware. To avoid repetition, a detailed description is not provided herein.
The present application also provides a computer readable storage medium for storing a computer program for implementing the method shown in the above-mentioned method embodiments.
The present application also provides a computer program product comprising a computer program (which may also be referred to as code, or instructions) which, when run on a computer, performs the method as shown in the method embodiments described above.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Claims (16)

1. A control method for smart home devices, applied to an electronic device, where the electronic device supports a first smart home protocol, the method comprising:
Receiving broadcast information from intelligent home equipment, wherein the broadcast information carries information for indicating the intelligent home equipment to support a second intelligent home protocol;
responding to the broadcast information, acquiring first description information from the intelligent home equipment, wherein the first description information is used for indicating M functions of the intelligent home equipment, at least one command supported by each function of the M functions and equipment type of the intelligent home equipment, the first description information is generated based on the second intelligent home protocol, and M is a positive integer;
the cloud server generates translation control information based on the first description information, and the electronic equipment controls the intelligent home equipment by using the translation control information; or generating translation control information based on the first description information, and controlling the intelligent home equipment by using the translation control information;
the translation comparison information comprises a first corresponding relation and/or a second corresponding relation, the first corresponding relation comprises a corresponding relation between a function identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a function identifier of the intelligent home equipment corresponding to the second intelligent home protocol, and the second corresponding relation comprises a corresponding relation between a command identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a command identifier of the intelligent home equipment corresponding to the second intelligent home protocol.
2. The method of claim 1, wherein the translation control information is generated based on a first description file and a second description file, the first description file being determined based on the first description information and a first smart home protocol definition file corresponding to the first smart home protocol, the second description file being determined based on the first description information and a second smart home protocol definition file corresponding to the second smart home protocol.
3. The method according to claim 1 or 2, wherein the causing the cloud server to generate translation control information based on the first description information includes:
sending the first description information to a cloud server;
and receiving the translation control information from the cloud server.
4. The method of claim 1, wherein the translation control information is generated from a first description file, a second description file, and second description information, the first description file being determined based on the second description file and a first smart home protocol definition file corresponding to the first smart home protocol, the second description file being determined based on the first description file and a second smart home protocol definition file corresponding to the second smart home protocol, the second description information including information indicating a target function and a target command supported by each of the target functions, the second description information being used to indicate some or all of the information in the second description file.
5. The method of claim 4, wherein the first description information includes function identifications of the M functions and command identifications of the at least one command, and the second description information includes function identifications of the target functions and command identifications of the target commands;
the generating translation control information based on the first description information includes:
searching the function identifiers of the M functions, the comments of the function identifiers of the M functions and the comments of the command identifiers of the at least one command from the second intelligent home protocol definition file by utilizing the function identifiers of the M functions and the command identifiers of the at least one command to obtain the second description file;
searching the function identification of the target function, the annotation of the function identification of the target function and the annotation of the command identification of the target command supported by each function in the target function and the annotation of the command identification of the target command from the first intelligent home protocol definition file by utilizing the function identification of the target function and the command identification of the target command to obtain the first description file;
Determining the first corresponding relation based on the function identification of the target function, the first description file and the second description file;
and determining the second corresponding relation based on the command identification of the target command, the first description file and the second description file.
6. The method according to claim 4 or 5, characterized in that the method further comprises:
acquiring equipment type information of the intelligent home equipment from the intelligent home equipment, wherein the equipment type information indicates at least one equipment type;
a first request for acquiring a control card corresponding to the at least one equipment type is sent to a cloud server, wherein the first request comprises the equipment type information;
and receiving card information from the cloud server, wherein the card information comprises information for indicating a combined control card, and the combined control card comprises a control card corresponding to each equipment type in the at least one equipment type and a function button corresponding to each equipment type in the at least one equipment type.
7. The method of claim 4 or 5, wherein said controlling the smart home device using the translation control information comprises:
Acquiring a first command, wherein the first command is used for requesting to execute a first operation on the intelligent home equipment;
translating the first command into a second command by using the translation control information, wherein the translation control information comprises a corresponding relation between the first command and the second command;
and sending the second command to the intelligent household equipment.
8. The method of claim 4 or 5, wherein the obtaining, in response to the broadcast information, first description information from the smart home device comprises:
responding to the broadcast information, and judging whether the second intelligent home protocol supported by the intelligent home equipment is the same as the first intelligent home protocol;
and under the condition that the second intelligent home protocol is different from the first intelligent home protocol, acquiring the first description information from the intelligent home equipment.
9. The control method of the intelligent home equipment is characterized by being applied to a cloud server, and comprises the following steps:
receiving first description information from electronic equipment, wherein the first description information is acquired from intelligent household equipment by the electronic equipment in response to broadcast information from the intelligent household equipment, the broadcast information carries information for indicating that the intelligent household equipment supports a second intelligent household protocol, the first description information is used for indicating M functions of the intelligent household equipment, at least one command supported by each function of the M functions and equipment type of the intelligent household equipment, the first description information is generated based on the second intelligent household protocol, the electronic equipment supports the first intelligent household protocol, and M is a positive integer;
Generating translation comparison information based on the first description information, wherein the translation comparison information comprises a first corresponding relation and/or a second corresponding relation, the first corresponding relation comprises a corresponding relation between a function identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a function identifier of the intelligent home equipment corresponding to the second intelligent home protocol, and the second corresponding relation comprises a corresponding relation between a command identifier of the intelligent home equipment corresponding to the first intelligent home protocol and a command identifier of the intelligent home equipment corresponding to the second intelligent home protocol;
and sending the translation comparison information to the electronic equipment.
10. The method of claim 9, wherein the first description information includes function identifications of the M functions and command identifications of the at least one command;
the generating translation control information based on the first description information includes:
searching comments of the function identifications of the M functions and the function identifications of the M functions, and comments of the command identifications of the at least one command and the command identifications of the at least one command from a second intelligent home protocol definition file corresponding to the second intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a second description file;
Searching comments of the function identifications of the M functions and the function identifications of the M functions, and comments of the command identifications of the at least one command and the command identifications of the at least one command from a first intelligent home protocol definition file corresponding to the first intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a first description file;
and generating the translation control information based on the first description file and the second description file.
11. The method of claim 9, wherein the first description information includes function identifications of the M functions and command identifications of the at least one command;
the generating translation control information based on the first description information includes:
searching comments of the function identifications of the M functions and the function identifications of the M functions, and comments of the command identifications of the at least one command and the command identifications of the at least one command from a second intelligent home protocol definition file corresponding to the second intelligent home protocol by utilizing the function identifications of the M functions and the command identifications of the at least one command to obtain a second description file;
Searching a first intelligent home protocol definition file corresponding to the first intelligent home protocol for a function identifier of a target function and an annotation of the function identifier of the target function, which are included in second description information preset in the cloud server, and an annotation of a command identifier of a target command supported by each function in the target function and a command identifier of the target command, so as to obtain a first description file, wherein the second description information is used for indicating part or all of information in the second description file, and the second description information comprises information used for indicating the target function and the target command supported by each function in the target function;
and generating the translation control information based on the first description file, the second description file and the second description information.
12. The method of claim 11, wherein the second description information includes a function identification of the target function and a command identification of the target command;
the generating the translation control information based on the first description file, the second description file, and the second description information includes:
determining the first corresponding relation based on the function identification of the target function, the first description file and the second description file;
And determining the second corresponding relation based on the command identification of the target command, the first description file and the second description file.
13. The method according to any one of claims 9 to 12, further comprising:
receiving a first request from the electronic device for acquiring a control card corresponding to at least one device type, wherein the at least one device type is acquired from the intelligent home device;
responding to the first request, combining control cards corresponding to each equipment type in the at least one equipment type to obtain a combined control card, wherein the combined control card comprises function buttons corresponding to each equipment type in the at least one equipment type;
and sending card information to the electronic device, wherein the card information comprises information for indicating the combined control card.
14. Control device of a smart home device, characterized by comprising means for performing the method according to any of claims 1 to 8 or the method according to any of claims 9 to 13.
15. The utility model provides a controlling means of intelligent house equipment which characterized in that includes: a processor coupled to a memory for storing a computer program which, when invoked by the processor, causes the apparatus to perform the method of any one of claims 1 to 8 or the method of any one of claims 9 to 13.
16. A computer readable storage medium storing a computer program comprising instructions for implementing the method of any one of claims 1 to 8 or the method of any one of claims 9 to 13.
CN202311323225.6A 2023-10-13 2023-10-13 Control method and control device of intelligent household equipment Active CN117061266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311323225.6A CN117061266B (en) 2023-10-13 2023-10-13 Control method and control device of intelligent household equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311323225.6A CN117061266B (en) 2023-10-13 2023-10-13 Control method and control device of intelligent household equipment

Publications (2)

Publication Number Publication Date
CN117061266A CN117061266A (en) 2023-11-14
CN117061266B true CN117061266B (en) 2024-04-02

Family

ID=88667821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311323225.6A Active CN117061266B (en) 2023-10-13 2023-10-13 Control method and control device of intelligent household equipment

Country Status (1)

Country Link
CN (1) CN117061266B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170014095A (en) * 2015-07-28 2017-02-08 (주)산들네트웍스 A Method and System of Smart Consumer Service for Home Power Saving
CN106683674A (en) * 2017-01-16 2017-05-17 西安电子科技大学 System and method for controlling intelligent home by aid of voice
CN108494637A (en) * 2018-01-19 2018-09-04 西安电子科技大学 A kind of method of smart home device docking Control4 systems
CN109257258A (en) * 2018-09-30 2019-01-22 百度在线网络技术(北京)有限公司 The method and apparatus of inside and outside Network Communication for intelligent sound box
CN109976173A (en) * 2019-03-18 2019-07-05 中国联合网络通信集团有限公司 Control method, device, equipment and the readable storage medium storing program for executing of smart home device
KR102042689B1 (en) * 2018-05-30 2019-11-08 (주)유비벨록스모바일 IOT device setting system
WO2020155014A1 (en) * 2019-01-31 2020-08-06 华为技术有限公司 Smart home device sharing system and method, and electronic device
CN112908326A (en) * 2021-01-29 2021-06-04 思必驰科技股份有限公司 Household voice control learning and application method and device
CN114915521A (en) * 2022-04-28 2022-08-16 深圳市晟瑞科技有限公司 Intelligent home gateway and data processing method
CN115981170A (en) * 2022-11-28 2023-04-18 深圳海智创科技有限公司 Intelligent household management method, device, equipment and storage medium
WO2023138285A1 (en) * 2022-01-20 2023-07-27 青岛海信智慧生活科技股份有限公司 Binding method for smart home device and terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170014095A (en) * 2015-07-28 2017-02-08 (주)산들네트웍스 A Method and System of Smart Consumer Service for Home Power Saving
CN106683674A (en) * 2017-01-16 2017-05-17 西安电子科技大学 System and method for controlling intelligent home by aid of voice
CN108494637A (en) * 2018-01-19 2018-09-04 西安电子科技大学 A kind of method of smart home device docking Control4 systems
KR102042689B1 (en) * 2018-05-30 2019-11-08 (주)유비벨록스모바일 IOT device setting system
CN109257258A (en) * 2018-09-30 2019-01-22 百度在线网络技术(北京)有限公司 The method and apparatus of inside and outside Network Communication for intelligent sound box
WO2020155014A1 (en) * 2019-01-31 2020-08-06 华为技术有限公司 Smart home device sharing system and method, and electronic device
CN113272745A (en) * 2019-01-31 2021-08-17 华为技术有限公司 Smart home equipment sharing system and method and electronic equipment
CN109976173A (en) * 2019-03-18 2019-07-05 中国联合网络通信集团有限公司 Control method, device, equipment and the readable storage medium storing program for executing of smart home device
CN112908326A (en) * 2021-01-29 2021-06-04 思必驰科技股份有限公司 Household voice control learning and application method and device
WO2023138285A1 (en) * 2022-01-20 2023-07-27 青岛海信智慧生活科技股份有限公司 Binding method for smart home device and terminal
CN114915521A (en) * 2022-04-28 2022-08-16 深圳市晟瑞科技有限公司 Intelligent home gateway and data processing method
CN115981170A (en) * 2022-11-28 2023-04-18 深圳海智创科技有限公司 Intelligent household management method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN117061266A (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US11385857B2 (en) Method for displaying UI component and electronic device
US11567623B2 (en) Displaying interfaces in different display areas based on activities
WO2020155014A1 (en) Smart home device sharing system and method, and electronic device
CN113254409B (en) File sharing method, system and related equipment
CN116360725B (en) Display interaction system, display method and device
CN116009999A (en) Card sharing method, electronic equipment and communication system
CN112130788A (en) Content sharing method and device
JP7234379B2 (en) Methods and associated devices for accessing networks by smart home devices
CN117014859A (en) Address book-based device discovery method, audio and video communication method and electronic device
CN113472477A (en) Wireless communication system and method
CN115119048B (en) Video stream processing method and electronic equipment
CN116048358B (en) Method and related device for controlling suspension ball
CN117061266B (en) Control method and control device of intelligent household equipment
CN113950045A (en) Subscription data downloading method and electronic equipment
CN116095219B (en) Notification display method and terminal device
CN116095223B (en) Notification display method and terminal device
WO2024022101A1 (en) Application program management method and electronic device
EP4290375A1 (en) Display method, electronic device and system
CN114666441B (en) Method for calling capabilities of other devices, electronic device, system and storage medium
CN115619628B (en) Image processing method and terminal equipment
WO2023160217A1 (en) Method for detecting embedded subscriber identity module (esim) card, and terminal device
CN116382728B (en) Propagation name display method and terminal equipment
CN117013660B (en) Charging icon display method and electronic equipment
WO2023071590A1 (en) Input control method and electronic device
CN117289807A (en) Communication method, communication system and mouse

Legal Events

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