Method for hiding and extracting information by using social behavior time sequence and zero-width characters
By using the time series of social behavior and zero-width characters on social media to insert encoded information, the problem of lack of concealment and nature of information hiding in the prior art is solved, and high-security information hiding and extraction are achieved.
Patent Information
- Application Number
- CN202411674867.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-03-04
AI Technical Summary
Existing information hiding technologies lack concealment and naturalness on social media, and are easily detected, leading to the risk of privacy leakage.
By inserting zero-wide character-encoded information at a specific time point in social behavior, the time series characteristics of social media behavior and the concealment of zero-wide characters can be achieved.
It enhances the concealment and nature of information hiding, improves the security and user experience of information hiding, and reduces the risk of privacy leakage.
Smart Images

Figure CN119556927A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information processing systems, and in particular to a method for hiding and extracting information by using social behavior timing and zero-width characters. Background Art
[0002] With the widespread use of social media platforms and the sharp increase in the number of users, information security and privacy protection have become increasingly important in social networks. The content and social interactions (such as likes, comments, and sharing) shared by users on social media contain a large amount of personal information and sensitive data. Therefore, how to safely share and transmit information on public social platforms has become an urgent problem to be solved.
[0003] Existing information hiding technologies, such as image steganography and text encryption, can achieve secure information transmission to a certain extent, but they often lack sufficient concealment or are easily detected. Especially in hiding text information, conventional methods (such as simple character replacement, encryption algorithms, etc.) often leave recognizable traces, leading to the risk of privacy leakage.
[0004] The system using this method combines the time series characteristics of social media user behavior and the concealment of zero-width characters. By inserting zero-width character-encoded information at specific social behavior time points, it not only enhances the concealment of information hiding, but also utilizes the naturalness of social media behavior, thereby improving the naturalness and security of information hiding.
[0005] To this end, we propose a method of information hiding and extraction that utilizes social behavior timing and zero-width characters to solve the above problems. Summary of the invention
[0006] The present invention provides a method for information hiding and extraction using social behavior time series and zero-width characters. The system using the method combines the time series characteristics of social media user behavior and the concealment of zero-width characters. By inserting zero-width character-encoded information at specific social behavior time points, not only the concealment of information hiding is enhanced, but also the naturalness of social media behavior is utilized, thereby improving the naturalness and security of information hiding.
[0007] In order to solve the above technical problems, the present invention provides a method for information hiding and extraction using social behavior time sequence and zero-width characters, comprising the following steps:
[0008] Build an online platform developed with the Flask framework, which includes the front-end part of the user page and the back-end part responsible for handling information hiding and extraction logic;
[0009] The front-end part sets up the system operation guide, information hiding and extraction function modules, and realizes the visual display of the social media dynamics selected by the user and the dynamics finally generated containing hidden information;
[0010] In the back-end part, the server is used to process requests from the front-end based on the Flask framework to complete the process of information hiding and extraction.
[0011] Preferably, HTML / CSS / JavaScript techniques are used to design the user pages of the front-end portion.
[0012] Preferably, the covert transmission of information and the restoration of the covertly transmitted information to the original information are achieved through the functional modules of information hiding and extraction.
[0013] Preferably, when the information hiding function module completes the information hiding function, it first analyzes the target social media dynamics, encodes the secret information into a zero-width character sequence according to a predetermined algorithm, and then locates the zero-width character sequence according to the time series of the social behavior and embeds the zero-width character sequence into the specified social media content.
[0014] Preferably, when the information hiding and extraction functional module completes the information extraction function, it identifies and extracts zero-width character sequences by analyzing the time series and text content in social media dynamics, and finally decodes these sequences to restore the original information.
[0015] Preferably, during the information hiding and extraction process, the sender determines common friends by observing the dynamics of all of his or her friends except the receiver and the relevant social behaviors in the receiver's dynamics, and screens out common friends with whom he or she has no social behaviors; the receiver determines common friends by observing the dynamics of all of his or her friends except the sender and the relevant social behaviors in the sender's dynamics.
[0016] Preferably, the information encryption step is to initialize the social behavior timing and text content information carrier, apply zero-width character encoding technology to sensitive information, embed the encoded zero-width character information into the specified text according to the social behavior timing, use a key to encrypt the zero-width character information stream, and combine the social behavior timing and zero-width characters.
[0017] Preferably, the information decryption step is to analyze the behavioral timing and text content of the received social media dynamics to identify the zero-width character information stream, extract the zero-width character information stream and use the corresponding key to decrypt and restore the original binary data stream, and restore the original sensitive information based on the decrypted data stream.
[0018] Compared with the related art, the present invention has the following beneficial effects:
[0019] 1. In the present invention, the medium for information hiding is social media dynamics. This choice gives the information hiding method extremely high concealment and wide dissemination capabilities.
[0020] 2. In the present invention, the encoding of secret information is performed by zero-width characters. The use of zero-width characters does not affect the visual presentation of the original text, and at the same time has good compatibility and concealment, thereby ensuring the security of information transmission.
[0021] 3. In the present invention, the time series of social behavior is used as an information location strategy. The change of this method has little impact on the dynamics of social media. Experimental data shows that this method has little interference with the naturalness of social interaction, thus maintaining the high efficiency of information hiding without attracting attention.
[0022] 4. In the present invention, a responsive design is adopted to support cross-platform access, and smooth operation can be performed on both mobile phones and PCs. This design greatly improves the user experience, making it easy to hide and extract information no matter what device the user is on. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is the principle diagram of the present invention;
[0024] Figure 2 The figure is a schematic diagram of the workflow of the functional modules of information hiding and extraction in the present invention. DETAILED DESCRIPTION
[0025] The technical solutions 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, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0026] Depend on Figure 1 A method for information hiding and extraction using social behavior timing and zero-width characters is given. The system used is an online system. The architecture of the entire online system is developed using the Flask framework. The system is an online platform for information hiding and extraction based on social behavior timing and zero-width characters. The flexibility and lightweight characteristics of Flask provide the system with the ability of rapid development, making it one of the preferred tools for developers. It not only includes an intuitive front-end user interface, but also includes the back-end part responsible for processing the information hiding and extraction logic.
[0027] Front-end design: A simple and clear user interface is built using HTML / CSS / JavaScript technology. The interface covers the system's operating guide and explains in detail how to use the information hiding and extraction functions to facilitate user operation. There is also an information hiding and extraction function module, which can visualize the dynamics selected by users on social media platforms and the dynamics containing hidden information generated after information hiding. For example, when a user selects a Weibo dynamic as the target of information hiding when browsing Weibo, the interface can clearly display the original Weibo content and the Weibo content after the information is hidden.
[0028] Backend process: The backend server processes requests from the frontend based on the Flask framework and performs a series of key operations, including time series analysis of social behaviors, generation and embedding of zero-width characters, etc., to complete the entire information hiding and extraction process.
[0029] Data processing:
[0030] That is, the algorithm implementation:
[0031] Information hiding function:
[0032] When performing information hiding, we first analyze the target social media dynamics. The target social media dynamics here can be various social platforms (such as Weibo, WeChat Moments, Facebook
[0033] including text, images, video-related information, and metadata such as publishing time, number of likes, comment content and time.
[0034] The secret information is then encoded into a zero-width character sequence according to a predetermined algorithm. This encoding follows specific rules to ensure that the secret information, after being converted into a zero-width character sequence, does not affect the visual presentation of the original social media dynamics, while ensuring that it can be accurately extracted later.
[0035] Finally, based on the time series positioning of social behavior, the zero-width character sequence is accurately embedded into the specified social media content, thereby realizing the covert transmission of information. For example, if users often like and comment on a certain type of news dynamics around 8 pm, this time pattern can be used to embed the zero-width character sequence into the relevant dynamic content.
[0036] Information extraction function:
[0037] When the receiver obtains social media dynamics containing hidden information, it identifies and extracts zero-width character sequences by analyzing the time series (such as the time of likes and comments) and text content in the dynamics.
[0038] Finally, these sequences are decoded according to the corresponding decoding rules, restored to the original information, and accurate information extraction is completed. For example, the zero-width character sequence extracted from the microblog dynamics is restored to the information that the original sender wanted to convey.
[0039] refer to Figure 2 , Figure 2
[0040] The following is a schematic diagram of the workflow of the information hiding and extraction function module in the present invention, that is, the information hiding and extraction process, wherein the common friends are determined as follows:
[0041] In this method, the sender uses the time intervals of the social behaviors of social friends to transmit secret information, so the receiver needs to obtain all the social behaviors of the sender used to transmit the secret information. However, due to the limitations of the social network platform, the receiver can only see the sender's social behaviors of his or her social friends. Therefore, the sender needs to determine the common social friends between him or her and the receiver before transmitting the secret information.
[0042] Suppose all the social friends of the sender are {SF1, SF2, ..., SF n}, the sender first observes the dynamics of all friends except the receiver. If the receiver i The dynamics of social behavior, then SF i The sender and the receiver are mutual friends. After that, the sender observes the receiver's dynamics. If any of the sender's friends has a social behavior in response to the receiver's dynamics, then this friend is a mutual friend of the sender and the receiver.
[0043] Finally, the sender needs to filter out friends who have no social behavior with the sender. i is a common friend of the sender and the receiver, but the sender has never had any social behavior with this friend before transmitting the secret information. In this case, the sender cannot perform social behavior on the dynamics of this friend, otherwise this social behavior may be discovered by the attacker due to abnormality. Finally, the sender obtains N common friends {SR1, SR2, …, SR N}. Suppose all social friends of the receiver are {RF1, RF2, …, RF r}, the receiver first observes the spatial dynamics of all friends except the sender. If the sender i If the dynamics of i is the common friend of the sender and the receiver. Then the receiver observes the sender's dynamics. If any of the receiver's friends has a social behavior in response to the sender's dynamics, then this friend is the common friend of the sender and the receiver. Finally, the receiver also obtains the common friends {SR1, SR2, ..., SR N}.
[0044] The steps for encrypting information are as follows:
[0045] Initialize two information carriers: social behavior sequence and text content. Social behavior sequence is used to display public behavior patterns to confuse observers; text content carries real and sensitive information through zero-width characters.
[0046] Apply zero-width character encoding technology to sensitive information to enhance the information's ability to resist interference and confidentiality. Through specific encoding strategies (such as using zero-width spaces and zero-width connectors to represent different binary data), it provides a basis for subsequent decryption processing.
[0047] The encoded zero-width character information is embedded into the specified text according to the social behavior sequence, and social media dynamics (such as release time, comment interval, etc.) are used as an additional dimension of information hiding, which is further transformed into a covert information flow that is difficult for third parties to detect.
[0048] The zero-width character information stream is encrypted using a key to form an encrypted information stream. This step ensures that even if the zero-width character information is extracted, unauthorized individuals cannot decipher the true content.
[0049] Combining social behavior timing and zero-width characters, multi-dimensional information hiding is achieved. Through carefully designed social behavior patterns and text content editing, the encrypted information flow is embedded to form the final hidden information carrier, completing the deep hiding of information.
[0050] The steps to decrypt the information are as follows:
[0051] After receiving specific social media dynamics, analyze its behavior timing and text content to identify potential zero-width character information flows.
[0052] Extract the zero-width character information stream and decrypt it using the corresponding key to restore the original binary data stream.
[0053] Based on the decrypted data stream, the original sensitive information can be restored to achieve accurate extraction and interpretation of the information.
[0054] The following is a security analysis of this system under violent attacks:
[0055] We analyzed the security of the system under the scenario of brute force attack. By introducing the key and zero-width character encoding, even if the attacker can intercept part of the information flow, it is difficult to decode the actual secret information. The experimental results show that by introducing the key and zero-width character encoding, even if the attacker can intercept part of the information flow, it is difficult to decode the actual secret information. The experimental results show the cracking success rate and security of the proposed method under brute force attack under different friend number settings. The specific results are shown in Table 1.
[0056] Number of friends / mutual friends Dictionary capacity 21 / 16 <![CDATA[6.95*10 4 ]]> 31 / 26 <![CDATA[6.71*10 7 ]]> 51 / 43 <![CDATA[8.86*10 12 ]]> 71 / 52 <![CDATA[4.53*10 7 ]]> 81 / 62 <![CDATA[9.36*10 21 ]]>
[0057] Table 1
[0058] As can be seen from Table 1, under all experimental settings, brute force attackers cannot successfully crack the embedded secret information, and the cracking success rate is 0.00%. This proves that the method proposed in this system has high security under brute force attacks.
[0059] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0060] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for information hiding and extraction using social behavior time sequence and zero-width characters, characterized in that: The following steps are involved: Build an online platform developed with the Flask framework, which includes the front-end part of the user page and the back-end part responsible for handling information hiding and extraction logic; The front-end part sets up the system operation guide, information hiding and extraction function modules, and realizes the visual display of the social media dynamics selected by the user and the dynamics finally generated containing hidden information; In the back-end part, the server is used to process requests from the front-end based on the Flask framework to complete the process of information hiding and extraction.
2. According to claim 1, a method for information hiding and extraction using social behavior time sequence and zero-width characters is characterized in that: Use HTML / CSS / JavaScript technology to design the front-end user page.
3. The method for information hiding and extraction using social behavior timing and zero-width characters according to claim 2, characterized in that: The information hiding and extraction function module is used to realize the covert transmission of information and restore the covertly transmitted information to the original information.
4. The method for information hiding and extraction using social behavior timing and zero-width characters according to claim 3, characterized in that: When the information hiding function module completes the information hiding function, it first analyzes the target social media dynamics, encodes the secret information into a zero-width character sequence according to a predetermined algorithm, and then embeds the zero-width character sequence into the specified social media content according to the time series positioning of the social behavior.
5. The method for information hiding and extraction using social behavior timing and zero-width characters according to claim 4, characterized in that: When the information hiding and extraction functional module completes the information extraction function, it analyzes the time series and text content in social media dynamics, identifies and extracts zero-width character sequences, and finally decodes these sequences to restore the original information.
6. The method for information hiding and extraction using social behavior time sequence and zero-width characters according to claim 5, characterized in that: In the process of information hiding and extraction, the sender determines common friends by observing the dynamics of all his friends except the receiver and the relevant social behaviors in the receiver's dynamics, and screens out common friends with whom he has no social behaviors; the receiver determines common friends by observing the dynamics of all his friends except the sender and the relevant social behaviors in the sender's dynamics.
7. The method for information hiding and extraction using social behavior time sequence and zero-width characters according to claim 6, characterized in that: The information encryption steps are to initialize the social behavior timing and text content information carriers, apply zero-width character encoding technology to sensitive information, embed the encoded zero-width character information into the specified text according to the social behavior timing, and use the key to encrypt the zero-width character information stream, combining the social behavior timing and zero-width characters.
8. The method for information hiding and extraction using social behavior time sequence and zero-width characters according to claim 7, characterized in that: The information decryption step is to analyze the behavioral timing and text content of the received social media dynamics to identify the zero-width character information stream, extract the zero-width character information stream and use the corresponding key to decrypt and restore the original binary data stream, and restore the original sensitive information based on the decrypted data stream.