Data processing method, device and smart home gateway
By analyzing and managing communication data packets through the smart home gateway, intercepting or releasing them based on user policies and risk values solves the problem of insufficient security mechanisms for smart home devices and improves user privacy protection and data security.
Patent Information
- Application Number
- CN202110166030.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-03
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-02-03
AI Technical Summary
The security mechanism of smart home devices is insufficient, resulting in serious problems of user privacy leakage. Existing solutions rely on the security measures of equipment manufacturers and cloud platforms, and users’ right to know and matching are low.
Obtain and analyze communication data packets through the smart home gateway, intercept or release them according to the user's personalized privacy protection policy and risk value, generate a user-specific risk threshold, automatically manage the data of home smart products, and improve security.
It achieves personalized privacy protection for users of different types of smart home devices, improves users’ data security and operational convenience, and reduces dependence on hardware manufacturers’ security measures.
Smart Images

Figure CN114928458B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data processing method, device and smart home gateway. Background Art
[0002] At present, the smart home market has reached a certain scale of development. With the implementation of 5G and the Internet of Things, its market development is expected to accelerate. Data shows that the smart home market is large and growing rapidly. With the popularization of smart home products, user data security and privacy leakage issues are also receiving more and more attention.
[0003] On smartphones, people are used to managing application permissions, and most terminal systems also have corresponding functions, requiring applications to remind users and obtain their consent when calling user phone numbers, locations, cameras, etc. However, there is no such consensus on smart terminal products, and users often worry about their privacy being "stolen" by devices such as smart speakers or cameras at home.
[0004] Existing solutions are mainly provided by equipment manufacturers to fill security holes in equipment and systems, or rely on the security mechanisms of cloud platforms. Users can only be protected by active standby, power off, shielding, etc., and the user's right to know and the matching degree with users are very low. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a data processing method, device and smart home gateway to solve the problem of insufficient security mechanism of smart home devices in the prior art.
[0006] In order to solve the above problem, an embodiment of the present invention provides a data processing method, which is executed by a smart home gateway, and a smart home device and a service device establish a connection through the smart home gateway and perform a first network communication. The method includes:
[0007] Obtain communication data packets between smart home devices and service devices;
[0008] Analyzing the communication data packet to determine a risk value of the first network communication;
[0009] The communication data packet is intercepted or released according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication.
[0010] Among them, the user personalized privacy protection strategy of smart home devices is obtained through the following methods:
[0011] Based on the device information connected to the smart home gateway and the user's usage habits, a user personalized privacy protection strategy is generated for the user.
[0012] Among them, according to the device information connected to the smart home gateway and the user's usage habit information, a user personalized privacy protection strategy for the user is generated, including:
[0013] Determine the user's risk tolerance based on the device information connected to the smart home gateway;
[0014] Determine the user's tendency towards various risk characteristics based on the user's usage habit information;
[0015] The risk threshold of the user is determined based on the risk tolerance of the user, the user's inclination towards various risk characteristics, and the risk characteristics in the first network communication.
[0016] The step of intercepting or releasing the communication data packet according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication includes:
[0017] comparing the risk value of the first network communication with the risk threshold value of the user;
[0018] If the risk value of the first network communication exceeds the risk critical value, the communication data packet is intercepted; otherwise, the communication data packet is released.
[0019] Wherein, if the communication data packet is intercepted, the method further comprises:
[0020] Reporting a data packet interception event to the gateway cloud server, wherein the data packet interception event is used to indicate information of the intercepted communication data packet;
[0021] and / or,
[0022] Pushing warning information to a terminal device connected to the smart home device, wherein the warning information is used to indicate that the risk value of the first network communication exceeds a risk threshold value.
[0023] The step of analyzing the communication data packet to determine the risk value of the first network communication includes:
[0024] Analyzing the communication data packets to determine risk characteristics in the first network communication;
[0025] determining a risk value of the first network communication according to a risk feature in the first network communication;
[0026] The risk characteristics include at least one of the following:
[0027] Communication period;
[0028] The size of the uplink data packet in the target time window;
[0029] The frequency of uplink packets in the target time window;
[0030] Downlink data packet size in the target time window;
[0031] The frequency of downlink packets in the target time window;
[0032] Transfer data type.
[0033] Wherein, the method further comprises:
[0034] According to the changes in the device information connected to the smart home gateway and / or the changes in the user's usage habits, the risk threshold of the user is adjusted and updated.
[0035] The embodiment of the present invention further provides a data processing device, which is applied to a smart home gateway, through which a smart home device and a service device establish a connection and perform a first network communication, and the device includes:
[0036] An acquisition module is used to acquire communication data packets between smart home devices and service devices;
[0037] a determination module, configured to analyze the communication data packet to determine a risk value of the first network communication;
[0038] The processing module is used to intercept or release the communication data packet according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication.
[0039] An embodiment of the present invention further provides a smart home gateway, through which a smart home device and a service device establish a connection and perform a first network communication, the smart home gateway includes a processor and a transceiver, the transceiver receives and sends data under the control of the processor, and the processor is used to perform the following operations:
[0040] Obtain communication data packets between smart home devices and service devices;
[0041] Analyzing the communication data packet to determine a risk value of the first network communication;
[0042] The communication data packet is intercepted or released according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication.
[0043] The processor is further configured to perform the following operations:
[0044] Based on the device information connected to the smart home gateway and the user's usage habits, a user personalized privacy protection strategy is generated for the user.
[0045] The processor is further configured to perform the following operations:
[0046] Determine the user's risk tolerance based on the device information connected to the smart home gateway;
[0047] Determine the user's tendency towards various risk characteristics based on the user's usage habit information;
[0048] The risk threshold of the user is determined based on the risk tolerance of the user, the user's inclination towards various risk characteristics, and the risk characteristics in the first network communication.
[0049] The processor is further configured to perform the following operations:
[0050] comparing the risk value of the first network communication with the risk threshold value of the user;
[0051] If the risk value of the first network communication exceeds the risk critical value, the communication data packet is intercepted; otherwise, the communication data packet is released.
[0052] If the communication data packet is intercepted, the processor is further configured to perform the following operations:
[0053] Reporting a data packet interception event to the gateway cloud server, wherein the data packet interception event is used to indicate information of the intercepted communication data packet;
[0054] and / or,
[0055] Pushing warning information to a terminal device connected to the smart home device, wherein the warning information is used to indicate that the risk value of the first network communication exceeds a risk threshold value.
[0056] The processor is further configured to perform the following operations:
[0057] Analyzing the communication data packets to determine risk characteristics in the first network communication;
[0058] determining a risk value of the first network communication according to a risk feature in the first network communication;
[0059] The risk characteristics include at least one of the following:
[0060] Communication period;
[0061] The size of the uplink data packet in the target time window;
[0062] The frequency of uplink packets in the target time window;
[0063] Downlink data packet size in the target time window;
[0064] The frequency of downlink packets in the target time window;
[0065] Transfer data type.
[0066] The processor is further configured to perform the following operations:
[0067] According to the changes in the device information connected to the smart home gateway and / or the changes in the user's usage habits, the risk threshold of the user is adjusted and updated.
[0068] An embodiment of the present invention further provides a smart home gateway, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the data processing method as described above when executing the program.
[0069] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the data processing method described above are implemented.
[0070] The above technical solution of the present invention has at least the following beneficial effects:
[0071] In the data processing method, device and smart home gateway of the embodiments of the present invention, personalized privacy protection for users of different types of smart home devices is achieved through the analysis of communication data packets by the smart home gateway, so that users no longer need to rely solely on the security measures of hardware manufacturers, and automatically manage the data of home smart products, which is more convenient, more efficient and more secure. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 A flowchart showing the steps of a data processing method provided by an embodiment of the present invention;
[0073] Figure 2 A schematic diagram showing the working principle of a smart home gateway in a data processing method provided by an embodiment of the present invention;
[0074] Figure 3 A schematic diagram showing the connection between a smart home device and a service device in a data processing method provided by an embodiment of the present invention;
[0075] Figure 4 A schematic diagram showing the working principle of data packet capture in the data processing method provided by an embodiment of the present invention;
[0076] Figure 5 A schematic diagram showing the structure of a data processing device provided by an embodiment of the present invention;
[0077] Figure 6 A schematic diagram showing the structure of a smart home gateway provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0078] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0079] like Figure 1 As shown, an embodiment of the present invention provides a data processing method, which is executed by a smart home gateway, and a smart home device and a service device establish a connection through the smart home gateway and perform a first network communication. The method includes:
[0080] Step 101, obtaining a communication data packet between a smart home device and a service device;
[0081] Step 102, analyzing the communication data packet to determine the risk value of the first network communication;
[0082] Step 103: intercept or release the communication data packet according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication.
[0083] like Figure 2 As shown, the embodiment of the present invention captures and analyzes data through a smart home gateway (also called a home gateway), generates and adjusts a user personalized privacy protection strategy for matching judgment, and then executes corresponding actions on the communication data packet, such as intercepting or releasing, to protect the user privacy of smart home devices.
[0084] like Figure 3 As shown, when the smart home device is connected to the home network, it establishes a connection with the smart home gateway. The home gateway collects information such as the MAC address (physical address) of the terminal network card and reports the home device information to the home gateway cloud service. The home gateway cloud service stores the home device information in the cloud storage, and the stored information includes information such as the MAC address of the home device and the corresponding home gateway identification. Among them, the home gateway identification can be generated based on the serial number of the gateway, the manufacturer and other information, which is not specifically limited here.
[0085] like Figure 4 As shown, through the smart home gateway, the smart home device and its smart home device service device establish a connection and communicate with each other over the network. The smart home gateway captures and analyzes the data packets of the network communication, including but not limited to:
[0086] Business information sent by service equipment to smart home devices;
[0087] Data / file information uploaded by smart home devices.
[0088] As an optional embodiment, step 102 includes:
[0089] Analyzing the communication data packets to determine risk characteristics in the first network communication;
[0090] determining a risk value of the first network communication according to a risk feature in the first network communication;
[0091] The risk characteristics include at least one of the following:
[0092] Communication period;
[0093] The size of the uplink data packet in the target time window;
[0094] The frequency of uplink packets in the target time window;
[0095] Downlink data packet size in the target time window;
[0096] The frequency of downlink packets in the target time window;
[0097] Transmission data type, such as account information, device audio and video call information, etc.
[0098] For example, after the risk characteristics are characterized, they are expressed as follows:
[0099] R=[r1, r2, r3,…, r k ,……,r n ].
[0100] Based on real-time statistics and analysis of network communication data packets, the risk value of current network communication Y=∑r is calculated in real time i .
[0101] In at least one embodiment of the present invention, the user personalized privacy protection policy of the smart home device is obtained by the following method:
[0102] Based on the device information connected to the smart home gateway and the user's usage habits, a user personalized privacy protection strategy is generated for the user.
[0103] The smart home gateway downstream device information includes at least one of the downstream device type, the number of downstream devices, and the usage time of the downstream devices. The user usage habit information includes at least one of the usage period, the upload data flow, and the upload data type.
[0104] As an optional embodiment, a user personalized privacy protection policy for the user is generated according to the device information connected to the smart home gateway and the user's usage habit information, including:
[0105] Determine the user's risk tolerance based on the device information connected to the smart home gateway;
[0106] Determine the user's tendency towards various risk characteristics based on the user's usage habit information;
[0107] The user's risk threshold is determined based on the user's risk tolerance, the user's inclination towards various risk characteristics, and the risk characteristics in the first network communication. Optionally, after determining the user's risk threshold, the user's risk threshold is saved to the local storage and cloud storage of the gateway.
[0108] For example, the user's risk tolerance is N, and the user's inclination towards various risk characteristics is j i ; Then the user's risk threshold Y = ∑N*f(j i , r i ). Among them, f(j i , r i ) is the calculation function, and the ordinary function f(j i , r i ) = j i *r i .
[0109] Optionally, in at least one embodiment of the present invention, the method further includes:
[0110] According to the changes in the device information connected to the smart home gateway and / or the changes in the user's usage habits, the risk threshold of the user is adjusted and updated.
[0111] For example, smart home devices continuously learn and adjust N and j based on user usage and feedback on execution results. i value and update the risk threshold Y.
[0112] As an optional embodiment, step 103 includes:
[0113] comparing the risk value of the first network communication with the risk threshold value of the user;
[0114] If the risk value of the first network communication exceeds the risk threshold, the communication data packet is intercepted; otherwise, the communication data packet is released; that is, the gateway automatically determines whether to trigger the corresponding action according to the configuration strategy, and when the triggering conditions are met, the home gateway automatically releases or intercepts.
[0115] In at least one embodiment of the present invention, if the communication data packet is intercepted, the method further includes:
[0116] Reporting a data packet interception event to the gateway cloud server, wherein the data packet interception event is used to indicate information of the intercepted communication data packet;
[0117] and / or,
[0118] Pushing warning information to a terminal device connected to the smart home device, wherein the warning information is used to indicate that the risk value of the first network communication exceeds a risk threshold value.
[0119] In the embodiment of the present invention, the home gateway periodically uploads data packet interception events, etc. to the home gateway cloud service. The home gateway cloud service stores the interception events, etc. in the cloud storage, and pushes alarm messages to users through web pages or APP applications based on the uploaded data packet interception events, etc.
[0120] In summary, the smart home gateway provided by the embodiment of the present invention includes at least the following functions: data packet capture; data packet analysis; data packet statistics; risk identification; user personalized privacy protection policy generation; user personalized privacy protection policy update; network communication risk value calculation; data packet forwarding or interception; the embodiment of the present invention implements user privacy protection for home smart products by performing data packet capture and analysis, risk identification, user personalized privacy protection policy generation, adjustment and storage, matching judgment, and action execution functions on the home gateway side.
[0121] like Figure 5 As shown, an embodiment of the present invention further provides a data processing device, which is applied to a smart home gateway, and a smart home device and a service device establish a connection through the smart home gateway and perform a first network communication. The device includes:
[0122] The acquisition module 501 is used to acquire the communication data packet between the smart home device and the service device;
[0123] A determination module 502, configured to analyze the communication data packet to determine a risk value of the first network communication;
[0124] The processing module 503 is used to intercept or release the communication data packet according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication.
[0125] As an optional embodiment, the device further includes:
[0126] The policy generation module is used to generate a personalized privacy protection policy for the user based on the device information connected to the smart home gateway and the user's usage habit information.
[0127] As an optional embodiment, the strategy generation module includes:
[0128] The first determination submodule is used to determine the risk tolerance of the user according to the information of the devices connected to the smart home gateway;
[0129] The second determination submodule is used to determine the user's tendency towards various risk characteristics based on the user's usage habit information;
[0130] The third determination submodule is used to determine the risk threshold of the user according to the risk tolerance of the user, the user's inclination towards various risk characteristics, and the risk characteristics in the first network communication.
[0131] As an optional embodiment, the processing module includes:
[0132] A comparison submodule, used for comparing the risk value of the first network communication with the risk threshold value of the user;
[0133] The processing submodule is used to intercept the communication data packet if the risk value of the first network communication exceeds the risk threshold; otherwise, release the communication data packet.
[0134] As an optional embodiment, if the communication data packet is intercepted, the device further includes:
[0135] A reporting module, used to report a data packet interception event to the gateway cloud server, wherein the data packet interception event is used to indicate information of an intercepted communication data packet;
[0136] and / or,
[0137] The alarm module is used to push alarm information to the terminal device connected to the smart home device, and the alarm information is used to indicate that the risk value of the first network communication exceeds the risk threshold.
[0138] As an optional embodiment, the determining module includes:
[0139] a fourth determination submodule, configured to analyze the communication data packet to determine risk characteristics in the first network communication;
[0140] a fifth determination submodule, configured to determine a risk value of the first network communication according to risk characteristics in the first network communication;
[0141] The risk characteristics include at least one of the following:
[0142] Communication period;
[0143] The size of the uplink data packet in the target time window;
[0144] The frequency of uplink packets in the target time window;
[0145] Downlink data packet size in the target time window;
[0146] The frequency of downlink packets in the target time window;
[0147] Transfer data type.
[0148] As an optional embodiment, the device further includes:
[0149] The adjustment module is used to adjust and update the risk threshold of the user according to the changes in the information of the devices connected to the smart home gateway and / or the changes in the user's usage habits.
[0150] The smart home gateway provided by the embodiment of the present invention includes at least the following functions: data packet capture; data packet analysis; data packet statistics; risk identification; user personalized privacy protection policy generation; user personalized privacy protection policy update; network communication risk value calculation; data packet forwarding or interception; the embodiment of the present invention implements user privacy protection for home smart products by performing data packet capture and analysis, risk identification, user personalized privacy protection policy generation, adjustment and storage, matching judgment, and action execution functions on the home gateway side.
[0151] It should be noted that the data processing device provided in the embodiment of the present invention is a device capable of executing the above-mentioned data processing method, and all embodiments of the above-mentioned data processing method are applicable to the device and can achieve the same or similar beneficial effects.
[0152] like Figure 6 As shown, an embodiment of the present invention further provides a smart home gateway, through which a smart home device and a service device establish a connection and perform a first network communication, the smart home gateway includes a processor 600 and a transceiver 610, the transceiver 610 receives and sends data under the control of the processor 600, and the processor 600 is used to perform the following operations:
[0153] Obtain communication data packets between smart home devices and service devices;
[0154] Analyzing the communication data packet to determine a risk value of the first network communication;
[0155] The communication data packet is intercepted or released according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication.
[0156] As an optional embodiment, the processor is further configured to perform the following operations:
[0157] Based on the device information connected to the smart home gateway and the user's usage habits, a user personalized privacy protection strategy is generated for the user.
[0158] As an optional embodiment, the processor is further configured to perform the following operations:
[0159] Determine the user's risk tolerance based on the device information connected to the smart home gateway;
[0160] Determine the user's tendency towards various risk characteristics based on the user's usage habit information;
[0161] The risk threshold of the user is determined based on the risk tolerance of the user, the user's inclination towards various risk characteristics, and the risk characteristics in the first network communication.
[0162] As an optional embodiment, the processor is further configured to perform the following operations:
[0163] comparing the risk value of the first network communication with the risk threshold value of the user;
[0164] If the risk value of the first network communication exceeds the risk critical value, the communication data packet is intercepted; otherwise, the communication data packet is released.
[0165] As an optional embodiment, if the communication data packet is intercepted, the processor is further configured to perform the following operations:
[0166] Reporting a data packet interception event to the gateway cloud server, wherein the data packet interception event is used to indicate information of the intercepted communication data packet;
[0167] and / or,
[0168] Pushing warning information to a terminal device connected to the smart home device, wherein the warning information is used to indicate that the risk value of the first network communication exceeds a risk threshold value.
[0169] As an optional embodiment, the processor is further configured to perform the following operations:
[0170] Analyzing the communication data packets to determine risk characteristics in the first network communication;
[0171] determining a risk value of the first network communication according to a risk feature in the first network communication;
[0172] The risk characteristics include at least one of the following:
[0173] Communication period;
[0174] The size of the uplink data packet in the target time window;
[0175] The frequency of uplink packets in the target time window;
[0176] Downlink data packet size in the target time window;
[0177] The frequency of downlink packets in the target time window;
[0178] Transfer data type.
[0179] As an optional embodiment, the processor is further configured to perform the following operations:
[0180] According to the changes in the device information connected to the smart home gateway and / or the changes in the user's usage habits, the risk threshold of the user is adjusted and updated.
[0181] The smart home gateway provided by the embodiment of the present invention includes at least the following functions: data packet capture; data packet analysis; data packet statistics; risk identification; user personalized privacy protection policy generation; user personalized privacy protection policy update; network communication risk value calculation; data packet forwarding or interception; the embodiment of the present invention implements user privacy protection for home smart products by performing data packet capture and analysis, risk identification, user personalized privacy protection policy generation, adjustment and storage, matching judgment, and action execution functions on the home gateway side.
[0182] It should be noted that the smart home gateway provided in the embodiment of the present invention is a smart home gateway capable of executing the above data processing method, so all embodiments of the above data processing method are applicable to the smart home gateway and can achieve the same or similar beneficial effects.
[0183] An embodiment of the present invention further provides a smart home gateway, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, each process in the data processing method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0184] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, each process in the data processing method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not described here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0185] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0186] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A device that specifies functions in one or more processes and / or one or more blocks.
[0187] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0188] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that the computer or other programmable device executes a series of operating steps to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0189] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data processing method, executed by a smart home gateway, wherein a smart home device and a service device establish a connection through the smart home gateway and perform a first network communication, characterized in that: The method includes: Obtain communication data packets between smart home devices and service devices; Analyzing the communication data packet to determine a risk value of the first network communication; intercepting or releasing the communication data packet according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication; The user personalized privacy protection strategy of the smart home device is obtained by the following method: Generate a personalized privacy protection strategy for the user based on the device information connected to the smart home gateway and the user's usage habits; The user usage habit information includes at least one of usage period, upload data flow, and upload data type.
2. The method according to claim 1, characterized in that According to the device information of the smart home gateway and the user's usage habits, a personalized privacy protection strategy for the user is generated, including: Determine the user's risk tolerance based on the device information connected to the smart home gateway; Determine the user's tendency towards various risk characteristics based on the user's usage habit information; The risk threshold of the user is determined based on the risk tolerance of the user, the user's inclination towards various risk characteristics, and the risk characteristics in the first network communication.
3. The method according to claim 2, characterized in that The intercepting or releasing the communication data packet according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication includes: comparing the risk value of the first network communication with the risk threshold value of the user; If the risk value of the first network communication exceeds the risk critical value, the communication data packet is intercepted; otherwise, the communication data packet is released.
4. The method according to any one of claims 1 to 3, characterized in that: If the communication data packet is intercepted, the method further includes: Reporting a data packet interception event to the gateway cloud server, wherein the data packet interception event is used to indicate information of the intercepted communication data packet; and / or, Pushing warning information to a terminal device connected to the smart home device, wherein the warning information is used to indicate that the risk value of the first network communication exceeds a risk threshold value.
5. The method according to claim 1, characterized in that Analyzing the communication data packet to determine the risk value of the first network communication includes: Analyzing the communication data packets to determine risk characteristics in the first network communication; determining a risk value of the first network communication according to a risk feature in the first network communication; The risk characteristics include at least one of the following: Communication period; The size of the uplink data packet in the target time window; The frequency of uplink packets in the target time window; Downlink data packet size in the target time window; The frequency of downlink packets in the target time window; Transfer data type.
6. The method according to claim 3, characterized in that The method further comprises: According to the changes in the device information connected to the smart home gateway and / or the changes in the user's usage habits, the risk threshold of the user is adjusted and updated.
7. A data processing device, applied to a smart home gateway, through which a smart home device and a service device establish a connection and perform a first network communication, characterized in that: The device comprises: An acquisition module is used to acquire communication data packets between smart home devices and service devices; a determination module, configured to analyze the communication data packet to determine a risk value of the first network communication; a processing module, configured to intercept or release the communication data packet according to a user personalized privacy protection policy of the smart home device and a risk value of the first network communication; A policy generation module is used to generate a personalized privacy protection policy for the user based on the device information connected to the smart home gateway and the user's usage habit information; The user usage habit information includes at least one of usage period, upload data flow, and upload data type.
8. A smart home gateway, through which a smart home device and a service device establish a connection and perform a first network communication, the smart home gateway comprises a processor and a transceiver, the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Obtain communication data packets between smart home devices and service devices; Analyzing the communication data packet to determine a risk value of the first network communication; intercepting or releasing the communication data packet according to the user personalized privacy protection policy of the smart home device and the risk value of the first network communication; The processor is further configured to perform the following operations: Generate a personalized privacy protection strategy for the user based on the device information connected to the smart home gateway and the user's usage habits; The user usage habit information includes at least one of usage period, upload data flow, and upload data type.
9. The smart home gateway according to claim 8, characterized in that: The processor is further configured to perform the following operations: Determine the user's risk tolerance based on the device information connected to the smart home gateway; Determine the user's tendency towards various risk characteristics based on the user's usage habit information; The risk threshold of the user is determined based on the risk tolerance of the user, the user's inclination towards various risk characteristics, and the risk characteristics in the first network communication.
10. The smart home gateway according to claim 9, characterized in that: The processor is further configured to perform the following operations: comparing the risk value of the first network communication with the risk threshold value of the user; If the risk value of the first network communication exceeds the risk critical value, the communication data packet is intercepted; otherwise, the communication data packet is released.
11. The smart home gateway according to any one of claims 8 to 10, characterized in that: If the communication data packet is intercepted, the processor is further configured to perform the following operations: Reporting a data packet interception event to the gateway cloud server, wherein the data packet interception event is used to indicate information of the intercepted communication data packet; and / or, Pushing warning information to a terminal device connected to the smart home device, wherein the warning information is used to indicate that the risk value of the first network communication exceeds a risk threshold value.
12. The smart home gateway according to claim 8, characterized in that: The processor is further configured to perform the following operations: Analyzing the communication data packets to determine risk characteristics in the first network communication; determining a risk value of the first network communication according to a risk feature in the first network communication; The risk characteristics include at least one of the following: Communication period; The size of the uplink data packet in the target time window; The frequency of uplink packets in the target time window; Downlink data packet size in the target time window; The frequency of downlink packets in the target time window; Transfer data type.
13. The smart home gateway according to claim 10, characterized in that: The processor is further configured to perform the following operations: According to the changes in the device information connected to the smart home gateway and / or the changes in the user's usage habits, the risk threshold of the user is adjusted and updated.
14. A smart home gateway, comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the data processing method according to any one of claims 1 to 6 is implemented.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 6 are implemented.
