Data security transmission methods, devices, equipment and media

By splitting and atomically processing the data warehouse, and combining it with object proxies in the plugin environment, the issues of data redundancy and security when the data warehouse is passed to the plugin are resolved, achieving more efficient data isolation and secure transmission.

CN116108462BActive Publication Date: 2026-11-17SHENZHEN FULIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211585896.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2026-11-17
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

In existing technologies, data warehouses are prone to data redundancy and security issues when transferring data to plugins, making it difficult to achieve data isolation and state maintenance. Furthermore, plugins may make non-standard modifications to the data, affecting the secure operation of the system.

Method used

The data in the data warehouse is split and atomically processed to generate atomic data sets, which are then combined by detecting the context atomic data of the slots. Non-standard operations are intercepted by object proxies in the plugin environment to ensure that the data is delivered to the target plugin.

Benefits of technology

It enables finer-grained data processing and isolation, prevents plugins from obtaining sensitive data, ensures the security of data transmission, avoids the impact of plugins on system operation, and improves the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116108462B_ABST
    Figure CN116108462B_ABST
Patent Text Reader

Abstract

This invention relates to data security technology and discloses a secure data transmission method, comprising: splitting data in a pre-built data warehouse; atomicating the split data to obtain atomic data; aggregating the atomic data to obtain an atomic data set; detecting context atomic data of slots with different functions; combining the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data; detecting the plugin environment of the target plugin used for transmitting atomic data; and transmitting the combined atomic data to the target plugin based on a pre-set object proxy in the plugin environment for intercepting irregular operations. This invention also proposes a secure data transmission device, equipment, and storage medium. This invention can improve the security of data transmission to plugins.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data security technology, and in particular to a data security transmission method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] With the surge in data volume, users have higher requirements for the security and efficiency of data transmission. For example, data warehouses are used for data processing and secure transmission. In existing technologies, data warehouses are essentially a global, public repository that stores all the states of the current application. When data in an application is scattered, and different slots require different states (e.g., global data, data specific to a particular plugin), data redundancy occurs, making data isolation and state maintenance difficult. Furthermore, when existing data warehouses are transmitted to plugins, the plugins may directly modify the data, impacting the secure operation of the current system. Therefore, a secure method for transmitting data to plugins is urgently needed. Summary of the Invention

[0003] This invention provides a data security transmission method, apparatus, electronic device, and readable storage medium, the main purpose of which is to improve the security of data transmission to plug-ins.

[0004] To achieve the above objectives, the present invention provides a data security transmission method, comprising:

[0005] The data in the pre-built data warehouse is split, and the split data is atomically processed to obtain atomic data. The atomic data is then aggregated to obtain an atomic data set.

[0006] Detect the context atomic data of slots with different functions, and combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data;

[0007] The plugin environment used for transmitting atomic data in the target plugin is detected, and the combined atomic data is transmitted to the target plugin based on the object proxy preset in the plugin environment for intercepting irregular operations.

[0008] Optionally, the data splitting in the pre-built data warehouse includes:

[0009] Based on the data characteristics and slot functions in the data warehouse, the data in the data warehouse is divided into global data shared by all slots and slot-specific data exclusive to specific slots.

[0010] Optionally, the step of performing data atomization on the split data to obtain atomic data, and summarizing the atomic data to obtain an atomic data set, includes:

[0011] The method for acquiring the global data, the method for modifying the global data, and the method for responding to the global data are encapsulated with the global data to obtain global atomic data;

[0012] The method for acquiring the slot-specific data, the method for modifying the slot-specific data, and the method for responding to the slot-specific data are encapsulated with the slot-specific data to obtain slot atomic data;

[0013] The atomic data set is obtained by summing all global atomic data and slot atomic data.

[0014] Optionally, the step of combining atomic data in the atomic data set based on detected context atomic data to obtain combined atomic data includes:

[0015] Select the global atomic data and slot atomic data corresponding to the detected context atomic data from the atomic data set;

[0016] The selected global atomic data and slot atomic data are combined to obtain combined atomic data for slots with different functions.

[0017] Optionally, after combining the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data, the method further includes:

[0018] Observation instances are built using pre-built monitoring interfaces, and these observation instances are used to listen to the DOM nodes of context atomic data for different functional slots.

[0019] The slot where a change in the DOM node of the context atomic data is detected is identified as the target slot, and the combined atomic data corresponding to the target slot is destroyed.

[0020] Optionally, constructing observation instances using pre-built monitoring interfaces includes:

[0021] The monitoring interface is used to construct an observation instance that includes the monitoring object and the monitoring attribute node;

[0022] Obtain the attribute nodes to be detected corresponding to different functional slots;

[0023] The observation instance is populated with slots of different functions as listening objects, and the observation instance is populated with the attribute nodes to be detected corresponding to slots of different functions as listening attribute nodes.

[0024] Optionally, the detection of the target plugin's plugin environment for transmitting atomic data, based on a pre-defined object proxy in the plugin environment for intercepting irregular operations, transmits the combined atomic data to the target plugin, including:

[0025] Detect the plugin environment of the target plugin;

[0026] When a non-standard operation preset in the object proxy exists in the plugin environment, the non-standard operation is intercepted;

[0027] When no non-standard operation is preset in the object proxy in the plugin environment, the changed data in the combined atomic data is passed to the target plugin.

[0028] To address the above problems, the present invention also provides a data security transmission device, the device comprising:

[0029] The data atomization module is used to split the data in the pre-built data warehouse, perform data atomization on the split data to obtain atomic data, and summarize the atomic data to obtain an atomic data set.

[0030] An atomic data combination module is used to detect the context atomic data of slots with different functions, and to combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data.

[0031] The data transmission module is used to detect the plugin environment of the target plugin for transmitting atomic data, and to transmit the combined atomic data to the target plugin based on the object proxy preset in the plugin environment for intercepting non-standard operations.

[0032] To address the above problems, the present invention also provides an electronic device, the electronic device comprising:

[0033] Memory, storing at least one computer program; and

[0034] The processor executes the computer program stored in the memory to implement the data secure transmission method described above.

[0035] To address the aforementioned problems, the present invention also provides a computer-readable storage medium storing at least one computer program, which is executed by a processor in an electronic device to implement the data secure transmission method described above.

[0036] This embodiment splits the data in the data warehouse and atomizes the split data to obtain atomic data sets. This allows for finer-grained data processing and facilitates data maintenance. Furthermore, atomizing different data sets enables data isolation, preventing plugins from accessing sensitive data and ensuring the security of data transmission. Simultaneously, using an object proxy within the plugin environment to transmit the combined atomic data to the target plugin prevents the target plugin from modifying the data, avoiding any impact on system operation and further enhancing data transmission security. Therefore, the data security transmission method, apparatus, electronic device, and computer-readable storage medium proposed in this invention can improve the security of data transmission to plugins. Attached Figure Description

[0037] Figure 1 This is a flowchart illustrating a data security transmission method according to an embodiment of the present invention.

[0038] Figure 2 A flowchart illustrating a data security transmission method provided in another embodiment of the present invention;

[0039] Figure 3 A flowchart illustrating a data security transmission method provided in another embodiment of the present invention;

[0040] Figure 4 This is a functional block diagram of a data security transmission device provided in an embodiment of the present invention;

[0041] Figure 5 This is a schematic diagram of the structure of an electronic device that implements the secure data transmission method according to an embodiment of the present invention.

[0042] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0043] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0044] This application provides a method for secure data transmission. The execution subject of the secure data transmission method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the secure data transmission method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0045] Reference Figure 1 The diagram shown is a flowchart illustrating a data security transmission method according to an embodiment of the present invention. In this embodiment, the data security transmission method includes:

[0046] S1. Split the data in the pre-built data warehouse, atomicize the split data to obtain atomic data, and summarize the atomic data to obtain an atomic data set.

[0047] In this embodiment of the invention, the pre-built data warehouse (DW) is a strategic collection that provides all types of data support for decision-making processes at all levels of an enterprise, and stores data on all states of the current application.

[0048] Specifically, the data splitting of the data in the pre-built data warehouse includes:

[0049] Based on the data characteristics and slot functions in the data warehouse, the data in the data warehouse is divided into global data shared by all slots and slot-specific data exclusive to specific slots.

[0050] In this embodiment of the invention, a slot refers to a carrier point for injecting system plug-ins into a standardized product system. Different slots implement different system functions. Since different slots have different functions, different data is required to achieve this. The data warehouse contains globally shared data and slot-specific data. The globally shared data refers to data shared by all slots in the system, such as user data. The slot-specific data refers to data unique to a specific slot in the system, which is not shared with other slots. For example, slot-specific data can be current plug-in data, product data, project data, etc. By splitting data according to data characteristics and slot functions, data processing efficiency can be improved.

[0051] An atom is the basic unit of a data warehouse. By atomizing data, data can be isolated to prevent plugins from accessing sensitive data and improve data security. These basic units can also be combined to produce new atomic data, which facilitates data maintenance and the diversity of data usage.

[0052] Specifically, refer to Figure 2 As shown, the process of atomizing the split data to obtain atomic data, and then summing the atomic data to obtain an atomic data set, includes:

[0053] S10. Encapsulate the method for acquiring the global data, the method for modifying the global data, and the method for responding to the global data with the global data to obtain global atomic data;

[0054] S11. Encapsulate the method for obtaining the slot-specific data, the method for modifying the slot-specific data, and the method for responding to the slot-specific data with the slot-specific data to obtain slot atomic data;

[0055] S12. Summarize all global atomic data and slot atomic data to obtain an atomic data set.

[0056] Atomic data, as the basic unit of a data warehouse, includes methods for obtaining the latest data, methods for modifying data, and methods for responding to data changes. For example, for user data, product data, and project data, by encapsulating the methods for obtaining, modifying, and responding to data, we can obtain corresponding atomic data A, atomic data B, and atomic data C.

[0057] S2. Detect the context atomic data of slots with different functions, and combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data.

[0058] In this embodiment of the invention, the context atomic data of the slot refers to the slot environment of the plug-in that implements different functional points. Since there are many slots in the current application, and different slots correspond to different functional points, some are under project management and some are under product management, the atomic data required by different slots are also different.

[0059] Specifically, the step of combining atomic data in the atomic data set based on detected context atomic data to obtain combined atomic data includes:

[0060] Select the global atomic data and slot atomic data corresponding to the detected context atomic data from the atomic data set;

[0061] The selected global atomic data and slot atomic data are combined to obtain combined atomic data for slots with different functions.

[0062] In an optional embodiment of the present invention, the atomic data (e.g., atomic data A, atomic data B, atomic data C, etc.) in the atomic data set are combined. Based on the context of the slot, the required atomic data is combined to generate a new atomic data (atomic data D). Atomic data D monitors changes in atomic data A, B, and C. When atomic data (A, B, C) changes, the combined atomic data D is also updated synchronously. Finally, when the user switches pages, atomic data D is destroyed to prevent memory leaks. When the user re-enters the corresponding page, A, B, and C are combined again. For example, in the product management page, user data (atomic data A), product data (atomic data B), etc., need to be combined and passed to the slot to obtain a new combined atomic data D1. On the project management page, user data (atomic data A), project data (atomic data C), and other data need to be combined and passed to the slots to obtain new combined atomic data D2. When user data changes, since both combined atomic data D1 and D2 contain atomic data A, the slot data under project management and product management will be updated. When the user modifies the project data, since only combined atomic data D2 contains atomic data C, only the slot data under project management will be updated.

[0063] In another optional embodiment of the present invention, after combining the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data, the method further includes:

[0064] Observation instances are built using pre-built monitoring interfaces, and these observation instances are used to listen to the DOM nodes of context atomic data for different functional slots.

[0065] The slot where a change in the DOM node of the context atomic data is detected is identified as the target slot, and the combined atomic data corresponding to the target slot is destroyed.

[0066] In an optional embodiment of the present invention, the DOM (Document Object Model) nodes of atomic data refer to all nodes of the tree-shaped object model obtained after lexical and syntactic analysis of the written HTML code, which can quickly reflect changes in data. Taking an HTML document as an example, from the entire document to each tag in the HTML, each node is a node, where the entire document is called the root node, and the remaining nodes are called element nodes.

[0067] Furthermore, the construction of observation instances using the pre-built monitoring interface includes:

[0068] The monitoring interface is used to construct an observation instance that includes the monitoring object and the monitoring attribute node;

[0069] Obtain the attribute nodes to be detected corresponding to different functional slots;

[0070] The observation instance is populated with slots of different functions as listening objects, and the observation instance is populated with the attribute nodes to be detected corresponding to slots of different functions as listening attribute nodes.

[0071] In an optional embodiment of the present invention, the pre-built monitoring interface can be a Mutation Observer API, which can be used to monitor DOM changes. Any changes to DOM nodes, such as the addition or removal of nodes, changes to attributes, or changes to text content, can be quickly notified by this API. When using it, first construct an observation instance `observe()` using `MutationObserver`. The `observe` method is used to start listening and receives two parameters: a listener object and a listener attribute node. The listener attribute node refers to the DOM node to be observed (i.e., the attribute node to be detected), and the listener object refers to the configuration object (i.e., slots with different functions) for the specific changes to be observed.

[0072] In this embodiment of the invention, atomic data in the atomic data set are combined based on the detected slot environment to obtain combined atomic data. This allows for finer-grained control over slot updates, prevents unnecessary rendering, and makes the system run more efficiently. When the basic atoms in the combined atomic data remain unchanged, different data can be combined for each slot, preventing data redundancy. When a change in the slot environment is detected, the combined atomic data is destroyed, preventing data leakage and ensuring the security of data transmission.

[0073] S3. Detect the plugin environment of the target plugin used for transmitting atomic data, and transmit the combined atomic data to the target plugin based on the object proxy preset in the plugin environment for intercepting irregular operations.

[0074] In this embodiment of the invention, the plugin environment refers to the environment in which the plugin runs in a sandbox below the slot, isolated from the application environment. In the plugin environment, when the combined atomic data (the data combined in the previous step) changes, the plugin can obtain the latest data and respond to the data change (such as updating the interface).

[0075] Specifically, refer to Figure 3As shown, the plugin environment for transmitting atomic data in the detection target plugin, based on a pre-set object proxy in the plugin environment for intercepting irregular operations, transmits the combined atomic data to the target plugin, including:

[0076] S30. Detect the plugin environment of the target plugin;

[0077] S31. When a non-standard operation preset in the object proxy exists in the plugin environment, the non-standard operation is intercepted.

[0078] S32. When there is no pre-defined non-standard operation in the object proxy in the plugin environment, the changed data in the combined atomic data is passed to the target plugin.

[0079] In one optional embodiment of the present invention, the object proxy is used to intercept and customize non-standard operations (such as property lookup, assignment, enumeration, function calls, etc.). For example, in JavaScript, since all data objects are references, if a plugin obtains data and directly modifies it (e.g., modifies the user's ID), it can lead to errors in user data retrieval and system crashes. This data should not be modified by the plugin. By detecting whether data modification operations exist in the plugin environment, and intercepting these operations through a proxy, the plugin can be prevented from modifying the data, ensuring the security of data transmission. Therefore, firstly, a proxy for the data object is created using a proxy object `new Proxy()`, setting the non-standard operation to data modification, and then intercepting the data modification operation through this proxy, passing the changed data to the plugin developer (target plugin).

[0080] This embodiment splits the data in the data warehouse and atomizes the split data to obtain atomic data sets. This allows for finer-grained data processing and facilitates data maintenance. Furthermore, atomizing different data sets enables data isolation, preventing plugins from accessing sensitive data and ensuring the security of data transmission. Simultaneously, using an object proxy within the plugin environment to transmit the combined atomic data to the target plugin prevents the target plugin from modifying the data, avoiding any impact on system operation and further enhancing data transmission security. Therefore, the data security transmission method proposed in this invention can improve the security of data transmission to plugins.

[0081] like Figure 4 The diagram shown is a functional block diagram of a data security transmission device provided in an embodiment of the present invention.

[0082] The data security transmission device 100 of this invention can be installed in an electronic device. Depending on the functions implemented, the data security transmission device 100 may include a data atomization module 101, an atomic data combination module 102, and a data transmission module 103. The module described in this invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can perform a fixed function, and which are stored in the memory of the electronic device.

[0083] In this embodiment, the functions of each module / unit are as follows:

[0084] The data atomization module 101 is used to split the data in the pre-built data warehouse, perform data atomization on the split data to obtain atomic data, and summarize the atomic data to obtain an atomic data set.

[0085] The atomic data combination module 102 is used to detect the context atomic data of slots with different functions, and combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data.

[0086] The data transmission module 103 is used to detect the plugin environment of the target plugin for transmitting atomic data, and transmit the combined atomic data to the target plugin based on the object proxy preset in the plugin environment for intercepting non-standard operations.

[0087] The specific implementation methods of each module of the data security transmission device 100 are as follows:

[0088] Step 1: Split the data in the pre-built data warehouse, atomicize the split data to obtain atomic data, and summarize the atomic data to obtain an atomic data set.

[0089] In this embodiment of the invention, the pre-built data warehouse (DW) is a strategic collection that provides all types of data support for decision-making processes at all levels of an enterprise, and stores data on all states of the current application.

[0090] Specifically, the data splitting of the data in the pre-built data warehouse includes:

[0091] Based on the data characteristics and slot functions in the data warehouse, the data in the data warehouse is divided into global data shared by all slots and slot-specific data exclusive to specific slots.

[0092] In this embodiment of the invention, a slot refers to a carrier point for injecting system plug-ins into a standardized product system. Different slots implement different system functions. Since different slots have different functions, different data is required to achieve this. The data warehouse contains globally shared data and slot-specific data. The globally shared data refers to data shared by all slots in the system, such as user data. The slot-specific data refers to data unique to a specific slot in the system, which is not shared with other slots. For example, slot-specific data can be current plug-in data, product data, project data, etc. By splitting data according to data characteristics and slot functions, data processing efficiency can be improved.

[0093] An atom is the basic unit of a data warehouse. By atomizing data, data can be isolated to prevent plugins from accessing sensitive data and improve data security. These basic units can also be combined to produce new atomic data, which facilitates data maintenance and the diversity of data usage.

[0094] Specifically, the process of atomizing the split data to obtain atomic data, and summarizing the atomic data to obtain an atomic data set, includes:

[0095] The method for acquiring the global data, the method for modifying the global data, and the method for responding to the global data are encapsulated with the global data to obtain global atomic data;

[0096] The method for acquiring the slot-specific data, the method for modifying the slot-specific data, and the method for responding to the slot-specific data are encapsulated with the slot-specific data to obtain slot atomic data;

[0097] The atomic data set is obtained by summing all global atomic data and slot atomic data.

[0098] Atomic data, as the basic unit of a data warehouse, includes methods for obtaining the latest data, methods for modifying data, and methods for responding to data changes. For example, for user data, product data, and project data, by encapsulating the methods for obtaining, modifying, and responding to data, we can obtain corresponding atomic data A, atomic data B, and atomic data C.

[0099] Step 2: Detect the context atomic data of slots with different functions, and combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data.

[0100] In this embodiment of the invention, the context atomic data of the slot refers to the slot environment of the plug-in that implements different functional points. Since there are many slots in the current application, and different slots correspond to different functional points, some are under project management and some are under product management, the atomic data required by different slots are also different.

[0101] Specifically, the step of combining atomic data in the atomic data set based on detected context atomic data to obtain combined atomic data includes:

[0102] Select the global atomic data and slot atomic data corresponding to the detected context atomic data from the atomic data set;

[0103] The selected global atomic data and slot atomic data are combined to obtain combined atomic data for slots with different functions.

[0104] In an optional embodiment of the present invention, the atomic data (e.g., atomic data A, atomic data B, atomic data C, etc.) in the atomic data set are combined. Based on the context of the slot, the required atomic data is combined to generate a new atomic data (atomic data D). Atomic data D monitors changes in atomic data A, B, and C. When atomic data (A, B, C) changes, the combined atomic data D is also updated synchronously. Finally, when the user switches pages, atomic data D is destroyed to prevent memory leaks. When the user re-enters the corresponding page, A, B, and C are combined again. For example, in the product management page, user data (atomic data A), product data (atomic data B), etc., need to be combined and passed to the slot to obtain a new combined atomic data D1. On the project management page, user data (atomic data A), project data (atomic data C), and other data need to be combined and passed to the slots to obtain new combined atomic data D2. When user data changes, since both combined atomic data D1 and D2 contain atomic data A, the slot data under project management and product management will be updated. When the user modifies the project data, since only combined atomic data D2 contains atomic data C, only the slot data under project management will be updated.

[0105] In another optional embodiment of the present invention, after combining the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data, the method further includes:

[0106] Observation instances are built using pre-built monitoring interfaces, and these observation instances are used to listen to the DOM nodes of context atomic data for different functional slots.

[0107] The slot where a change in the DOM node of the context atomic data is detected is identified as the target slot, and the combined atomic data corresponding to the target slot is destroyed.

[0108] In an optional embodiment of the present invention, the DOM (Document Object Model) nodes of atomic data refer to all nodes of the tree-shaped object model obtained after lexical and syntactic analysis of the written HTML code, which can quickly reflect changes in data. Taking an HTML document as an example, from the entire document to each tag in the HTML, each node is a node, where the entire document is called the root node, and the remaining nodes are called element nodes.

[0109] Furthermore, the construction of observation instances using the pre-built monitoring interface includes:

[0110] The monitoring interface is used to construct an observation instance that includes the monitoring object and the monitoring attribute node;

[0111] Obtain the attribute nodes to be detected corresponding to different functional slots;

[0112] The observation instance is populated with slots of different functions as listening objects, and the observation instance is populated with the attribute nodes to be detected corresponding to slots of different functions as listening attribute nodes.

[0113] In an optional embodiment of the present invention, the pre-built monitoring interface can be a Mutation Observer API, which can be used to monitor DOM changes. Any changes to DOM nodes, such as the addition or removal of nodes, changes to attributes, or changes to text content, can be quickly notified by this API. When using it, first construct an observation instance `observe()` using `MutationObserver`. The `observe` method is used to start listening and receives two parameters: a listener object and a listener attribute node. The listener attribute node refers to the DOM node to be observed (i.e., the attribute node to be detected), and the listener object refers to the configuration object (i.e., slots with different functions) for the specific changes to be observed.

[0114] In this embodiment of the invention, atomic data in the atomic data set are combined based on the detected slot environment to obtain combined atomic data. This allows for finer-grained control over slot updates, prevents unnecessary rendering, and makes the system run more efficiently. When the basic atoms in the combined atomic data remain unchanged, different data can be combined for each slot, preventing data redundancy. When a change in the slot environment is detected, the combined atomic data is destroyed, preventing data leakage and ensuring the security of data transmission.

[0115] Step 3: Detect the plugin environment of the target plugin used for transmitting atomic data, and based on the object proxy preset in the plugin environment for intercepting irregular operations, transmit the combined atomic data to the target plugin.

[0116] In this embodiment of the invention, the plugin environment refers to the environment in which the plugin runs in a sandbox below the slot, isolated from the application environment. In the plugin environment, when the combined atomic data (the data combined in the previous step) changes, the plugin can obtain the latest data and respond to the data change (such as updating the interface).

[0117] Specifically, the plugin environment for transmitting atomic data in the detection target plugin, based on a pre-defined object proxy in the plugin environment for intercepting irregular operations, transmits the combined atomic data to the target plugin, including:

[0118] Detect the plugin environment of the target plugin;

[0119] When a non-standard operation preset in the object proxy exists in the plugin environment, the non-standard operation is intercepted;

[0120] When no non-standard operation is preset in the object proxy in the plugin environment, the changed data in the combined atomic data is passed to the target plugin.

[0121] In one optional embodiment of the present invention, the object proxy is used to intercept and customize non-standard operations (such as property lookup, assignment, enumeration, function calls, etc.). For example, in JavaScript, since all data objects are references, if a plugin obtains data and directly modifies it (e.g., modifies the user's ID), it can lead to errors in user data retrieval and system crashes. This data should not be modified by the plugin. By detecting whether data modification operations exist in the plugin environment, and intercepting these operations through a proxy, the plugin can be prevented from modifying the data, ensuring the security of data transmission. Therefore, firstly, a proxy for the data object is created using a proxy object `new Proxy()`, setting the non-standard operation to data modification, and then intercepting the data modification operation through this proxy, passing the changed data to the plugin developer (target plugin).

[0122] This embodiment splits the data in the data warehouse and atomizes the split data to obtain atomic data sets. This allows for finer-grained data processing and facilitates data maintenance. Furthermore, atomizing different data sets enables data isolation, preventing plugins from accessing sensitive data and ensuring the security of data transmission. Simultaneously, using an object proxy within the plugin environment to transmit the combined atomic data to the target plugin prevents the target plugin from modifying the data, avoiding any impact on system operation and further enhancing data transmission security. Therefore, the data security transmission device proposed in this invention can improve the security of data transmission to plugins.

[0123] like Figure 5 The diagram shown is a structural schematic of an electronic device that implements the secure data transmission method according to an embodiment of the present invention.

[0124] The electronic device may include a processor 10, a memory 11, a communication interface 12 and a bus 13, and may also include a computer program, such as a data security transfer program, stored in the memory 11 and executable on the processor 10.

[0125] The memory 11 includes at least one type of readable storage medium, such as flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of an electronic device, such as a portable hard drive. In other embodiments, the memory 11 can be an external storage device of the electronic device, such as a plug-in portable hard drive, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. Furthermore, the memory 11 can include both internal and external storage units of the electronic device. The memory 11 can be used not only to store application software and various types of data installed on the electronic device, such as code for secure data transmission programs, but also to temporarily store data that has been output or will be output.

[0126] In some embodiments, the processor 10 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control unit of the electronic device, connecting various components of the entire electronic device through various interfaces and lines. It executes programs or modules (such as data security transfer programs) stored in the memory 11, and calls data stored in the memory 11 to perform various functions of the electronic device and process data.

[0127] The communication interface 12 is used for communication between the aforementioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, Bluetooth interface, etc.), typically used to establish communication connections between the electronic device and other electronic devices. The user interface may be a display, an input unit (such as a keyboard), or, optionally, a standard wired or wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device and to display a visual user interface.

[0128] The bus 13 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 13 can be divided into an address bus, a data bus, a control bus, etc. The bus 13 is configured to realize the connection and communication between the memory 11 and at least one processor 10, etc.

[0129] Figure 5 Only electronic devices with components are shown; it will be understood by those skilled in the art that... Figure 5 The structure shown does not constitute a limitation on the electronic device and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0130] For example, although not shown, the electronic device may also include a power supply (such as a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0131] Furthermore, the electronic device may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, a Bluetooth interface, etc.), which is typically used to establish communication connections between the electronic device and other electronic devices.

[0132] Optionally, the electronic device may further include a user interface, which may be a display, an input unit (such as a keyboard), and optionally, a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device and to display a visual user interface.

[0133] It should be understood that the embodiments described are for illustrative purposes only and are not limited to this structure in the scope of the patent application.

[0134] The data security transfer program stored in the memory 11 of the electronic device is a combination of multiple instructions that, when run in the processor 10, can achieve the following:

[0135] The data in the pre-built data warehouse is split, and the split data is atomically processed to obtain atomic data. The atomic data is then aggregated to obtain an atomic data set.

[0136] Detect the context atomic data of slots with different functions, and combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data;

[0137] The plugin environment used for transmitting atomic data in the target plugin is detected, and the combined atomic data is transmitted to the target plugin based on the object proxy preset in the plugin environment for intercepting irregular operations.

[0138] Specifically, the specific implementation method of the processor 10 for the above instructions can be referred to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, and will not be repeated here.

[0139] Furthermore, if the modules / units integrated into the electronic device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0140] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor of an electronic device, can perform the following:

[0141] The data in the pre-built data warehouse is split, and the split data is atomically processed to obtain atomic data. The atomic data is then aggregated to obtain an atomic data set.

[0142] Detect the context atomic data of slots with different functions, and combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data;

[0143] The plugin environment used for transmitting atomic data in the target plugin is detected, and the combined atomic data is transmitted to the target plugin based on the object proxy preset in the plugin environment for intercepting irregular operations.

[0144] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

[0145] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0146] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0147] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0148] Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within the invention. No appended diagram markings in the claims should be construed as limiting the scope of the claims.

[0149] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0150] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0151] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a system claim may also be implemented by a single unit or device through software or hardware. The term "second class" is used to indicate names and does not indicate any specific order.

[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method for secure data transfer, characterized by, The method includes: The data in the pre-built data warehouse is split, and the split data is atomically processed to obtain atomic data. The atomic data is then aggregated to obtain an atomic data set. The data warehouse stores data on all states of the current application. The current application includes multiple slots, each slot corresponding to a DOM functional block within the current application page. The atomic data is the basic unit of the data warehouse, including methods for obtaining the latest data, methods for modifying data, and methods for responding to data changes. Detect the context atomic data of slots with different functions, and combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data. The context atomic data of the slot refers to the slot environment of the plug-in that implements different functions. The plug-in environment refers to the environment in which the plug-in runs in the sandbox under the slot. The plugin environment used for transmitting atomic data in the target plugin is detected, and the combined atomic data is transmitted to the target plugin based on the object proxy preset in the plugin environment for intercepting irregular operations.

2. The method for secure data transfer as claimed in claim 1, wherein, The data splitting process in the pre-built data warehouse includes: Based on the data characteristics and slot functions in the data warehouse, the data in the data warehouse is divided into global data shared by all slots and slot-specific data exclusive to specific slots.

3. The data secure transfer method of claim 2, wherein, The split data is atomized to obtain atomic data, and the atomic data is then aggregated to obtain an atomic data set, including: The method for acquiring the global data, the method for modifying the global data, and the method for responding to the global data are encapsulated with the global data to obtain global atomic data; The method for acquiring the slot-specific data, the method for modifying the slot-specific data, and the method for responding to the slot-specific data are encapsulated with the slot-specific data to obtain slot atomic data; The atomic data set is obtained by summing all global atomic data and slot atomic data.

4. The data secure transfer method of claim 3, wherein, The process of combining atomic data in the atomic data set based on detected context atomic data to obtain combined atomic data includes: Select the global atomic data and slot atomic data corresponding to the detected context atomic data from the atomic data set; The selected global atomic data and slot atomic data are combined to obtain combined atomic data for slots with different functions.

5. The data secure transfer method of claim 1, wherein, After combining the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data, the method further includes: Observation instances are built using pre-built monitoring interfaces, and these observation instances are used to listen to the DOM nodes of the context atomic data of different functional slots. The slot where a change in the DOM node of the context atomic data is detected is identified as the target slot, and the combined atomic data corresponding to the target slot is destroyed.

6. The method of claim 5, wherein the data is transmitted in a plurality of packets. The construction of observation instances using pre-built monitoring interfaces includes: The monitoring interface is used to construct an observation instance that includes the monitoring object and the monitoring attribute node; Obtain the attribute nodes to be detected corresponding to different functional slots; The observation instance is populated with slots of different functions as listening objects, and the observation instance is populated with the attribute nodes to be detected corresponding to slots of different functions as listening attribute nodes.

7. The method for secure data transfer as recited in claim 1, wherein, The detection target plugin's plugin environment for transmitting atomic data, based on a pre-defined object proxy in the plugin environment for intercepting irregular operations, transmits the combined atomic data to the target plugin, including: Detect the plugin environment of the target plugin; When a non-standard operation preset in the object proxy exists in the plugin environment, the non-standard operation is intercepted; When no non-standard operation is preset in the object proxy in the plugin environment, the changed data in the combined atomic data is passed to the target plugin.

8. A data secure transfer apparatus, characterized by, The device includes: The data atomization module is used to split the data in the pre-built data warehouse, perform data atomization on the split data to obtain atomic data, and summarize the atomic data to obtain an atomic data set. The data warehouse stores data of all states of the current application. The current application includes multiple slots, each slot corresponding to a DOM functional block within the current application page. The atomic data is the basic unit of the data warehouse, including methods for obtaining the latest data, methods for modifying data, and methods for responding to data changes. The atomic data combination module is used to detect the context atomic data of slots with different functions, and to combine the atomic data in the atomic data set based on the detected context atomic data to obtain combined atomic data. The context atomic data of the slot refers to the slot environment of the plug-in that implements different functions. The plug-in environment refers to the environment in which the plug-in runs in the sandbox under the slot. The data transmission module is used to detect the plugin environment of the target plugin for transmitting atomic data, and to transmit the combined atomic data to the target plugin based on the object proxy preset in the plugin environment for intercepting non-standard operations.

9. An electronic device, comprising: The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the data secure transfer method as described in any one of claims 1 to 7.

10. A computer readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the data secure transmission method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Web Page Acquisition and Rendering with Inter-Component Data Binding

    US20190266226A1

  • Network application programming interface service for application guidance and control

    US20220174485A1