CN109361641B - Method for adding heterogeneous terminal into scene, storage medium and application server - Google Patents

Method for adding heterogeneous terminal into scene, storage medium and application server Download PDF

Info

Publication number
CN109361641B
CN109361641B CN201711476945.0A CN201711476945A CN109361641B CN 109361641 B CN109361641 B CN 109361641B CN 201711476945 A CN201711476945 A CN 201711476945A CN 109361641 B CN109361641 B CN 109361641B
Authority
CN
China
Prior art keywords
scene
terminal
user side
record
terminal device
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
CN201711476945.0A
Other languages
Chinese (zh)
Other versions
CN109361641A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201711476945.0A priority Critical patent/CN109361641B/en
Publication of CN109361641A publication Critical patent/CN109361641A/en
Application granted granted Critical
Publication of CN109361641B publication Critical patent/CN109361641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Abstract

The invention discloses a method for adding a heterogeneous terminal into a scene, a storage medium and an application server, wherein the method comprises the following steps: receiving a scene execution request which is sent by a user side and carries a scene identifier, and determining a corresponding scene record according to the scene identifier; extracting each terminal device contained in the scene record, and acquiring an instruction template corresponding to each terminal device; and generating a control protocol corresponding to each terminal device according to the scene record and each instruction template, and sending each control protocol to the corresponding terminal device so that each terminal device is added into the scene. According to the method and the device, the corresponding instruction templates are preset for the terminal devices, when the scene execution request is received, the terminal devices contained in the scene record corresponding to the scene are determined, and the corresponding control protocols are generated according to the instruction templates of the terminal devices, so that the heterogeneous terminals can be added into the same scene at the same time, and the application range of the Internet of things is widened.

Description

Method for adding heterogeneous terminal into scene, storage medium and application server
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a method for adding a heterogeneous terminal into a scene, a storage medium and an application server.
Background
In recent years, the concept and the related technology of the internet of things have penetrated into various fields of social economy and civilian life, and with the proposal of the project of '2025 made in China', the development of the internet of things starts to enter a brand-new stage. The application development of the internet of things in China already enters a substantial propulsion stage, but the development of the internet of things is very slow compared with the industries such as mobile internet and the like with various technical, application and mode innovations and changeable industrial patterns. Especially in the household electrical appliance field, different household electrical appliances can adopt heterogeneous communication protocols, and the household electrical appliances adopting the heterogeneous communication protocols cannot be added into the same scene at the same time, so that the sending of the internet of things in the household electrical appliance field is limited to a great extent.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a storage medium, and an application server for adding a heterogeneous terminal to a scene, so as to solve the problem that the existing heterogeneous terminals cannot simultaneously add to the same scene.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a method for a heterogeneous terminal to join a scene comprises the following steps:
receiving a scene execution request which is sent by a user side and carries a scene identifier, and determining a corresponding scene record according to the scene identifier;
extracting each terminal device contained in the scene record, and acquiring an instruction template corresponding to each terminal device;
and generating a control protocol corresponding to each terminal device according to the scene record and each instruction template, and sending each control protocol to the corresponding terminal device so that each terminal device is added into the scene.
The method for adding the heterogeneous terminal into the scene comprises the following steps that an instruction template is preset to be established, and the establishment process of the instruction template specifically comprises the following steps:
establishing connection with a plurality of terminal devices configured with heterogeneous communication protocols in advance, and acquiring the device type of each terminal device;
and determining the communication protocol of each terminal device according to the device type, and generating an instruction template of each terminal device according to each communication protocol.
The method for adding the heterogeneous terminal into the scene includes the following steps that the scene execution request which is sent by the user side and carries the scene identification is received, and the corresponding scene record is determined according to the scene identification:
receiving a scene execution request of a preset scene sent by a user side, wherein the scene execution request carries a scene identifier of the preset scene;
and searching the corresponding scene record in a preset scene record database according to the scene identifier.
The method for adding the heterogeneous terminal into the scene comprises the following steps of receiving a scene execution request which is sent by a user side and carries a scene identifier, and determining a corresponding scene record according to the scene identifier:
receiving an acquisition request for acquiring scene configuration information sent by a user side, wherein the configuration information comprises a first execution condition and a first device action;
reading each prestored first execution condition and each prestored first equipment action according to the request, and feeding back the read scene configuration information to the user side;
and the receiving user side generates scene information according to the scene configuration information, wherein the scene information comprises a second execution condition and a second device action.
The method for adding the heterogeneous terminal into the scene, wherein the feeding back the acquired scene configuration information to the user side so as to receive the scene information generated by the user side according to the scene configuration information specifically includes:
feeding back the acquired scene configuration information to the user side, and monitoring scene information added by the user side;
and generating a scene record according to the monitored scene information, and storing the scene record in a preset scene database.
The method for adding the heterogeneous terminal into the scene, wherein the extracting of the terminal devices included in the scene record and the obtaining of the instruction templates corresponding to the terminal devices specifically include:
extracting second execution conditions contained in the scene record, and judging whether all execution conditions contained in the second execution conditions are met;
when all execution conditions are met, acquiring second equipment actions contained in the scene record, and judging whether each terminal equipment contained in the second equipment actions meets preset conditions one by one;
and acquiring corresponding instruction templates for each terminal device meeting preset conditions in the second device action recorded in the scene.
The method for adding the heterogeneous terminal into the scene, wherein the extracting the terminal devices included in the scene record and acquiring the instruction templates corresponding to the terminal devices further comprises:
and generating corresponding error codes for the terminal equipment which does not meet the preset conditions in the second equipment actions recorded in the scene, associating the error codes with the corresponding terminal equipment, and feeding back the error codes to the user side.
The method for adding the heterogeneous terminal into the scene comprises the steps that the user side is an authorized user of the terminal equipment and the terminal equipment is online.
A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps in the method for a heterogeneous terminal to join a scenario as described in any one of the above.
An application server, comprising: the device comprises a processor, a memory and a communication bus, wherein the memory is stored with a computer readable program which can be executed by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the method for joining a scene by a heterogeneous terminal as described in any of the above.
Has the advantages that: compared with the prior art, the invention provides a method for adding a heterogeneous terminal into a scene, a storage medium and an application server, wherein the method comprises the following steps: receiving a scene execution request which is sent by a user side and carries a scene identifier, and determining a corresponding scene record according to the scene identifier; extracting each terminal device contained in the scene record, and acquiring an instruction template corresponding to each terminal device; and generating a control protocol corresponding to each terminal device according to the scene record and each instruction template, and sending each control protocol to the corresponding terminal device so that each terminal device is added into the scene. According to the method and the device, the corresponding instruction templates are preset for the terminal devices, when the scene execution request is received, the terminal devices contained in the scene record corresponding to the scene are determined, and the corresponding control protocols are generated according to the instruction templates of the terminal devices, so that the heterogeneous terminals can be added into the same scene at the same time, and the application range of the Internet of things is widened.
Drawings
Fig. 1 is a flowchart of a method for a heterogeneous terminal to join a scene according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart of step S10 in the preferred embodiment of the method for joining a scene by a heterogeneous terminal according to the present invention.
Fig. 3 is a flowchart of an instruction template establishing process in the preferred embodiment of the method for adding a heterogeneous terminal to a scene provided by the present invention.
Fig. 4 is a schematic structural diagram of a preferred embodiment of an application server provided in the present invention.
Detailed Description
The invention provides a method for adding a heterogeneous terminal into a scene, a storage medium and an application server, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The invention will be further explained by the description of the embodiments with reference to the drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for a heterogeneous terminal to join a scene according to a preferred embodiment of the present invention. The method comprises the following steps:
and S10, receiving a scene execution request carrying a scene identifier sent by a user side, and determining a corresponding scene record according to the scene identifier.
Specifically, the scene is preset for the user side and stored in the application server, and the user side stores information of each scene configured in the application server by the user side. A user can send a scene execution request to an application server through a user side, and the scene execution request carries a scene identifier. The scene identification is the only identification of each scene, and the scene record corresponding to the scene can be found according to the scene identification. Correspondingly, the receiving a scene execution request carrying a scene identifier sent by a user side, and determining a scene establishment process before a corresponding scene record according to the scene identifier, where the scene establishment process may include:
s01, receiving an acquisition request sent by a user side for acquiring scene configuration information, wherein the configuration information comprises a first execution condition and a first device action;
s02, reading each prestored first execution condition and each prestored first equipment action according to the request, and feeding back the read scene configuration information to the user side;
and S03, the receiving user side generates scene information according to the scene configuration information, wherein the scene information comprises a second execution condition and a second device action.
Specifically, the user side sends an acquisition request to an application server, where the acquisition request is used to acquire scene configuration information, where the scene configuration information includes a first execution condition and a first device action. The first execution condition may include a firmware condition and a condition capability parameter of each terminal device; the first device action may include a fixed action and an action capability parameter of each terminal device. The terminal devices are connected with the server in advance, and the capability parameters and the action parameters of the terminal devices are stored in the server in advance. The fixed conditions may include weather, temperature, humidity, PM2.5, time, and the like. That is to say, the scene may be set according to a fixed condition, or may be generated by using device capability parameters (which include condition capability parameters and action capability parameters), that is, the device capability parameters may be device actions of the terminal device, or may be execution conditions of other terminal devices connected thereto, so that the device actions of the terminal device are controlled by using the device capability parameters of the other devices, and linkage between the terminal devices is realized.
And each terminal device is connected to the application server and can send a control instruction to the application server through the application server so as to control each terminal to perform corresponding operation. In this embodiment, the user side may directly access the application server, or may switch to access the application server through an access server. That is, the user side sends the acquisition request to the access server, and the access server forwards the acquisition request to the application server.
Meanwhile, in this embodiment, the application server feeds back the device information of each terminal device accessed by the application server to the user side, and each terminal device corresponds to the user side, that is, the user side is an authorized user side of each terminal device. The device information may include a name, an identification code, and a capability parameter list, etc. of each terminal device, which may include an air conditioner, a washing machine, an air purifier, etc. The capability parameter list may take the form of keys, value types, and value ranges. In addition, each terminal device is pre-connected to the application server, so that before the application server feeds back the device information of each terminal device to the user side, the method may include: the method comprises the steps that an application server acquires all connectable terminal equipment in advance and stores equipment information of the terminal equipment; and receiving an authorization request input by the user side, and associating the user side with each terminal device according to the authorization request so as to authorize the user side.
In addition, after the user side acquires the scene configuration information, a scene can be created according to the scene configuration information, and scene information can be generated. The scene information includes a second device action and a second execution condition, the second execution condition is a condition for executing the scene information, and the second device action is an action that the scene needs to control the terminal device to perform. That is, the second execution condition is determined according to the acquired first execution condition, and the second device action is a device action that needs to be executed when the second execution condition is satisfied. For example, the second execution condition is that the camera detects a user, the second device acts as turning on a bedroom light, and the like. That is to say, the second device action carries a device identifier that needs to execute the action, and the device that needs to be executed can be determined according to the device identifier. Of course, the scene information may not carry the second execution condition, that is, the scene record generated according to the scene information is a manual scene, and the scene record carrying the second execution condition is an automatic scene.
Correspondingly, the feeding back the acquired scene configuration information to the user side so that the receiving user side generates the scene information according to the scene configuration information specifically includes:
feeding back the acquired scene configuration information to the user side, and monitoring scene information added by the user side;
and generating a scene record according to the monitored scene information, and storing the scene record in a preset scene database.
Specifically, the user side obtains scene information according to a received operation, generates a scene protocol packet according to the scene information, forwards the scene protocol packet to an application server through an access server, and the application server receives the scene protocol packet, extracts and stores the scene information carried by the scene protocol packet, generates a scene record from the scene information, and configures a scene identifier for the scene record, so that the scene record can be found according to the scene identifier, and controls corresponding equipment according to the scene record.
For example, as shown in fig. 2, the receiving a scene execution request carrying a scene identifier sent by a user side, and determining a corresponding scene record according to the scene identifier specifically includes:
s11, receiving a scene execution request of a preset scene sent by a user side, wherein the scene execution request carries a scene identifier of the preset scene;
and S12, searching the corresponding scene record in a preset scene record database according to the scene identification.
Specifically, the preset scene may be pre-stored in the application server, or may be generated by the user side and sent to the server. The scene execution request carries a scene identifier of a preset scene, so that a corresponding scene record can be found according to the scene identifier, and corresponding terminal equipment can be controlled to execute corresponding operation according to the scene record.
And S20, extracting each terminal device contained in the scene record, and acquiring an instruction template corresponding to each terminal device.
Specifically, the instruction templates are pre-stored, and different instruction templates are configured for each terminal device. The terminal devices are pre-connected with the application server, and the terminal devices can be self-added into the application server or acquired by the application server according to a request sent by a user side. The instruction templates may be different corresponding to different devices, for example, the instruction templates for air conditioner control may be:
turnOn value=”1/0”></turnOn>
<baseMode value=”xx”></baseMode>
<setTemp value=”xx”></setTemp>
<windSpd value=”xx”></windSpd>
<directH value=”1/0”></directH>
<directV value=”1/0”></directV>
the parameters are as follows: 1, turnOn: power switching range: [0,1 ]; type (2): INT; baseMode: basic mode, range: [0,4 ]; type (2): INT; enumerated values: 0 self-induction, 1 refrigeration, 2 dehumidification, 3 air supply and 4 heating; setTemp: setting a temperature range: [16,31 ]; type (2): INT; 4. windows Spd: wind speed range: [0,5 ]; type (2): INT; enumerated values: 0-automatic, 1-high speed, 2-medium speed, 3-low speed, 4-medium-low speed and 5-medium-high speed; direct: horizontal wind, direction range: [0,1 ]; type (2): INT; directV: vertical wind direction, range: [0,1 ]; type (2): INT.
The instruction template of door lock control (remote door opening) can be as follows:
<payload>
<token>xxxxxx</token>
<usertid>xxxxxx</usertid>
<tm>timevalue</tm>
<cmd>set-dev</cmd>
<act>control</act>
<dev-list>
<devicetid>23145688</devicetid>
<devtype>lock </devtype>
<prop-list>
<prop>state</prop>
<val>1/0</val>
</prop-list>
<prop-list>
<prop>pwd</prop>
<val>xxxxxx</val>
</prop-list>
</dev-list>
</payload>。
the parameters are as follows: 1, token, wherein the token can be selected when the communication connection is carried out; usertid, user id; tm is time; cmd is a specific command field for setting a device command set-dev; act, concrete operation action, control; dev-list device list; deviceitd is the tid of the door lock; devtype 8, device type lock; a prop-list, a list of device attributes; the attribute name of the prop is the on-off state attribute; val, the specific value of the corresponding attribute: state0 is OFF/1 is ON, pwd is the door-opening password.
Meanwhile, in this embodiment, as shown in fig. 3, the method may further include an instruction template establishing process, where the instruction template establishing process specifically includes:
s1, establishing connection with a plurality of terminal devices configured with heterogeneous communication protocols in advance, and acquiring the device types of the terminal devices;
and S2, determining the communication protocol of each terminal device according to the device type, and generating an instruction template of each terminal device according to each communication protocol.
Specifically, the application server establishes connection with a plurality of terminal devices configured with heterogeneous communication protocols in advance, generates an instruction template for each device according to the device type of each terminal, and is convenient for generating a control protocol according to the instruction template to control the terminal devices.
Further, the extracting the terminal devices included in the scene record and acquiring the instruction templates corresponding to the terminal devices specifically include:
s21, extracting second execution conditions contained in the scene record, and judging whether all the execution conditions contained in the second execution conditions are met;
s22, when all execution conditions are met, acquiring second equipment actions contained in the scene record, and judging whether each terminal equipment contained in the second equipment actions meets preset conditions one by one;
s23, acquiring corresponding instruction templates for each terminal device meeting preset conditions in the second device actions recorded in the scene;
and S24, generating corresponding error codes for each terminal device which does not meet the preset conditions in the second device actions recorded in the scene, associating each error code with the corresponding terminal device, and feeding back the error codes to the user side.
Specifically, the preset condition is that the user side is an authorized user of the terminal device and the terminal device is online. That is to say, after the scene record is found, extracting second execution conditions carried by the scene record, and determining whether each execution condition in the second execution conditions is satisfied, and when all the execution conditions are satisfied, determining whether the terminal device corresponding to each device action in the device actions satisfies a preset condition one by one (that is, the current user side is an authorized user of the device and the device is currently online), that is, performing action-by-action detection and execution on each device in the second device actions; for each terminal device meeting the preset conditions, acquiring an instruction template of the terminal device, namely finding a device control protocol in the instruction template by using a key value key of the device action, and initiating control to the terminal device.
And S30, generating control protocols corresponding to the terminal devices according to the scene records and the instruction templates, and sending the control protocols to the corresponding terminal devices so that the terminal devices can join in the scene.
Specifically, after the instruction template is obtained, the control write is generated according to the scene record and the instruction template, and the control protocol is issued to the corresponding terminal device, so that the terminal device joins in the scene. In addition, after the control protocol is issued to the terminal device, feedback information sent by the terminal device is received, and the feedback information carries the latest state of the terminal device. And the application server compares the received latest state with the current storage state, and when the state is sent to change and corresponds to the scene record, the application server sends the scene execution success information to the user terminal and adopts the latest state to update the current state. And when the change is not sent or the latest state does not correspond to the scene record, repeatedly sending the control protocol to the terminal equipment again, and sending scene execution error information to the terminal equipment when the number of times of sending the change or the latest state not corresponding to the scene record reaches a preset threshold value.
Based on the method for joining a scene by a heterogeneous terminal, the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs can be executed by one or more processors to implement the steps in the method for joining a scene by a heterogeneous terminal according to any of the embodiments described above
Based on the method for joining a scene by a heterogeneous terminal, the present invention further provides an application server, as shown in fig. 4, including at least one processor (processor) 20; a display screen 21; and a memory (memory) 22, and may further include a communication Interface (Communications Interface) 23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 30 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the mobile terminal are described in detail in the method, and are not stated herein.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for a heterogeneous terminal to join a scene is characterized by comprising the following steps:
receiving a scene execution request which is sent by a user side and carries a scene identifier, and determining a corresponding scene record according to the scene identifier; the scene is preset for the user side and stored in an application server; before receiving a scene execution request carrying a scene identifier sent by a user side and determining a corresponding scene record according to the scene identifier, the method further comprises the following steps: generating scene information by the receiving user side according to the scene configuration information, wherein the scene information comprises a second execution condition and a second device action; the second execution condition is a condition for executing the scene information, and the second device action is an action which needs to be performed by the control terminal device in the scene;
extracting each terminal device contained in the scene record, and acquiring an instruction template corresponding to each terminal device;
and generating a control protocol corresponding to each terminal device according to the scene record and each instruction template, and sending each control protocol to the corresponding terminal device so that each terminal device is added into the scene.
2. The method for the heterogeneous terminal to join the scene according to claim 1, wherein the instruction template is preset, and the establishment process of the instruction template specifically includes:
establishing connection with a plurality of terminal devices configured with heterogeneous communication protocols in advance, and acquiring the device type of each terminal device;
and determining the communication protocol of each terminal device according to the device type, and generating an instruction template of each terminal device according to each communication protocol.
3. The method for a heterogeneous terminal to join a scene according to claim 1, wherein the receiving a scene execution request carrying a scene identifier sent by a user side and determining a corresponding scene record according to the scene identifier specifically comprises:
receiving a scene execution request of a preset scene sent by a user side, wherein the scene execution request carries a scene identifier of the preset scene;
and searching the corresponding scene record in a preset scene record database according to the scene identifier.
4. The method for the heterogeneous terminal to join in the scene according to claim 1, wherein the receiving the scene execution request carrying the scene identifier sent by the user side and determining the corresponding scene record according to the scene identifier further comprises:
receiving an acquisition request for acquiring scene configuration information sent by a user side, wherein the configuration information comprises a first execution condition and a first device action;
and reading each prestored first execution condition and each prestored first equipment action according to the request, and feeding back the read scene configuration information to the user side.
5. The method for joining the scene by the heterogeneous terminal according to claim 4, wherein the feeding back the acquired scene configuration information to the user side so that the receiving user side generates the scene information according to the scene configuration information specifically comprises:
feeding back the acquired scene configuration information to the user side, and monitoring scene information added by the user side;
and generating a scene record according to the monitored scene information, and storing the scene record in a preset scene database.
6. The method for joining the scene by the heterogeneous terminal according to claim 4, wherein the extracting the terminal devices included in the scene record and obtaining the instruction templates corresponding to the terminal devices specifically includes:
extracting second execution conditions contained in the scene record, and judging whether all execution conditions contained in the second execution conditions are met;
when all execution conditions are met, acquiring second equipment actions contained in the scene record, and judging whether each terminal equipment contained in the second equipment actions meets preset conditions one by one;
and acquiring corresponding instruction templates for each terminal device meeting preset conditions in the second device action recorded in the scene.
7. The method for joining the scene by the heterogeneous terminal according to claim 6, wherein the extracting the terminal devices included in the scene record and obtaining the instruction templates corresponding to the terminal devices further comprises:
and generating corresponding error codes for the terminal equipment which does not meet the preset conditions in the second equipment actions recorded in the scene, associating the error codes with the corresponding terminal equipment, and feeding back the error codes to the user side.
8. The method for a heterogeneous terminal to join a scene according to claim 6 or 7, wherein the preset condition is that the user side is an authorized user of the terminal device and the terminal device is online.
9. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement the steps in the method for a heterogeneous terminal to join a scenario as claimed in any one of claims 1 to 8.
10. An application server, comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, performs the steps in the method for a heterogeneous terminal to join a scenario as claimed in any one of claims 1 to 8.
CN201711476945.0A 2017-12-29 2017-12-29 Method for adding heterogeneous terminal into scene, storage medium and application server Active CN109361641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711476945.0A CN109361641B (en) 2017-12-29 2017-12-29 Method for adding heterogeneous terminal into scene, storage medium and application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711476945.0A CN109361641B (en) 2017-12-29 2017-12-29 Method for adding heterogeneous terminal into scene, storage medium and application server

Publications (2)

Publication Number Publication Date
CN109361641A CN109361641A (en) 2019-02-19
CN109361641B true CN109361641B (en) 2022-03-11

Family

ID=65349599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711476945.0A Active CN109361641B (en) 2017-12-29 2017-12-29 Method for adding heterogeneous terminal into scene, storage medium and application server

Country Status (1)

Country Link
CN (1) CN109361641B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112751942B (en) * 2021-01-15 2022-11-15 东莞中国科学院云计算产业技术创新与育成中心 Communication establishing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897522A (en) * 2015-12-23 2016-08-24 乐视网信息技术(北京)股份有限公司 Smart home device control method and device
CN105892418A (en) * 2015-12-23 2016-08-24 乐视网信息技术(北京)股份有限公司 Smart home device control method and device
KR20160116960A (en) * 2015-03-31 2016-10-10 한국전자통신연구원 Smart Home-based networking device linkage apparatus and method therefor
CN107171911A (en) * 2017-06-29 2017-09-15 青岛海信智慧家居系统股份有限公司 The control method and device of intelligent home device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9886620B2 (en) * 2015-06-12 2018-02-06 Google Llc Using a scene illuminating infrared emitter array in a video monitoring camera to estimate the position of the camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160116960A (en) * 2015-03-31 2016-10-10 한국전자통신연구원 Smart Home-based networking device linkage apparatus and method therefor
CN105897522A (en) * 2015-12-23 2016-08-24 乐视网信息技术(北京)股份有限公司 Smart home device control method and device
CN105892418A (en) * 2015-12-23 2016-08-24 乐视网信息技术(北京)股份有限公司 Smart home device control method and device
CN107171911A (en) * 2017-06-29 2017-09-15 青岛海信智慧家居系统股份有限公司 The control method and device of intelligent home device

Also Published As

Publication number Publication date
CN109361641A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN105471686B (en) Terminal control method, device and system
CN109525540B (en) Intelligent device binding method and device
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
US20170064042A1 (en) Management of gateway device using virtual gateway device
CN104539504B (en) A kind of event triggering method and device
EP3679708B1 (en) Internet of things configurable event and action sequencing framework
US20120315848A1 (en) Processing near field communications between active/passive devices and a control system
CN104426750A (en) Method, equipment and system for instant messaging
CN107733994A (en) Control method, intelligent door lock and the readable storage medium storing program for executing of intelligent door lock
CN109640326B (en) Authority management method, device and system and mobile terminal
WO2015165350A1 (en) Method, device and system of switching smart television mobile end and obtaining television end information
DE102015118142A1 (en) Method for configuring and controlling intelligent home appliances
CN110677899A (en) Data transmission method and device, terminal equipment and storage medium
CN113498594A (en) Control method and device of intelligent household system, electronic equipment and storage medium
CN108154036B (en) Control method and control device of intelligent equipment
CN109361641B (en) Method for adding heterogeneous terminal into scene, storage medium and application server
US10489055B2 (en) Z-wave controller shift in thermostats
CN106792678B (en) Method and system for automatic pairing search of wireless nodes
CN106094708B (en) PLC remote on-line monitoring method, system, monitor terminal and remote server
CN105511275A (en) Method and device for controlling intelligent electric appliance
CN109451095B (en) Remote controller detection method and device, storage medium and terminal
CN110647734A (en) Equipment unlocking method and device based on Internet of things operating system
CN113915907A (en) Refrigerator and refrigerator networking method
CN105867154A (en) Device and system for controlling home device network
CN104281078A (en) Infrared device centralized control system

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
TA01 Transfer of patent application right

Effective date of registration: 20190320

Address after: 518000 No. 5, Industrial Avenue, Shekou Industrial Zone, Merchants Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen TCL New Technology Co., Ltd.

Address before: 510000 Building A2, Science Avenue 187 Business Plaza, Science City, Luogang District, Guangzhou City, Guangdong Province

Applicant before: Guangzhou TCL Smart Home Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant