Data hiding method and device, data processing method and device and electronic equipment

By processing hidden data, generating target data, and naming folders with target data to bypass file detection, the problem of low data hiding reliability in the prior art is solved, and higher data hiding reliability and better Low implementation costs.

CN119484046APending Publication Date: 2025-02-18HILLSTONE NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411523781.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art will generate files in the process of hiding data, and the files are easily detected by detection tools, resulting in the problem of low data hiding reliability.

Method used

By obtaining the data to be hidden for data processing, the target data is obtained, and the target folder in the target storage area is named based on the target data, so that the data to be hidden bypasses file detection.

Benefits of technology

It realizes hiding data through folder names, avoids the recognition of traditional file detection tools, improves the reliability of data hiding, and reduces application and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484046A_ABST
    Figure CN119484046A_ABST
Patent Text Reader

Abstract

The invention discloses a data hiding method and device, a data processing method and device and electronic equipment. Relates to the technical field of networks, and comprises the following steps: obtaining to-be-hidden data, and performing data processing on the to-be-hidden data to obtain target data, the target data being different from the to-be-hidden data, and the target data being used for restoring the to-be-hidden data based on an inverse processing mode of data processing; a target folder in the target storage area is named based on the target data, and the naming of the target folder is used for enabling the to-be-hidden data to bypass file detection. According to the data hiding method and device, the technical problem that the data hiding reliability is low due to the fact that a file is generated in the data hiding process and is easily detected by a detection tool in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network technology, and in particular to a data hiding method and device, a data processing method and device, and an electronic device. Background Art

[0002] The research background of data hiding technology originated from the demand for network security management. The traditional management idea of ​​"strict prevention and physical isolation" can no longer meet the current network security needs. With the imbalance of attack and defense in the network world, protecting data security has become particularly important. Therefore, data hiding technology has been applied in many fields such as sensitive information protection and data transmission security. At present, related technologies will generate files in the process of hiding data, and the files are easily detected by detection tools, resulting in the problem of low reliability of data hiding.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a data hiding method and device, a data processing method and device, and an electronic device to at least solve the technical problem in the related art that files are generated in the process of hiding data, and the files are easily detected by detection tools, resulting in low data hiding reliability.

[0005] According to one aspect of an embodiment of the present invention, there is provided a data hiding method, comprising: obtaining data to be hidden, and performing data processing on the data to be hidden to obtain target data, wherein the target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on an inverse processing method of the data processing; naming a target folder in a target storage area based on the target data, wherein the naming of the target folder is used to enable the data to be hidden to bypass file detection.

[0006] Furthermore, the data hiding method also includes: dividing the target data according to the data length of the target data and the name length threshold of the target folder to obtain a data segment set; when there are multiple data segments in the data segment set, updating the data segments in the data segment set based on the sequence of each data segment in the target data to obtain an updated data segment set; and naming the target folder in the target storage area based on the updated data segment set.

[0007] Furthermore, the data hiding method also includes: when the data length of the data segment in the data segment set is greater than the name length threshold, determining the threshold of the number of target folders in the folder combination to be created in the target storage area to obtain a first number; determining the number of folder combinations to be created based on the number of data segments in the updated data segment set to obtain a second number; creating folder combinations in the target storage area according to the first number and the second number, and naming the target folders in different folder combinations based on different data segments in the updated data segment set.

[0008] Furthermore, in the case where the data length of the target data is greater than the name length threshold, the data hiding method also includes: calculating the product between the first number and the name length threshold to obtain a target value, wherein the first number is the threshold value of the number of target folders in the folder combination to be created in the target storage area; obtaining the first data length, and calculating the difference between the target value and the first data length to obtain a second length, wherein the first data length is determined at least according to a length threshold of a character string corresponding to the sequence of the data fragment, and the character string is used to fill in the data fragment during the process of updating the data fragment; determining the second length as a reference length of the data fragment to be divided, and dividing the target data according to the reference length and the data length to obtain a set of data fragments.

[0009] Furthermore, the data hiding method also includes: when the first number is greater than 1, for each data fragment of the updated data fragment set, dividing the data fragment according to the first number to obtain a data sub-segment set corresponding to the data fragment; naming different target folders in a group of folder combinations to be named according to different data sub-segments in the data sub-segment set.

[0010] Furthermore, the data hiding method also includes: in the case where there is a nested relationship between the target folders in the folder combination, determining the folder order of each target folder according to the folder depth of each target folder in the folder combination to be named; for each data sub-segment in the data sub-segment set, determining from the folder combination to be named a target folder whose folder order is the same as the order of the data sub-segment in the data segment, and obtaining the target folder associated with the data sub-segment; and naming the target folder associated with the data sub-segment according to the data sub-segment.

[0011] According to another aspect of an embodiment of the present invention, a data processing method is also provided, including: obtaining a target folder in a target storage area; determining target data based on the name of the target folder, wherein the target data is obtained by performing data processing on data to be hidden, and the target data is different from the data to be hidden; and restoring the target data based on an inverse processing method of the data processing to obtain the hidden data.

[0012] Furthermore, the data processing method also includes: in the case where there are multiple target folders, for each target folder, obtaining data from the name of the target folder to obtain data fragments; determining the sequence of at least some of the data fragments based on the data contents of the data fragments corresponding to the multiple target folders; sorting the target data contents in the data fragments corresponding to the multiple target folders based on the sequence of at least some of the data fragments, and splicing the sorted target data contents to obtain the target data.

[0013] According to another aspect of an embodiment of the present invention, a data hiding device is also provided, including: a first acquisition module, used to acquire data to be hidden, and perform data processing on the data to be hidden to obtain target data, wherein the target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on an inverse processing method of the data processing; a first processing module, used to name a target folder in a target storage area based on the target data, wherein the naming of the target folder is used to allow the data to be hidden to bypass file detection.

[0014] According to another aspect of an embodiment of the present invention, a data processing device is also provided, including: a second acquisition module, used to acquire a target folder in a target storage area; a determination module, used to determine target data based on the name of the target folder, wherein the target data is obtained by performing data processing on the data to be hidden, and the target data is different from the data to be hidden; and a second processing module, used to restore the target data based on an inverse processing method of the data processing to obtain the hidden data.

[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above data hiding method when it is run.

[0016] According to another aspect of an embodiment of the present invention, an electronic device is also provided, which includes one or more processors; a memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the above-mentioned data hiding method or the above-mentioned data processing method when running.

[0017] In the embodiment of the present invention, a method of hiding data based on folder naming is adopted, by obtaining the data to be hidden and performing data processing on the data to be hidden to obtain the target data, and then naming the target folder in the target storage area based on the target data, wherein the naming of the target folder is used to make the data to be hidden bypass file detection. The target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on the inverse processing method of the data processing.

[0018] In the above process, by processing the data to be hidden to obtain the target data, the data content of the data to be hidden is effectively protected, which can prevent it from being improperly accessed and interpreted, and improve the security of the data to be hidden. By naming the target folder in the target storage area based on the target data, it is realized to hide the data using the folder name, that is, to hide the data using the system file directory structure without generating any actual files, so that on the one hand, it can effectively avoid the recognition of traditional file detection tools and improve the reliability of data hiding. On the other hand, it avoids the use of complex encryption algorithms and processing logic, which can effectively reduce application and maintenance costs.

[0019] It can be seen that the solution provided by the present application achieves the purpose of hiding data based on folder naming, thereby realizing the technical effect of improving the reliability of data hiding, and further solving the technical problem in the related technology that files are generated in the process of hiding data, and the files are easily detected by detection tools, resulting in low data hiding reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0021] Figure 1 This is a process of an optional data hiding method according to an embodiment of the present invention. Figure 1 ;

[0022] Figure 2 is a schematic diagram of an optional updated data segment set according to an embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of an optional target folder according to an embodiment of the present invention;

[0024] Figure 4 is a schematic diagram of an optional folder combination according to an embodiment of the present invention;

[0025] Figure 5 This is a process of an optional data hiding method according to an embodiment of the present invention. Figure 2 ;

[0026] Figure 6 is a schematic diagram of an optional data processing method according to an embodiment of the present invention;

[0027] Figure 7 is a schematic diagram of an optional data hiding device according to an embodiment of the present invention;

[0028] Figure 8 is a schematic diagram of an optional data processing device according to an embodiment of the present invention;

[0029] Fig. 9 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] 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. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0033] Example 1

[0034] According to an embodiment of the present invention, an embodiment of a data hiding method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0035] Figure 1 This is a process of an optional data hiding method according to an embodiment of the present invention. Figure 1 ,like Figure 1 As shown, the method comprises the following steps:

[0036] Step S101, obtaining data to be hidden, and performing data processing on the data to be hidden to obtain target data, wherein the target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on an inverse processing method of the data processing.

[0037] Optionally, electronic devices, application systems, servers and other devices may be used as the execution subject of the present application. In this embodiment, a data processing system is used as the execution subject to execute the above-mentioned data hiding method.

[0038] Optionally, the data hiding method in this embodiment can be applied to various scenarios such as sensitive information protection, data transmission security, data leakage prevention, information hiding, etc. For example, in the sensitive information protection scenario, the data hiding method can be used to protect sensitive files within the enterprise, such as financial statements, R&D data, etc., to prevent unauthorized personnel from obtaining them, and individual users can use this method to protect their own private data, such as personal documents, photos, communication records, etc., to prevent others from easily obtaining them; in the data transmission security scenario, the data hiding method can be used to hide confidential files to prevent them from being intercepted or tampered with during transmission, thereby improving the security of data transmission, and can also be used to hide sensitive data in network communications to make them difficult to detect and intercept. In the data leakage prevention scenario, the data hiding method can be used in an enterprise environment to prevent internal employees from leaking sensitive data through traditional means, and can also be used to prevent malware from detecting sensitive data by scanning the file system, thereby improving data security. In the information hiding scenario, the data hiding method can be used to hide data fingerprints during data transmission to prevent them from being tracked and identified, and can also be used to conceal communication content to prevent them from being detected and intercepted by a third party.

[0039] Optionally, the type of the data to be hidden may be pictures, text, audio, video, etc., wherein the pictures, audio, and video may be in binary form. The content of the data to be hidden may vary according to different actual application requirements. For example, in the aforementioned sensitive information protection scenario, the data content may be a financial statement, or a personal document, photo, etc. Therefore, in this embodiment, the content of the data to be hidden is not specifically limited.

[0040] Optionally, the data to be hidden can be specified by the user, or it can be automatically identified by the data processing system according to the data content. After obtaining the data to be hidden, the data processing system can perform data processing on the data to be hidden to obtain the target data. Optionally, the data processing includes at least one of the following: data encoding, data encryption, data noise addition, and hash processing. For example, the data processing system can encode the data to be hidden into an ASCII byte stream, thereby determining the encoded ASCII byte stream as the target data. For another example, the data processing system can encode the data to be hidden into an ASCII byte stream and then encrypt the encoded ASCII byte stream to obtain the target data. By encoding the data to be hidden into an ASCII byte stream, the data to be hidden can be free from the restriction that special characters are not allowed in the folder storage path. For another example, the image content to be hidden is converted into a numerical fingerprint (i.e., a hash value) using an image hash algorithm as the target data.

[0041] In some examples, multiple data processing methods may be used to sequentially process the data to be hidden to obtain target data, for example, firstly add noise to the hidden data, and then encrypt the noised data to be hidden. Of course, a single data processing method may also be used to perform multiple data processing on the hidden data, for example, after encrypting the hidden data once, the encrypted data to be hidden is encrypted again to obtain target data, and the encryption algorithms used in different times may be the same or different.

[0042] Optionally, the data processing system can restore the data to be hidden according to the target data based on the inverse processing method of data processing. For example, for the first case of the above example, that is, the target data is in the form of ASCII byte stream, the data processing system can decode the target data to obtain the data to be hidden.

[0043] It should be noted that in the process of processing hidden data to obtain target data, the data processing system can embed more encryption algorithms or data processing methods other than data encoding, data encryption, and data noising to process the hidden data according to different actual application requirements to improve data security.

[0044] Step S102, naming a target folder in a target storage area based on the target data, wherein the naming of the target folder is used to enable the data to be hidden to bypass file detection.

[0045] For example, the naming of the target folder can make the data to be hidden bypass the recognition of the file detection tool. That is to say, by naming the target folder with the target data converted from the data to be hidden, the data to be hidden can bypass the recognition of the file detection tool, thereby achieving the hiding of the hidden data.

[0046] Optionally, the above-mentioned target storage area can be a database, a cloud server, an electronic device, etc., and can also be divided into finer granularity according to actual needs. For example, a storage area under a storage path in the cloud server is set as the target storage area.

[0047] Optionally, the target folder may contain files or may not contain files. And in the case where the target folder contains files, the method provided in the present application does not involve processing the files in the target folder.

[0048] Here, the target folder in the target storage area may be temporarily created, for example, after the data to be hidden is processed to obtain the target data, a folder is created in the target storage area.

[0049] Optionally, the data processing system may create at least one target folder in the target storage area and name the target folder based on the target data, that is, the name of each target folder is set to be the same as at least part of the data fragments in the target data. Since the file detection tool only detects files but not folders, by recording the target data in the name of the target folder, the recognition of the file detection tool can be bypassed, thereby achieving the hiding of the hidden data.

[0050] In some embodiments, if the data length of the target data is short (for example, its data length is less than or equal to a preset first length threshold), the data to be hidden can be hidden only through a single target folder. In this case, the name of the target folder includes all the data content of the target data, for example, the name of the target folder is the same as the data content of the target data. For another example, the name of the target folder is obtained by concatenating the data content of the target data with the preset content.

[0051] In some embodiments, if the data length of the target data is long (for example, its data length is greater than or equal to a preset second length threshold), the data to be hidden can be hidden through multiple target folders. In this case, the name of each target folder includes a partial data fragment in the target data. The complete data content of the target data can be obtained by combining the data in the names of multiple target folders.

[0052] For example, the target data is divided into N data segments, and the nth data segment can be used as the name of the nth folder, where n is an integer greater than or equal to 1 and less than or equal to N.

[0053] For another example, the target data is divided into N data segments, and the content obtained by splicing the nth data segment and the preset content can be used as the name of the nth folder. Here, the naming method of forming the names of different folders is the same, for example, the nth folder is named by splicing the nth data segment before the preset content to obtain the folder name, and here, the preset contents forming the names of different folders can be the same or different.

[0054] In some examples, the data to be hidden is hidden by naming multiple target folders, and the name lengths of the multiple target folders may be the same or different.

[0055] Optionally, when there are multiple target folders, the multiple target folders can be in the same file directory, or they can be distributed in multiple file directories. If the multiple target folders are in multiple file directories, the multiple target folders can be nested or independent of each other.

[0056] In some examples, in the above step S102, the target data may be divided and processed to obtain M data segments, the sequence of the mth data segment in the target data and the content of the mth data segment are spliced ​​to obtain the mth spliced ​​content, and the mth spliced ​​content is used as the name of the newly created mth folder. Here, the sequence of the mth data segment in the target data represents the position or order occupied by the mth data segment in the target data (i.e., the mth).

[0057] In some examples, in the above step S102, the target data may be divided and processed to obtain M data segments, and the order of the mth data segment in the target data and the content of the mth data segment may be spliced ​​to obtain the mth spliced ​​content; when the mth spliced ​​content is greater than the folder name length threshold, the mth spliced ​​content may be divided into n content segments, and the first content segment of the n content segments may be used as the name of the mth folder, and the i-th content segment of the n content segments may be used as the name of the i-th folder nested in the m-th folder. Here, m and n are both integers greater than or equal to 1, and i is an integer greater than 1.

[0058] In some embodiments, the data processing system may create at least one folder combination, the folder combination includes a target folder, and for each folder combination, the target folders in the folder combination are nested with each other, that is, one folder contains another one or more folders, and these internal folders may continue to contain other folders, forming a multi-level nested structure. The data processing system may name the target folder in a single folder combination based on at least part of the data fragments in the target data, so that at least part of the data fragments in the target data can be constructed later according to the name of the target folder in the single folder combination, and then the target data can be determined according to each folder combination.

[0059] For example, the nested relationship of the folder combination is "Folder 1\Folder 2\Folder 3\Folder 4". If the folder separator is deleted, the names of the folders will be combined into a string, such as: "Folder 1 Folder 2..." Assuming that the file directory structure of the bottom-level target folder in the aforementioned folder combination is "C:\Users\Public\test\DownloadSDK\mal\ware\test", the folder separator can be deleted to obtain the string "CUsersPublictestDownloadSDKmalwaretest", and at least part of the data fragments in the target data can be determined based on this string. For example, in the aforementioned string, the fields of the upper file directory of the top-level target folder in the folder combination are removed to obtain "DownloadSDKmalwaretest", thereby determining "DownloadSDKmalwaretest" as at least part of the data fragments in the target data. In this way, hiding data using folder names, that is, hiding data using the system file directory structure, is achieved.

[0060] Based on the scheme defined in the above steps S101 to S102, it can be known that in the embodiment of the present invention, a method of hiding data based on folder naming is adopted, by obtaining the data to be hidden and performing data processing on the data to be hidden to obtain the target data, and then naming the target folder in the target storage area based on the target data, wherein the naming of the target folder is used to make the data to be hidden bypass file detection. Among them, the target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on the inverse processing method of the data processing.

[0061] It is easy to notice that in the above process, by processing the data to be hidden to obtain the target data, the data content of the data to be hidden is effectively protected, which can prevent it from being improperly accessed and interpreted, and improve the security of the data to be hidden. By naming the target folder in the target storage area based on the target data, it is realized to hide the data using the folder name, that is, to hide the data using the system file directory structure without generating any actual files, so that on the one hand, it can effectively avoid the identification of traditional file detection tools and improve the reliability of data hiding. On the other hand, it avoids the use of complex encryption algorithms and processing logic, which can effectively reduce application and maintenance costs.

[0062] It can be seen that the solution provided by the present application achieves the purpose of hiding data based on folder naming, thereby realizing the technical effect of improving the reliability of data hiding, and further solving the technical problem in the related technology that files are generated in the process of hiding data, and the files are easily detected by detection tools, resulting in low data hiding reliability.

[0063] In an optional embodiment, in the process of naming the target folder in the target storage area based on the target data, the data processing system may divide the target data according to the data length of the target data and the name length threshold of the target folder to obtain a data segment set, and then, when there are multiple data segments in the data segment set, the data segments in the data segment set are updated based on the sequence of each data segment in the target data to obtain an updated data segment set, and the target folder in the target storage area is named based on the updated data segment set.

[0064] Optionally, the data processing system may first determine the reference length of a single data segment according to the name length threshold of the target folder, and then divide the target data according to the ratio between the data length of the target data and the reference length of the single data segment to obtain a data segment set. For example, the ratio of the data length of the target data divided by the reference length of the single data segment is 4.5, which is rounded up to 5, and the target data is divided according to the value so that the number of data segments in the obtained data segment set is 5.

[0065] In some embodiments, the reference length of a single data segment can be set to be less than or equal to a name length threshold so that the single data segment is recorded through a single target folder, or the reference length of a single data segment can be set to be greater than a name length threshold so that the single data segment is recorded through a single folder combination, wherein the single folder combination includes a target folder, the number of folder combinations is determined according to the number of data segments, and the number of target folders in the folder combination is determined according to a preset number threshold. In some embodiments, the above-mentioned behavior of recording data using a target folder or a folder combination can be understood as the above-mentioned naming of the target folder or folder combination record based on the data.

[0066] In order to improve the reliability of hidden data, after dividing the target data into data segments, the data processing system may perform secondary processing on the data segments, such as converting the format of the data segments, filling new data in the data segments, etc., which will cause the length of the data segments to become longer. Therefore, the name length threshold of the target folder and the reference length of a single data segment may not be an integer multiple.

[0067] For example, in the case of recording a single data segment through a single target folder, if the data length of the target data is less than or equal to the name length threshold, it is determined that there is one data segment in the data segment set to be generated, and the data segment does not need to be recorded in order. Therefore, the reference length can be determined to be the same as the name length threshold. If the data length of the target data is greater than the name length threshold, it is determined that there are multiple data segments in the data segment set to be generated, and the data segments need to be recorded in order. Therefore, the difference between the name length threshold and the first data length can be calculated to obtain the first length, thereby determining the first length as the reference length. The first data length is determined at least according to the length threshold of the character string corresponding to the sequence of the data segment, and the character string is used to fill in the data segment in the process of updating the data segment to achieve the update of the data segment. The aforementioned process of updating the data segment refers to the process of updating the data segment in the data segment set based on the sequence of the data segment in the target data.

[0068] For another example, in the case of recording a single data segment through a folder combination, the reference length of the data segment can be determined based on the number threshold of the target folders in the folder combination and the name length threshold of the target folder. For example, the number threshold of the target folders in the folder combination to be created in the target storage area can be determined first to obtain a first number, and the product of the name length threshold and the first number can be calculated to obtain a target value. If the data length of the target data is less than or equal to the target value, it is determined that there is one data segment in the data segment set to be generated, and the data segment does not need to be recorded in order. Therefore, the reference length can be determined to be the same as the target value. If the data length of the target data is greater than the target value, it is determined that there are multiple data segments in the data segment set to be generated, and the data segments need to be recorded in order. Therefore, the difference between the target value and the first data length can be calculated to obtain a second length, and the second length is determined as the reference length.

[0069] In some embodiments, the data processing system may first divide the target data to obtain an initial data segment set, and then use the initial data segment set as the data segment set.

[0070] In some embodiments, the data processing system may also first divide the target data to obtain an initial data segment set, and then convert the data segments in the initial data segment set into a GUID (Globally Unique Identifier) ​​format to obtain a data segment set, wherein one data segment in the data segment set includes at least one GUID. In the aforementioned process, if the length of the data segment is insufficient, 0x00 may be directly added. For example, if a data segment (ASCII byte stream, hexadecimal form) is "D3ADB33F", the GUID format of the data segment is "D3ADB33F-0000-0000-0000-000000000000". In this way, the concealment and complexity of the data to be hidden can be further increased. In this case, the first data length can be determined based on the length of the string corresponding to the order of the data segment and the second data length. The second data length is a preset value. The second data length can be understood as the data length of redundant data generated after format conversion of a single data segment in the initial data segment set. Redundant data refers to data other than the data segment itself. For example, the four hyphens (which can also be understood as dashes) in the above-mentioned GUID format are redundant data. Optionally, the data processing system can first calculate the predicted number of GUIDs in the data segment to be generated based on the second length and the target length of the GUID, wherein the target length of the GUID refers to the number of GUIDs after removing hyphens, that is, 32. For example, if the second length is 50, the predicted number of GUIDs is 2. Afterwards, the data processing system can calculate the product between the second data length and the predicted number to obtain the third data length, and then determine the sum of the third data length and the length of the string corresponding to the order of the data segment as the first data length.

[0071] In some embodiments, in order to enable the user to accurately restore the hidden data based on the target data when the user expects to obtain the hidden data, after obtaining the data segment set, if there are multiple data segments in the data segment set, the data processing system can update the data segments in the data segment set based on the order of each data segment in the target data to obtain an updated data segment set.

[0072] For example, for a data segment in a data segment set, a character string corresponding to the sequence of the data segment is generated, and the character string is filled into a preset position in the data segment in the data segment set to complete the update of the data segment in the data segment set and obtain an updated data segment set.

[0073] Optionally, the character string corresponding to the sequence of the data fragment can be randomly generated by the data processing system, for example, the data processing system randomly generates 6-bit ASCII and records the correspondence between the 6-bit ASCII and the sequence of the data fragment; the character string corresponding to the sequence of the data fragment can also be a regular sequence calculated by the data processing system based on the RC4 algorithm; the character string corresponding to the sequence of the data fragment can also be the same as the sequence of the data fragment, for example, 1, 2, 3... etc., or it can be a character string calculated by the data processing system based on other regularity algorithms.

[0074] Optionally, the preset position may be before the first data in the data segment, or after the last data in the data segment, or between the Nth data and the N+1th data in the data segment.

[0075] In some embodiments, the data processing system may update all data fragments in a data fragment set based on the order of each data fragment in the target data to obtain an updated data fragment set; the data processing system may also update some data fragments in a data fragment set based on the order of each data fragment in the target data to obtain an updated data fragment set, for example, except for the first data fragment (or the last data fragment), the remaining data fragments are all updated.

[0076] For example, Figure 2 : is a schematic diagram of an optional updated data segment set according to an embodiment of the present invention. It is assumed that the data processing system divides the target data, and then performs GUID format conversion to obtain a data segment set, and then updates all data segments in the data segment set based on the sequence of each data segment in the target data. In the updating process, a 6-bit ASCII is randomly generated and filled before the first data of the data segment, and the following data can be obtained. Figure 2 The updated data segment set shown in . Figure 2 As shown, each line represents a data fragment, each data fragment has two GUIDs, separated by a separator "\", and the first 6 characters of each line are random 6-bit ASCII. Although they appear to be random, they are actually indexes, so that when the user obtains the hidden data, they can determine the order of each data fragment based on these ASCII, and then restore the target data. Optionally, in this case, the aforementioned first data length can be 4*2+6=14, the aforementioned 4 refers to the data length occupied by the 4 extra hyphens in the GUID format, 2 refers to the number of GUIDs in the data fragment, and 6 refers to the number of ASCII bits.

[0077] In some embodiments, after obtaining a data segment set, if there is only one data segment in the data segment set, the data segment set may not be updated, and the target folder in the target storage area may be named directly based on the data segment set. For example, if the data length of the data segment is less than or equal to the name length threshold, only a single target folder is required, and there is no need to determine the order between the target folders; if the data length of the data segment is greater than the name length threshold, the data segment may be recorded through a single folder combination. For example, in the case where the target folders in a single folder combination are nested, the data processing system may record the data sub-segments in the data segment based on the mutual nesting of the target folders in the folder combination. For example, the first data sub-segment in the data segment is recorded through the top-level target folder in the folder combination, and the last data sub-segment in the data segment is recorded through the bottom-level target folder in the folder combination, thereby eliminating the need for updating the data segment set. It is necessary to mark the data segments or data sub-segments in order; for example, when the target folders in a single folder combination are not nested with each other (for example, one target folder in the folder combination nests the remaining target folders in the folder combination, and the remaining target folders have the same hierarchy), the data processing system can record the data sub-segments in the data segments based on the creation time sequence of the target folders in the folder combination, for example, recording the first data sub-segment in the data segment through the target folder created first in the folder combination, and recording the last data sub-segment in the data segment through the target folder created last in the folder combination, thereby eliminating the need to mark the data segments or data sub-segments in order.

[0078] In some embodiments, when it is determined that there is only one data segment in the set of data segments to be generated, the data processing system may also update the data segment based on the sequence of the data segment in the target data.

[0079] In some embodiments, after obtaining the updated data segment set, the data processing system may name the target folder in the target storage area based on the updated data segment set. For example, a single data segment in the data segment set is used to name a single target folder in the target storage area, and another example is to use a single data segment in the data segment set to name a single folder combination in the target storage area, and the folder combination includes the target folder.

[0080] It should be noted that by dividing the target data, the target data is recorded in a dispersed manner, thereby improving the reliability of data hiding. By updating the data fragments according to the order of the data fragments when the target data is divided into multiple data fragments, an updated data fragment set is obtained, and the order information of the data fragments is supplemented in the data fragments. By naming the target folder in the target storage area based on the updated data fragment set, when the user expects to obtain the hidden data, the data fragments can be sorted and combined according to the order information in the folder name, thereby effectively restoring the target data, and then facilitating the determination of the hidden data, thereby further improving the reliability of data hiding.

[0081] In an optional embodiment, when the data length of a data segment in a data segment set is greater than a name length threshold, in the process of naming the target folders in the target storage area based on the updated data segment set, the data processing system can determine a threshold value for the number of target folders in the folder combination to be created in the target storage area to obtain a first number, and then determine the number of folder combinations to be created based on the number of data segments in the updated data segment set to obtain a second number, thereby creating a folder combination in the target storage area according to the first number and the second number, and naming the target folders in different folder combinations based on different data segments in the updated data segment set.

[0082] In some embodiments, the target folders in the folder combination to be created are nested with each other, and the data processing system can obtain the depth threshold of the folder nesting preset by the user, so as to determine the depth threshold of the folder nesting as the threshold of the number of target folders in the folder combination to be created in the target storage area, and obtain the first number. For example, if the depth threshold of the folder nesting is 3, it is determined that at most 3 (i.e., the first number) folders are nested with each other, such as "folder 1 / folder 2 / folder 3", and if the depth threshold of the folder nesting is 5, it is determined that at most 5 (i.e., the first number) folders are nested with each other, such as "folder 1 / folder 2 / folder 3 / folder 4 / folder 5".

[0083] In some embodiments, the data processing system may determine the number of data segments in the updated data segment set as the number of folder combinations to be created, and obtain a second number, that is, the number of data segments in the updated data segment set is the same as the number of folder combinations to be created.

[0084] After determining the first quantity and the second quantity, the data processing system can create folder combinations in the target storage area according to the first quantity and the second quantity, that is, create folder combinations of the second number, each folder combination includes at most the first number of target folders, and name the target folders in different folder combinations based on different data segments in the updated data segment set, that is, use a single data segment in the updated data segment set to name the target folder in a single folder combination.

[0085] It should be noted that, since the maximum file path length of the system is limited, by creating a folder combination according to the first number, it is possible to effectively avoid the situation where the target folders in the folder combination are nested, resulting in the file path exceeding the system limit, thereby improving the reliability of data hiding. In addition, by creating a folder combination according to the second number, redundant creation of folder combinations is avoided, that is, the occupation of system resources is reduced.

[0086] In an optional embodiment, when the data length of the target data is greater than the name length threshold, in the process of dividing the target data according to the data length of the target data and the name length threshold of the target folder to obtain a set of data segments, the data processing system can calculate the product between the first number and the name length threshold to obtain a target value, wherein the first number is the number threshold of the target folders in the folder combination to be created in the target storage area, and then obtain the first data length, and calculate the difference between the target value and the first data length to obtain the second length, thereby determining the second length as the reference length of the data segment to be divided, and dividing the target data according to the reference length and the data length to obtain a set of data segments. The first data length is determined at least according to the length threshold of the string corresponding to the sequence of the data segment, and the string is used to fill the data segment in the process of updating the data segment.

[0087] Optionally, in the case of recording a single data segment through a folder combination, the data processing system may first determine the maximum length of the data that can be recorded in the single folder combination, that is, calculate the product between the first number and the name length threshold to obtain a target value, and then remove the length of the character string used to record the sequence corresponding to the data segment from the maximum length to obtain the maximum length of the data in the target data that can be recorded in the folder combination, that is, calculate the difference between the target value and the first data length to obtain a second length, thereby determining the second length as the reference length of the data segment to be divided, and dividing the target data according to the reference length and the data length to obtain a set of data segments. For example, the target data is divided according to the ratio between the data length and the reference length to obtain a set of data segments.

[0088] For example, assuming that the target data length is 100, a single folder combination includes 5 target folders, the name length threshold of each target folder is 10, and assuming that the first data length is 6, the target value can be determined to be 5*10=50, and the reference length of the data segment is 50-6=44. Therefore, the target data is divided according to the reference length and the data length, and a data segment set including 3 data segments can be obtained.

[0089] It should be noted that, through the above process, when calculating the reference length of a single data fragment, the maximum length of data that can be recorded by a single folder combination and the character string corresponding to the sequence of the data fragment are taken into consideration, thereby improving the accuracy of determining the reference length of the data fragment, and further improving the effectiveness of recording data fragments using folder names, that is, improving the reliability of data hiding.

[0090] In an optional embodiment, in the process of naming target folders in different folder combinations based on different data segments in an updated data segment set, the data processing system may, when the first number is greater than 1, divide each data segment in the updated data segment set according to the first number to obtain a data sub-segment set corresponding to the data segment, thereby naming different target folders in a group of folder combinations to be named according to different data sub-segments in the data sub-segment set.

[0091] Optionally, when the first number is equal to 1, the number of target folders in the folder combination is 1. Therefore, it is essentially equivalent to using a single target folder to record a single data segment. In this case, there is no need to split the data segments, and the target folders in different folder combinations can be named directly based on the different data segments in the updated data segment set.

[0092] Optionally, when the first number is greater than 1, the number of target folders in the folder combination is multiple, and therefore, the data segments in the updated data segment set need to be divided to obtain a data sub-segment set, so as to record the data sub-segments through the target folders, thereby achieving the effect of recording the target folders through the folder combination. In other words, when the first number is greater than 1, the data segments are divided into data sub-segment sets, and the target folders in the folder combination are named based on the data sub-segments in the data sub-segment set corresponding to the data segments.

[0093] Optionally, the number of data sub-segments in the data sub-segment set corresponding to the data segment is equal to the first number, and the data length of any data sub-segment is less than or equal to the name length threshold of the target folder. In some embodiments, the data processing system can use the first number to evenly divide the data segment to obtain the data sub-segment set corresponding to the data segment.

[0094] After obtaining the data sub-segment set corresponding to the data segment, the data processing system can name different target folders in a group of folder combinations to be named according to different data sub-segments in the data sub-segment set.

[0095] For example, Figure 3 is a schematic diagram of an optional target folder according to an embodiment of the present invention. Assuming that the name length threshold of the target folder is the length of a GUID, and the data segment is composed of a GUID, each data sub-segment in the obtained data sub-segment set is a GUID, and if Figure 3 As shown, the name of each target folder is a GUID.

[0096] In some embodiments, the folder combination to be named refers to a folder combination that has not been named based on a data segment or a data sub-segment.

[0097] It should be noted that by dividing the data segments according to the first quantity, the obtained data sub-segments can effectively name the target folder, thereby improving the reliability of data hiding.

[0098] In an optional embodiment, when there is a nested relationship between target folders in a folder combination, in the process of naming different target folders in a group of folder combinations to be named according to different data sub-segments in a data sub-segment set, the data processing system can determine the folder order of each target folder according to the folder depth of each target folder in the folder combination to be named, and for each data sub-segment in the data sub-segment set, determine from the folder combination to be named a target folder whose folder order is the same as the order of the data sub-segment in the data segment, and obtain the target folder associated with the data sub-segment, thereby naming the target folder associated with the data sub-segment according to the data sub-segment.

[0099] In an optional embodiment, when there is a nested relationship between target folders in a folder combination, the target folders in the characterization folder combination are nested in sequence, and there are no target folders in a parallel relationship under the same target folder. The data processing system can determine the folder sequence of each target folder based on the folder depth of each target folder in the folder combination to be named. Optionally, the data processing system can determine the nesting order between the target folders based on the folder depth of each target folder, thereby determining the folder sequence of each target folder based on the nesting order between the target folders. For example, for a group of target folders in a folder combination to be named, the folder sequence from the top-most target folder to the bottom-most target folder is determined from front to back. For another example, for the target folders in the same group of folder combinations, the target folder sequence from the top-most target folder to the bottom-most folder is determined from back to front.

[0100] Afterwards, for each data sub-segment in the data sub-segment set corresponding to a data segment, the data processing system can determine, from the to-be-named folder combination, a target folder whose folder order is the same as the order of the data sub-segment in the data segment, and obtain the target folder associated with the data sub-segment. For example, the target folder whose folder order is 1 is determined as the target folder associated with the data sub-segment whose order is 1.

[0101] For example, Figure 4 is a schematic diagram of an optional folder combination according to an embodiment of the present invention, such as Figure 4 As shown, Figure 4 4 folder combinations are shown in FIG. 4 , each of which includes 5 target folders nested in each other. The name of each target folder is a GUID. Figure 4 The names of the five target folders from top to bottom are sorted and combined in sequence, and then the dashes and the first 6 digits (the ASCII corresponding to the sequence) are removed to obtain the data fragment corresponding to the folder combination.

[0102] It should be noted that, through the above process, the order of the data sub-segments is represented based on the order of the target folder, thereby avoiding the introduction of information related to the order of the data sub-segments in the data sub-segments. On the one hand, this can increase the length of the target data that can be recorded in a single target folder, and on the other hand, it can reduce the occupation of system resources.

[0103] In an optional embodiment, regardless of whether the target folders in the folder combination are nested with each other, in the process of naming different target folders in a group of folder combinations to be named according to different data sub-segments in the data sub-segment set, the data processing system can update the data sub-segments in the data sub-segment set based on the order of the data sub-segments in the data segment to obtain an updated data sub-segment set, and then name different target folders in a group of folder combinations to be named according to different data sub-segments in the updated data sub-segment set, so as to improve the randomness of the order of the data sub-segments in the folder combination, thereby further improving the reliability of data hiding. It should be noted that, in this case, the aforementioned first data length can be determined according to the product between the length threshold of the character string corresponding to the order of the data segment and the first quantity.

[0104] Optional, Figure 5 This is a process of an optional data hiding method according to an embodiment of the present invention. Figure 2 ,according to Figure 5 An optional application process of this embodiment is described. Figure 5 As shown, the data processing system first obtains the data to be hidden (i.e. Figure 5), and then convert the data to be hidden into an ASCII byte stream (i.e., target data). Then, according to the preset threshold value N (e.g., 5) of the number of target folders in the folder combination, the threshold value of the name length of the target folder, and the ASCII byte stream length (i.e., the data length of the target data), the target data is divided into M "byte stream strings", and each byte stream string is constructed into a GUID format to obtain a data segment set, where a GUID-formatted byte stream string in the data segment set is equivalent to a data segment. Then, for each GUID-formatted byte stream string in the data segment set, the data processing system randomly generates 6-bit ASCII (i.e., generates an index), and fills the 6-bit ASCII into the front position of the byte stream string to obtain an updated data segment set, and at the same time, an array is used in the algorithm to record the correspondence between the 6-bit ASCII and the sequence of the byte stream string in the target data. Then, the data processing system creates a folder combination, and uses the method of naming the target folders in the folder combination based on the updated data segment set to hide the aforementioned data to be hidden. In some embodiments, each GUID can accommodate 32 characters of data, occupying a total of 36 characters (including hyphens). When the number threshold of the target folders in the folder combination is 5 and the name length threshold is 36, there are at most 5 32-character GUIDs in the file directory (a total of 160 characters of data), plus 20 hyphens and 4 slashes, a total of 184 characters, which means that there is always a 76-character buffer in the system to avoid the file path of the target folder reaching the file directory limit of 260 characters. The number threshold of the target folders in the folder combination can be dynamically adjusted according to actual needs. In addition, since in this embodiment, the data to be hidden is hidden by the name of the target folder, no file hiding is effectively achieved, and the attribute display of the folder is sizeless, occupying 0 bytes.

[0105] like Figure 5 As shown, when the hidden data needs to be restored, the data processing system can first restore the target data according to the name of the target folder, and then restore the hidden data according to the target data.

[0106] It can be seen that the solution provided by the present application achieves the purpose of hiding data based on folder naming, thereby realizing the technical effect of improving the reliability of data hiding, and further solving the technical problem in the related technology that files are generated in the process of hiding data, and the files are easily detected by detection tools, resulting in low data hiding reliability.

[0107] Example 2

[0108] Based on the data hiding method provided in the aforementioned embodiment, according to an embodiment of the present invention, an embodiment of a data processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0109] Figure 6 is a schematic diagram of an optional data processing method according to an embodiment of the present invention, such as Figure 6 As shown, the method comprises the following steps:

[0110] Step S601, obtaining a target folder in a target storage area.

[0111] Optionally, electronic devices, application systems, servers and other devices may be used as the execution subject of the present application. In this embodiment, a data processing system is used as the execution subject to execute the above-mentioned data processing method.

[0112] The above-mentioned target storage area can be a database, a cloud server, an electronic device, etc., and can also be divided into finer granularity according to actual needs. For example, a storage area under a storage path in the cloud server is set as the target storage area.

[0113] Step S602, determining target data according to the name of the target folder, wherein the target data is obtained by processing the data to be hidden, and the target data is different from the data to be hidden.

[0114] In some embodiments, for each target folder, the data processing system can obtain data from the name of the target folder to obtain a data segment. Optionally, in the case of one target folder, if the name of the target folder contains a character string corresponding to the rank of the data segment, the data processing system can remove the character string corresponding to the rank of the data segment from the data segment corresponding to the target folder, thereby determining the obtained data content as the target data; if the name of the target folder does not contain a character string corresponding to the rank of the data segment, the data processing system can directly determine the data segment in the name of the target folder as the target data. The data processing system can determine whether the name of the target folder contains a character string corresponding to the rank of the data segment according to the method of hiding the data to be hidden.

[0115] Optionally, in the case where there are multiple target folders, for the target folders, the data processing system can determine the order of at least some of the data fragments based on the data contents of the data fragments corresponding to the multiple target folders, thereby sorting the target data contents in the data fragments corresponding to the multiple target folders based on the order of at least some of the data fragments, and splicing the sorted target data contents to obtain the target data.

[0116] Step S603, restore the target data based on the inverse processing method of the data processing to obtain the hidden data.

[0117] After determining the target data, the data processing system can restore the target data in the memory based on the inverse processing method of the above data processing to obtain the hidden data.

[0118] Based on the scheme defined in the above steps S601 to S603, it can be known that in the embodiment of the present invention, by processing the data to be hidden to obtain the target data, the data content of the data to be hidden is effectively protected, and it can be prevented from being improperly accessed and interpreted, thereby improving the security of the data to be hidden. By naming the target folder in the target storage area based on the target data, it is possible to hide the data using the folder name, that is, to hide the data using the system file directory structure without generating any actual files, thereby effectively avoiding the identification of traditional file detection tools and improving the reliability of data hiding, and on the other hand, avoiding the use of complex encryption algorithms and processing logic, which can effectively reduce the implementation and maintenance costs.

[0119] It can be seen that the solution provided by the present application achieves the purpose of hiding data based on folder naming, thereby realizing the technical effect of improving the reliability of data hiding, and further solving the technical problem in the related technology that files are generated in the process of hiding data, and the files are easily detected by detection tools, resulting in low data hiding reliability.

[0120] In an optional embodiment, when there are multiple target folders, in the process of determining the target data based on the name of the target folder, the data processing system can obtain data from the name of the target folder for each target folder to obtain data fragments, and then determine the sequence of at least part of the data fragments based on the data contents of the data fragments corresponding to the multiple target folders, thereby sorting the target data contents in the data fragments corresponding to the multiple target folders based on the sequence of at least part of the data fragments, and splicing the sorted target data contents to obtain the target data.

[0121] Optionally, the data processing system may determine the position information of the character string corresponding to the sequence of the data fragment in the data fragment according to the method of hiding the data, thereby identifying the character string corresponding to the sequence of the data fragment from at least some of the target folders according to the position information and the data contents of the data fragments corresponding to the multiple target folders, and then determine the sequence of at least some of the data fragments according to the character string identified from at least some of the target folders. For example, the sequence of the data fragments other than the last data fragment in the target data is determined, and for another example, the sequence of the data fragments other than the first data fragment in the target data is determined.

[0122] Afterwards, the data processing system may sort the target data contents in the data segments corresponding to the multiple target folders according to the sequence of at least part of the data segments. In this process, for each target folder, the data processing system may, when there is a string corresponding to the sequence of the data segment in the name of the target folder, remove the string corresponding to the sequence of the data segment from the data segment corresponding to the target folder, thereby determining the obtained data content as the target data content. Optionally, when there is no string corresponding to the sequence of the data segment in the name of the target folder, the data processing system may directly determine the data content of the data segment corresponding to the target folder as the target data content. Further, the data processing system may sort the target data contents corresponding to the multiple target folders according to the sequence of at least part of the data segments.

[0123] Furthermore, the data processing system can splice the sorted target data content to obtain the target data.

[0124] It should be noted that, through the above process, the target data contents in the data segments are combined into target data according to the sequence of the data segments, thereby achieving accurate determination of the target data, and further improving the accuracy of restoring the hidden data.

[0125] In an optional embodiment, when the target storage area includes a folder combination, the target folders in the folder combination are nested with each other, the data fragments have corresponding data sub-fragment sets, and the data sub-fragments in the data sub-fragment set are named according to the folder sequence for the target folders in the folder combination, the data processing system can quickly determine the data contents of the data fragments corresponding to multiple target folders based on the file directory structure.

[0126] For example, the data processing system can determine the file directory structure of the bottom-level target folder in the folder combination to obtain the target file directory structure. For example, an optional target file directory structure is "C:\Users\Public\test\DownloadSDK\mal\ware\test", and then remove the target symbol "\" in the target file directory structure, and delete the field of the upper file directory of the top-level target folder in the folder combination from the target file directory structure, thereby obtaining a collection of data fragments corresponding to all target folders in the folder combination.

[0127] Afterwards, the data processing system may sort the target data contents in the set of data fragments corresponding to each group of folder combinations according to the sequence of at least part of the data fragments, and then splice them to obtain the target data.

[0128] It should be noted that by determining the set of data segments corresponding to the folder combination according to the file directory structure, it is avoided to obtain data from the name of the target folder one by one, thereby effectively improving the efficiency of restoring the target data.

[0129] Example 3

[0130] According to an embodiment of the present invention, an embodiment of a data hiding device is provided, wherein: Figure 7 is a schematic diagram of an optional data hiding device according to an embodiment of the present invention. Figure 7 As shown, the device comprises:

[0131] The first acquisition module 701 is used to acquire the data to be hidden, and perform data processing on the data to be hidden to obtain target data, wherein the target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on the inverse processing method of the data processing;

[0132] The first processing module 702 is used to name a target folder in a target storage area based on target data, wherein the naming of the target folder is used to enable the data to be hidden to bypass file detection.

[0133] It should be noted that the above-mentioned first acquisition module 701 and first processing module 702 correspond to steps S101 to S102 in the above-mentioned embodiment. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0134] Optionally, the first processing module 302 also includes: a first processing sub-module, used to divide the target data according to the data length of the target data and the name length threshold of the target folder to obtain a data segment set; an updating sub-module, used to update the data segments in the data segment set based on the sequence of each data segment in the target data when there are multiple data segments in the data segment set to obtain an updated data segment set; a second processing sub-module, used to name the target folder in the target storage area based on the updated data segment set.

[0135] Optionally, the second processing submodule also includes: a first determination unit, used to determine a threshold value of the number of target folders in the folder combination to be created in the target storage area, and obtain a first number; a second determination unit, used to determine the number of folder combinations to be created based on the number of data segments in the updated data segment set, and obtain a second number; a first processing unit, used to create a folder combination in the target storage area according to the first number and the second number, and to name the target folders in different folder combinations based on different data segments in the updated data segment set.

[0136] Optionally, the first processing submodule also includes: a first calculation unit, used to calculate the product of the first quantity and the name length threshold to obtain a target value when the data length of the target data is greater than the name length threshold, wherein the first quantity is the threshold value of the number of target folders in the folder combination to be created in the target storage area; a second calculation unit, used to obtain the first data length, and calculate the difference between the target value and the first data length to obtain a second length, wherein the first data length is determined at least according to a length threshold of a character string corresponding to the sequence of the data segment, and the character string is used to fill the data segment in the process of updating the data segment; a second processing unit, used to divide the target data according to the target value and the data length to obtain a set of data segments.

[0137] Optionally, the first processing unit also includes: a first processing sub-unit, used to, when the first number is greater than 1, divide and process each data fragment of the updated data fragment set according to the first number to obtain a data sub-segment set corresponding to the data fragment; and a second processing sub-unit, used to name different target folders in a group of to-be-named folder combinations according to different data sub-segments in the data sub-segment set.

[0138] Optionally, the second processing sub-unit also includes: a first determination sub-unit, used to determine the folder order of each target folder based on the folder depth of each target folder in the folder combination to be named; a second determination sub-unit, used to determine, for each data sub-segment in the data sub-segment set, a target folder whose folder order is the same as the order of the data sub-segment in the data segment from the folder combination to be named, to obtain the target folder associated with the data sub-segment; and a third processing sub-unit, used to name the target folder associated with the data sub-segment based on the data sub-segment.

[0139] Example 4

[0140] According to an embodiment of the present invention, an embodiment of a data processing device is provided, wherein: Figure 8 is a schematic diagram of an optional data processing device according to an embodiment of the present invention. Figure 8 As shown, the device comprises:

[0141] The second acquisition module 801 is used to acquire a target folder in a target storage area;

[0142] A determination module 802 is used to determine target data according to the name of the target folder, wherein the target data is obtained by processing the data to be hidden, and the target data is different from the data to be hidden;

[0143] The second processing module 803 is used to restore the target data based on the inverse processing method of the data processing to obtain the hidden data.

[0144] It should be noted that the above-mentioned second acquisition module 801, determination module 802 and second processing module 803 correspond to steps S601 to S603 in the above-mentioned embodiment. The examples and application scenarios implemented by the three modules are the same as those of the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiment 2.

[0145] Optionally, the determination module 802 also includes: an acquisition sub-module, for each target folder, obtaining data from the name of the target folder to obtain data fragments; a determination sub-module, for determining the sequence of at least part of the data fragments based on the data content of the data fragments corresponding to the multiple target folders; a third processing sub-module, for sorting the target data content in the data fragments corresponding to the multiple target folders based on the sequence of at least part of the data fragments, and splicing the sorted target data content to obtain the target data.

[0146] Example 5

[0147] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored. The computer program is configured to execute the above data hiding method when it is run.

[0148] Example 6

[0149] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, wherein: Fig. 9 is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as Fig. 9 As shown, the electronic device includes one or more processors; a memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the above-mentioned data hiding method when running.

[0150] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0151] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0152] The embodiments or examples of the present disclosure are not exhaustive, but are only illustrative of some embodiments or examples, and are not intended to be specific limitations on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment or example can be implemented as an independent example, and the steps can be combined arbitrarily. For example, the scheme after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be combined arbitrarily; in addition, the various embodiments or examples can be combined arbitrarily, for example, some or all steps of different embodiments or examples can be combined arbitrarily, and a certain embodiment or example can be combined arbitrarily with the optional methods or optional examples of other embodiments or examples.

[0153] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division processing of the unit can be a logical function division processing. There may be other division processing methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0154] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0155] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0157] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data hiding method, characterized in that: include: Acquire data to be hidden, and perform data processing on the data to be hidden to obtain target data, wherein the target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on an inverse processing method of the data processing; A target folder in a target storage area is named based on the target data, wherein the naming of the target folder is used to enable the data to be hidden to bypass file detection.

2. The method according to claim 1, characterized in that Naming a target folder in a target storage area based on the target data includes: Divide the target data according to the data length of the target data and the name length threshold of the target folder to obtain a data segment set; In the case where there are multiple data segments in the data segment set, updating the data segments in the data segment set based on the sequence of each data segment in the target data to obtain an updated data segment set; The target folder in the target storage area is named based on the updated set of data segments.

3. The method according to claim 2, characterized in that In a case where the data length of the data segment in the data segment set is greater than the name length threshold, naming the target folder in the target storage area based on the updated data segment set includes: Determine a threshold value of the number of target folders in the combination of folders to be created in the target storage area to obtain a first number; Determine the number of folder combinations to be created based on the number of data segments in the updated data segment set to obtain a second number; A folder combination is created in the target storage area according to the first quantity and the second quantity, and target folders in different folder combinations are named based on different data segments in the updated data segment set.

4. The method according to claim 2, characterized in that: In the case where the data length of the target data is greater than the name length threshold, the target data is divided according to the data length of the target data and the name length threshold of the target folder to obtain a set of data segments, including: Calculate the product of a first number and the name length threshold to obtain a target value, wherein the first number is a threshold value of the number of target folders in the folder combination to be created in the target storage area; Acquire a first data length, and calculate a difference between a target value and the first data length to obtain a second length, wherein the first data length is determined at least according to a length threshold of a character string corresponding to the sequence of the data segment, and the character string is used to fill the data segment in the process of updating the data segment; The second length is determined as a reference length of the data segments to be divided, and the target data is divided according to the reference length and the data length to obtain the data segment set.

5. The method according to claim 3, characterized in that: Naming target folders in different folder combinations based on different data segments in the updated data segment set includes: When the first number is greater than 1, for each data segment of the updated data segment set, the data segment is divided according to the first number to obtain a data sub-segment set corresponding to the data segment; Different target folders in a group of folder combinations to be named are named according to different data sub-segments in the data sub-segment set.

6. The method according to claim 5, characterized in that In the case where the target folders in the folder combination have a nested relationship, naming different target folders in a group of folder combinations to be named according to different data sub-segments in the data sub-segment set includes: Determining the folder sequence of each target folder according to the folder depth of each target folder in the combination of folders to be named; For each data sub-segment in the data sub-segment set, determine a target folder whose folder sequence is the same as the sequence of the data sub-segment in the data segment from the combination of folders to be named, and obtain the target folder associated with the data sub-segment; The target folder associated with the data sub-segment is named according to the data sub-segment.

7. A data processing method, characterized in that: include: Get the target folder in the target storage area; Determining target data according to the name of the target folder, wherein the target data is obtained by processing the data to be hidden, and the target data is different from the data to be hidden; The target data is restored based on the inverse processing method of the data processing to obtain the hidden data.

8. The method according to claim 7, characterized in that In the case that there are multiple target folders, determining the target data according to the names of the target folders includes: For each target folder, obtain data from the name of the target folder to obtain a data segment; Determining the order of at least some of the data fragments according to the data contents of the data fragments corresponding to the plurality of target folders; The target data contents in the data segments corresponding to the multiple target folders are sorted according to the order of the at least part of the data segments, and the sorted target data contents are spliced ​​to obtain the target data.

9. A data hiding device, characterized in that: include: A first acquisition module is used to acquire data to be hidden, and perform data processing on the data to be hidden to obtain target data, wherein the target data is different from the data to be hidden, and the target data is used to restore the data to be hidden based on an inverse processing method of the data processing; The first processing module is used to name a target folder in a target storage area based on the target data, wherein the naming of the target folder is used to enable the data to be hidden to bypass file detection.

10. A data processing device, characterized in that: include: A second acquisition module is used to acquire a target folder in a target storage area; a determination module, configured to determine target data according to the name of the target folder, wherein the target data is obtained by processing the data to be hidden, and the target data is different from the data to be hidden; The second processing module is used to restore the target data based on the inverse processing method of the data processing to obtain the hidden data.

11. An electronic device, characterized in that: The electronic device includes one or more processors; A memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the program is configured to execute the data hiding method described in any one of claims 1 to 6, or the data processing method described in any one of claims 7 to 8 when running.