CN118466321A - Scene-based equipment linkage control method, system, terminal and storage medium - Google Patents
Scene-based equipment linkage control method, system, terminal and storage medium Download PDFInfo
- Publication number
- CN118466321A CN118466321A CN202410656953.7A CN202410656953A CN118466321A CN 118466321 A CN118466321 A CN 118466321A CN 202410656953 A CN202410656953 A CN 202410656953A CN 118466321 A CN118466321 A CN 118466321A
- Authority
- CN
- China
- Prior art keywords
- equipment
- scene
- data
- registration information
- user information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000001514 detection method Methods 0.000 claims abstract description 35
- 238000012545 processing Methods 0.000 claims description 9
- 238000006467 substitution reaction Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 230000003993 interaction Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention relates to the technical field of the Internet of things, and particularly provides a scene-based equipment linkage control method, a system, a terminal and a storage medium, wherein the method comprises the following steps: receiving registration information of equipment, and generating an identity code for the equipment based on the registration information; dividing the devices with the same identity code into the same group to obtain a device group corresponding to the registration information; acquiring equipment detection data of an equipment group, wherein the equipment detection data comprises environment data and equipment states; analyzing a trigger condition of a pre-stored scene of the equipment group, wherein the scene comprises the trigger condition and an equipment control instruction set; and matching the current system time and the equipment detection data with the triggering condition, and executing a corresponding equipment control instruction set if the current system time and the equipment detection data are matched with the triggering condition. The invention realizes the linkage between the devices and improves the efficiency of device control and the coordination degree between the devices.
Description
Technical Field
The invention belongs to the technical field of the Internet of things, and particularly relates to a scene-based equipment linkage control method, a scene-based equipment linkage control system, a terminal and a storage medium.
Background
The smart home (home automation) takes a home as a platform, integrates facilities related to home life by utilizing a comprehensive wiring technology, a network communication technology, a security technology, an automatic control technology and an audio-video technology, builds an efficient management system of home facilities and family schedule matters, improves home safety, convenience, comfort and artistry, and realizes an environment-friendly and energy-saving living environment. With the rapid development of smart home technology, more and more smart devices are applied to people's life.
However, current intelligent devices usually work in an independent manner, lack linkage control of intelligent scenes, and cannot realize cooperative work between devices. For example, a smart home device (e.g., a voice assistant device) includes an audio control system that determines a set of one or more audio devices to include nearby devices that are capable of providing an audio stream that is audibly detected by a microphone of the smart home device. The audio control system initiates a voice interaction mode for operating the smart home device to receive voice commands from a user and to provide audio output in response to the voice commands. The audio control system transmits an audio control signal to the nearby devices, the audio control signal configuring each nearby device to implement one or more of: when the smart home device is operating in a voice interaction mode, reducing a volume level associated with an audio stream generated by a nearby device; and transmitting audio stream data associated with a current audio stream generated for audible output by the nearby device to the smart home device. The control mode depends on central control, and if the central control fails or has a connection problem, linkage cannot work normally. And the devices are independent of each other, lacking fine-grained customization and flexibility: traditional smart home scene linkage generally operates based on preset rules and conditions, and user-defined capability is limited. This may result in failure to meet the personalized needs or specific usage scenarios. Disclosure of Invention
The invention provides a scene-based equipment linkage control method, a scene-based equipment linkage control system, a terminal and a storage medium for solving the technical problems.
In a first aspect, the present invention provides a scene-based device linkage control method, including:
receiving registration information of equipment, and generating an identity code for the equipment based on the registration information;
Dividing the devices with the same identity code into the same group to obtain a device group corresponding to the registration information;
acquiring equipment detection data of an equipment group, wherein the equipment detection data comprises environment data and equipment states;
Analyzing a trigger condition of a pre-stored scene of the equipment group, wherein the scene comprises the trigger condition and an equipment control instruction set;
And matching the current system time and the equipment detection data with the triggering condition, and executing a corresponding equipment control instruction set if the current system time and the equipment detection data are matched with the triggering condition.
In an alternative embodiment, the method further comprises:
receiving identity registration information and generating user information based on the identity registration information;
Receiving scene configuration data sent by a user terminal, wherein the scene configuration data comprises a triggering condition and a target equipment state;
Generating a corresponding device control instruction set based on the target device state;
and storing the triggering condition and the corresponding equipment control instruction set as a scene bound with the user information.
In an alternative embodiment, receiving registration information of a device, generating an identification code for the device based on the registration information, includes:
Receiving registration information of equipment, wherein the registration information comprises identity registration information, positioning data and ip addresses;
calculating the MD5 value of the identity registration information to obtain a first identifier; calculating an MD5 value of a data combination consisting of positioning data and an ip address to obtain a second identifier;
The first identifier and the second identifier are combined into an identity code.
In an alternative embodiment, the method further comprises:
Judging whether user information matched with the first identifier exists in a user information base or not, wherein the user information base is used for storing the user information, the identity registration information and the corresponding first identifier;
if the user information matched with the first identifier exists in the user information base, binding the equipment with the user information;
If the user information matched with the first identification does not exist in the user information base, new user information is created based on the identity registration information, and the equipment is bound with the new user information.
In an optional embodiment, the dividing the devices with the same identification code into the same group to obtain the device group corresponding to the registration information includes:
acquiring the identity codes of all devices bound by user information;
And dividing the devices with the same identification codes into the same device group.
In an alternative embodiment, matching the current system time and the device detection data to the trigger condition comprises:
Integrating the current system time and the device detection data into an actual state data set;
judging whether the actual state data set contains all data of a trigger condition or not:
if yes, judging that the two are matched;
If not, then the two are not matched.
In an alternative embodiment, the method further comprises:
encrypting data by adopting a DES encryption algorithm during data interaction;
The DES encryption method comprises a substitution network (P-Box), S-Box substitution, key expansion and exclusive OR operation.
In a second aspect, the present invention provides a scene-based device linkage control system, comprising:
The equipment registration module is used for receiving registration information of equipment and generating an identity identification code for the equipment based on the registration information;
the equipment grouping module is used for dividing the equipment with the same identity code into the same group to obtain an equipment group corresponding to the registration information;
The device comprises a data acquisition module, a data processing module and a data processing module, wherein the data acquisition module is used for acquiring device detection data of a device group, and the device detection data comprises environment data and a device state;
the scene analysis module is used for analyzing the triggering conditions of the scene of the device group, which is stored in advance, wherein the scene comprises the triggering conditions and a device control instruction set;
and the equipment control module is used for matching the current system time and the equipment detection data with the triggering condition, and executing a corresponding equipment control instruction set if the current system time and the equipment detection data are matched with the triggering condition.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
The memory is used for storing a computer program,
The processor is configured to call and run the computer program from the memory, so that the terminal performs the method of the terminal as described above.
In a fourth aspect, there is provided a computer storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of the above aspects.
The scene-based equipment linkage control method, system, terminal and storage medium have the advantages that equipment is managed in groups, equipment in the equipment group is controlled in a linkage mode based on the preset scene of the equipment group, linkage among the equipment is achieved, and equipment control efficiency and coordination degree among the equipment are improved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention.
FIG. 2 is a schematic illustration of coordinated control of a method according to one embodiment of the invention.
Fig. 3 is a schematic diagram of a control implementation of a method of one embodiment of the invention.
Fig. 4 is a schematic diagram of a data encryption interaction architecture of a method of one embodiment of the invention.
Fig. 5 is a schematic diagram of a data encryption process of a method of one embodiment of the invention.
Fig. 6 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only 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 present invention without making any inventive effort, shall fall within the scope of the present invention.
Unless defined otherwise, all 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. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The scene-based equipment linkage control method provided by the embodiment of the invention is executed by the computer equipment, and correspondingly, the scene-based equipment linkage control system runs in the computer equipment.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention. Wherein, the execution subject of fig. 1 may be a scene-based device linkage control system. The order of the steps in the flow chart may be changed and some may be omitted according to different needs.
As shown in fig. 1, the method includes:
step 110, receiving registration information of equipment, and generating an identity code for the equipment based on the registration information;
Step 120, dividing the devices with the same identification code into the same group to obtain a device group corresponding to the registration information;
step 130, obtaining device detection data of a device group, wherein the device detection data comprises environment data and a device state;
step 140, analyzing a pre-stored trigger condition of a scene of the equipment group, wherein the scene comprises the trigger condition and an equipment control instruction set;
And step 150, matching the current system time and the equipment detection data with the triggering condition, and executing a corresponding equipment control instruction set if the current system time and the equipment detection data are matched with the triggering condition.
In order to facilitate understanding of the present invention, the following describes the scene-based device linkage control method according to the present invention in conjunction with the scene-based device linkage control process in the embodiment.
Specifically, referring to fig. 2, the scene-based device linkage control method includes:
s1, user registration.
S101, receiving identity registration information and generating user information based on the identity registration information.
S102, receiving scene configuration data sent by a user terminal, wherein the scene configuration data comprises a trigger condition and a target equipment state; generating a corresponding device control instruction set based on the target device state; and storing the triggering condition and the corresponding equipment control instruction set as a scene bound with the user information.
User operation APP can remotely set current existing intelligent home linkage scene, data are encrypted through DES symmetric algorithm, when the data are transmitted to cloud service, the user is compared with user set scene linkage equipment through decryption, monitoring data are compared with corresponding equipment, if the equipment is not on line, the user is required to be lifted to start the equipment, and finally the data are stored to the cloud for triggering the next scene linkage.
For example, the trigger condition for scenario 1 includes a 19:00 burglary-resisting door electronic door lock open event. The target state is to turn on the object lamp, the bedroom lamp, the air conditioner.
The set of device control instructions based on the target state includes: a state acquisition instruction of a living room lamp, namely a lamp-on instruction; a state acquisition instruction of the bedroom lamp, namely a lamp-on instruction; the state acquisition instruction of the air conditioner, the opening instruction, and the target temperature setting instruction.
The trigger condition includes a set of device control instructions saved as an xml file.
S2, registering equipment.
Receiving registration information of equipment, wherein the registration information comprises identity registration information, positioning data and ip addresses; calculating the MD5 value of the identity registration information to obtain a first identifier; calculating an MD5 value of a data combination consisting of positioning data and an ip address to obtain a second identifier; the first identifier and the second identifier are combined into an identity code.
The identity registration information is consistent with the identity registration information when the user registers, and both the identity registration information and the identity registration information comprise names and contact ways.
S3, grouping equipment.
Judging whether user information matched with the first identifier exists in a user information base or not, wherein the user information base is used for storing the user information, the identity registration information and the corresponding first identifier; if the user information matched with the first identifier exists in the user information base, binding the equipment with the user information; if the user information matched with the first identification does not exist in the user information base, new user information is created based on the identity registration information, and the equipment is bound with the new user information.
Thus, when the user has a plurality of living places, the overall management of the equipment of different living places can be realized, namely, the equipment registered by the same user can be automatically matched with the user information.
Acquiring the identity codes of all devices bound by user information; and dividing the devices with the same identification codes into the same device group. If the identification codes are the same, the equipment is positioned and ip are the same, and the equipment can be judged to be in the same building, so that the equipment is divided into the same equipment group. This allows the user to be distinguished from the devices in different residence areas.
S4, data acquisition.
Device detection data of a device group is acquired, the device detection data including environment data and a device state.
Specifically, data uploaded by all devices in the device group are summarized, and device states are extracted from the data, wherein the device states comprise whether the device is online, whether the device is in a starting state, running parameters, recorded events and the like; it is also necessary to extract environmental data such as brightness, temperature, humidity, etc., detected by some devices.
S5, scene triggering judgment.
Integrating the current system time and the device detection data into an actual state data set; judging whether the actual state data set contains all data of a trigger condition or not: if yes, judging that the two are matched; if not, then the two are not matched.
Specifically, the triggering condition is used as a searching target, and a data subset consistent with the triggering condition is searched from the actual state data set. If the subset is successfully searched, the trigger condition is successfully matched, and the corresponding scene is triggered. The actual state dataset may trigger multiple scenarios simultaneously.
S6, controlling equipment.
And if the matching is successful, executing the equipment control instruction set corresponding to the scene.
Specifically, as shown in fig. 3, when the device is started, the cloud service is notified through the internet of things sdk, the cloud service judges whether scene linkage is multi-condition execution or not according to scene linkage information stored by a user, whether conflict exists among instructions or not is checked, rationality verification and selective execution are performed on the conflict instructions, and finally the instructions are issued to the device, so that the scene device linkage function is completed.
Referring to fig. 4, when a user terminal performs data interaction with a cloud, a DES encryption algorithm is used to encrypt data. The specific data encryption method is shown in fig. 5, and the data is encrypted by adopting a DES encryption algorithm, wherein the DES algorithm is a powerful encryption technology based on substitution, substitution and iterative operation, and the plaintext data is converted into an unreadable ciphertext form by blocking and performing multiple rounds of encryption operation. In the encryption process, the DES algorithm uses a variety of complex mathematical operations including permutation and permutation networks (P-Box), S-Box substitution, key expansion, exclusive-or operations, and the like. The smart combination of these operations makes the DES algorithm highly confusing and diffuse, effectively hiding the structure and pattern of the plaintext data. The method performs data encryption by calculating in the following manner.
In some embodiments, the scene-based device linkage control system may include a plurality of functional modules comprised of computer program segments. The computer program of the individual program segments in the scene-based device linkage control system may be stored in a memory of a computer device and executed by at least one processor to perform (see fig. 1 for details) the functions of scene-based device linkage control.
In this embodiment, the scene-based device linkage control system may be divided into a plurality of functional modules according to the functions performed by the scene-based device linkage control system, as shown in fig. 6. The functional modules of system 600 may include: a device registration module 610, a device grouping module 620, a data acquisition module 630, a scene parsing module 640, and a device control module 650. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor and of performing a fixed function, stored in a memory. In the present embodiment, the functions of the respective modules will be described in detail in the following embodiments.
The equipment registration module is used for receiving registration information of equipment and generating an identity identification code for the equipment based on the registration information;
the equipment grouping module is used for dividing the equipment with the same identity code into the same group to obtain an equipment group corresponding to the registration information;
The device comprises a data acquisition module, a data processing module and a data processing module, wherein the data acquisition module is used for acquiring device detection data of a device group, and the device detection data comprises environment data and a device state;
the scene analysis module is used for analyzing the triggering conditions of the scene of the device group, which is stored in advance, wherein the scene comprises the triggering conditions and a device control instruction set;
and the equipment control module is used for matching the current system time and the equipment detection data with the triggering condition, and executing a corresponding equipment control instruction set if the current system time and the equipment detection data are matched with the triggering condition.
Fig. 7 is a schematic structural diagram of a terminal 700 according to an embodiment of the present invention, where the terminal 700 may be used to execute the scene-based device linkage control method according to the embodiment of the present invention.
The terminal 700 may include: processor 710, memory 720, and communication unit 730. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 720 may be used to store instructions for execution by the processor 710, and the memory 720 may be implemented by any type of volatile or non-volatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 720, when executed by processor 710, enables terminal 700 to perform some or all of the steps in the method embodiments described below.
The processor 710 is a control center of the memory terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 720, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (INTEGRATED CIRCUIT, simply referred to as an IC), for example, a single packaged IC, or may be comprised of multiple packaged ICs connected to one another for the same function or for different functions. For example, the processor 710 may include only a central processing unit (Central Processing Unit, simply CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
And a communication unit 730 for establishing a communication channel so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium in which a program may be stored, which program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory RAM), or the like.
Therefore, the invention realizes linkage among devices by carrying out grouping management on the devices and carrying out linkage control on the devices in the device group based on the preset scene of the device group, improves the efficiency of device control and the coordination degree among the devices, and the technical effects achieved by the embodiment can be seen from the description above and are not repeated here.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the terminal embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with respect to each other may be through some interface, indirect coupling or communication connection of systems or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims.
Claims (10)
1. A scene-based device linkage control method, comprising:
receiving registration information of equipment, and generating an identity code for the equipment based on the registration information;
Dividing the devices with the same identity code into the same group to obtain a device group corresponding to the registration information;
acquiring equipment detection data of an equipment group, wherein the equipment detection data comprises environment data and equipment states;
Analyzing a trigger condition of a pre-stored scene of the equipment group, wherein the scene comprises the trigger condition and an equipment control instruction set;
And matching the current system time and the equipment detection data with the triggering condition, and executing a corresponding equipment control instruction set if the current system time and the equipment detection data are matched with the triggering condition.
2. The method according to claim 1, wherein the method further comprises:
receiving identity registration information and generating user information based on the identity registration information;
Receiving scene configuration data sent by a user terminal, wherein the scene configuration data comprises a triggering condition and a target equipment state;
Generating a corresponding device control instruction set based on the target device state;
and storing the triggering condition and the corresponding equipment control instruction set as a scene bound with the user information.
3. The method of claim 1, wherein receiving registration information for the device, generating an identification code for the device based on the registration information, comprises:
Receiving registration information of equipment, wherein the registration information comprises identity registration information, positioning data and ip addresses;
calculating the MD5 value of the identity registration information to obtain a first identifier; calculating an MD5 value of a data combination consisting of positioning data and an ip address to obtain a second identifier;
The first identifier and the second identifier are combined into an identity code.
4. A method according to claim 3, characterized in that the method further comprises:
Judging whether user information matched with the first identifier exists in a user information base or not, wherein the user information base is used for storing the user information, the identity registration information and the corresponding first identifier;
if the user information matched with the first identifier exists in the user information base, binding the equipment with the user information;
If the user information matched with the first identification does not exist in the user information base, new user information is created based on the identity registration information, and the equipment is bound with the new user information.
5. The method of claim 4, wherein grouping devices with identical identification codes into the same group to obtain a device group corresponding to the registration information comprises:
acquiring the identity codes of all devices bound by user information;
And dividing the devices with the same identification codes into the same device group.
6. The method of claim 1, wherein matching the current system time and the device detection data to the trigger condition comprises:
Integrating the current system time and the device detection data into an actual state data set;
judging whether the actual state data set contains all data of a trigger condition or not:
if yes, judging that the two are matched;
If not, then the two are not matched.
7. The method according to claim 1, wherein the method further comprises:
encrypting data by adopting a DES encryption algorithm during data interaction;
The DES encryption method comprises a substitution network (P-Box), S-Box substitution, key expansion and exclusive OR operation.
8. A scene-based device linkage control system, comprising:
The equipment registration module is used for receiving registration information of equipment and generating an identity identification code for the equipment based on the registration information;
the equipment grouping module is used for dividing the equipment with the same identity code into the same group to obtain an equipment group corresponding to the registration information;
The device comprises a data acquisition module, a data processing module and a data processing module, wherein the data acquisition module is used for acquiring device detection data of a device group, and the device detection data comprises environment data and a device state;
the scene analysis module is used for analyzing the triggering conditions of the scene of the device group, which is stored in advance, wherein the scene comprises the triggering conditions and a device control instruction set;
and the equipment control module is used for matching the current system time and the equipment detection data with the triggering condition, and executing a corresponding equipment control instruction set if the current system time and the equipment detection data are matched with the triggering condition.
9. A terminal, comprising:
the memory is used for storing a scene-based equipment linkage control program;
A processor for implementing the steps of the scene-based device linkage control method according to any one of claims 1-7 when executing the scene-based device linkage control program.
10. A computer readable storage medium storing a computer program, wherein a scene-based device linkage control program is stored on the readable storage medium, and when executed by a processor, the scene-based device linkage control program implements the steps of the scene-based device linkage control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410656953.7A CN118466321A (en) | 2024-05-24 | 2024-05-24 | Scene-based equipment linkage control method, system, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410656953.7A CN118466321A (en) | 2024-05-24 | 2024-05-24 | Scene-based equipment linkage control method, system, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118466321A true CN118466321A (en) | 2024-08-09 |
Family
ID=92163525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410656953.7A Pending CN118466321A (en) | 2024-05-24 | 2024-05-24 | Scene-based equipment linkage control method, system, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118466321A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119052306A (en) * | 2024-10-30 | 2024-11-29 | 浪潮智能终端有限公司 | Multi-device remote control method, system, terminal and storage medium |
-
2024
- 2024-05-24 CN CN202410656953.7A patent/CN118466321A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119052306A (en) * | 2024-10-30 | 2024-11-29 | 浪潮智能终端有限公司 | Multi-device remote control method, system, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7840688B2 (en) | Information processing device, server client system, method, and computer program | |
De Luca et al. | The use of NFC and Android technologies to enable a KNX-based smart home | |
US9439076B2 (en) | Method for incorporating subscriber identity data into a subscriber identity module | |
CN109640326B (en) | Authority management method, device and system and mobile terminal | |
CN109587142B (en) | Data security access module and equipment for service flow | |
CN110727938B (en) | Configuration method and device of intelligent equipment, electronic equipment and storage medium | |
CN118466321A (en) | Scene-based equipment linkage control method, system, terminal and storage medium | |
US20160029214A1 (en) | Home control gateway and home control network connection method thereof | |
CN108123961A (en) | Information processing method, apparatus and system | |
CN112202747A (en) | Target device binding method and device, storage medium and electronic device | |
CN110647583B (en) | Block chain construction method, device, terminal and medium | |
CN112035807A (en) | Object authentication method and apparatus, storage medium, and electronic apparatus | |
KR101775823B1 (en) | Method and system for controlling device based internet of things | |
CN115442171A (en) | Home appliance ad hoc network method, device, device and storage medium | |
CN106657048A (en) | Improved smart home center control server | |
KR102434275B1 (en) | Remote resetting to factory default settings, a method and a device | |
CN113965904A (en) | Device registration method, device and storage medium | |
CN112769762B (en) | Distributed efficient Internet of things equipment access method | |
CN113542242A (en) | Device management method and device management apparatus | |
JP4780110B2 (en) | Method, system, and microcontroller card for communicating application services from a microcontroller card to a terminal | |
CN111970369A (en) | Contactless equipment control method and device | |
WO2023035690A1 (en) | Method and apparatus for controlling air conditioner, and air conditioner | |
CN104239028B (en) | Information processing equipment, information processing method and program | |
WO2022243956A1 (en) | Method, mobile equipment, and system for vulnerability detection in a sim | |
CN110597557B (en) | System information acquisition method, terminal and medium |
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 |