Data transmission method, computer readable storage medium and electronic device
By splitting the data into sub-data and performing security classification, selecting a matching slice network for transmission, the problem of reduced data transmission security under 5G network slice technology is solved, and higher data transmission security is achieved.
Patent Information
- Application Number
- CN202311027622.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-14
- Publication Date
- 2025-02-21
AI Technical Summary
Under 5G network slicing technology, the overall data transmission cannot meet the needs of finer granular data transmission, resulting in a reduction in the security of data transmission.
By splitting the target data to be transmitted into local sub-data and performing a finer-grained security classification of these sub-data, the security level of each sub-data is determined, and then matching targets are selected in the slice network with different slice ratings. Sliced network for data transmission.
Through this method, the transmission security of each sub-data can be ensured, the problem of reducing data transmission security is solved, and the technical effect of improving data transmission security is achieved.
Smart Images

Figure CN119496626A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a data transmission method, a computer-readable storage medium, and an electronic device. Background Art
[0002] The simplest understanding of 5G network slicing technology is to cut a physical network into multiple virtual end-to-end networks. Each virtual network, including the devices, access, transmission and core networks within the network, is logically independent. A failure in any virtual network will not affect other virtual networks. Each virtual network has different functional characteristics and is oriented to different needs and services. 5G network slicing technology brings the following value: ensuring the service quality of different levels of services, including traditional network indicators such as bandwidth, latency, packet loss and jitter; enabling users to obtain a logically independent network to avoid network risks and leaks; users can view the network statistics and status related to their slice packages.
[0003] In the data transmission scenario under 5G network slicing technology, the data to be transmitted is usually treated as a whole, and a slice network with a security level is selected for the data to be transmitted. However, the overall transmission often cannot meet the data transmission requirements of finer granularity, which leads to the problem of reduced data transmission security. Therefore, there is a problem of low data transmission security.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] Embodiments of the present invention provide a data transmission method, a computer-readable storage medium, and an electronic device to at least solve the problem of reduced security of data transmission in the related art.
[0006] According to one embodiment of the present invention, a data transmission method is provided, comprising: acquiring target data to be transmitted; performing security classification on data content corresponding to the target data, and determining security level information corresponding to at least two parts of the data content, wherein the security level information is used to indicate the security level; according to the security level information, determining at least two target slice networks from multiple slice networks of different slice hierarchies, wherein the target slice network is a slice network whose slice hierarchy matches the security level corresponding to each data content in the at least two parts of the content, and slice networks of different slice hierarchies correspond to different security levels; and transmitting the data content of the target data through a target slice network that matches the security level among the at least two target slice networks.
[0007] According to one embodiment of the present invention, another data transmission method is provided, comprising: obtaining target data for data transmission of different data contents by a second client through at least two target slice networks, wherein the second client is a transmission sender of the target data, the at least two target slice networks are slice networks determined by the second client from multiple slice networks of different slice hierarchies according to security level information, the security level information is security level information corresponding to at least two parts of the data content obtained by security classification of the data content corresponding to the target data by the second client, and the target slice network is a slice network whose slice hierarchy matches the security level corresponding to each data content in the at least two parts of the content.
[0008] According to another embodiment of the present invention, there is provided a data transmission device, comprising: a first acquisition unit, for acquiring target data to be transmitted; a classification unit, for performing security classification on data content corresponding to the target data, and determining security level information corresponding to at least two parts of the data content, wherein the security level information is used to indicate the security levels corresponding to at least two parts of the data content; a classification unit, for determining at least two target slice networks from a plurality of slice networks of different slice hierarchies according to the security level information, wherein the target slice network is a slice network whose slice hierarchies match the security levels corresponding to the respective data contents of the at least two parts, and slice networks of different slice hierarchies correspond to different security levels; a transmission unit, for transmitting data of the target data through a target slice network matching the security level among the at least two target slice networks.
[0009] According to another embodiment of the present invention, another data transmission device is provided, including: a third acquisition unit, used to acquire target data of a second client for data transmission of different data contents through at least two target slice networks, wherein the second client is a transmission sender of the target data, the at least two target slice networks are slice networks determined by the second client from multiple slice networks of different slice hierarchies according to security level information, the security level information is security level information corresponding to at least two parts of the data content obtained by the second client through security classification of data content corresponding to the target data, and the target slice network is a slice network whose slice hierarchy matches the security level corresponding to each data content in the at least two parts of the content.
[0010] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.
[0011] According to another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0012] Through the present invention, in the data transmission stage, the overall target data is split into local sub-data, and the sub-data is subjected to a more fine-grained security classification to determine the security level of each sub-data. Furthermore, by allocating slice networks with different slice levels to sub-data with different security levels, a targeted data transmission method is provided for each sub-data to ensure the transmission security of each sub-data. Therefore, the problem of reduced security of data transmission can be solved, and the technical effect of improving the security of data transmission can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a structural schematic diagram of an optional data transmission method according to an embodiment of the present invention;
[0014] Figure 2 is a flow chart of an optional data transmission method according to an embodiment of the present invention;
[0015] Figure 3 is a schematic diagram of an optional data transmission method according to an embodiment of the present invention;
[0016] Figure 4 is a schematic diagram of another optional data transmission method according to an embodiment of the present invention;
[0017] Figure 5 is a schematic diagram of another optional data transmission method according to an embodiment of the present invention;
[0018] Figure 6 is a schematic diagram of another optional data transmission method according to an embodiment of the present invention;
[0019] Figure 7 It is a structural block diagram of an optional data transmission device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0022] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a data transmission method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0023] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the data transmission method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0024] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0025] Optionally, as an optional implementation, as Figure 2 As shown, the data transmission method can be executed by a mobile terminal, a computer terminal or a similar computing device, and the specific steps include:
[0026] S202, obtaining target data to be transmitted;
[0027] S204, performing security classification on the data content corresponding to the target data, and determining security level information corresponding to at least two parts of the data content, wherein the security level information is used to indicate the security level;
[0028] S206, determining at least two target slice networks from multiple slice networks of different slice levels according to the security level information, wherein the target slice network is a slice network whose slice level matches the security level corresponding to each data content in the at least two parts of content, and slice networks of different slice levels correspond to different security levels;
[0029] S208, transmitting the data content of the target data through at least two target slice networks that match the security level.
[0030] Optionally, in this embodiment, the lighting rendering method of the above-mentioned virtual model can be but is not limited to being applied in the scenario of network slicing technology, wherein the network slicing technology can be but is not limited to cutting a physical network into multiple virtual end-to-end networks, and each virtual network, including the equipment, access, transmission and core network within the network, is logically independent, and any failure of any virtual network will not affect other virtual networks. Each virtual network has different functional characteristics and is oriented to different needs and services. Network slicing technology brings the following value: ensuring the service quality of different levels of services, including traditional network indicators such as bandwidth, latency, packet loss and jitter; enabling users to obtain a logically independent network to avoid network risks and leaks; users can view network statistics and status related to their sliced packages.
[0031] However, as an on-demand customized end-to-end logical network, network slicing technology involves wireless, transmission, core network and management domains. If the capabilities of each field are arranged and combined completely, there will be a lot of choices. How to make the industry more clearly understand the capabilities of slicing and optimally match it to most industry applications is a problem that needs to be solved.
[0032] No matter how we understand the capabilities of slicing more clearly and how to best match it to most industry applications, if we still limit the logic to the overall data, then multiple local sub-data cannot be fully satisfied. For example, the target data is composed of sub-data 1, sub-data 2, and sub-data 3. The target data is judged as a whole, and a slice network with a security level 2 is selected to transmit the target data. However, the security level 2 is judged as a whole, but the security level requirements of each sub-data may vary greatly. For example, sub-data 1 has a higher security level requirement, while sub-data 2 and sub-data 3 have lower security level requirements. The resulting security level 2 is only an average security level, which can meet the security level requirements of sub-data 2 and sub-data 3, but not the security level requirements of sub-data 1, which makes it difficult to guarantee the security of sub-data 1.
[0033] Optionally, in this embodiment, the security level information is used to indicate the security level corresponding to each sub-data, and slice networks of different slice levels correspond to different security levels, such as Figure 3 As shown, the target data 302 includes multiple sub-data, such as sub-data 1, sub-data 2 and sub-data 3, among which sub-data 1 with security level 1 will use slice network A with the same security level for data transmission, sub-data 2 with security level 2 will use slice network B with the same security level for data transmission, and sub-data 3 with security level 3 will use slice network C with the same security level for data transmission.
[0034] Optionally, in this embodiment, a data transmission request is sent to at least two target slice networks, and the target slice networks assist in completing the transmission of the target data, wherein the data transmission request is used to request at least two target slice networks to transmit each sub-data according to the matching between the slice classification and the security level corresponding to each sub-data, that is, when the target data contains at least two sub-data with different security levels, the target data will be transmitted by splitting it into multiple sub-data to ensure that each sub-data can match a slice network with the same security level, so as to overcome the security defects brought about by the overall data transmission.
[0035] It should be noted that during the data transmission stage, the overall target data is split into local sub-data, and the sub-data is subjected to a finer-grained security classification to determine the security level of each sub-data. Furthermore, by allocating slice networks with different slice hierarchies to sub-data of different security levels, a targeted data transmission method is provided for each sub-data to ensure the transmission security of each sub-data.
[0036] To further illustrate, the optional Figure 3As shown, the target data 302 to be transmitted is obtained, wherein the target data 302 includes at least two sub-data, such as sub-data 1, sub-data 2, and sub-data 3; each sub-data in the target data 302 is security classified to obtain security level information, wherein the security level information is used to indicate the security level corresponding to each sub-data, such as sub-data 1 is security level 1, sub-data 2 is security level 2, and sub-data 3 is security level 3; further, according to the security level information, at least two target slice networks (such as slice network A, slice network B, slice network C) are determined from multiple slice networks of different slice levels, and the at least two target slice networks are sent. A data transmission request, wherein the target slice network is a slice network whose slice hierarchy matches the security level corresponding to each sub-data, and slice networks of different slice hierarchies correspond to different security levels. The data transmission request is used to request at least two target slice networks to transmit each sub-data according to the matching between the slice hierarchy and the security level corresponding to each sub-data, such as requesting to use slice network A with the same security level to transmit sub-data 1 with security level 1, use slice network B with the same security level to transmit sub-data 2 with security level 2, and use slice network C with the same security level to transmit sub-data 3 with security level 3.
[0037] Through the embodiments provided by the present application, during the data transmission stage, the overall target data is split into local sub-data, and the sub-data is subjected to a more fine-grained security classification to determine the security level of each sub-data. Furthermore, by allocating slice networks with different slice levels to sub-data of different security levels, a targeted data transmission method is provided for each sub-data to ensure the transmission security of each sub-data. Therefore, the problem of reduced security of data transmission can be solved, and the technical effect of improving the security of data transmission can be achieved.
[0038] As an alternative, Figure 2 As shown, before the data content corresponding to the target data is security classified and the security level information corresponding to at least two parts of the data content is determined, the method further includes: according to the time information associated with the data content, the target data is marked using a target tag to obtain the marked target data, wherein the target tag is used to mark the data in the target data corresponding to each of the data contents in the at least two parts of the content;
[0039] Before transmitting the data content of the target data through the target slice network that matches the security level in the at least two target slice networks, the method further includes: decomposing and recombining the data in the target data according to the target label to obtain at least two sub-data, wherein the sub-data is data in the target data corresponding to each data content in the at least two parts of the content;
[0040] The data content of the target data is transmitted through a target slice network that matches the security level in at least two target slice networks, including: at least two sub-data are respectively sent to at least two target slice networks for data transmission.
[0041] As an alternative, Figure 2 As shown, according to the time information associated with the data content, the target data is identified using the target tag to obtain the identified target data, including:
[0042] When the target data is video data, obtaining each frame of video content of the data content, and using the target tag to identify the video content in each frame of video content that is within a preset frame selection range, wherein the time information includes information of the preset frame selection range; or,
[0043] In the case where the target data is audio data, the audio content of each time period of the data content is obtained, and the audio content within a preset time period in the audio content of each time period is identified using the target tag, wherein the time information includes information for indicating the preset time period range; or,
[0044] When the target data is text data, the text content of each byte range of the text content is obtained, and the text content in each byte range text content within a preset byte range is identified using a target tag, wherein the time information includes information for indicating the preset byte range.
[0045] As an alternative, Figure 2 As shown, security classification is performed on the data content corresponding to the target data to determine the security level information corresponding to at least two parts of the data content, including: color marking each data content to obtain color marking information, wherein the color marking information is used to record the color marked by each data content, data contents marked with different colors correspond to different security levels, and the security level information includes the color marking information;
[0046] According to the security level information, at least two target slice networks are determined from multiple slice networks of different slice levels, including: according to the color marking information, at least two target slice networks are determined from the multiple slice networks.
[0047] It should be noted that color marking itself has a high intuitive feature, which helps users to select or view the security level more intuitively. In addition, there is little correlation between color itself and data transmission, so when illegal users steal or destroy data transmission, they also perform related illegal operations based on color, which further improves the security of data transmission.
[0048] Through the embodiments provided by the present application, each sub-data is color-marked to obtain color marking information, wherein the color marking information is used to record the color marked by each sub-data, and sub-data marked with different colors correspond to different security levels, and the security level information includes color marking information; according to the color marking information, at least two target slice networks are determined from multiple slice networks, and data transmission requests are sent to the at least two target slice networks, thereby achieving a technical effect of helping users to more intuitively select or view security levels and further improving the security of data transmission.
[0049] As an alternative, Figure 2 As shown, before color marking each data content to obtain color marking information, the method further includes: obtaining at least two colors, and mixing the at least two colors according to a preset ratio to obtain a verification color to be marked;
[0050] Performing color marking on each data content to obtain color marking information includes: performing color marking on each data content using a verification color to be marked to obtain color marking information.
[0051] As an alternative, Figure 2 As shown, at least two target slice networks are determined from the multiple slice networks according to the color marking information, including:
[0052] The color and security level marked by each data content are matched using a preset mapping relationship to obtain the security level corresponding to each data content;
[0053] When the slice level corresponding to each slice network in the multiple slice networks is obtained, the slice level corresponding to each slice network and the security level corresponding to each data content are matched, and at least two target slice networks are determined from the multiple slice networks.
[0054] To further illustrate, the optional Figure 4 The scenario shown, continues with Figure 5 As shown, according to the preset mapping relationship, the color label red corresponds to security level 1, the color label orange corresponds to security level 2, and the color label purple corresponds to security level 3.
[0055] Through the embodiments provided by the present application, a preset mapping relationship is used to match the color marked by each sub-data with the security level to obtain the security level corresponding to each sub-data; when the slice level corresponding to each slice network in multiple slice networks is obtained, the slice level corresponding to each slice network and the security level corresponding to each sub-data are matched, and at least two target slice networks are determined from the multiple slice networks; a data transmission request is sent to the at least two target slice networks, thereby achieving the technical effect of helping users to select or view the security level more intuitively and further improving the security of data transmission.
[0056] As an alternative, Figure 2 As shown, security classification is performed on the data content corresponding to the target data to determine the security level information corresponding to at least two parts of the data content, including:
[0057] S1, perform manual classification operation on each sub-data to obtain security level information; or,
[0058] S2, performing automatic classification operation on each sub-data to obtain security level information.
[0059] It should be noted that in order to improve the execution flexibility of classification operations, security classification is subdivided into manual classification operations and automatic classification operations, among which manual classification operations can be understood but not limited to being understood as the user manually performing security classification on each sub-data, and automatic classification operations can be understood but not limited to being understood as automatically performing security classification on each sub-data for the user.
[0060] Through the embodiments provided in the present application, a manual classification operation is performed on each sub-data to obtain security level information; or, an automatic classification operation is performed on each sub-data to obtain security level information, thereby achieving the purpose of subdividing security classification into manual classification operations and automatic classification operations, thereby achieving the technical effect of improving the execution flexibility of classification operations.
[0061] As an alternative, Figure 2 As shown, manual classification operations are performed on each sub-data to obtain security level information, including:
[0062] S1, in response to a long press operation performed on a first target sub-data among at least two sub-data, displaying multiple slice levels corresponding to multiple slice networks simultaneously or sequentially; determining a first slice level from the multiple slice levels as a security level corresponding to the first target sub-data; or,
[0063] S2, in response to a first selection operation performed on a second target sub-data among the at least two sub-data and a second selection operation performed on a second slice level among the multiple slice levels, taking the second slice level as a security level corresponding to the second target sub-data.
[0064] It should be noted that manual classification operations can improve the accuracy of selecting the security level of sub-data, and the selected security level can better meet user needs, but at the same time manual classification operations can also reduce the efficiency of selecting the security level. Therefore, in this embodiment, a variety of execution methods for manual classification operations are provided. Users can choose the most suitable execution method according to their own operating habits to efficiently complete the manual classification operation.
[0065] To further illustrate, the optional Figure 4 As shown, in response to a long press operation performed on a first target sub-data (such as sub-data 1) among at least two sub-data, multiple slice levels (such as security level 1, security level 2, security level 3) corresponding to multiple slice networks are displayed simultaneously or sequentially; security level 3 (first slice level) is determined from the multiple slice levels as the security level corresponding to sub-data 1 (first target sub-data).
[0066] Through the embodiments provided by the present application, in response to a long press operation performed on a first target sub-data among at least two sub-data, multiple slice levels corresponding to multiple slice networks are displayed simultaneously or sequentially; a first slice level is determined from the multiple slice levels as the security level corresponding to the first target sub-data; or, in response to a first selection operation performed on a second target sub-data among at least two sub-data, and a second selection operation performed on a second slice level among the multiple slice levels, the second slice level is used as the security level corresponding to the second target sub-data, thereby achieving a technical effect of improving the accuracy of selecting the security level of the sub-data.
[0067] As an optional solution, obtaining the target data to be transmitted includes: obtaining the target data associated with the target account;
[0068] Automatic classification operations are performed on each sub-data to obtain security level information, including:
[0069] Obtain the historical security level corresponding to the historical data that has been transmitted by the target account;
[0070] The historical data are counted using the historical security levels to obtain first key data, wherein the first key data corresponds to the same or similar historical security levels for multiple times;
[0071] When the target data contains the first key data, the security level corresponding to the first key data contained in the target data is automatically determined to be the same or similar historical security level, or the first key data is highlighted in the target data, and it is prompted that the security level corresponding to the first key data is the same or similar historical security level.
[0072] It should be noted that the automatic classification operation can improve the efficiency of selecting the security level of sub-data, but at the same time the automatic classification operation will also reduce the accuracy of selecting the security level. In this embodiment, the historical security level is combined to perform statistics on historical data to obtain sub-data with the same security level selected by the user through multiple classification operations. This improves the efficiency of selecting the security level of the sub-data while ensuring the accuracy of selecting the security level of the sub-data.
[0073] Through the embodiments provided by the present application, the historical security level corresponding to the historical data that has been transmitted by the target account is obtained; the historical data is counted using the historical security level to obtain the first key data, wherein the first key data corresponds to multiple identical or similar historical security levels; when the target data contains the first key data, the security level corresponding to the first key data contained in the target data is automatically determined as the same or similar historical security level, or the first key data is highlighted in the target data, and it is prompted that the security level corresponding to the first key data is the same or similar historical security level, thereby achieving the purpose and realizing the technical effect.
[0074] As an optional solution, automatic classification operations are performed on each sub-data to obtain security level information, including:
[0075] S1, obtaining data reference information of each sub-data, wherein the data reference information includes at least one of the following: data source information, data type information, and data protocol information;
[0076] S2, performing automatic classification operations on each sub-data based on the data reference information to obtain security level information.
[0077] Optionally, in this embodiment, data reference information can be understood but not limited to information of different dimensions used in the execution of automatic classification operations. The more dimensions of the data reference information, the higher the execution accuracy of the automatic classification operation, but at the same time, the execution efficiency of the automatic classification operation will also decrease. Therefore, selection can be made as needed among the data source information, data type information, and data protocol information to take into account both the execution accuracy and efficiency of the automatic classification operation.
[0078] Optionally, in this embodiment, data source information can be used but is not limited to indicate the source of sub-data. For example, if the source is from related applications or platforms involving data security, the security level of the sub-data needs to be improved; data type information can be used but is not limited to indicate the type of sub-data. For example, if the sub-data itself is a data type with higher security level requirements, involving security information, virtual resources, etc., then a higher security level needs to be configured; data protocol information can be used but is not limited to indicate the protocol type of sub-data. For example, when the sub-data uses the https protocol, a higher security level can be assigned.
[0079] Through the embodiments provided in the present application, data reference information of each sub-data is obtained, wherein the data reference information includes at least one of the following: data source information, data type information, and data protocol information; based on the data reference information, automatic classification operations are performed on each sub-data to obtain security level information, thereby achieving a technical effect that takes into account both the execution accuracy and efficiency of the automatic classification operation.
[0080] As an optional solution, before sending the data transmission request to at least two target slice networks, the method further includes:
[0081] The sub-data are reorganized into data streams to be transmitted with different security levels, and a target tag is configured for each data stream to be transmitted, wherein the data content of the target tag includes a color representation value.
[0082] It should be noted that individual sub-data usually does not conform to the format of data transmission, or cannot be transmitted stably. In order to ensure the stability of data transmission, each sub-data is reorganized into data streams with different security levels to be transmitted. At the same time, in order to ensure that the matching slice network can be used to complete data transmission smoothly, a target label is also configured for each data stream to be transmitted, where the data content of the target label includes a color representation value.
[0083] Through the embodiments provided in the present application, each sub-data is reorganized into data streams to be transmitted with different security levels, and a target tag is configured for each data stream to be transmitted, wherein the data content of the target tag includes a color representation value, thereby achieving the technical effect of ensuring the stability of data transmission.
[0084] As an optional solution, after determining at least two target slice networks from a plurality of slice networks of different slice hierarchies according to the security level information and sending a data transmission request to the at least two target slice networks, the method further includes:
[0085] S1, obtaining transmission feedback information returned by the first client, wherein the transmission feedback information carries the actual security level corresponding to each sub-data when the first client receives the target data, and the first client is the transmission recipient of the target data;
[0086] S2, verifying the actual security level corresponding to each sub-data and the security level corresponding to each sub-data, and treating the sub-data with different actual security levels as abnormal data.
[0087] It should be noted that in order to further improve the security of data transmission, a feedback mechanism is set in this embodiment. When the actual security level carried in the transmission feedback information returned by the first client is inconsistent with the security level set at the beginning of data transmission, it can be considered that there are problems such as data tampering, data destruction, and data theft during the data transmission process, and the sub-data is then regarded as abnormal data, and relevant responses are made in a timely manner to minimize the loss caused by data anomalies.
[0088] Through the embodiments provided in the present application, transmission feedback information returned by the first client is obtained, wherein the transmission feedback information carries the actual security level corresponding to each sub-data when the first client receives the target data, and the first client is the transmission recipient of the target data; the actual security level corresponding to each sub-data and the security level corresponding to each sub-data are verified, and the sub-data with differences in actual security levels are treated as abnormal data, thereby achieving the purpose of providing a feedback mechanism for data transmission, thereby realizing the technical effect of improving the security of data transmission.
[0089] Optionally, as another optional implementation, the data transmission method may also be executed by a mobile terminal, a computer terminal or a similar computing device, and the specific steps include:
[0090] Obtain target data for data transmission of different data contents by a second client through at least two target slice networks, wherein the second client is a transmission sender of the target data, the at least two target slice networks are slice networks determined by the second client from multiple slice networks of different slice hierarchies according to security level information, the security level information is security level information corresponding to at least two parts of the data content obtained by the second client through security classification of the data content corresponding to the target data, and the target slice network is a slice network whose slice hierarchy matches the security level corresponding to each data content in the at least two parts of the content.
[0091] For the specific implementation, reference may be made to the example shown in the lighting rendering method of the virtual model described above, which will not be described in detail in this example.
[0092] As an optional solution, the obtaining of target data for data transmission of different data contents by the second client through at least two target slice networks includes: obtaining at least two sub-data respectively transmitted by the at least two target slice networks, wherein the sub-data is data in the target data corresponding to each data content in the at least two parts of content;
[0093] After obtaining at least two sub-data respectively transmitted by the at least two target slice networks, the method further includes: parsing and restoring the at least two sub-data to obtain the target data and the actual security level corresponding to the content of each data;
[0094] The actual security level is returned to the second client in the form of transmission feedback information, and the second client verifies the actual security level corresponding to each data content and the security level corresponding to each data content, and regards the data content with different actual security levels as abnormal data content.
[0095] As an optional solution, after parsing and restoring the at least two sub-data to obtain the target data and the actual security level corresponding to each data content, the method further includes:
[0096] Determine the important data content whose actual security level is greater than or equal to the first preset threshold from the at least two data contents, and perform at least one of the following steps on the important data content:
[0097] When the display time of the important data content is greater than or equal to a second preset threshold, destroying the important data content;
[0098] In the case that the target account for requesting to display the important data content is an unauthenticated account, blurring the important data content;
[0099] The important data content is placed in a safe partition for storage.
[0100] As an optional solution, for ease of understanding, the above data transmission method is applied to 5G network scenarios with slice connections and terminal devices that support 5G slicing technology. For example, this embodiment is applied to devices with wired and wireless data transmission capabilities, including mobile phones, CPE, data cards, etc., and to applications based on data devices. This embodiment is used for data transmission. This embodiment can also be applied to existing technical scenarios. The existing application scenario can be to use color-coded information to transmit existing data channels. Strictly speaking, the security levels of existing data channels are from large to small: VPN connection, cellular connection, strong encryption hotspot connection or ordinary wifi connection; the future application scenario is a network that supports security slice levels, which can be applied when this embodiment involves deployment.
[0101] It should be noted that this embodiment aims to solve the four major problems of user data access privacy leakage, data transmission being eavesdropped, counterfeited, and tampered with from the perspective of underlying data transmission. The technical means adopted in this embodiment are: proposing a technical method for users to visually use hierarchical slices and quickly confirm whether data has been leaked. The terminal uses data information of different security levels to correspond to slice networks of different security levels (such as 5G slice networks) according to the user's visualization color setting for encrypted data segments, and uses slice networks of different security levels to transmit data simultaneously. When a group of information starts to be transmitted, the verification color of the overall sent data information is calculated according to the visualization color settings of different data segments. After the receiving end completes the reception of a group of data, the verification color is restored according to the received data information, and the return is used by the sending end for the sender to quickly visually confirm that the data has not been tampered with or counterfeited.
[0102] Optionally, in this embodiment, Figure 6 As shown, multiple modules are involved, such as a user data information security level color representation interaction module, a user data information security level acquisition module, a user data decomposition identification module, a classification data flow generation and parsing module, a level slice data flow control module, and a level slice control module.
[0103] To further illustrate, this embodiment mainly addresses four major issues: leakage of Internet access privacy traces, eavesdropping, counterfeiting, and tampering of data transmission. The above issues are solved from the perspective of underlying data transmission. The specific steps are as follows:
[0104] Step S101: The terminal information input interface provides the user with a 5-level color card, indicating the correspondence between the 5 levels of slices, such as red corresponding to slice level L4, orange corresponding to slice level L3, purple corresponding to slice level L2, yellow corresponding to slice level L1, and blue corresponding to slice level L0. The color card is not limited to a single color system. The module completed in step S101 can be Figure 6 The user data information security level color in the interactive module indicates.
[0105] Optionally, in this embodiment, for a piece of information that the user is about to send, the user can set any word, phrase, sentence, or paragraph to any color. The setting method is to long press to automatically change the color, or select the color through the color card after selecting the content. Among them, the transmission form of pictures, videos, and audio is data, so this embodiment is not limited to text information, and this embodiment is also applicable to multimedia information. For pictures and videos, the user can frame a certain display area in the playback display frame and use any security level slice connection for transmission. It can be framed with shapes such as circles and squares, and the frame is also set with the corresponding security level color. For audio, the user can set the security level slice on the playback progress bar and mark it with the corresponding security level color. The above method is still applicable to streaming media video. In the local video playback window, the user can frame a certain display area and use any security level slice connection for transmission. For streaming video and audio, another method available to users is to use any security level slice connection to transmit the video or audio of a time period. When there is secret video and audio transmission, press and hold the color button corresponding to the corresponding security slice connection. The video or audio of the time period is sent through the security slice connection corresponding to the button. The module for completing the above color setting can be Figure 6 The user data information security level colors shown in the figure represent the interactive modules.
[0106] Optionally, in this embodiment, a convenient method may be provided to the user, namely, automatic setting according to industry big data and automatic setting according to user habits, wherein the automatic setting according to industry big data includes the following aspects:
[0107] 1-1. General security guidelines Private data, name, phone number, ID number, address, parents, spouse, children's information, user name, password, etc. (privacy data is legal data that users are allowed to obtain).
[0108] 1-2. Highly sensitive industry security data, contracts, quotations, circuit diagrams, flow charts, formulas, technical documents, etc. (Highly sensitive industry security data are legal data that users are allowed to obtain).
[0109] 1-3. Safety phrases frequently set by users.
[0110] 1-4. Automatically set according to user habits, that is, when the user chooses to automatically set according to habits, the terminal will count the frequency of color selection in a certain sentence, word, or character based on the user's setting history, automatically select the color setting with a higher frequency, and present it to the user. When it is recognized that the user has entered privacy and security information (according to user habits or industry big data matching is successful), the user will be prompted and an auxiliary toolbar for security level color setting will automatically pop up to facilitate user settings, or it will automatically match a security level and provide an auxiliary toolbar that the user can modify. The completion modules for the above automatic setting according to industry big data and automatic setting according to user habits can be Figure 6 The user data information security level colors shown in the figure represent the interactive modules.
[0111] Step S102: This embodiment also provides a method for automatically identifying private data and automatically transmitting the private data through slices with a high security level, and the means include:
[0112] 2-1. Desktop application icons will be set with corresponding color areas. Different colors correspond to different levels of security slices. When the application transmits data, the corresponding slice is used by default for data transmission. For example, if the user identifies a higher level of regional data in the application, the higher level slice can be used to transmit the calibration data. The system will place applications with payment functions in the high-level color area by default. Users can drag applications that they think need a high security level into the higher level color area.
[0113] 2-2. Automatically identify the URL. When the URL is a bank website, it will automatically use a high-security slice connection, and the border will display the corresponding color.
[0114] 2-3. Automatically identify the upper-layer data protocol type. When opening a web page and using the https protocol, it automatically uses a high-security slice connection, and the border will display the corresponding color.
[0115] Step S103: Find the corresponding security level slice according to the color information set by the user; collect the user data information according to the color information. For image and video data, the framed data can be separated by frame, and the data of different color frames can be extracted and classified; for audio data, the data can be extracted and classified according to the set time period. The completion module of step S103 can be Figure 6 The user data information security level collection module shown in .
[0116] Step S104: Mark the data according to the word order to facilitate decomposition and reorganization. Reorganize the data information into several levels of data streams to be transmitted according to the color level, corresponding to the level slices. Label each data stream, the label is hexadecimal data, and the data content is RGB color representation value. The completion module of step S104 can be Figure 6 The user data shown in FIG. 1 is decomposed into identification modules.
[0117] Step S105: Present the verification color of the data that the user is about to send, and the presentation method may be a flashing border color or a color block prompt on the screen. The completion module of step S105 is Figure 6 The user data information security level colors shown in the figure represent the interactive modules.
[0118] Optionally, in this embodiment, the verification color may be a mixed color, wherein the mixed color calculation method is:
[0119] Color 1*(Color 1-Color 2)*(1-Percentage of Color 1)
[0120] Color 1: {255,255,255}, Color 2: {199,199,199}
[0121] R: 255*(255-199)*(1-percentage of color 1)
[0122] G: 255*(255-199)*(1-percentage of color 1)
[0123] B: 255*(255-199)*(1-the percentage of color 1)
[0124] The principle of the color mixing calculation includes: mixing two colors to generate a new color, and performing recursive calculations, that is, mixing the first color with the second color to calculate the first composite color, mixing the first composite color with the third color to calculate the second composite color, and finally calculating the final composite color of all the colors.
[0125] The percentage of the color is calculated as:
[0126] First color percentage = first color statistical word count / (first color statistical word count + second color statistical word count)
[0127] Second color percentage = second color statistical word count / (first color statistical word count + second color statistical word count)
[0128] The percentage calculation occurs when mixing two colors. The RGB values in the color are calculated using the formula separately. The final composite color is the calibration color.
[0129] The completion module of the above color mixing calculation is Figure 6 The user data information security level colors shown in the figure represent the interactive modules.
[0130] Step S106: The terminal creates a data stream to be transmitted according to each type of label data, and embeds the hierarchical slice information in the data stream information. The completion module of step S106 can be Figure 6 The classification data stream generation and parsing module shown in .
[0131] Step S107: The terminal initiates a slice connection request of each level to the wireless protocol module URSP, and establishes slice connections of each level with the network. The completion module of step S107 can be Figure 6 The hierarchical slicing control module shown in .
[0132] Step S108: The terminal transmits the corresponding encrypted data stream in the established hierarchical slice connection respectively. The data stream transmission uses the TCP protocol. In the TCP protocol handshake process, the slice information and the corresponding color information are exchanged. The completion module of step S108 can be Figure 6 The level slice data flow control module shown in .
[0133] Optionally, in this embodiment, encryption information and color fields are added to the TCP message header option part, and the data is expressed as follows:
[0134] Slice security classification: value ranges from 0 to 1 (occupies 1 byte)
[0135] Security RGB: value {0~255, 0~255, 0~255} (occupies 3 bytes)
[0136] Step S109: After receiving the data and slice information, the receiving end parses and reassembles the data stream. The completion module of step S109 can be Figure 6 The classification data stream generation and parsing module shown in .
[0137] Step S110: Display the secret information in color according to the data identification information. At the same time, the receiving end can choose to perform secondary processing on the relevant sensitive fields according to the slice confidentiality information, including burning after reading, blurring display before the owner authentication, automatic storage in the security partition, etc. The completion module of step S110 can be Figure 6 The user data information security level colors shown in the figure represent the interactive modules.
[0138] Step S111: The calculation method of step S105 at the receiving end calculates the verification color and transmits the calculated verification color back to the sending end, so that the sending end can determine whether the data has been tampered with or impersonated. The completion module of step S111 can be Figure 6 The user data information security level colors shown in the figure represent the interactive modules.
[0139] Through the embodiments provided in the present application, the privacy and security issues of user data transmission are solved from the perspective of underlying multi-channel transmission, and a method for users to visually use hierarchical slicing is provided. Users can very conveniently use secure hierarchical slicing to hierarchically transmit their own private data, thereby further strengthening user privacy protection and data security protection, making privacy eavesdropping, data forgery, and data tampering impossible, and increasing the security of terminal data transmission.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.
[0141] In this embodiment, a data transmission device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0142] Figure 7 is a structural block diagram of a data transmission device according to an embodiment of the present invention. Figure 7 As shown, the device comprises:
[0143] A first acquisition unit 702, configured to acquire target data to be transmitted;
[0144] The classification unit 704 is used to perform security classification on the data content corresponding to the target data, and determine the security level information corresponding to at least two parts of the data content, wherein the security level information is used to indicate the security level corresponding to the at least two parts of the data content;
[0145] A grading unit 706 is used to determine at least two target slice networks from multiple slice networks of different slice levels according to the security level information, wherein the target slice network is a slice network whose slice level matches the security level corresponding to each data content in the at least two parts of content, and slice networks of different slice levels correspond to different security levels;
[0146] The transmission unit 708 is used to transmit the data content of the target data through at least two target slice networks that match the security level.
[0147] For the specific implementation, reference may be made to the example shown in the lighting rendering method of the virtual model described above, which will not be described in detail in this example.
[0148] As an optional solution,
[0149] For the specific implementation, reference may be made to the example shown in the lighting rendering method of the virtual model described above, which will not be described in detail in this example.
[0150] As an optional solution, the device further includes: an identification unit, which is used to identify the target data using a target tag according to time information associated with the data content before security classification of the data content corresponding to the target data and determining the security level information corresponding to at least two parts of the data content, so as to obtain the identified target data, wherein the target tag is used to mark the data in the target data corresponding to each of the data contents in the at least two parts of the content;
[0151] The apparatus further includes: a reassembly unit, configured to decompose and reassemble data in the target data according to the target label before transmitting the data content of the target data through the target slice network that matches the security level in the at least two target slice networks, so as to obtain at least two sub-data, wherein the sub-data is data in the target data corresponding to each data content in the at least two parts of the content;
[0152] The transmission unit 708 includes: a transmission module, which is used to send at least two sub-data to at least two target slice networks for data transmission respectively.
[0153] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model above, which will not be repeated in this example. As an optional solution, the identification unit includes:
[0154] A first acquisition module is used to acquire each frame of video content of the data content when the target data is video data, and use the target tag to identify the video content in each frame of video content that is within a preset frame selection range, wherein the time information includes information of the preset frame selection range; or
[0155] The second acquisition module is used to acquire the audio content of each time period of the data content when the target data is audio data, and use the target tag to identify the audio content in each time period that is within a preset time period range, wherein the time information includes information used to represent the preset time period range.
[0156] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model mentioned above, which will not be repeated in this example. As an optional solution, the classification unit 704 includes: a marking module, which is used to color mark each data content to obtain color marking information, wherein the color marking information is used to record the color marked by each data content, and the data content marked with different colors corresponds to different security levels, and the security level information includes color marking information;
[0157] The grading unit 706 includes: a grading module, configured to determine at least two target slice networks from the plurality of slice networks according to the color marking information.
[0158] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model mentioned above, which will not be repeated in this example. As an optional solution, the device also includes: a third acquisition module, which is used to obtain at least two colors before color marking each data content to obtain color marking information, and mix the at least two colors according to a preset ratio to obtain the verification color to be marked;
[0159] The marking module includes: a marking submodule, which is used to perform color marking on each data content using the verification color to be marked to obtain color marking information.
[0160] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model above, which will not be repeated in this example. As an optional solution, the classification unit 704 includes:
[0161] A first classification module is used to perform manual classification operations on data content to obtain security level information; or,
[0162] The second classification module is used to perform automatic classification operations on the data content to obtain security level information.
[0163] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model above, which will not be repeated in this example. As an optional solution, the first classification module includes:
[0164] A first operation submodule is configured to, in response to a long press operation performed on a first target data content in the data content, simultaneously or sequentially display multiple slice levels corresponding to multiple slice networks; determine a first slice level from the multiple slice levels as a security level corresponding to the first target data content; or,
[0165] The second operation submodule is used to respond to the first selection operation performed on the second target data content in the data content and the second selection operation performed on the second slice level in the multiple slice levels, and use the second slice level as the security level corresponding to the second target data content.
[0166] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model above, which will not be repeated in this example. As an optional solution, the first acquisition unit 702 includes: a fourth acquisition module, which is used to acquire target data associated with the target account;
[0167] The second classification module includes:
[0168] The first acquisition submodule is used to obtain the historical security level corresponding to the historical data that has been transmitted by the target account;
[0169] A statistical submodule, for performing statistics on historical data using historical security levels to obtain first key data, wherein the first key data corresponds to multiple identical or similar historical security levels;
[0170] A prompt submodule is used to automatically determine the security level of the data content corresponding to the first key data as the same or similar historical security level when the data content includes data content corresponding to the first key data, or to highlight the data content corresponding to the first key data in the data content, and prompt that the security level of the data content corresponding to the first key data is the same or similar historical security level.
[0171] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model above, which will not be repeated in this example. As an optional solution, the second classification module includes:
[0172] A second acquisition submodule is used to acquire data reference information of each data content, wherein the data reference information includes at least one of the following: data source information, data type information, and data protocol information;
[0173] The execution submodule is used to perform automatic classification operations on each data content based on the data reference information to obtain security level information.
[0174] The specific embodiment can refer to the example shown in the lighting rendering method of the virtual model above, which will not be repeated in this example. As an optional solution, the device also includes:
[0175] A second acquisition unit is configured to acquire transmission feedback information returned by the first client after determining at least two target slice networks from a plurality of slice networks of different slice hierarchies according to the security level information, wherein the transmission feedback information carries an actual security level corresponding to each data content when the first client receives the target data, and the first client is a transmission recipient of the target data;
[0176] The verification unit is used to verify the actual security level corresponding to each data content and the security level corresponding to each data content after determining at least two target slice networks from multiple slice networks of different slice levels according to the security level information, and to treat the data content with different actual security levels as abnormal data content.
[0177] The specific implementation example can refer to the example shown in the lighting rendering method of the virtual model mentioned above, which will not be repeated in this example. As an optional solution, the third acquisition unit is used to obtain the target data of the second client for data transmission of different data contents through at least two target slice networks, wherein the second client is the transmission sender of the target data, and the at least two target slice networks are slice networks determined by the second client from multiple slice networks of different slice hierarchies according to the security level information, the security level information is the security level information corresponding to at least two parts of the data content obtained by the second client through security classification of the data content corresponding to the target data, and the target slice network is a slice network whose slice hierarchy matches the security level corresponding to each data content in the at least two parts of the content.
[0178] For the specific implementation, reference may be made to the example shown in the lighting rendering method of the virtual model described above, which will not be described in detail in this example.
[0179] As an optional solution, the third acquisition unit includes: a fourth acquisition module, used to acquire at least two sub-data respectively transmitted by at least two target slice networks, wherein the sub-data is data in the target data corresponding to each data content in the at least two parts of content;
[0180] The device further includes: a parsing module, configured to parse and restore the at least two sub-data after acquiring at least two sub-data respectively transmitted by at least two target slice networks, to obtain the target data, and an actual security level corresponding to each data content;
[0181] The verification module is used to return the actual security level to the second client in the form of transmission feedback information. The second client verifies the actual security level corresponding to each data content and the security level corresponding to each data content, and regards the data content with different actual security levels as abnormal data content.
[0182] For the specific implementation, reference may be made to the example shown in the lighting rendering method of the virtual model described above, which will not be described in detail in this example.
[0183] As an optional solution,
[0184] For the specific implementation, reference may be made to the example shown in the lighting rendering method of the virtual model described above, which will not be described in detail in this example.
[0185] As an optional solution, the execution module is used to determine the important data content whose actual security level is greater than or equal to the first preset threshold from the at least two data contents after parsing and restoring the at least two sub-data to obtain the target data and the actual security level corresponding to each data content, and perform at least one of the following steps on the important data content:
[0186] When the display time of the important data content is greater than or equal to the second preset threshold, destroying the important data content;
[0187] If the target account requesting to display important data content is an unauthenticated account, the important data content is displayed in a blurred manner;
[0188] Store important data in a secure partition.
[0189] For the specific implementation, reference may be made to the example shown in the lighting rendering method of the virtual model described above, which will not be described in detail in this example.
[0190] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0191] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0192] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0193] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0194] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0195] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0196] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0197] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A data transmission method, characterized in that: include: Obtain target data to be transmitted; Performing security classification on the data content corresponding to the target data, and determining security level information corresponding to at least two parts of the data content, wherein the security level information is used to indicate the security level; According to the security level information, at least two target slice networks are determined from a plurality of slice networks with different slice security levels, wherein the target slice network is a slice network whose slice security level matches the security level of each data content in the at least two parts of content; The at least two parts of the target data are respectively transmitted through a target slice network that matches its security level among the at least two target slice networks.
2. The method according to claim 1, characterized in that Before performing security classification on the data content corresponding to the target data and determining the security level information corresponding to at least two parts of the data content, the method further comprises: using a target tag to identify the target data according to the time information associated with the data content to obtain the identified target data, wherein the target tag is used to mark the data in the target data corresponding to each of the data contents in the at least two parts; Before transmitting the at least two parts of the target data through the target slice networks that match the security level of the at least two target slice networks, the method further includes: decomposing and recombining the target data according to the target label to obtain at least two sub-data, wherein the sub-data is data in the target data corresponding to each data content in the at least two parts of the content; The method of transmitting the at least two parts of the target data respectively through a target slice network that matches its security level among the at least two target slice networks comprises: transmitting the at least two sub-data respectively through a target slice network that matches its security level among the at least two target slice networks.
3. The method according to claim 2, characterized in that The step of identifying the target data using a target tag according to the time information associated with the data content to obtain the identified target data includes: In the case where the target data is video data, obtaining each frame of video content of the data content, and using the target tag to identify the video content in each frame of video content that is within a preset frame selection range, wherein the time information includes information of the preset frame selection range; or In the case where the target data is audio data, obtaining audio content of each time period of the data content, and using the target tag to identify the audio content within a preset time period in the audio content of each time period, wherein the time information includes information for indicating the preset time period; or In the case where the target data is text data, the text content of each byte range of the text content is obtained, and the target tag is used to identify the text content within a preset byte range in the text content of each byte range, wherein the time information includes information for representing the preset byte range.
4. The method according to claim 1, characterized in that: The security classification of the data content corresponding to the target data to determine the security level information corresponding to at least two parts of the data content includes: color marking each of the data content to obtain color marking information, wherein the color marking information is used to record the color marked by each of the data content, different colors correspond to different security levels, and the security level information includes the color marking information; The step of determining at least two target slice networks from a plurality of slice networks having different slice security levels according to the security level information comprises: determining the at least two target slice networks from the plurality of slice networks according to the color marking information.
5. The method according to claim 4, characterized in that Before color marking each data content to obtain color marking information, the method further includes: obtaining at least two colors, and mixing the at least two colors according to a preset ratio to obtain a verification color to be marked; The color marking of each data content to obtain color marking information includes: color marking each data content using the verification color to be marked to obtain the color marking information.
6. The method according to claim 4, characterized in that The step of determining the at least two target slice networks from the plurality of slice networks according to the color marking information includes: Matching the color marked by each data content with the security level using a preset mapping relationship to obtain the security level corresponding to each data content; When the slice level corresponding to each slice network among the multiple slice networks is obtained, the slice security level corresponding to each slice network and the security level corresponding to each data content are matched, and the at least two target slice networks are determined from the multiple slice networks.
7. The method according to claim 1, characterized in that The step of performing security classification on the data content corresponding to the target data and determining security level information corresponding to at least two parts of the data content includes: Performing a manual classification operation on the data content to obtain the security level information; or, Automatic classification operation is performed on the data content to obtain the security level information.
8. The method according to claim 7, characterized in that The performing of a manual classification operation on the data content to obtain the security level information includes: In response to a long press operation performed on a first target data content in the data content, displaying a plurality of slice levels corresponding to the plurality of slice networks simultaneously or sequentially; determining a first slice level from the plurality of slice levels as a security level corresponding to the first target data content; or, In response to a first selection operation performed on a second target data content in the data content and a second selection operation performed on a second slice hierarchy in the plurality of slice hierarchies, the second slice hierarchy is used as a security level corresponding to the second target data content.
9. The method according to claim 7, characterized in that: The acquiring the target data to be transmitted includes: acquiring the target data associated with the target account; The performing of the automatic classification operation on the data content to obtain the security level information includes: Obtain the historical security level corresponding to the historical data that has been transmitted by the target account; Using the historical security level to collect statistics on the historical data, a first key data is obtained, wherein the first key data corresponds to the same or similar historical security level for multiple times; In a case where the data content includes data content corresponding to the first key data, the security level of the data content including the first key data is automatically determined to be the same or similar historical security level, or the data content corresponding to the first key data is highlighted in the data content, and a prompt is given that the security level of the data content corresponding to the first key data is the same or similar historical security level.
10. The method according to claim 7, characterized in that The performing of the automatic classification operation on the data content to obtain the security level information includes: Acquire data reference information of each data content, wherein the data reference information includes at least one of the following: data source information, data type information, and data protocol information; The automatic classification operation is performed on each data content based on the data reference information to obtain the security level information.
11. The method according to any one of claims 1 to 10, characterized in that After determining at least two target slice networks from a plurality of slice networks of different slice hierarchies according to the security level information, the method further includes: Acquire transmission feedback information returned by the first client, wherein the transmission feedback information carries the actual security level corresponding to each data content when the first client receives the target data, and the first client is the transmission recipient of the target data; The actual security level corresponding to each data content and the security level corresponding to each data content are verified, and the data content with a difference in the actual security level is regarded as abnormal data content.
12. A data transmission method, characterized in that: include: Obtain target data for data transmission of different data contents by a second client through at least two target slice networks, wherein the second client is a transmission sender of the target data, the at least two target slice networks are slice networks determined by the second client from multiple slice networks of different slice hierarchies according to security level information, the security level information is security level information corresponding to at least two parts of the data content obtained by the second client through security classification of the data content corresponding to the target data, and the target slice network is a slice network whose slice hierarchy matches the security level corresponding to each data content in the at least two parts of the content.
13. The method according to claim 12, characterized in that The obtaining of target data for data transmission of different data contents by the second client through at least two target slice networks includes: obtaining at least two sub-data respectively transmitted by the at least two target slice networks, wherein the sub-data is data in the target data corresponding to each data content in the at least two parts of content; After obtaining at least two sub-data respectively transmitted by the at least two target slice networks, the method further includes: parsing and restoring the at least two sub-data to obtain the target data and the actual security level corresponding to the content of each data; The actual security level is returned to the second client in the form of transmission feedback information, and the second client verifies the actual security level corresponding to each data content and the security level corresponding to each data content, and regards the data content with different actual security levels as abnormal data content.
14. The method according to claim 13, characterized in that After parsing and restoring the at least two sub-data to obtain the target data and the actual security level corresponding to each data content, the method further includes: Determine the important data content whose actual security level is greater than or equal to the first preset threshold from the at least two data contents, and perform at least one of the following steps on the important data content: When the display time of the important data content is greater than or equal to a second preset threshold, destroying the important data content; In the case that the target account for requesting to display the important data content is an unauthenticated account, blurring the important data content; The important data content is placed in a safe partition for storage.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 14 when executed by a processor.
16. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 14 are implemented.
Citation Information
Cited By
Data transmission method, and computer-readable storage medium and electronic apparatus
EP4629563A1