Business management system and method for intelligent home cloud space fusion

By adopting the G-Set CRDT model and conflict resolution algorithm in the Smart Home Cloud Space Convergence Business Management System, combined with the security policy module of RSA or ECC algorithm, data conflict and security problems in high concurrency scenarios are solved, and data accuracy is achieved Sex and safety guarantees.

CN119172191APending Publication Date: 2024-12-20CHINA UNICOM ONLINE INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411462591.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The existing Smart Home Cloud Space Integration Business Management System is difficult to avoid data conflicts in high concurrency scenarios and multi-device operations, and is easily attacked during transmission and storage, affecting the accuracy and security of data.

Method used

The conflict resolution algorithm and dynamic adjustment mechanism of the G-Set CRDT model and element weights are adopted, and the security policy module of RSA or ECC algorithm is combined to ensure data synchronization and encrypted transmission, and prevent data conflicts and security threats.

Benefits of technology

Improves the accuracy and completeness of data, solves the problem of multi-device synchronization, and ensures transmission security through encryption to prevent data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172191A_ABST
    Figure CN119172191A_ABST
Patent Text Reader

Abstract

The invention discloses a business management system and method for smart home cloud space fusion, and belongs to the technical field of smart home. The system comprises a system architecture module, a user interface and interaction module, a core function development module, a test and optimization module and a deployment and promotion module, adopts a G-Set CRDT model and increases a conflict resolution algorithm and a dynamic adjustment mechanism of element weights, and solves the problem that when a high-concurrency scene and multiple devices are operated at the same time, the operation efficiency is greatly improved. The problem that data conflicts are caused by a traditional synchronization method is solved, the accuracy and integrity of data are improved, and meanwhile transmission safety is guaranteed through a safety strategy module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a business management system and method for smart home cloud space integration. Background Art

[0002] In the field of modern smart home, with the rapid development of Internet of Things technology, more and more home appliances have the ability to connect to the Internet and communicate with each other through the Internet. These smart home devices include not only traditional home appliances, such as air conditioners, refrigerators, washing machines, etc., but also various new smart devices, such as smart light bulbs, smart security systems, smart thermostats, etc. With the increase in the number and variety of smart home devices, users' demand for management and control of these devices is also increasing.

[0003] Smart Home Cloud Space Integration refers to a business model that interconnects smart home devices of different brands and types through a comprehensive platform to achieve unified management, data sharing and collaborative operation, thereby improving user experience and device efficiency. The core of this business is to build a smart home cloud platform that is compatible with multiple communication protocols and standards to ensure that different devices can seamlessly exchange information and operate and control.

[0004] The existing smart home cloud space integrated business management technology is difficult to cope with high-concurrency scenarios and rapid business growth due to its monolithic architecture or limited hardware resources. When multiple devices are operating at the same time, traditional synchronization methods will cause data conflicts, thereby affecting the accuracy and integrity of the data. At the same time, data is vulnerable to attacks during transmission and storage, especially sensitive information. Summary of the invention

[0005] The present application aims to provide a business management system and method for smart home cloud space integration to solve the deficiencies in the prior art. The technical problems to be solved by the present application are achieved through the following technical solutions.

[0006] On the one hand, a business management system for smart home cloud space integration is provided, which includes: a system architecture module, a user interface and interaction module, a core function development module, a testing and optimization module, and a deployment and promotion module;

[0007] The system architecture module is used to provide the overall design and architecture of the system to ensure the security of transmission;

[0008] The user interface and interaction module is used to provide user interface and interaction design, and manage files and family members;

[0009] This core function development module is used to achieve cross-device access and intelligent identification of file types;

[0010] The test and optimization module is used to perform system function testing and performance optimization;

[0011] The deployment and promotion module is responsible for the online deployment and marketing of the system.

[0012] In an optional implementation, the system architecture module includes: a cloud service integration module, a data synchronization module, and a security policy module;

[0013] The cloud service integration module is used to process and implement user instructions;

[0014] This data synchronization module is used to solve the problem of multi-device state synchronization;

[0015] The security policy module is used to implement instruction encryption.

[0016] In an optional implementation, the cloud service integration module uses Kubernetes (container cluster management system) for cluster management and uses Docker (Docker Application Container) containers for packaging;

[0017] The data synchronization module adopts the G-Set CRDT (Grow-only Set Conflict-free Replicated Data Type) model and adds a conflict resolution algorithm and dynamic adjustment mechanism for element weights.

[0018] The security policy module adopts RSA (Rivest-Shamir-Adleman, the names of three cryptography experts) algorithm or ECC (Elliptic Curve Cryptography) algorithm.

[0019] In an optional implementation manner, the implementation steps of the security policy module include:

[0020] S41, obtaining a key of the instruction according to the instruction;

[0021] S42, according to the key of the instruction, sharding the key of the instruction to obtain multiple key shards;

[0022] S43, according to the multiple key fragments, encrypt each fragment by using a different encryption algorithm to obtain multiple encrypted key fragments;

[0023] S44, storing the multiple encrypted key shards on different logical nodes of a KMS (Knowledge Management System) system, and calculating hash values ​​of the multiple encrypted key shards in segments by adding a hash algorithm to obtain hash values ​​of the respective encrypted key shards;

[0024] S45, transmitting the hash value of each encrypted key fragment and the key of the instruction to the instruction receiving end, recalculating the hash value of the key of the instruction, and obtaining the hash value of each encrypted key fragment of the receiving end;

[0025] S46: Compare the hash values ​​of the encrypted key fragments with the hash values ​​of the encrypted key fragments of the receiving end.

[0026] If the comparison results are consistent, the instruction is executed;

[0027] If the comparison results are inconsistent, the response mechanism is triggered.

[0028] In an optional implementation, the user interface and interaction module includes: a device and service binding module, a file management module, and a family member management module;

[0029] The device and service binding module is used to implement the binding and configuration of smart home devices and services;

[0030] The file management module is used to manage user data information and files;

[0031] The family member management module is used to manage and set the permissions and information of family members.

[0032] In an optional implementation, the file management module uses a breadth-first search or a depth-first search algorithm;

[0033] The family member management module adopts a role-based access control model.

[0034] In an optional implementation, the core function development module includes an upload module, a file type intelligent identification module, and a cross-device access module;

[0035] The upload module is used to support users to upload files and data to the Smart Home Cloud space;

[0036] The file type intelligent recognition module is used to automatically identify and classify file types;

[0037] The cross-device access module is used for data access and sharing between different devices.

[0038] In an optional implementation, the file type intelligent identification module uses formula (1) to perform identification and classification:

[0039]

[0040] Where P(c|x) is the probability that a file belongs to category c given file feature x, P(x|c) is the probability that file feature x appears in category c, P(c) is the probability that any given file belongs to category c, and P(x) is the prior probability of file feature x.

[0041] In an optional embodiment, the testing and optimization module includes a stress testing tool and a test script;

[0042] This stress testing tool is used to evaluate the response time and load capacity of the server;

[0043] This test script is used to check whether there are security issues;

[0044] The deployment and promotion module uses statistical analysis methods.

[0045] On the other hand, a business management method for smart home cloud space integration is provided, the method is implemented by a business management system for smart home cloud space integration, the method comprising:

[0046] S1. Bind the device to the Smart Home Cloud space, and the user sends a control command;

[0047] S2. Encrypt the control instruction through the security policy module to obtain the encrypted control instruction;

[0048] S3. After decryption according to the encrypted control instruction, select the corresponding microservice in the cloud service integration module;

[0049] S4. According to the microservice, the priority of the microservice is obtained through a conflict resolution algorithm and a dynamic adjustment mechanism;

[0050] S5. According to the priority of the microservice, retrieve the database of the microservice to obtain the business content of the microservice;

[0051] S6. Obtain the smart home service expected by the user based on the business content of the microservice;

[0052] S7. Store the control instruction and the smart home service and obtain the user's promotion strategy based on the control instruction using a statistical analysis method.

[0053] The embodiments of the present application include the following advantages:

[0054] The embodiment of the present application provides a business management system and method for smart home cloud space integration. On the one hand, the application adopts the G-Set CRDT model and adds a conflict resolution algorithm and a dynamic adjustment mechanism for element weights, which solves the problem of data conflicts caused by traditional synchronization methods in high-concurrency scenarios and simultaneous operation of multiple devices, and improves the accuracy and integrity of the data. On the other hand, the security policy module is used to ensure the security of transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a system block diagram of an embodiment of a business management system of the smart home cloud space integration of the present application;

[0056] Figure 2 It is a schematic diagram of an embodiment of a business management system of the smart home cloud space integration of the present application;

[0057] Figure 3 It is a flowchart of the steps of an embodiment of the business management method of the smart home cloud space integration of the present application;

[0058] Figure 4 It is a flowchart of the implementation steps of the security policy module of the business management system embodiment of the smart home cloud space integration of the present application; DETAILED DESCRIPTION

[0059] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0060] like Figure 1 The system block diagram of the business management system embodiment of the smart home cloud space integration of the present application and the Figure 2 The schematic diagram of the business management system embodiment of the smart home cloud space integration of the present application is shown, and the present application provides a business management system of the smart home cloud space integration, which includes: a system architecture module 11, a user interface and interaction module 12, a core function development module 13, a testing and optimization module 14 and a deployment and promotion module 15;

[0061] The system architecture module 11 is used to provide an overall design and architecture solution for the system to ensure the security of transmission;

[0062] Specifically, the system architecture module 11 includes: a cloud service integration module 111, a data synchronization module 112 and a security policy module 113;

[0063] The cloud service integration module 111 is used to process and implement user instructions;

[0064] Furthermore, AWS (Amazon Web Services, a cloud computing service platform owned by Amazon) was selected as the main cloud service platform based on its wide range of service support Amazon S3 for data storage and Amazon EC2 for computing power;

[0065] The data synchronization module 112 is used to solve the problem of multi-device state synchronization;

[0066] The security policy module 113 is used to implement instruction encryption.

[0067] Specifically, the cloud service integration module 111 uses Kubernetes (container cluster management system) for cluster management and uses Docker (Docker Application Container) container for packaging;

[0068] Furthermore, the Spring Cloud (Spring Cloud Framework, an ordered collection of a series of frameworks) gateway is used as the unified entrance for microservices to process all external requests and route them to the corresponding services.

[0069] The data synchronization module 112 adopts the G-Set CRDT (Grow-only Set Conflict-free Replicated Data Type) model and adds a conflict resolution algorithm and a dynamic adjustment mechanism for element weights;

[0070] Furthermore, the conflict resolution algorithm and dynamic adjustment mechanism of the element weight include:

[0071] Timestamp mechanism: Each device will be accompanied by a timestamp when it updates its status. When multiple devices change their status at the same time, the timestamp is used to determine which update is the latest and valid, thus avoiding conflicts;

[0072] Version number mechanism: Each device status update will add a version number. By comparing the version numbers, we can determine which update is the latest and ensure data consistency;

[0073] The security policy module 113 adopts the RSA (Rivest-Shamir-Adleman, the names of three cryptography experts) algorithm or the ECC (Elliptic Curve Cryptography) algorithm, and automatically generates new encryption keys according to the security policy, and re-encrypts the stored data. At the same time, it introduces key lifecycle management, including the whole process monitoring of key generation, distribution, use, revocation and destruction, to ensure the security and compliance of key use.

[0074] Specifically, Figure 4 The flowchart of the implementation steps of the security policy module 113 of the business management method embodiment of the smart home cloud space integration of the present application is shown, and the implementation steps of the security policy module 113 include:

[0075] S41, obtaining a key of the instruction according to the instruction;

[0076] S42, according to the key of the instruction, sharding the key of the instruction to obtain multiple key shards;

[0077] S43, according to the multiple key fragments, encrypt each fragment by using a different encryption algorithm to obtain multiple encrypted key fragments;

[0078] S44, storing the multiple encrypted key shards on different logical nodes of a KMS (Knowledge Management System) system, and calculating hash values ​​of the multiple encrypted key shards in segments by adding a hash algorithm to obtain hash values ​​of the respective encrypted key shards;

[0079] S45, transmitting the hash value of each encrypted key fragment and the key of the instruction to the instruction receiving end, recalculating the hash value of the key of the instruction, and obtaining the hash value of each encrypted key fragment of the receiving end;

[0080] S46: Compare the hash values ​​of the encrypted key fragments with the hash values ​​of the encrypted key fragments of the receiving end.

[0081] If the comparison results are consistent, the instruction is executed;

[0082] If the comparison results are inconsistent, the response mechanism is triggered.

[0083] The user interface and interaction module 12 is used to provide user interface and interaction design, and manage files and family members;

[0084] Specifically, the user interface and interaction module 12 includes: a device and service binding module 121, a file management module 122 and a family member management module 123;

[0085] The device and service binding module 121 is used to implement the binding and configuration of smart home devices and services, ensuring that users can bind devices and services through clear instructions;

[0086] The file management module 122 is used to manage the user's data information and files;

[0087] The family member management module 123 is used to manage and set the authority and information of family members.

[0088] Specifically, the file management module 122 uses a breadth-first search or depth-first search algorithm;

[0089] The family member management module 123 adopts a role-based access control model.

[0090] This core function development module 13 is used to achieve cross-device access and intelligent identification of file types;

[0091] Specifically, the core function development module includes an upload module 131, a file type intelligent identification module 132, and a cross-device access module 133;

[0092] The upload module 131 is used to support users to upload files and data to the smart home cloud space;

[0093] Furthermore, the user interface and interaction module 12 provides a file selector, allowing the user to select one or more files from their device. After the user selects the file, he or she can choose to upload it to a personal cloud or a home cloud. After the file selection is completed, AJAX (Asynchronous JavaScript and XML, a web development technology for creating interactive web applications) is used to submit the file information to the cloud service integration module 111. The user interface and interaction module 12 connects to the cloud service integration module 111 via WebSocket to receive the file upload progress and status. Every time a certain proportion of files are uploaded, the cloud service integration module 111 sends a status message to the user interface and interaction module 12.

[0094] The file type intelligent identification module 132 is used to automatically identify and classify file types;

[0095] Specifically, the file type intelligent identification module 132 uses formula (1) to perform identification and classification:

[0096]

[0097] Where P(c|x) is the probability that a file belongs to category c given file feature x, P(x|c) is the probability that file feature x appears in category c, P(c) is the probability that any given file belongs to category c, and P(x) is the prior probability of file feature x.

[0098] Furthermore, based on the classification results, the files are automatically saved in corresponding folders (eg, documents, pictures, and videos).

[0099] The cross-device access module 133 is used for data access and sharing between different devices.

[0100] Furthermore, each file maintains a version vector, as shown in formula (2), to track its version status on each device.

[0101] VV(S)=[(A,tA),(B,tB),…] (2)

[0102] Where VV(S) is the version status, S represents the file, (A, tA) is the latest timestamp tA of file S on device A, and (B, tB) is the latest timestamp tB of file S on device B.

[0103] When a file is updated on device A, its corresponding timestamp tA is incremented, and when a file is updated on device B, its corresponding timestamp tB is incremented.

[0104] File updates between devices push new version vector states in real time via WebSocket (Web Sockets, a real-time network communication technology). The receiving device compares the local version vector with the received version vector and updates the file as needed to maintain consistency.

[0105] The test and optimization module 14 is used to perform system function testing and performance optimization;

[0106] Specifically, the testing and optimization module 14 includes a stress testing tool 141 and a test script 142;

[0107] The stress testing tool 141 is used to evaluate the response time and carrying capacity of the server;

[0108] The test script 142 is used to check whether there is a security problem;

[0109] Furthermore, the stress testing tool 141 uses Jmeter (Apache Jmeter, an open source performance testing tool) to write HTTP request test scripts to simulate concurrent access; the test script 142 uses OWASP ZAP (OWASP ZedAttack Proxy, an open source Web application security testing tool) to perform automated security scanning.

[0110] The deployment and promotion module 15 is responsible for the online deployment and market promotion of the system.

[0111] Specifically, the deployment and promotion module 15 uses market research tools to analyze preferences of target users and uses statistical analysis to determine target market segments.

[0112] Figure 3 A business management method for smart home cloud space integration is shown according to an exemplary embodiment. The method is implemented by a business management system for smart home cloud space integration. The method includes:

[0113] S1. Bind the device to the Smart Home Cloud space, and the user sends a control command;

[0114] S2. Encrypt the control instruction through the security policy module to obtain the encrypted control instruction;

[0115] S3. After decryption according to the encrypted control instruction, select the corresponding microservice in the cloud service integration module;

[0116] S4. According to the microservice, the priority of the microservice is obtained through a conflict resolution algorithm and a dynamic adjustment mechanism;

[0117] S5. According to the priority of the microservice, retrieve the database of the microservice to obtain the business content of the microservice;

[0118] S6. Obtain the smart home service expected by the user based on the business content of the microservice;

[0119] S7. Store the control instruction and the smart home service and obtain the user's promotion strategy based on the control instruction using a statistical analysis method.

[0120] The embodiment of the present application provides a business management system and method for smart home cloud space integration. The application adopts the G-Set CRDT model and adds a conflict resolution algorithm and a dynamic adjustment mechanism for element weights, which solves the problem of data conflicts caused by traditional synchronization methods in high-concurrency scenarios and simultaneous operation of multiple devices, improves the accuracy and integrity of the data, and at the same time, ensures the security of transmission through a security policy module.

[0121] It should be noted that the above detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the present application belongs.

[0122] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should also be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0123] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.

[0124] In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products, or apparatuses.

[0125] In the above detailed description, reference is made to the accompanying drawings, which form a part of this document. In the accompanying drawings, similar symbols typically identify similar components unless the context indicates otherwise. The illustrated embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be used, and other changes may be made, without departing from the spirit or scope of the subject matter presented herein.

[0126] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A business management system for smart home cloud space integration, characterized in that: The system includes: a system architecture module, a user interface and interaction module, a core function development module, a testing and optimization module, and a deployment and promotion module; The system architecture module is used to provide an overall design and architecture solution for the system to ensure the security of transmission; The user interface and interaction module is used to provide user interface and interaction design, and manage files and family members; The core function development module is used to achieve cross-device access and intelligent identification of file types; The testing and optimization module is used to perform system function testing and performance optimization; The deployment and promotion module is responsible for the online deployment and market promotion of the system.

2. The business management system of Zhijia Cloud Space Rongtong according to claim 1 is characterized in that: The system architecture module includes: a cloud service integration module, a data synchronization module and a security policy module; The cloud service integration module is used to process and implement user instructions; The data synchronization module is used to solve the problem of multi-device state synchronization; The security policy module is used to implement instruction encryption.

3. The business management system of Zhijia Cloud Space Rongtong according to claim 2 is characterized in that: The cloud service integration module uses Kubernetes for cluster management and uses Docker containers for packaging; The data synchronization module adopts the G-Set CRDT model and adds a conflict resolution algorithm and dynamic adjustment mechanism for element weights; The security policy module adopts the RSA algorithm or the ECC algorithm.

4. The business management system of Zhijia Cloud Space Rongtong according to claim 2 is characterized in that: The implementation steps of the security policy module include: S41, obtaining a key of the instruction according to the instruction; S42, according to the key of the instruction, sharding the key of the instruction to obtain multiple key shards; S43. According to the multiple key fragments, encrypt each fragment by using a different encryption algorithm to obtain multiple encrypted key fragments; S44, storing the multiple encrypted key shards on different logical nodes of the KMS system, calculating hash values ​​for the multiple encrypted key shards in segments by adding a hash algorithm, and obtaining hash values ​​for each encrypted key shard; S45, transmitting the hash value of each encrypted key fragment and the key of the instruction to the instruction receiving end, recalculating the hash value of the key of the instruction, and obtaining the hash value of each encrypted key fragment of the receiving end; S46: Compare the hash values ​​of the encrypted key fragments with the hash values ​​of the encrypted key fragments of the receiving end. If the comparison results are consistent, the instruction is executed; If the comparison results are inconsistent, the response mechanism is triggered.

5. The business management system of Zhijia Cloud Space Rongtong according to claim 1 is characterized in that: The user interface and interaction module includes: a device and service binding module, a file management module and a family member management module; The device and service binding module is used to implement the binding and configuration of smart home devices and services; The file management module is used to manage the user's data information and files; The family member management module is used to manage and set the permissions and information of family members.

6. The business management system of Zhijia Cloud Space Rongtong according to claim 5 is characterized in that: The file management module adopts a breadth-first search or depth-first search algorithm; The family member management module adopts a role-based access control model.

7. The business management system of Zhijia Cloud Space Rongtong according to claim 1 is characterized in that: The core function development module includes an upload module, a file type intelligent identification module and a cross-device access module; The upload module is used to support users to upload files and data to the smart home cloud space; The file type intelligent identification module is used to automatically identify and classify file types; The cross-device access module is used for data access and sharing between different devices.

8. The business management system of Zhijia Cloud Space Rongtong according to claim 7 is characterized in that: The file type intelligent identification module uses formula (1) to perform identification and classification. Where P(c|x) is the probability that a file belongs to category c given file feature x, P(x|c) is the probability that file feature x appears in category c, P(c) is the probability that any given file belongs to category c, and P(x) is the prior probability of file feature x.

9. The business management system of Zhijia Cloud Space Rongtong according to claim 1 is characterized in that: The testing and optimization module includes stress testing tools and testing scripts; The stress testing tool is used to evaluate the response time and load carrying capacity of the server; The test script is used to check whether there are security issues; The deployment and promotion module adopts statistical analysis methods.

10. A business management method for smart home cloud space integration, characterized in that: The method comprises: S1. Bind the device to the Smart Home Cloud space, and the user sends a control command; S2. Encrypting the control instruction through a security policy module to obtain an encrypted control instruction; S3. After decryption according to the encrypted control instruction, select the corresponding microservice in the cloud service integration module; S4. According to the microservice, the priority of the microservice is obtained through a conflict resolution algorithm and a dynamic adjustment mechanism; S5. According to the priority of the microservice, retrieve the database of the microservice to obtain the business content of the microservice; S6. Obtain the smart home service expected by the user according to the business content of the microservice; S7. Store the control instruction and the smart home service and obtain the user's promotion strategy by using a statistical analysis method based on the control instruction.