CN116684219B - Scene triggering method, system, electronic equipment and computer storage medium - Google Patents

Scene triggering method, system, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN116684219B
CN116684219B CN202310957601.0A CN202310957601A CN116684219B CN 116684219 B CN116684219 B CN 116684219B CN 202310957601 A CN202310957601 A CN 202310957601A CN 116684219 B CN116684219 B CN 116684219B
Authority
CN
China
Prior art keywords
scene
terminal
linkage
triggering
user terminal
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
CN202310957601.0A
Other languages
Chinese (zh)
Other versions
CN116684219A (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.)
Guangdong Jinpeng Technology Co ltd
Original Assignee
Guangdong Jinpeng 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 Guangdong Jinpeng Technology Co ltd filed Critical Guangdong Jinpeng Technology Co ltd
Priority to CN202310957601.0A priority Critical patent/CN116684219B/en
Publication of CN116684219A publication Critical patent/CN116684219A/en
Application granted granted Critical
Publication of CN116684219B publication Critical patent/CN116684219B/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/2807Exchanging configuration information on appliance services in a home automation network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to the technical field of computers, and provides a scene triggering method, a system, electronic equipment and a computer storage medium, wherein the method comprises the following steps: responding to the scene trigger request, and sending a scene trigger label to the user terminal; receiving terminal data sent by a user terminal; determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data; and analyzing a selected scene in the responsive scene triggering instruction, and triggering a target linkage scene based on the selected scene. According to the method and the device for triggering the scene, scene triggering is achieved through the scene triggering label, app and control panel interaction are not required to be installed, and the convenience of scene triggering is improved. Meanwhile, the scene linkage scene of the user terminal is determined only through the terminal data, and then the target linkage scene is triggered through the selected scene in the scene triggering instruction, so that a new scene is not required to be reset, and the scene triggering flexibility is improved.

Description

Scene triggering method, system, electronic equipment and computer storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a scene triggering method, a system, an electronic device, and a computer storage medium.
Background
The traditional intelligent home control system is generally composed of a main device and a sub device, wherein the main device is responsible for management and control of the whole system, and the sub device is responsible for information feedback and command execution. A scenario generally refers to setting a preset action for a group of smart home. For example, the user sets a "home" scene that presets preset actions such as lights on, air conditioner on, etc. When the user operates the home scene, the user can control a plurality of devices at a time. However, the user often needs to install a specific application program App or a control panel device to interact with the main device, so as to achieve the purpose of controlling the scene. Therefore, when a visitor wants to control some scenes, the visitor also needs to install an App or find a control panel, so that the convenience of scene triggering is low. Meanwhile, in the traditional intelligent home control method, all preset actions of equipment in a scene can be supported or not triggered, so that the flexibility of scene triggering is low.
Disclosure of Invention
The invention provides a scene triggering method, a scene triggering system, electronic equipment and a computer storage medium, and aims to improve the convenience and flexibility of scene triggering.
In a first aspect, the present invention provides a scene triggering method, including:
responding to a scene trigger request sent by a user terminal, and sending a scene trigger label to the user terminal based on the scene trigger request;
receiving terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
and responding to a scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene.
In one embodiment, the triggering a target linkage scenario of the scene linkage scenarios based on the selected scenario comprises:
performing scene matching on the selected scene in the scene linkage scenes, and determining whether linkage scenes matched with the selected scene exist in the scene linkage scenes;
and if the scene linkage scene is determined to have the linkage scene matched with the selected scene, determining the linkage scene matched with the selected scene as the target linkage scene.
The terminal data comprises user information, terminal equipment information, encrypted ciphertext data and scene triggering data; the encrypted ciphertext data and the scene triggering data are data obtained by the user terminal scanning the scene triggering tag, and the user information and the terminal equipment information are data carried by the user terminal;
in one embodiment, the determining the target execution scenario of the user terminal based on the terminal data and the scenario trigger tag includes:
carrying out information matching on the user information in a preset information list, and determining whether the user information exists in the preset information list;
if the user information exists in the preset information list, decrypting the scene trigger data based on the encrypted ciphertext data to determine all scenes;
determining a scene trigger level of the user terminal based on the terminal equipment information and a first preset level mapping table, and matching a target execution scene of the user terminal in all scenes according to the scene trigger level;
the first preset level mapping table is an association relation mapping table between terminal equipment information and scene levels.
In one embodiment, the determining, based on the terminal data, a scene linkage scenario of the user terminal in the target execution scenario includes:
determining scene linkage grade of the user terminal based on the terminal equipment information and a second preset grade mapping table; the second preset level mapping table is an association relation mapping table between terminal equipment information and scene linkage levels;
and filtering target execution equipment in the target execution scene according to the scene linkage grade to obtain the scene linkage scene of the user terminal.
The terminal equipment information comprises a terminal Internet Protocol (IP) address and a terminal physical Media Access Control (MAC) address;
in one embodiment, the determining the scene trigger level of the user terminal based on the terminal device information and the first preset level mapping table includes:
and matching in the first preset level mapping table based on the terminal Internet Protocol (IP) address or the terminal physical Media Access Control (MAC) address to obtain the scene trigger level of the user terminal.
In one embodiment, before the responding to the scene trigger request sent by the user terminal, the method further includes:
receiving scene information input by a main device and scene linkage information of the scene information;
And carrying out information encryption on the scene information and the scene linkage information thereof to obtain scene triggering data, and carrying out labeling processing on the scene triggering data and the encrypted ciphertext data thereof to obtain the scene triggering label.
The scene trigger tag comprises a two-dimensional code scene trigger tag and a Near Field Communication (NFC) scene trigger tag.
In a second aspect, the present invention provides a scene trigger system, comprising:
the sending module is used for responding to a scene trigger request sent by the user terminal and sending a scene trigger tag to the user terminal based on the scene trigger request;
the receiving module is used for receiving the terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
the determining module is used for determining a target execution scene of the user terminal based on the terminal data and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
the scene triggering module is used for responding to the scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction and triggering a target linkage scene in the scene linkage scene based on the selected scene.
In a third aspect, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the scene triggering method according to the first aspect when executing the program.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium comprising a computer program which, when executed by the processor, implements the scene triggering method according to the first aspect.
The scene triggering method, the system, the electronic equipment and the computer storage medium provided by the invention respond to the scene triggering request sent by the user terminal and send the scene triggering label to the user terminal based on the scene triggering request; receiving terminal data sent by a user terminal; determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data; and responding to the scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene.
In the scene triggering process, the scene triggering is directly realized through the scene triggering label, an App is not required to be installed, interaction of a control panel is not required, and the convenience of scene triggering is improved. Meanwhile, in the scene triggering process, only the target execution scene of the user terminal and the scene linkage scene in the target execution scene are determined through the terminal data, and then the target linkage scene in the scene linkage scene is triggered through the selected scene in the scene triggering instruction, so that a new scene is not required to be reset, and the scene triggering flexibility is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the following description will be given with a brief introduction to the drawings used in the embodiments or the description of the prior art, it being obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained from these drawings without the inventive effort of a person skilled in the art.
FIG. 1 is a schematic flow chart of a scenario triggering method provided by the present invention;
FIG. 2 is an overall scheme flow chart of the scenario triggering method provided by the present invention;
FIG. 3 is a schematic diagram of a scene triggering system according to the present invention;
Fig. 4 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiments of the present invention provide embodiments of a scene triggering method, and it should be noted that although a logic sequence is shown in the flowchart, the steps shown or described may be accomplished in a different order than that shown or described herein under certain data.
Referring to fig. 1, fig. 1 is a flow chart of a scene triggering method provided by the present invention. The scene triggering method provided by the embodiment of the invention comprises the following steps:
step 101, responding to a scene trigger request sent by a user terminal, and sending a scene trigger tag to the user terminal based on the scene trigger request.
It should be noted that, in the embodiment of the present invention, the scenario triggering system is taken as an execution main body, and the scenario triggering system may be understood as an intelligent home control system, where the intelligent home control system includes a main device and a sub device, the main device is responsible for management and control of the whole system, and the sub device is responsible for information feedback and command execution.
Specifically, when a user needs to trigger a scene, the user needs to send a scene trigger request to the intelligent home control system through the user terminal, and the main equipment of the intelligent home control system responds to the scene trigger request sent by the user terminal and sends a scene trigger label in the intelligent home control system to the user terminal.
It should be noted that, the scene triggering means that by identifying the behavior or environmental information of the user, the corresponding scene or operation is automatically triggered, so as to improve the interaction efficiency and user experience of the user, and the method is mainly applied to the fields of smart home, smart office, smart traffic and the like. In an embodiment, when the traditional scene triggering application is applied to the field of intelligent home, a user can send a scene triggering request to an intelligent home system through an application program App or a control panel, the scene triggering request contains information of a triggering scene, home light, electric appliances, curtains and the like in a home can be controlled, and when the triggering scene selected by the user is a home returning scene, the intelligent home system can automatically open all the light, television and curtains in the home.
It should be further noted that, the scene trigger tag is a tag generated by the smart home control system according to the received scene trigger information before the user triggers the scene. In an embodiment, the scene trigger tag includes a two-dimensional code scene trigger tag and a near-to-earth communication (Non-fungible Certificate, NFC) scene trigger tag, both of which are technologies for information transmission, and the terminal device may read information by scanning a two-dimensional code or using an NFC function, so as to implement communication and interaction between the smart home control system and the user terminal.
102, receiving terminal data sent by the user terminal;
step 103, determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
specifically, after receiving a scene trigger tag sent by the smart home control system, the user terminal scans the scene trigger tag and reads data information in the scene trigger tag, and in one embodiment, the scene trigger tag is illustrated by a two-dimensional code scene trigger tag.
Therefore, it can be understood that after the user terminal receives the two-dimensional code scene trigger tag sent by the intelligent home control system, the two-dimensional code scene trigger tag is scanned, and data information in the two-dimensional code scene trigger tag is read, and it is required to be noted that the two-dimensional code scene trigger tag is obtained by performing labeling processing on encrypted ciphertext data and scene trigger data in the intelligent home control system, so that data information obtained by the user terminal scanning the two-dimensional code scene trigger tag is the encrypted ciphertext data and the scene trigger data.
Further, the user terminal packs the user information and the terminal equipment information of the user terminal, and the encrypted ciphertext data and the scene trigger data obtained by scanning the two-dimensional code scene trigger tag according to the read encrypted ciphertext data and the scene trigger data in the two-dimensional code scene trigger tag to obtain terminal data, and sends the terminal data to the intelligent home control system.
It should be noted that, the user information and the terminal device information are data carried by the user terminal itself, in an embodiment, the user information may be user identification (Identity Document, ID) information, and the terminal device information may be a terminal internet protocol (Internet Protocol, IP) address and a terminal physical address (Media Access Control Address, MAC).
Further, after receiving the terminal data, the intelligent home control system determines a target execution scene of the user terminal according to the terminal data.
Further, the intelligent home control system determines scene linkage scenes in the target execution scene according to the terminal data. It should be noted that, the scene linkage scenario refers to that, under a specific scene, the intelligent control system may automatically perform a series of related operations according to the received terminal data, so as to implement a specific function to meet the needs of the user.
Therefore, it can be understood that the intelligent home control system determines the target execution scene of the user terminal and the scene linkage scene in the target execution scene according to the user information, the terminal equipment information, the encrypted ciphertext data, the scene trigger data and the scene trigger tag.
Step 104, responding to a scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene.
It should be noted that, when the user terminal sends the terminal data to the intelligent home control system, a scene triggering instruction is also sent, where the scene triggering instruction is an instruction generated by selecting a scene to be triggered in the user terminal by the user. Therefore, after receiving the scene trigger instruction sent by the user terminal, the intelligent home control system responds to the scene trigger instruction sent by the user terminal and analyzes the selected scene in the scene trigger instruction. Further, the intelligent home control system determines a target linkage scene in the scene linkage scene according to the selected scene in the scene triggering instruction, and triggers the target linkage scene in the scene linkage scene.
In another embodiment, after determining the scene linkage scenario, the smart home control system sends the scene linkage scenario to the user terminal, and the user selects a scene to be executed according to the scene linkage scenario in the user terminal, so that it can be understood that the scene triggering instruction carries the scene to be executed according to the scene linkage scenario selection by the user, and the smart home control system triggers the scene linkage scenario according to the scene to be executed selected by the user. For example, the smart home control system determines that the scene linkage scene of the user terminal a is scene 1, scene 2 and scene 3, and sends the scene 1, scene 2 and scene 3 to the user terminal. The user selects a scene to be executed as a scene 2 according to the scene 1, the scene 2 and the scene 3 in the user terminal, so that the intelligent home control system triggers a scene linkage scene in the scene 2.
The scene triggering method provided by the invention responds to the scene triggering request sent by the user terminal, and sends the scene triggering label to the user terminal based on the scene triggering request; receiving terminal data sent by a user terminal; determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data; and responding to the scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene. In the scene triggering process, the scene triggering is directly realized through the scene triggering label, an App is not required to be installed, interaction of a control panel is not required, and the convenience of scene triggering is improved. Meanwhile, in the scene triggering process, only the target execution scene of the user terminal and the scene linkage scene in the target execution scene are determined through the terminal data, and then the target linkage scene in the scene linkage scene is triggered through the selected scene in the scene triggering instruction, so that a new scene is not required to be reset, and the scene triggering flexibility is improved.
Further, before responding to the scene trigger request sent by the user terminal according to step 101, the method further includes:
receiving scene information input by a main device and scene linkage information of the scene information;
and carrying out information encryption on the scene information and the scene linkage information thereof to obtain scene triggering data, and carrying out labeling processing on the scene triggering data and the encrypted ciphertext data thereof to obtain the scene triggering label.
Specifically, when the user administrator performs scene triggering management, the user administrator terminal is required to input scene information and scene linkage information in the scene information in the main equipment of the intelligent home control system.
Further, after receiving the scene information and the scene linkage information in the scene information input by the main equipment, the intelligent home control system stores the scene information and the scene linkage information in the scene information into a database of the intelligent home control system.
It should be noted that, the scene information includes a scene name, the scene linkage information includes linkage equipment and linkage actions, and the scene linkage information needs to have logic and rationality to ensure that an expected effect can be achieved in the scene linkage.
In an embodiment, a user administrator inputs scene information and scene linkage information thereof in a main device of an intelligent home control system through a user administrator terminal, and the user administrator presets two scenes, namely a scene 1 and a scene 2. The scene name of the scene 1 is a home returning scene, so the scene linkage scene of the scene 1 can be that a living room lamp is turned on, a kitchen lamp is turned on, and a living room air purifier is turned on. Scene 2's scene name is away from home, so scene 2's scene linkage scenario may be turning off all devices.
Further, the intelligent home control system encrypts scene information and scene linkage information in the scene information stored in a database of the intelligent home control system by utilizing encrypted ciphertext data through a symmetric encryption algorithm to obtain scene trigger data.
Further, the intelligent home control system performs labeling processing on the encrypted scene trigger data to obtain a scene trigger label.
The labeling process includes two-dimensional code labeling process and near field communication NFC labeling process. Therefore, it can be understood that the intelligent home control system performs labeling processing on the encrypted scene trigger data to obtain a two-dimensional code scene trigger tag or a Near Field Communication (NFC) scene trigger tag. When the user terminal sends a scene trigger request to the intelligent home control system, the system can send the scene trigger tag back to the user terminal as response data so as to realize communication and interaction between the intelligent home control system and the user terminal. In the scene triggering process, the scene triggering is directly realized through the scene triggering label, an App is not required to be installed, interaction of a control panel is not required, and the convenience of scene triggering is improved.
It should be noted that, the scene trigger data generated in the traditional scene is usually stored in plaintext, that is, the scene trigger data is stored in a computer or other devices in a form of a common text, so that all people can read and understand the scene trigger data, and the storage mode can be easily attacked and illegally accessed by a hacker to the control system, thereby bringing potential safety hazard to the control system. In this embodiment, the scene information in the database of the smart home control system and the scene linkage information in the scene information are encrypted by using the encrypted ciphertext data through the symmetric encryption algorithm to obtain the scene trigger data, and the encrypted scene trigger data is labeled to obtain the scene trigger label, so that the non-plaintext storage mode can enable the smart control system to avoid potential safety hazards. When the user terminal scans and reads the two-dimension code scene trigger tag or the data of the near field communication NFC scene trigger tag, the user terminal can carry encrypted ciphertext data to access a unified entry, decryption operation is carried out at the entry, and user identity is verified, so that only authorized users can access preset scene trigger data.
Further, step 103 determines a target execution scenario of the user terminal based on the terminal data and the scenario trigger tag, including:
carrying out information matching on the user information in a preset information list, and determining whether the user information exists in the preset information list;
if the user information exists in the preset information list, decrypting the scene trigger data based on the encrypted ciphertext data to determine all scenes;
and determining the scene trigger level of the user terminal based on the terminal equipment information and a first preset level mapping table, and matching the target execution scene of the user terminal in all scenes according to the scene trigger level.
Specifically, when the user administrator performs scene triggering management, a preset information list needs to be preset in the main equipment of the intelligent home control system through the user administrator terminal, and user information which can be authorized to be used is pre-recorded into the preset information list. Further, after receiving a preset information list preset by the main equipment, the intelligent home control system stores the preset information list into a database of the intelligent home control system.
Further, after receiving terminal data sent by the user terminal, the intelligent home control system performs information matching on user information in the terminal data in a preset information list, and determines whether the user information exists in the preset information list. It should be noted that, the user information refers to personal information generated by a user during the process of using a product or service, mainly relates to personal authentication in various application programs, and generally, the user information is stored in a manner of user ID information, and the user ID information refers to a unique identifier allocated to the user in a system, so as to identify and distinguish different users, and the user ID information is often used for user login, account registration and tracking of user behavior.
Further, if it is determined that the user information does not exist in the preset information list, that is, it is indicated that the user information is not authorized, the intelligent home control system returns a scene trigger failure prompt message to the user terminal.
Further, if it is determined that the user information exists in the preset information list, that is, it is indicated that the user information is authorized, the intelligent home control system decrypts the scene trigger data by using the encrypted ciphertext data, and all scenes in the intelligent home control system and scene linkage scenes in the scenes are determined. The encrypted ciphertext data is a parameter that is input in an algorithm for converting plaintext into ciphertext or converting ciphertext into plaintext.
Further, the intelligent home control system performs level matching in a first preset level mapping table according to terminal equipment information in terminal data to determine a scene trigger level of the user terminal, wherein the first preset level mapping table is preset in a main device of the intelligent home control system by a user manager through the user manager terminal and is stored in a database of the intelligent home control system by the intelligent home control system. It should be noted that, the first preset level mapping table is an association relation mapping table between terminal equipment information and scene level.
In an embodiment, the first preset level mapping table is { terminal equipment information 1- > a; terminal equipment information 2- > A, terminal equipment information 3- > B, namely the scene trigger level of the terminal equipment information 1 and the terminal equipment information 2 is A level, and the scene trigger level of the terminal equipment information 3 is B level.
It should be further noted that the terminal device information includes a terminal internet protocol IP address and a terminal physical MAC address, where the terminal internet protocol IP address and the terminal physical MAC address refer to unique identifiers preset by the network device when the network device leaves the factory, and are addresses for identifying the network device, so as to ensure that data can be correctly sent and received.
Therefore, it can be understood that the intelligent home control system performs matching in the first preset level mapping table according to the terminal IP address or the terminal MAC address of the user terminal, determines the scene trigger level of the user terminal, performs matching in all scenes according to the scene trigger level, and matches out the target execution scene of the user terminal.
It should be noted that, in the process of performing scene triggering, different users generally adopt a hierarchical authorization mode to give different authorities, and hierarchical authorization means that different levels of staff in an organization are authorized to obtain different access authorities, so that the staff can only access information and resources required by their working posts, but cannot access unnecessary information and resources, thereby ensuring the security of data and reducing the risk of data leakage.
In an embodiment, the smart home control system includes a home returning scene 1 and a home returning scene 2, the scene triggering level of the home returning scene 1 is a, and the scene linkage scene of the home returning scene 1 is to open all devices in the living room. The scene trigger level of the returning scene 2 is B.
The preset information list is as follows: the host user 1 and the host user 2 are provided with corresponding user information of user ID1 and user ID2, the parent user 3 and the parent user 4 are provided with corresponding user information of user ID3 and user ID4, the friend user 5 to the friend user 7 are provided with corresponding user information of user ID5 to user ID7.
Thus, the list of preset information is as in table 1:
table 1 preset information list
The first preset level mapping table is: the corresponding terminal equipment information of the host user 1 and the host user 2 is a terminal IP address 1 and a terminal IP address 2, and the corresponding scene triggering level is A level. The corresponding terminal equipment information of the parent user 3 and the parent user 4 is a terminal IP address 3 and a terminal IP address 4, and the corresponding scene trigger level is A level. The friend users 5 to 7 correspond to the terminal equipment information from the terminal IP address 5 to the terminal IP address 7, and the corresponding scene trigger level is level B.
Thus, the first preset level map is as in table 2:
table 2 first preset level mapping table
The user information of the terminal data sent by the user terminal A is user ID3, and the terminal equipment information is terminal IP address 3. And the intelligent home control system performs matching in a preset information list according to the user ID3, and determines that the user ID3 exists. And the intelligent home control system is matched in a first preset level mapping table according to the terminal IP address 3 to obtain the scene trigger level A of the user terminal A. Therefore, the smart home control system determines that the target execution scenario of the user terminal a is the home scenario 1. The user information sent by the user terminal B is user ID8, the terminal equipment information is terminal IP address 8, the intelligent home control system matches in a preset information list according to the user ID8, and if the user ID8 is determined to be absent, the intelligent home control system returns scene triggering failure prompt information to the user terminal B.
Further, the determining, in step 103, a scene linkage scenario of the user terminal in the target execution scenario based on the terminal data includes:
determining scene linkage grade of the user terminal based on the terminal equipment information and a second preset grade mapping table;
and filtering target execution equipment in the target execution scene according to the scene linkage grade to obtain the scene linkage scene of the user terminal.
Specifically, the intelligent home control system performs level matching in a second preset level mapping table according to terminal equipment information in terminal data, and determines scene linkage levels of the user terminals, wherein the second preset level mapping table is preset in main equipment of the intelligent home control system by a user manager through the user manager terminals and is stored in a database of the intelligent home control system by the intelligent home control system.
It should be noted that, the second preset level mapping table is an association relation mapping table between terminal equipment information and scene linkage level, and the terminal equipment information includes a terminal internet protocol IP address and a terminal physical MAC address. In an embodiment, the second preset level mapping table is { terminal equipment information 1- > A1; terminal equipment information 2- > A2; terminal equipment information 3- > B1}, namely the scene linkage grade of the terminal equipment information 1 is A1 grade, the scene linkage grade of the terminal equipment information 2 is A2 grade, and the scene linkage grade of the terminal equipment information 3 is B1 grade.
Therefore, it can be understood that after the target execution scene of the user terminal is matched based on the first preset level mapping table, the intelligent home control system performs level matching in the second preset level mapping table according to the terminal IP address or the terminal MAC address of the user terminal, determines the scene linkage level of the user terminal, filters the target execution device in the target execution scene according to the scene linkage level, and determines the scene linkage scene of the user terminal. In the scene triggering process, the target execution scene of the user terminal is determined through the terminal data, and the scene linkage scene in the target execution scene is determined through the terminal data, so that a new scene is not required to be reset, and the flexibility of scene triggering is improved.
In an embodiment, the intelligent home control system has a home returning scene 1 and a home returning scene 2, the scene triggering level of the home returning scene 1 is A, the home returning scene 1 comprises a scene linkage scene 1.1 and a scene linkage scene 1.2, the scene linkage scene 1.1 is a scene linkage level of A1 for turning on all devices in a living room, turning on a main lying light and turning on a living room air purifier, the corresponding scene linkage level is a scene linkage level of A1 for turning on all devices in the living room, and the corresponding scene linkage level is a scene linkage level of A2. The scene triggering level of the returning scene 2 is B, the returning scene 2 comprises scene linkage scenes 2.1 and scene linkage scenes 2.2, the scene linkage scenes 2.1 are the starting of a living room lamp and the starting of a living room air purifier, the corresponding scene linkage level is B1, the scene linkage scenes 2.2 are the starting of a door lamp and the starting of the living room air purifier, and the corresponding scene linkage level is B2.
The second preset level mapping table is: the corresponding terminal equipment information of the host user 1 and the host user 2 is a terminal IP address 1 and a terminal IP address 2, and the corresponding scene linkage grade is A1 grade. The corresponding terminal equipment information of the parent user 3 and the parent user 4 is a terminal IP address 3 and a terminal IP address 4, and the corresponding scene linkage grade is A2 grade. The terminal equipment information corresponding to the friend user 5 is a terminal IP address 5, the corresponding scene linkage level is a B1 level, the friend user 6 and the friend user 7, the corresponding terminal equipment information is a terminal IP address 6 and a terminal IP address 7, and the corresponding scene linkage level is a B2 level.
Thus, the second preset level map is as in table 3:
table 3 second preset level mapping table
Based on the preset information list in table 1 and the first preset level mapping table in table 2, the smart home control system determines that the user information of the terminal data sent by the user terminal a is the user ID1, the terminal device information is the terminal IP address 1, and matches in the first preset level mapping table according to the terminal IP address 1, and determines that the scene triggering level of the user terminal a is a, that is, the target execution scene of the user terminal a is the returning scene 1. The intelligent home control system is matched in a second preset level mapping table according to the terminal IP address 1, so that the scene linkage level of the user terminal A is A1, namely the scene linkage scene of the user terminal A is that all devices in a living room are turned on, the main lying lamp is turned on, and the living room air purifier is turned on.
The intelligent home control system determines that user information of terminal data sent by a user terminal B is user ID3, terminal equipment information is terminal IP address 3, matching is carried out in a first preset level mapping table according to the terminal IP address 3, and the scene triggering level of the user terminal B is determined to be A, namely, the target execution scene of the user terminal B is home scene 1. The intelligent home control system is matched in a second preset level mapping table according to the terminal IP address 3, so that the scene linkage level of the user terminal B is A2, namely the scene linkage scene of the user terminal B is that all devices in a living room are turned on and the living room air purifier is turned on.
The intelligent home control system determines that user information of terminal data sent by the user terminal C is user ID5, terminal equipment information is terminal IP address 5, matching is carried out in a first preset level mapping table according to the terminal IP address 5, and the scene triggering level of the user terminal C is determined to be B, namely, the target execution scene of the user terminal C is home scene 2. The intelligent home control system is matched in a second preset level mapping table according to the terminal IP address 5, so that the scene linkage level of the user terminal C is B1, namely the scene linkage scene of the user terminal C is that a living room lamp is turned on and a living room air purifier is turned on.
Therefore, the intelligent home control system determines that the scene linkage scene of the user terminal A is that all devices in a living room are turned on, the main lying light is turned on, the living room air purifier is turned on, the scene linkage scene of the user terminal B is that all devices in the living room are turned on, the living room air purifier is turned on, and the scene linkage scene of the user terminal C is that the living room light is turned on, the living room air purifier is turned on.
Further, triggering a target linkage scenario in the scene linkage scenario based on the selected scenario described in step 104 includes:
performing scene matching on the selected scene in the scene linkage scenes, and determining whether linkage scenes matched with the selected scene exist in the scene linkage scenes;
and if the scene linkage scene is determined to have the linkage scene matched with the selected scene, determining the linkage scene matched with the selected scene as the target linkage scene.
Specifically, the intelligent home control system performs scene matching on the selected scene in scene linkage scenes, and determines whether linkage scenes matched with the selected scene exist in the scene linkage scenes.
Further, if it is determined that the linkage scene matched with the selected scene exists in the scene linkage scenes, the intelligent home control system determines the linkage scene matched with the selected scene as a target linkage scene and triggers the target linkage scene.
Further, if it is determined that a linkage scene matched with the selected scene exists in the scene linkage scenes, the intelligent home control system returns scene triggering failure prompt information to the user terminal.
In an embodiment, the intelligent home control system determines that the scene linkage scene of the user terminal a is scene 1, scene 2 and scene 3, and if the selected scene in the scene triggering instruction sent by the user terminal a is scene 1, the intelligent home control system triggers the scene linkage scene in scene 1. If the selected scene in the scene triggering instruction sent by the user terminal A is the scene 4, the intelligent home control system returns a scene triggering failure prompt message to the user terminal A.
Further, referring to fig. 2, fig. 2 is a flowchart of an overall scheme of the scenario triggering method provided by the present invention, in an embodiment, taking scenario selection after a user terminal scans a two-dimensional code triggering tag as an example, an overall process of the scenario triggering method provided by the present invention may be understood as follows:
the user manager inputs the scene information and scene linkage information in the scene information into the main equipment of the intelligent home control system in advance through the user manager terminal. After receiving the scene information and the scene linkage information in the scene information input by the main equipment, the intelligent home control system stores the scene information and the scene linkage information in the scene information into a database of the intelligent home control system.
Further, a user manager presets a preset information list in a main device of the intelligent home control system through a user manager terminal, and user information which can be authorized to be used is pre-recorded into the preset information list. Further, after receiving a preset information list preset by the main equipment, the intelligent home control system stores the preset information list into a database of the intelligent home control system.
Further, a user manager presets a first preset level mapping table in a main device of the intelligent home control system through a user manager terminal, wherein the first preset level mapping table is an association relation mapping table between terminal device information and scene levels, and the terminal device information comprises a terminal Internet Protocol (IP) address and a terminal physical Media Access Control (MAC) address. Based on a preset first preset level mapping table, a user administrator presets a second preset level mapping table in a main device of the intelligent home control system through a user administrator terminal, wherein the second preset level mapping table is an association relation mapping table between terminal device information and scene linkage levels, and the terminal device information comprises a terminal Internet Protocol (IP) address and a terminal physical Media Access Control (MAC) address. Further, after the smart home control system receives the first preset level mapping table and the second preset level mapping table preset by the main device, the first preset level mapping table and the second preset level mapping table are stored in a database of the smart home control system.
Further, after the intelligent home control system stores the scene information and scene linkage information in the scene information into a database of the intelligent home control system, the scene information and the scene linkage information in the scene information stored into the database of the intelligent home control system are encrypted by utilizing the encrypted ciphertext data through a symmetric encryption algorithm, so that scene triggering data are obtained.
Further, the intelligent home control system performs labeling processing on the encrypted scene trigger data to obtain a two-dimensional code scene trigger label. Therefore, by using the two-dimensional code scene trigger tag, the user use permission can be set for triggering the scene and the scene linkage scene.
Further, the user terminal scans and reads data in the two-dimensional code scene trigger tag, then performs scene selection, and sends terminal data and a scene trigger instruction to the intelligent home control system, wherein the scene trigger instruction carries a selected scene. After receiving terminal data sent by a user terminal, the intelligent home control system performs information matching on user information in the terminal data in a preset information list, and determines whether the user information exists in the preset information list.
Further, if it is determined that the user information does not exist in the preset information list, that is, it is indicated that the user information is not authorized, the intelligent home control system returns a scene trigger failure prompt message to the terminal device of the user.
Further, if it is determined that the user information exists in the preset information list, that is, it is indicated that the user information is authorized, the smart home control system decrypts the two-dimensional code data or the near-to-ground communication NFC data by using the encrypted ciphertext data, so as to determine all scene information and scene linkage information in the scene information in the smart home control system.
Further, the intelligent home control system matches in a first preset level mapping table according to the terminal IP address or the terminal MAC address of the user terminal, determines the scene trigger level of the user terminal, matches in all scenes according to the scene trigger level, and matches out the target execution scene of the user terminal.
Further, the intelligent home control system matches in a second preset level mapping table according to the terminal IP address or the terminal MAC address of the user terminal, determines the scene linkage level of the user terminal, obtains a target execution scene based on the matching of the first preset level mapping table, filters target execution equipment in the target execution scene according to the scene linkage level, and determines the scene linkage scene of the user terminal.
Further, the intelligent home control system performs scene matching on the selected scene in scene linkage scenes, and determines whether linkage scenes matched with the selected scene exist in the scene linkage scenes. If the scene linkage scene is determined to have the linkage scene matched with the selected scene, the intelligent home control system determines the linkage scene matched with the selected scene as a target linkage scene and triggers the target linkage scene. If the scene linkage scene is determined to not have the linkage scene matched with the selected scene, the intelligent home control system returns scene triggering failure prompt information to the user terminal.
Further, the scene triggering system provided by the invention and the scene triggering method provided by the invention are mutually correspondingly referred.
Fig. 3 is a schematic structural diagram of a scenario triggering system provided in the present invention, where the scenario triggering system includes:
a sending module 301, configured to respond to a scenario triggering request sent by a user terminal, and send a scenario triggering tag to the user terminal based on the scenario triggering request;
a receiving module 302, configured to receive terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
A determining module 303, configured to determine a target execution scenario of the user terminal based on the terminal data, and determine a scenario linkage scenario of the user terminal in the target execution scenario based on the terminal data;
the scene triggering module 304 is configured to respond to a scene triggering instruction sent by the user terminal, analyze a selected scene in the scene triggering instruction, and trigger a target linkage scene in the scene linkage scene based on the selected scene.
Further, the scene trigger module 304 is further configured to:
performing scene matching on the selected scene in the scene linkage scenes, and determining whether linkage scenes matched with the selected scene exist in the scene linkage scenes;
and if the scene linkage scene is determined to have the linkage scene matched with the selected scene, determining the linkage scene matched with the selected scene as the target linkage scene.
Further, the determining module 303 is configured to:
carrying out information matching on the user information in a preset information list, and determining whether the user information exists in the preset information list;
if the user information exists in the preset information list, decrypting the scene trigger data based on the encrypted ciphertext data to determine all scenes;
And determining the scene trigger level of the user terminal based on the terminal equipment information and a first preset level mapping table, and matching the target execution scene of the user terminal in all scenes according to the scene trigger level.
Further, the determining module 303 is configured to:
determining scene linkage grade of the user terminal based on the terminal equipment information and a second preset grade mapping table;
and filtering target execution equipment in the target execution scene according to the scene linkage grade to obtain the scene linkage scene of the user terminal.
Further, the determining module 303 is further configured to:
and matching in the first preset level mapping table based on the terminal Internet Protocol (IP) address or the terminal physical Media Access Control (MAC) address to obtain the scene trigger level of the user terminal.
Further, the scene trigger system is further configured to:
receiving scene information input by a main device and scene linkage information of the scene information;
and carrying out information encryption on the scene information and the scene linkage information thereof to obtain scene triggering data, and carrying out labeling processing on the scene triggering data and the encrypted ciphertext data thereof to obtain the scene triggering label.
The specific embodiment of the scene triggering system provided by the invention is basically the same as each embodiment of the scene triggering method, and is not repeated here.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, where the electronic device may include: processor 410, communication interface (Communications Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a scene trigger method comprising:
responding to a scene trigger request sent by a user terminal, and sending a scene trigger label to the user terminal based on the scene trigger request;
receiving terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
And responding to a scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a scene triggering method provided by the above methods, the method comprising:
responding to a scene trigger request sent by a user terminal, and sending a scene trigger label to the user terminal based on the scene trigger request;
receiving terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
and responding to a scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above provided scene triggering methods, the method comprising:
Responding to a scene trigger request sent by a user terminal, and sending a scene trigger label to the user terminal based on the scene trigger request;
receiving terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
and responding to a scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A scene triggering method, comprising:
responding to a scene trigger request sent by a user terminal, and sending a scene trigger label to the user terminal based on the scene trigger request;
receiving terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
determining a target execution scene of the user terminal based on the terminal data and the scene trigger tag, and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
responding to a scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction, and triggering a target linkage scene in the scene linkage scene based on the selected scene;
the terminal data comprises user information, terminal equipment information, encrypted ciphertext data and scene triggering data; the encrypted ciphertext data and the scene triggering data are data obtained by the user terminal scanning the scene triggering tag, and the user information and the terminal equipment information are data carried by the user terminal;
The determining the target execution scene of the user terminal based on the terminal data and the scene trigger tag comprises the following steps:
carrying out information matching on the user information in a preset information list, and determining whether the user information exists in the preset information list;
if the user information exists in the preset information list, decrypting the scene trigger data based on the encrypted ciphertext data to determine all scenes;
determining a scene trigger level of the user terminal based on the terminal equipment information and a first preset level mapping table, and matching a target execution scene of the user terminal in all scenes according to the scene trigger level;
the first preset level mapping table is an association relation mapping table between terminal equipment information and scene levels;
the determining, based on the terminal data, a scene linkage scenario of the user terminal in the target execution scenario includes:
determining scene linkage grade of the user terminal based on the terminal equipment information and a second preset grade mapping table; the second preset level mapping table is an association relation mapping table between terminal equipment information and scene linkage levels;
And filtering target execution equipment in the target execution scene according to the scene linkage grade to obtain the scene linkage scene of the user terminal.
2. The scene triggering method according to claim 1, wherein the triggering a target linkage scene of the scene linkage scenes based on the selected scene comprises:
performing scene matching on the selected scene in the scene linkage scenes, and determining whether linkage scenes matched with the selected scene exist in the scene linkage scenes;
and if the scene linkage scene is determined to have the linkage scene matched with the selected scene, determining the linkage scene matched with the selected scene as the target linkage scene.
3. The scenario triggering method according to claim 1, wherein the terminal device information includes a terminal internet protocol, IP, address and a terminal physical, MAC, address;
the determining the scene trigger level of the user terminal based on the terminal equipment information and the first preset level mapping table includes:
and matching in the first preset level mapping table based on the terminal Internet Protocol (IP) address or the terminal physical Media Access Control (MAC) address to obtain the scene trigger level of the user terminal.
4. The scenario triggering method according to claim 1, wherein before the responding to the scenario triggering request sent by the user terminal, further comprises:
receiving scene information input by a main device and scene linkage information of the scene information;
and carrying out information encryption on the scene information and the scene linkage information thereof to obtain scene triggering data, and carrying out labeling processing on the scene triggering data and the encrypted ciphertext data thereof to obtain the scene triggering label.
5. The scenario triggering method according to any one of claims 1 to 4, wherein the scenario triggering tag comprises a two-dimensional code scenario triggering tag and a near field communication NFC scenario triggering tag.
6. A scene trigger system, comprising:
the sending module is used for responding to a scene trigger request sent by the user terminal and sending a scene trigger tag to the user terminal based on the scene trigger request;
the receiving module is used for receiving the terminal data sent by the user terminal; the terminal data are data sent after the user terminal triggers the scene trigger tag;
the determining module is used for determining a target execution scene of the user terminal based on the terminal data and determining a scene linkage scene of the user terminal in the target execution scene based on the terminal data;
The scene triggering module is used for responding to a scene triggering instruction sent by the user terminal, analyzing a selected scene in the scene triggering instruction and triggering a target linkage scene in the scene linkage scene based on the selected scene;
the terminal data comprises user information, terminal equipment information, encrypted ciphertext data and scene triggering data; the encrypted ciphertext data and the scene triggering data are data obtained by the user terminal scanning the scene triggering tag, and the user information and the terminal equipment information are data carried by the user terminal;
the determining the target execution scene of the user terminal based on the terminal data and the scene trigger tag comprises the following steps:
carrying out information matching on the user information in a preset information list, and determining whether the user information exists in the preset information list;
if the user information exists in the preset information list, decrypting the scene trigger data based on the encrypted ciphertext data to determine all scenes;
determining a scene trigger level of the user terminal based on the terminal equipment information and a first preset level mapping table, and matching a target execution scene of the user terminal in all scenes according to the scene trigger level;
The first preset level mapping table is an association relation mapping table between terminal equipment information and scene levels;
the determining, based on the terminal data, a scene linkage scenario of the user terminal in the target execution scenario includes:
determining scene linkage grade of the user terminal based on the terminal equipment information and a second preset grade mapping table; the second preset level mapping table is an association relation mapping table between terminal equipment information and scene linkage levels;
and filtering target execution equipment in the target execution scene according to the scene linkage grade to obtain the scene linkage scene of the user terminal.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the scene triggering method according to any of claims 1 to 5 when executing the computer program.
8. A non-transitory computer readable storage medium comprising a computer program, characterized in that the computer program, when executed by a processor, implements the scene triggering method according to any of claims 1 to 5.
CN202310957601.0A 2023-08-01 2023-08-01 Scene triggering method, system, electronic equipment and computer storage medium Active CN116684219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310957601.0A CN116684219B (en) 2023-08-01 2023-08-01 Scene triggering method, system, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310957601.0A CN116684219B (en) 2023-08-01 2023-08-01 Scene triggering method, system, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN116684219A CN116684219A (en) 2023-09-01
CN116684219B true CN116684219B (en) 2023-10-20

Family

ID=87785849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310957601.0A Active CN116684219B (en) 2023-08-01 2023-08-01 Scene triggering method, system, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN116684219B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942855A (en) * 2013-01-18 2014-07-23 海尔集团公司 A scene interactive method based on a two-dimensional code and a system thereof
CN106972996A (en) * 2017-05-11 2017-07-21 广东汇泰龙科技有限公司 A kind of home furnishings intelligent interlock method locked based on cloud, system
CN112990400A (en) * 2021-03-31 2021-06-18 建信金融科技有限责任公司 Scene service method, device and system based on NFC label
CN114500138A (en) * 2022-01-12 2022-05-13 青岛海尔科技有限公司 Linkage control configuration method, linkage control method and linkage control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942855A (en) * 2013-01-18 2014-07-23 海尔集团公司 A scene interactive method based on a two-dimensional code and a system thereof
CN106972996A (en) * 2017-05-11 2017-07-21 广东汇泰龙科技有限公司 A kind of home furnishings intelligent interlock method locked based on cloud, system
CN112990400A (en) * 2021-03-31 2021-06-18 建信金融科技有限责任公司 Scene service method, device and system based on NFC label
CN114500138A (en) * 2022-01-12 2022-05-13 青岛海尔科技有限公司 Linkage control configuration method, linkage control method and linkage control system

Also Published As

Publication number Publication date
CN116684219A (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN108513154B (en) Smart home control method based on smart television, smart television and storage medium
CN107121938B (en) Intelligent household equipment control method, device and system based on identity recognition
CN105119939B (en) The cut-in method and device, providing method and device and system of wireless network
CN103067340B (en) The method for authenticating of remote control network information household appliances and system, the Internet home gateway
CN111246539B (en) Networking binding method of intelligent household appliance, intelligent household appliance and user terminal
CN110932944A (en) Method and system for controlling intelligent household equipment by visitor terminal
CN107888603A (en) A kind of registration of Internet of Things smart machine, authentication method and Internet of Things
CN112312515B (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
WO2019215439A1 (en) Methods and apparatus for authenticating devices
CN113490207A (en) Internet of things equipment binding method and device, computer equipment and storage medium
WO2022247373A1 (en) Method and apparatus for controlling home appliance, and appliance
CN104076696B (en) Control terminal and applied program processing method, household appliance and its control system
CN112466053B (en) Control system of household appliance and execution method and device of target operation
CN113542242A (en) Device management method and device management apparatus
US8490155B2 (en) Method and apparatus for detecting downloadable conditional access system host with duplicated secure micro
CN116684219B (en) Scene triggering method, system, electronic equipment and computer storage medium
CN110808984A (en) M2M terminal control method and related equipment
CN109451497B (en) Wireless network connection method and device, electronic equipment and storage medium
CN105824666A (en) Data recovery device and method
CN114501591A (en) Intelligent equipment network access method and device and computer readable storage medium
CN112492599A (en) Terminal control method, system, electronic device and storage medium
CN113777942A (en) Control method and control device for intelligent equipment and electronic equipment
CN113781677A (en) Method for replacing intelligent door lock and cloud platform
CN112134768A (en) Car-home interconnection method and system
CN107426724B (en) Method and system for accessing intelligent household electrical appliance to wireless network, terminal and authentication server

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