Message forwarding regulation and control method, device, system, equipment, medium and product

By generating an encoding conversion offset at the message sending terminal to re-encode the message content, the problem of lacking technical forwarding restrictions in the existing technology is solved, and effective control of sensitive messages and prevention of unauthorized propagation are achieved.

CN121814725APending Publication Date: 2026-04-07CHINA MOBILE INTERNET CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-22
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, restrictions on the forwarding of sensitive messages rely on the self-discipline of the recipient, lacking technical constraints and failing to effectively prevent the secondary propagation of messages.

Method used

The message sending terminal generates an encoding conversion offset, re-encodes the message content, generates an offset message, and then performs reverse re-encoding and display on the receiving terminal using the encoding conversion offset. Dynamic encoding mapping and encryption mechanisms are used to ensure that the message content cannot be interpreted without authorization.

Benefits of technology

It effectively blocks the unauthorized spread of messages, ensures that message content is controlled during transmission and storage, and prevents information leakage and misuse.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121814725A_ABST
    Figure CN121814725A_ABST
Patent Text Reader

Abstract

The invention discloses a message forwarding regulation and control method, device, system, equipment, medium and product, and relates to the technical field of communication, in a message sending terminal, when a forwarding limit identifier of a to-be-sent target message is enabled, a code conversion offset of the target message is generated; according to the code conversion offset, recoding the message content of the target message to generate an offset message; the offset message comprises a coding conversion offset, recoded offset message content and a forwarding limit identifier; and forwarding the offset message to a message receiving terminal, so that the message receiving terminal performs reverse recoding on the content of the offset message according to the code conversion offset and restores and displays the content of the offset message. By adopting the embodiment of the invention, the display correctness of the message content in a conventional propagation mode can be limited, and the forwarding function of the message is substantially limited.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a message forwarding control method, apparatus, system, device, medium, and product. Background Technology

[0002] In existing technical solutions, sensitive messages are usually sent directly to the client terminal, and a declaration mark such as "forwarding invalid" is added at the end of the message to indicate usage restrictions.

[0003] However, from a technical perspective, after receiving the message, the recipient can still spread it by copying the content, regenerating it, or forwarding it directly. The declaration identifier does not have technical binding force and cannot prevent the secondary dissemination of the message content. Summary of the Invention

[0004] The embodiments of the present invention aim to provide a message forwarding control method, apparatus, system, device, medium and product that can limit the correctness of message content display under conventional transmission methods and substantially limit the message forwarding function.

[0005] In a first aspect, embodiments of the present invention provide a message forwarding control method applied to a message sending terminal, comprising: When the forwarding restriction flag of the target message to be sent is enabled, the encoding conversion offset of the target message is generated; Based on the encoding conversion offset, the message content of the target message is re-encoded to generate an offset message; the offset message includes the encoding conversion offset, the re-encoded offset message content, and a forwarding restriction identifier; The offset message is forwarded to the message receiving terminal so that the message receiving terminal can reverse-encode the content of the offset message according to the encoding conversion offset and restore the display.

[0006] As an improvement to the above scheme, the step of generating the encoding conversion offset of the target message when the forwarding restriction flag of the target message to be sent is enabled includes: When the forwarding restriction flag of the target message to be sent is enabled, obtain the message content size of the target message; Based on the preset character encoding rules and the size of the message content, the encoding conversion offset of the target message is randomly generated.

[0007] As an improvement to the above scheme, the state of the forwarding restriction identifier is determined based on the risk score of the target message; the state of the forwarding restriction identifier includes enabled and disabled.

[0008] As an improvement to the above scheme, before generating the encoding conversion offset of the target message when the forwarding limitation flag of the target message to be sent is enabled, the message forwarding control method further includes: In response to the user's forwarding restriction settings, the system reports the identification information of the local artificial intelligence model to the message center and receives the cloud prompt words returned by the message center based on the identification information. The message content of the target message and the cloud-based prompts are input into the local artificial intelligence model to calculate the risk score of the target message; When the risk score is greater than the preset risk threshold, the forwarding restriction flag is set to enabled; otherwise, the forwarding restriction flag is set to disabled.

[0009] As an improvement to the above solution, the step of inputting the message content of the target message and the cloud-based prompt words into the local artificial intelligence model to calculate the risk score of the target message includes: Acquire user behavior habit data accumulated by the local artificial intelligence model in historical interactions; Based on the cloud-based prompts, the risk score of the target message is calculated by jointly reasoning about the user behavior data and the message content of the target message using the local artificial intelligence model.

[0010] As an improvement to the above scheme, before generating the encoding conversion offset of the target message when the forwarding limitation flag of the target message to be sent is enabled, the message forwarding control method further includes: When the forwarding restriction flag of the target message to be sent is enabled, a capability probe message is generated for the message receiving terminal. The capability detection message is forwarded to the message receiving terminal, and the forwarding limitation capability of the message receiving terminal is received; When the forwarding restriction capability is not supported, the forwarding restriction flag of the target message is set to disabled.

[0011] As an improvement to the above solution, the step of forwarding the capability detection message to the message receiving terminal and receiving the forwarding limitation capability from the message receiving terminal includes: The capability detection message is uploaded to the message center so that the message center forwards the capability detection message to the message receiving terminal when the message receiving terminal is in a reachable state, and determines the forwarding limitation capability based on the response of the message receiving terminal. The forwarding limitation capability of the receiving terminal receiving messages returned by the message center.

[0012] As an improvement to the above scheme, the capability detection message is used to detect whether the message receiving terminal supports the forwarding restriction function. If the message receiving terminal supports the forwarding restriction function, it will respond within a preset time range after receiving the capability detection message.

[0013] As an improvement to the above scheme, the step of re-encoding the message content of the target message according to the encoding conversion offset to generate an offset message includes: Based on the encoding conversion offset, the associated elements of each character are determined from the message content of the target message; Based on the characters and their associated elements, an offset encoding mapping relationship for the message content is generated using preset rules; Based on the offset encoding mapping relationship, each character in the message content is re-encoded to obtain the offset message content; An offset message is generated based on the encoding conversion offset, the offset message content, and the forwarding restriction identifier.

[0014] As an improvement to the above scheme, the step of determining the associated elements of each character from the message content of the target message based on the encoding conversion offset includes: Obtain the character sequence of the message content of the target message; The first character is selected iteratively from the character sequence, and the position of the first character is offset according to the encoding conversion offset to obtain the second character. The second character is used as the associated element of the first character.

[0015] As an improvement to the above scheme, the step of generating the offset encoding mapping relationship of the message content according to the character and its associated elements through preset rules includes: Based on the initial encoding mapping relationship, obtain the first encoding value of each character in the message content, and obtain the second encoding value of the associated elements of each character; Based on the second encoded value, the first encoded value is offset to obtain the offset encoding mapping relationship of all characters in the message content.

[0016] As an improvement to the above scheme, the step of generating an offset message based on the encoding conversion offset, the offset message content, and the forwarding restriction identifier includes: Receive dynamic keys from the message center; The offset message content is encrypted using the dynamic key to obtain the central encrypted content; The public key of the authorized entity is used to encrypt the central encrypted content and the encoding conversion offset to obtain a verification signature; the authorized entity includes a message receiving terminal and a message center; A forwarding restriction identifier and the verification signature are added to the target message, and the message content in the target message is replaced with the encrypted content to generate an offset message.

[0017] As an improvement to the above scheme, the step of using the public key of the authorized entity to encrypt the central encrypted content and the encoding conversion offset to obtain the verification signature includes: The central encrypted content and the encoding conversion offset are concatenated to obtain the recoding basis data; Obtain the first public key of the message receiving terminal, and use the first public key to encrypt the re-encoded data to obtain the first verification signature; Obtain the second public key from the message center, and use the second public key to encrypt the re-encoded data to obtain the second verification signature.

[0018] As an improvement to the above solution, the step of forwarding the offset message to the message receiving terminal, so that the message receiving terminal can reverse-encode the content of the offset message according to the encoding conversion offset and restore its display, includes: The offset message is uploaded to the message center, which then forwards it to the message receiving terminal. The message receiving terminal then reverse-encodes the offset message content based on the encoding conversion offset and restores its display.

[0019] As an improvement to the above scheme, the message forwarding control method further includes: In response to a compliance check failure notification from the message center, the sending of the offset message is restricted; the message center performs a compliance check on the offset message when the forwarding restriction flag of the received offset message is enabled.

[0020] As an improvement to the above scheme, the message forwarding control method further includes: In response to the request to remove the restriction from the message receiving terminal, the forwarding restriction flag of the target message is set to disabled; The target message is forwarded directly to the message receiving terminal.

[0021] Secondly, embodiments of the present invention provide a message forwarding control method applied to a message receiving terminal, including: In response to the offset message, the encoding conversion offset, the offset message content, and the forwarding restriction identifier are obtained based on the offset message; Based on the encoding conversion offset, the offset message content is reverse-encoded and restored for display; in, The offset message content is obtained by the message sending terminal re-encoding according to the encoding conversion offset; the forwarding restriction flag of the offset message is enabled.

[0022] As an improvement to the above scheme, the message forwarding control method further includes: In response to a capability detection message, if the forwarding limitation capability itself is supported, the capability detection message is responded to within a preset time range; the capability detection message is generated by the message sending terminal when the forwarding limitation flag is enabled.

[0023] As an improvement to the above scheme, the step of responding to the offset message and obtaining the encoding conversion offset, the offset message content, and the forwarding restriction identifier based on the offset message includes: In response to the offset message, if the forwarding restriction flag is enabled, the offset message is decrypted using the local private key to obtain the encoded conversion offset and the central encrypted content. Receive a dynamic key from the message center, and use the dynamic key to decrypt the encrypted content of the center to obtain the offset message content.

[0024] As an improvement to the above scheme, the step of re-encoding and restoring the offset message content according to the encoding conversion offset includes: Based on the encoding conversion offset, determine the reverse association elements of each character in the offset message content; Based on the characters and the reverse association elements, an encoding mapping relationship for the offset message content is generated according to preset rules; Based on the encoding mapping relationship, each character in the offset message content is reverse-encoded to obtain displayable message content.

[0025] As an improvement to the above scheme, after responding to the offset message and obtaining the encoding conversion offset, the offset message content, and the forwarding limitation identifier based on the offset message, the message forwarding control method further includes: In response to a user's message forwarding request, the offset message content is forwarded.

[0026] As an improvement to the above scheme, the message forwarding control method further includes: In response to n consecutive message forwarding requests within a preset time window, a restriction release request for the offset message is generated, and the restriction release request is forwarded to the message sending terminal so that the message sending terminal directly forwards the target message to the message receiving terminal.

[0027] Thirdly, embodiments of the present invention provide a message forwarding control device applied to a message sending terminal, comprising: The encoding conversion offset generation module is used to generate the encoding conversion offset of the target message when the forwarding limitation flag of the target message to be sent is enabled. The offset message generation module is used to re-encode the message content of the target message according to the encoding conversion offset to generate an offset message; the offset message includes the encoding conversion offset, the re-encoded offset message content, and the forwarding restriction identifier; The offset message forwarding module is used to forward the offset message to the message receiving terminal, so that the message receiving terminal can reverse re-encode the content of the offset message according to the encoding conversion offset and restore the display.

[0028] Fourthly, embodiments of the present invention provide a message forwarding control device applied to a message receiving terminal, comprising: Offset message response module, used to respond to offset messages and obtain the encoding conversion offset, offset message content and forwarding restriction identifier according to the offset message; The reverse re-encoding module is used to reverse re-encode the offset message content according to the encoding conversion offset and restore the display. in, The offset message content is obtained by the message sending terminal re-encoding according to the encoding conversion offset; the forwarding restriction flag of the offset message is enabled.

[0029] Fifthly, embodiments of the present invention provide a message forwarding control system, comprising: The message sending terminal is configured to execute the message forwarding control method applied to the message sending terminal as described above; and, The message receiving terminal is configured to execute the message forwarding control method applied to the message receiving terminal as described above.

[0030] In a sixth aspect, embodiments of the present invention provide a message forwarding control device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the message forwarding control method as described above.

[0031] In a seventh aspect, embodiments of the present invention provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the message forwarding control method as described above.

[0032] Eighthly, embodiments of the present invention provide a computer program product, the computer program product including a computer program or computer instructions, wherein when the computer program or computer instructions are executed by a processor, the message forwarding control method described above is performed.

[0033] Compared with existing technologies, the present invention discloses a message forwarding control method, apparatus, system, device, medium, and product. In a message sending terminal, when the forwarding restriction flag of the target message to be sent is enabled, an encoding conversion offset of the target message is generated. Based on the encoding conversion offset, the message content of the target message is re-encoded to generate an offset message. The offset message includes the encoding conversion offset, the re-encoded offset message content, and the forwarding restriction flag. The offset message is forwarded to a message receiving terminal, so that the message receiving terminal can reverse-encode the offset message content based on the encoding conversion offset and restore its display. By employing the embodiments of the present invention, the correctness of message content display under conventional propagation methods can be limited, substantially restricting the message forwarding function. Attached Figure Description

[0034] Figure 1 This is a flowchart illustrating the steps of a message forwarding control method applied to a message sending terminal, as provided in an embodiment of the present invention. Figure 2 This is a flowchart illustrating the steps of a message forwarding control method applied to a message receiving terminal, as provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of a message forwarding control device applied to a message sending terminal according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of a message forwarding control device applied to a message receiving terminal according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of a message forwarding control device provided in an embodiment of the present invention. Detailed Implementation

[0035] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0036] In the description and claims, it should be understood that the terms "first," "second," etc., used in the description and claims are only for the purpose of distinguishing the description of the same technical features, and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated, nor necessarily the order of description or chronological order. The terms are interchangeable where appropriate. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature.

[0037] Text messages, 5G messages, and other communication messages often contain sensitive information. Message sending terminals often want such information to be used only by the message receiving terminal and prohibited from being forwarded and disseminated, in order to avoid the risk of information leakage and misuse.

[0038] Current forwarding restrictions merely involve adding a disclaimer such as "This SMS / 5G message is for the receiving terminal only; forwarding is invalid" to the end of the message body. However, from a technical standpoint, this disclaimer is simply a trust-based prompt relying on the self-discipline of the receiving terminal; it does not impose any technical constraints on the message itself. Whether the receiving terminal complies with the disclaimer depends entirely on its subjective will, and the sending terminal lacks effective technical means to intervene or restrict it. Regardless of whether the disclaimer is included, an SMS or 5G message, as a complete data packet, can be transmitted without hindrance by the receiving terminal through its built-in standard functions such as forwarding or copying.

[0039] Based on the above considerations, embodiments of the present invention provide a message forwarding control method applied to a message sending terminal. Please refer to... Figure 1 In this embodiment, the message forwarding control method is specifically executed through steps S1 to S3: S1. When the forwarding restriction flag of the target message to be sent is enabled, generate the encoding conversion offset of the target message; S2. Based on the encoding conversion offset, the message content of the target message is re-encoded to generate an offset message; the offset message includes the encoding conversion offset, the re-encoded offset message content, and a forwarding restriction identifier; S3. The offset message is forwarded to the message receiving terminal so that the message receiving terminal can reverse-encode the content of the offset message according to the encoding conversion offset and restore the display.

[0040] It should be noted that the forwarding restriction flag is used to indicate whether forwarding restriction control needs to be performed on this target message. When the forwarding restriction flag is enabled, the forwarding function of the message receiving terminal for this message needs to be restricted.

[0041] In some preferred embodiments, the message sending terminal provides a forwarding restriction function for the user. When the user enables the forwarding restriction function, the currently sent message can be re-encoded before being propagated, so as to avoid the message receiving terminal from propagating the message a second time.

[0042] In existing communication systems, the storage and transmission of text messages rely on a predefined and globally unified set of character encoding rules, such as ASCII, UTF-8, and UTF-16. Under these encoding rules, each character is uniquely mapped to a binary sequence of one or more bytes. Any device that follows the same encoding rules can errorlessly restore binary data to readable text, and can also directly transmit complete binary data packets without loss through forwarding, copying, and other functions.

[0043] This invention, in addition to traditional fixed encoding mapping, introduces an encoding conversion offset as a control parameter to perform a reversible and regular perturbation on the original binary sequence of the target message, thereby generating a binary sequence that cannot be directly recognized by standard decoding rules. The message receiving terminal can only restore it to readable text by acquiring the same encoding conversion offset and executing the corresponding reverse recoding rule.

[0044] Under this mechanism, the message receiving terminal always obtains and stores a transformed offset message content. When a user attempts to forward, copy, or otherwise propagate the message, only the binary data packet containing the offset message content is actually extracted and transmitted. Because external applications or devices cannot obtain the necessary encoding conversion offset for reconstruction, they can only parse it according to standard encoding rules, ultimately resulting in meaningless gibberish, effectively blocking the unauthorized dissemination of valid information at the data level.

[0045] This invention fundamentally changes the traditional reliance on trust declarations to constrain forwarding behavior, achieving effective control over message propagation through substantial technical intervention. After leaving the message sending terminal, the effective form of an offset message exists only at the instant of restoration at the message receiving terminal; any attempt to propagate it through conventional forwarding or copying methods will result in unusable encoded data.

[0046] In the above scheme, by embedding a forwarding restriction identifier in the message, the message sending terminal actively re-encodes the target message, converting readable plaintext into a data form that cannot be directly interpreted and used. This ensures that the message content remains under control during transmission and storage, thereby ensuring from the data source that any unauthorized forwarding behavior cannot spread valid information.

[0047] In a preferred embodiment, step S1, when the forwarding restriction flag of the target message to be sent is enabled, generates the encoding conversion offset of the target message, including: When the forwarding restriction flag of the target message to be sent is enabled, obtain the message content size of the target message; Based on the preset character encoding rules and the size of the message content, the encoding conversion offset of the target message is randomly generated.

[0048] It should be noted that the message content size is a quantitative measure of the overall size of the target message's content, and exists in the form of a scalar value. In some preferred embodiments, the message content size is the total number of bytes occupied by the message content after conversion according to specific encoding rules.

[0049] Under different character encoding rules, the number of bytes occupied by each character may vary; and even under the same character encoding rule, the number of bytes occupied by different characters may differ. Generating encoding conversion offsets based on character encoding rules can more realistically reflect the actual size of the message during storage and transmission, thus ensuring that the range of generated random offsets matches the physical size of the message.

[0050] In this embodiment of the invention, the random generation process and range of the encoding offset conversion amount are modulated by preset character encoding rules and message content size. Each time forwarding restrictions are enabled, even for messages with the same content, the generated encoding offset may be different, greatly improving security.

[0051] In some preferred embodiments, the encoding conversion offset Represented as: (1); in, The message content; This indicates the number of bytes in the message content, i.e., the size of the message content; Average number of bytes for character encoding; This means to randomly generate a positive integer less than or equal to x.

[0052] In the above scheme, by using the message content size and character encoding rules, an unpredictable encoding conversion offset is generated for each forwarding restriction operation, ensuring the high security and independence of subsequent message transformations.

[0053] In a preferred embodiment, the state of the forwarding restriction identifier is determined based on the risk score of the target message; the state of the forwarding restriction identifier includes enabled and disabled.

[0054] The forwarding restriction identifier is an identifier for messages stored and transmitted within the terminal system. In a preferred embodiment of the present invention, the state of the forwarding restriction identifier is not directly determined by the user's intention, but also requires the message sending terminal to intelligently assess the risk of the message content itself.

[0055] In the above scheme, users can proactively request protection by restricting forwarding in specific scenarios. The status of the forwarding restriction flag is further set by risk scoring, which avoids imposing unnecessary restrictions on low-risk information, thereby improving the efficiency of information dissemination while enhancing the level of security.

[0056] As a preferred embodiment, before generating the encoding conversion offset of the target message in step S1, when the forwarding limitation flag of the target message to be sent is enabled, the message forwarding control method further includes: In response to the user's forwarding restriction settings, the system reports the identification information of the local artificial intelligence model to the message center and receives the cloud prompt words returned by the message center based on the identification information. The message content of the target message and the cloud-based prompts are input into the local artificial intelligence model to calculate the risk score of the target message; When the risk score is greater than the preset risk threshold, the forwarding restriction flag is set to enabled; otherwise, the forwarding restriction flag is set to disabled.

[0057] Setting forwarding restrictions is an operation initiated by the user, indicating that the user wishes to impose forwarding restrictions on the current target message. It should be noted that the forwarding restriction setting is a request signal initiated by the user, not an execution command to ultimately set the status of the forwarding restriction flag.

[0058] In some preferred embodiments, a forwarding restriction setting switch is set in the message interaction application of the message sending terminal. When the user adjusts the forwarding restriction setting switch to "on", it is considered that the forwarding restriction setting is triggered.

[0059] The message center is a core network element located in the operator's network cloud. Message transmission between terminals is routed, stored, and forwarded through the message center. Based on this, this embodiment of the invention further maintains a prompt word library through the message center, which can dynamically issue appropriate risk assessment prompt words based on the artificial intelligence model information reported by the terminals.

[0060] Each terminal has a built-in local artificial intelligence model that can output a quantitative risk score based on the message content of the target message and cloud-based prompts from the message center. The calculation process is performed internally within the terminal device, and the original message content does not need to be uploaded to any external server.

[0061] In some preferred embodiments, the identification information of the local artificial intelligence model includes the terminal operating system, the artificial intelligence model identity ID, and the artificial intelligence model version.

[0062] For example, local artificial intelligence model Terminal operating system Artificial intelligence models Unique Identification ID and artificial intelligence models version Encapsulated as identification information The message center received the identification information. Then, according to the terminal operating system With artificial intelligence models Unique Identification ID Precisely search all prompts within this system, and retrieve the version and AI model from the results list. version The prompt word with the smallest absolute difference is used as the corresponding cloud prompt word. Feedback is sent to the mobile or enterprise terminal; if the message is not found, a fallback message is returned. As the corresponding cloud prompt word .

[0063] In the above solution, a message center is used as the decision-making hub. By matching the local artificial intelligence model of the terminal through the message center, prompt words that are adapted to the local artificial intelligence model can be obtained, and risk assessment is ensured to be carried out locally on the terminal, thus protecting user data privacy.

[0064] Further, preferably, the step of inputting the message content of the target message and the cloud-based prompt words into the local artificial intelligence model to calculate the risk score of the target message includes: Acquire user behavior habit data accumulated by the local artificial intelligence model in historical interactions; Based on the cloud-based prompts, the risk score of the target message is calculated by jointly reasoning about the user behavior data and the message content of the target message using the local artificial intelligence model.

[0065] During interactions with users, local AI models autonomously accumulate and learn end-user behavioral habits. It's important to note that this user behavior data is not personal information actively entered by the user, but rather behavioral pattern characteristics abstracted by the local AI model from historical interactions.

[0066] In some preferred embodiments, the target message is risk-scored. Represented as: (2); in, The message content; For user behavior and habit data; Indicates the use of a local artificial intelligence model Inference is performed, in which the local artificial intelligence model The prompt words are The inputs are x and y, where y is the local AI model. The localized parameters are determined by the local artificial intelligence model. Use at your own discretion.

[0067] The same type of message may pose different risks to different users. Through long-term observation, local artificial intelligence models can learn the baseline of users' habits in processing various types of information. In subsequent reasoning, they can determine whether the message content deviates from the user's behavioral habits, thereby more accurately identifying high-risk situations.

[0068] The above solution uses user behavior data and cloud-based prompts to jointly infer the risks of message content, which significantly improves the accuracy and rationality of risk assessment.

[0069] As a preferred embodiment, before generating the encoding conversion offset of the target message in step S1, when the forwarding limitation flag of the target message to be sent is enabled, the message forwarding control method further includes: When the forwarding restriction flag of the target message to be sent is enabled, a capability probe message is generated for the message receiving terminal. The capability detection message is forwarded to the message receiving terminal, and the forwarding limitation capability of the message receiving terminal is received; When the forwarding restriction capability is not supported, the forwarding restriction flag of the target message is set to disabled.

[0070] It should be noted that the forwarding restriction function in this embodiment of the invention relies on specific software versions or protocol support of the terminal in some scenarios; therefore, not all terminals have this function. Directly sending offset messages to terminals that do not support this function will result in the recipient being unable to decode the message, causing communication failure. In this embodiment of the invention, capability detection messages are used to confirm the capability compatibility of the message receiving terminal, ensuring communication effectiveness.

[0071] Capability probe messages are special signaling messages generated by the message sending terminal to probe whether the message receiving terminal has the capability to process forwarding-restricted messages. Capability probe messages themselves do not contain substantive business information; their core purpose is to initiate a capability query.

[0072] After receiving a capability probe message, the message receiving terminal will return a response indicating whether it supports and can correctly process subsequent offset messages. This forwarding limitation capability is usually a status feedback. When the message receiving terminal does not support the forwarding limitation capability, the message sending terminal actively gives up enabling complex forwarding restriction functions and processes and sends messages as ordinary, unrestricted messages.

[0073] It should be noted that the propagation of ordinary messages can be achieved by directly sending the message to a message center, which then forwards it to the message receiving terminal; alternatively, the message can be transmitted to the message center after multiple encryptions, and the message receiving terminal decrypts it upon receipt to store the plaintext internally. The propagation of ordinary messages can employ existing message propagation methods, and the specific method does not affect the beneficial effects of this invention. During the propagation of ordinary messages, no offset is applied to the encoding of the message content; therefore, the message receiving terminal directly receives the plaintext message content, which it can freely copy and forward.

[0074] In the above scheme, before officially generating the encoding conversion offset and offsetting the message content, a compatibility check is performed in advance through a capability probe message. If the message receiving terminal does not support forwarding limitation capabilities, it will automatically degrade to the basic communication mode, and message transmission can still be completed, ensuring the reachability of message forwarding.

[0075] Further, preferably, the step of forwarding the capability detection message to the message receiving terminal and receiving the forwarding limitation capability from the message receiving terminal includes: The capability detection message is uploaded to the message center so that the message center forwards the capability detection message to the message receiving terminal when the message receiving terminal is in a reachable state, and determines the forwarding limitation capability based on the response of the message receiving terminal. The forwarding limitation capability of the receiving terminal receiving messages returned by the message center.

[0076] In some preferred embodiments, the capability detection message contains only information about the message receiving terminal; its content itself is empty, and it only contains type information in the message header.

[0077] In this embodiment of the invention, message routing is performed through a message center. The message center has real-time registration and reachability status of all terminals on the network. It determines the reachability status of a terminal and forwards capability probe messages only when the message receiving terminal is in a reachable state, so that the message receiving terminal can respond in a timely manner. The message sending terminal does not need to handle low-level communication issues such as network addressing itself, which simplifies the terminal communication logic and improves the reliability of the probe.

[0078] Preferably, when the message receiving terminal is unreachable, the message center will also report the unreachability status to the message sending terminal to avoid the message sending terminal from continuously suspending and waiting for the task.

[0079] When the message center determines that the message receiving terminal is unreachable, the message center directly reports that the message receiving terminal's forwarding limitation capability is unreachable. When the message receiving terminal becomes reachable, the message center forwards the capability probe message to the message receiving terminal again. After receiving the receiving terminal capability version probe message, the message receiving terminal determines whether the current message function supports the forwarding limitation function based on the current terminal's message service capability.

[0080] Furthermore, upon receiving the forwarding restriction capability, if the forwarding restriction capability is supported, the message sending terminal performs no processing, passes the verification, and proceeds with the sending process. If the forwarding restriction capability is not supported, the forwarding restriction flag is set to disabled, and the message "The target terminal does not have forwarding restriction capability" is displayed. If the forwarding restriction capability is unreachable, the message "The target terminal is temporarily unreachable; the forwarding restriction will be reconfirmed when the target terminal becomes reachable" is displayed.

[0081] In the above scheme, end-to-end capability detection through the message center reduces the complexity and error probability of terminal implementation, enabling the entire forwarding restriction function to be launched in a standardized manner in complex and ever-changing real-world network and terminal environments, significantly improving the availability of the function.

[0082] Preferably, the capability detection message is used to detect whether the message receiving terminal supports the forwarding restriction function. If the message receiving terminal supports the forwarding restriction function, it will respond within a preset time range after receiving the capability detection message.

[0083] In this embodiment of the invention, after receiving a capability probe message, if the message receiving terminal supports the forwarding restriction function, it will respond to the capability probe message within a preset time range; otherwise, it will not respond to the capability probe message. For the message center, after sending a capability probe message to the message receiving terminal, if it receives any response from the message receiving terminal within a preset time range, it considers the message receiving terminal to support the forwarding restriction function; otherwise, it considers the forwarding restriction function not to be supported.

[0084] In a preferred embodiment, step S2 involves re-encoding the message content of the target message according to the encoding conversion offset to generate an offset message, which is then executed via steps S21-S24. S21. Based on the encoding conversion offset, determine the associated elements of each character from the message content of the target message; S22. Based on the characters and their associated elements, generate an offset encoding mapping relationship for the message content using preset rules; S23. According to the offset encoding mapping relationship, each character in the message content is re-encoded to obtain the offset message content; S24. Generate an offset message based on the encoding conversion offset, the offset message content, and the forwarding restriction identifier.

[0085] In this embodiment of the invention, the associated elements of each character originate from the message content itself, and the specific selection of the associated elements is determined by the encoding conversion offset. This introduces content autocorrelation and positional perturbation into each character, making the encoding transformation not only dependent on a global random offset but also associated with other parts of the message itself, and the same character may be associated with different elements at different positions.

[0086] Under standard encoding rules, the correspondence between characters and codes is fixed and public. In this embodiment of the invention, based on the original standard encoding rules of the message content, an offset encoding mapping relationship is calculated using random associated elements. This offset encoding mapping relationship is temporary and is only valid under the current message content, exhibiting extremely high randomness and unpredictability.

[0087] In the above scheme, a dynamic encoding rule is constructed at the message sending terminal, so that each message, and even each character in the message, has an encoding method highly related to its own content. This breaks the static nature of traditional fixed encoding and ensures from the source that the forwarded message is in garbled format. Furthermore, due to the dynamic nature of the transformation and its high coupling with the content, reverse engineering or forgery of offset messages becomes extremely difficult.

[0088] Further, preferably, step S21, determining the associated elements of each character from the message content of the target message based on the encoding conversion offset, includes: Obtain the character sequence of the message content of the target message; The first character is selected iteratively from the character sequence, and the position of the first character is offset according to the encoding conversion offset to obtain the second character. The second character is used as the associated element of the first character.

[0089] In some preferred embodiments, the index position of the first character is cyclically shifted left or right according to the encoding conversion offset to obtain a new index position, and the second character corresponding to the new index position is used as the associated element.

[0090] For example, under the ASCII encoding rule, the ASCII value of the character "C" at a certain position in the message content is 99. According to the character sequence, the index number of the character "C" is cyclically shifted to the left by the encoding conversion offset number of bits, and the associated element corresponding to the character "C" at that position is the character "+".

[0091] Preferably, for the i-th character in the message content, its associated element is represented as follows: (3); in, This is the encoding conversion offset; This means that the index position i is cyclically shifted to the left by the encoding conversion offset to obtain the middle value. Then, the square root of the middle value is taken, and finally, the value is taken down to obtain the new certificate index j.

[0092] In the above scheme, by using the position of the first character and the encoding conversion offset shared by the target message, the first character and the second character are associated through offset operation, which disrupts the local structure inside the message. The calculated associated elements can introduce non-linear positional perturbations, which has high security.

[0093] Preferably, step S22, generating an offset encoding mapping relationship for the message content according to the characters and their associated elements using preset rules, includes: Based on the initial encoding mapping relationship, obtain the first encoding value of each character in the message content, and obtain the second encoding value of the associated elements of each character; Based on the second encoded value, the first encoded value is offset to obtain the offset encoding mapping relationship of all characters in the message content.

[0094] In this embodiment of the invention, the offset direction and magnitude of the first encoded value are uniquely determined by the second encoded value of its associated element. Since the associated element varies depending on the character position and the encoding conversion offset, the character offset may be different. The offset encoding mapping relationship is a temporary lookup table, which records the offset encoded value to which each original first encoded value is mapped.

[0095] In the above scheme, the first encoded value is perturbed by the second encoded value to generate a completely new set of encoded values ​​with no public meaning. During the offset process, the transformation path of each message, and even each character, is different, thus achieving high confidentiality.

[0096] In some preferred embodiments, the i-th character in the recoded offset message content is represented as: (4); in, The i-th character in the message content of the target message. This is the encoding conversion offset; This indicates that x is encoded using the offset encoding mapping relationship y; This indicates that x is decoded using the initial encoding mapping relationship to obtain its binary representation; >>> indicates a circular left shift. This indicates that the offset encoding mapping relationship is generated according to x.

[0097] In this embodiment of the invention, after obtaining the associated elements, the first and second encoded values ​​are cyclically shifted left to obtain a derived value, which is used as the input to the dynamic mapping rule. Then, a function is generated through the mapping relationship. Generate a temporary unique offset encoding mapping and represent the original binary value of the message content. The message is then re-encoded to obtain the final offset message content.

[0098] When the message receiving terminal obtains the encoding conversion offset, it can reverse the re-encoding of the offset message content according to the re-encoding rules agreed upon by both parties in order to restore the target message.

[0099] Preferably, step S24, generating an offset message based on the encoding conversion offset, the offset message content, and the forwarding restriction identifier, includes: Receive dynamic keys from the message center; The offset message content is encrypted using the dynamic key to obtain the central encrypted content; The public key of the authorized entity is used to encrypt the central encrypted content and the encoding conversion offset to obtain a verification signature; the authorized entity includes a message receiving terminal and a message center; A forwarding restriction identifier and the verification signature are added to the target message, and the message content in the target message is replaced with the encrypted content to generate an offset message.

[0100] Recoding alters the data's form, and the introduction of a dynamic key distributed in real-time by the message center to encrypt the offset message content enables the separation of algorithm keys and entrusts key security to a trusted network party. This significantly enhances overall security.

[0101] Offset messages are first transmitted from the sending terminal to the message center, and then forwarded by the message center to the receiving terminal. During this forwarding process at the message center, the message may not be directly transmitted to the receiving terminal, but rather undergo multi-hop propagation based on the hop costs between terminals in the routing table. In other words, offset messages pass through multiple entities during transmission. To ensure the security of offset messages, they are encrypted by authorized entities.

[0102] In the above scheme, the offset message content is first encrypted using a dynamic key, and then the offset message is encrypted using the public key of the authorized entity to ensure that only the authorized entity holding the corresponding private key can decrypt and obtain the key information, and finally realize the reverse recoding of the offset message content.

[0103] Furthermore, preferably, the step of encrypting the central encrypted content and the encoding conversion offset using the public key of the authorized entity to obtain the verification signature includes: The central encrypted content and the encoding conversion offset are concatenated to obtain the recoding basis data; Obtain the first public key of the message receiving terminal, and use the first public key to encrypt the re-encoded data to obtain the first verification signature; Obtain the second public key from the message center, and use the second public key to encrypt the re-encoded data to obtain the second verification signature.

[0104] In some preferred embodiments, the first verification signature is represented as: (5); in, Encrypt content at the center; This is the encoding conversion offset; Indicates a splicing operation; This is the first public key of the message receiving terminal; This indicates that x is encrypted using y.

[0105] When the message receiving terminal needs to decrypt the offset message and perform reverse re-encoding, it first needs to verify the first verification signature using its own private key. After successful verification, it can obtain the central encrypted content and the encoding conversion offset. Then, it decrypts the central encrypted content using the dynamic key issued by the message center to obtain the offset message content. Finally, it uses the encoding conversion offset to perform reverse re-encoding of the offset message content, which ultimately enables the display of the target message content.

[0106] In some preferred embodiments, the second verification signature is represented as: (6); in, Encrypt content at the center; This is the encoding conversion offset; Indicates a splicing operation; This serves as the second public key for the message center. This indicates that x is encrypted using y.

[0107] When the message center has a business requirement to verify offset messages, or when forwarding offset messages, it also needs to use its own private key to verify the second verification signature in order to restore the message content. This restoration process is the same as that of the message receiving terminal, and will not be described in detail here.

[0108] The above scheme enhances the message's ability to resist theft, tampering, and unauthorized access. Authorized entities must obtain legitimate authorization before they can decode the message, ensuring that message forwarding control can be reliably and enforced in complex network environments.

[0109] In a preferred embodiment, the message forwarding control method further includes step S4: in response to a compliance check failure notification from the message center, restricting the sending of the offset message; when the forwarding restriction flag of the received offset message is enabled, the message center performs a compliance check on the offset message.

[0110] In this embodiment of the invention, the message center further performs a compliance check on the offset message before forwarding it. If the compliance check passes, the offset message is transmitted in encrypted form via broadcast when the message receiving terminal is reachable; if the message receiving terminal is unreachable, the message forwarding task is suspended and waits. If the compliance check fails, the offset message is intercepted, and a compliance check failure notification is returned to the message sending terminal.

[0111] In a preferred embodiment, the message forwarding control method further includes step S5: in response to the restriction removal request from the message receiving terminal, setting the forwarding restriction flag of the target message to disabled; and directly forwarding the target message to the message receiving terminal.

[0112] In this embodiment of the invention, after receiving an offset message, the message receiving terminal can request the message sending terminal to remove the forwarding restriction. The final decision-making power for message forwarding control still belongs to the message sending terminal. If the message sending terminal decides to remove the forwarding restriction, the sending process is restarted. In the new sending process, processes such as re-encoding, dynamic encryption, and adding verification signatures are skipped, and the target message is forwarded directly to ensure that the target message can be compatiblely received by the message receiving terminal.

[0113] The above solution allows for adjustments to message forwarding strategies based on actual circumstances, avoiding disruption to normal business collaboration due to excessive restrictions.

[0114] The message forwarding control method provided in this embodiment of the invention embeds a forwarding restriction identifier in the message, and the message sending terminal actively re-encodes the target message to convert readable plaintext into a data form that cannot be directly interpreted and used. This ensures that the message content remains under control during transmission and storage, thereby ensuring from the data source that any unauthorized forwarding behavior cannot spread valid information.

[0115] This invention also provides a message forwarding control method applied to a message receiving terminal. Please refer to [link / reference]. Figure 2 In this embodiment, the message forwarding control method is specifically executed through steps P1 to P2: P1. In response to the offset message, obtain the encoding conversion offset, the offset message content, and the forwarding restriction identifier based on the offset message; P2. Based on the encoding conversion offset, the offset message content is reverse-encoded and restored for display; in, The offset message content is obtained by the message sending terminal re-encoding the message content of the target message according to the encoding conversion offset; the forwarding restriction flag of the offset message is enabled.

[0116] The message sending terminal and the message receiving terminal cooperate during message transmission. By receiving and parsing the offset message and performing the reverse transformation, they can restore the plaintext of the message content.

[0117] It should be noted that for the recoded offset message, the message receiving terminal performs real-time reverse recoding of the offset message content during the display of the message content, but the content stored internally is still the offset message content. It does not store the reverse recoded content. Therefore, the message transmitted when it is copied or forwarded is actually the offset message recoded by the message sending terminal.

[0118] In some preferred embodiments, the offset message received by the message receiving terminal is encrypted based on its own first public key, and needs to be decrypted using its own private key before the re-encoding operation is performed.

[0119] As a preferred embodiment, the message forwarding control method further includes: In response to a capability detection message, if the forwarding limitation capability itself is supported, the capability detection message is responded to within a preset time range; the capability detection message is generated by the message sending terminal when the forwarding limitation flag is enabled.

[0120] In this embodiment of the invention, after receiving a capability probe message, the message receiving terminal will perform a self-evaluation of its own hardware, software and protocol stack within a preset time range to determine whether it supports all the functional modules required for the offset message. If it does, it will respond in a timely manner.

[0121] Preferably, the specific architecture and content of the response message to the capability probe message are not restricted within the security scope. Once the message center detects any response from the message receiving terminal, it will consider the forwarding limitation capability of the message receiving terminal to be supported.

[0122] In a preferred implementation, step P1, in response to the offset message, involves obtaining the encoding conversion offset, the offset message content, and the forwarding restriction identifier based on the offset message, including: In response to the offset message, if the forwarding restriction flag is enabled, the offset message is decrypted using the local private key to obtain the encoded conversion offset and the central encrypted content. Receive a dynamic key from the message center, and use the dynamic key to decrypt the encrypted content of the center to obtain the offset message content.

[0123] In some preferred embodiments, the decrypted representation of the offset message is as follows: (7); in, This is the first signature verification. This is the private key of the message receiving terminal; , Encrypt content at the center; This is the encoding conversion offset; This indicates a splicing operation.

[0124] In the above scheme, the offset message content is double-encrypted during message transmission. Therefore, after receiving the message, the message receiving terminal needs to decrypt the message in reverse to obtain the offset message content and the encoding conversion offset, so as to ensure that the offset message content can be reverse-encoded and restored in the future.

[0125] As a preferred embodiment, step P2, re-encoding the offset message content according to the encoding conversion offset and restoring its display, includes: Based on the encoding conversion offset, determine the reverse association elements of each character in the offset message content; Based on the characters and the reverse association elements, an encoding mapping relationship for the offset message content is generated according to preset rules; Based on the encoding mapping relationship, each character in the offset message content is reverse-encoded to obtain displayable message content.

[0126] In some preferred embodiments, the i-th character after reverse recoding is represented as: (8); in, Offset to the i-th character in the message content This is the encoding conversion offset; This means converting x to binary data; This indicates that the binary data x is decoded using the encoding mapping relationship y; <<< indicates a circular right shift. This indicates that the offset encoding mapping relationship is generated according to x.

[0127] The above scheme realizes the process of re-encoding the offset message content based on the encoding conversion offset, which ensures that the original information can be restored without loss of quality, and achieves a balance between security and availability.

[0128] In a preferred embodiment, the message forwarding control method further includes step P3: forwarding the offset message content in response to the user's message forwarding request.

[0129] It should be noted that when a user initiates a message forwarding request, the offset message content will be forwarded directly, instead of the reverse-encoded content. This process ensures the security of the offset message and avoids the function of directly forwarding messages in forwarding restriction scenarios.

[0130] In a preferred embodiment, the message forwarding control method further includes step P4: in response to n consecutive message forwarding requests within a preset time window, generating a restriction release request for the offset message, and forwarding the restriction release request to the message sending terminal, so that the message sending terminal directly forwards the target message to the message receiving terminal.

[0131] In this embodiment of the invention, if a user initiates message forwarding requests multiple times within a preset time window, it is considered that the user has a high demand for forwarding, and a restriction release request is generated so that the message sending terminal can make a decision on the request.

[0132] The message forwarding control method for message receiving terminals provided by this invention can achieve message forwarding control of message sending terminals at the technical level through precise inverse transformation, ensuring that any operation that directly copies or forwards offset messages will only result in unreadable gibberish, thus achieving security protection for the forwarding of target messages.

[0133] This invention also provides a message forwarding control device applied to a message sending terminal. Please refer to [link to relevant documentation]. Figure 3The message forwarding control device 10 includes an encoding conversion offset generation module 11, an offset message generation module 12, and an offset message forwarding module 13, wherein: The encoding conversion offset generation module 11 is used to generate the encoding conversion offset of the target message when the forwarding limitation flag of the target message to be sent is enabled. The offset message generation module 12 is used to re-encode the message content of the target message according to the encoding conversion offset to generate an offset message; the offset message includes the encoding conversion offset, the re-encoded offset message content, and the forwarding restriction identifier; The offset message forwarding module 13 is used to forward the offset message to the message receiving terminal, so that the message receiving terminal can reverse re-encode the content of the offset message according to the encoding conversion offset and restore the display.

[0134] In a preferred embodiment, the encoding conversion offset generation module 11 is specifically used for: When the forwarding restriction flag of the target message to be sent is enabled, obtain the message content size of the target message; Based on the preset character encoding rules and the size of the message content, the encoding conversion offset of the target message is randomly generated.

[0135] In a preferred embodiment, the state of the forwarding restriction identifier is determined based on the risk score of the target message; the state of the forwarding restriction identifier includes enabled and disabled.

[0136] In a preferred embodiment, the message forwarding control device 10 further includes a forwarding limitation setting response module, used for: In response to the user's forwarding restriction settings, the system reports the identification information of the local artificial intelligence model to the message center and receives the cloud prompt words returned by the message center based on the identification information. The message content of the target message and the cloud-based prompts are input into the local artificial intelligence model to calculate the risk score of the target message; When the risk score is greater than the preset risk threshold, the forwarding restriction flag is set to enabled; otherwise, the forwarding restriction flag is set to disabled.

[0137] Further, preferably, the step of inputting the message content of the target message and the cloud-based prompt words into the local artificial intelligence model to calculate the risk score of the target message includes: Acquire user behavior habit data accumulated by the local artificial intelligence model in historical interactions; Based on the cloud-based prompts, the risk score of the target message is calculated by jointly reasoning about the user behavior data and the message content of the target message using the local artificial intelligence model.

[0138] In a preferred embodiment, the message forwarding control device 10 further includes a capability detection module, used for: When the forwarding restriction flag of the target message to be sent is enabled, a capability probe message is generated for the message receiving terminal. The capability detection message is forwarded to the message receiving terminal, and the forwarding limitation capability of the message receiving terminal is received; When the forwarding restriction capability is not supported, the forwarding restriction flag of the target message is set to disabled.

[0139] Further, preferably, the step of forwarding the capability detection message to the message receiving terminal and receiving the forwarding limitation capability from the message receiving terminal includes: The capability detection message is uploaded to the message center so that the message center forwards the capability detection message to the message receiving terminal when the message receiving terminal is in a reachable state, and determines the forwarding limitation capability based on the response of the message receiving terminal. The forwarding limitation capability of the receiving terminal receiving messages returned by the message center.

[0140] Preferably, the capability detection message is used to detect whether the message receiving terminal supports the forwarding restriction function. If the message receiving terminal supports the forwarding restriction function, it will respond within a preset time range after receiving the capability detection message.

[0141] In a preferred embodiment, the offset message generation module 12 includes: The associated element determination unit is used to determine the associated elements of each character from the message content of the target message based on the encoding conversion offset. The offset encoding mapping relationship generation unit is used to generate the offset encoding mapping relationship of the message content according to the character and its associated elements through preset rules; The re-encoding unit is used to re-encode each character in the message content according to the offset encoding mapping relationship to obtain the offset message content; The offset message generation unit is used to generate an offset message based on the encoding conversion offset, the offset message content, and the forwarding restriction identifier.

[0142] Further, preferably, the associated element determination unit is specifically used for: Obtain the character sequence of the message content of the target message; The first character is selected iteratively from the character sequence, and the position of the first character is offset according to the encoding conversion offset to obtain the second character. The second character is used as the associated element of the first character.

[0143] Preferably, the offset encoding mapping relationship generation unit is specifically used for: Based on the initial encoding mapping relationship, obtain the first encoding value of each character in the message content, and obtain the second encoding value of the associated elements of each character; Based on the second encoded value, the first encoded value is offset to obtain the offset encoding mapping relationship of all characters in the message content.

[0144] Preferably, the offset message generation unit is specifically used for: Receive dynamic keys from the message center; The offset message content is encrypted using the dynamic key to obtain the central encrypted content; The public key of the authorized entity is used to encrypt the central encrypted content and the encoding conversion offset to obtain a verification signature; the authorized entity includes a message receiving terminal and a message center; A forwarding restriction identifier and the verification signature are added to the target message, and the message content in the target message is replaced with the encrypted content to generate an offset message.

[0145] Furthermore, preferably, the step of encrypting the central encrypted content and the encoding conversion offset using the public key of the authorized entity to obtain the verification signature includes: The central encrypted content and the encoding conversion offset are concatenated to obtain the recoding basis data; Obtain the first public key of the message receiving terminal, and use the first public key to encrypt the re-encoded data to obtain the first verification signature; Obtain the second public key from the message center, and use the second public key to encrypt the re-encoded data to obtain the second verification signature.

[0146] In a preferred embodiment, the offset message forwarding module 13 is specifically used for: The offset message is uploaded to the message center, which then forwards it to the message receiving terminal. The message receiving terminal then reverse-encodes the offset message content based on the encoding conversion offset and restores its display.

[0147] In a preferred embodiment, the message forwarding control device 10 further includes a compliance check response module, used for: In response to a compliance check failure notification from the message center, the sending of the offset message is restricted; the message center performs a compliance check on the offset message when the forwarding restriction flag of the received offset message is enabled.

[0148] In a preferred embodiment, the message forwarding control device 10 further includes a limitation release control module, used for: In response to the request to remove the restriction from the message receiving terminal, the forwarding restriction flag of the target message is set to disabled; The target message is forwarded directly to the message receiving terminal.

[0149] The message forwarding control device for a message sending terminal provided by this invention embeds a forwarding restriction identifier in the message. The message sending terminal actively re-encodes the target message, converting readable plaintext into a data form that cannot be directly interpreted or used. This ensures that the message content remains under control during transmission and storage, thereby ensuring from the data source that any unauthorized forwarding behavior cannot spread valid information.

[0150] This invention also provides a message forwarding control device applied to a message receiving terminal. Please refer to [link to relevant documentation]. Figure 4 The message forwarding control device 20 includes an offset message response module 21 and a reverse recoding module 22, wherein: Offset message response module 21 is used to respond to an offset message and obtain the encoding conversion offset, offset message content and forwarding restriction identifier according to the offset message; The reverse re-encoding module 22 is used to reverse re-encode the offset message content according to the encoding conversion offset and restore the display. in, The offset message content is obtained by the message sending terminal re-encoding according to the encoding conversion offset; the forwarding restriction flag of the offset message is enabled.

[0151] In a preferred embodiment, the message forwarding control device 20 further includes a capability detection message response module, used for: In response to a capability detection message, if the forwarding limitation capability itself is supported, the capability detection message is responded to within a preset time range; the capability detection message is generated by the message sending terminal when the forwarding limitation flag is enabled.

[0152] In a preferred embodiment, the offset message response module 21 is specifically used for: In response to the offset message, if the forwarding restriction flag is enabled, the offset message is decrypted using the local private key to obtain the encoded conversion offset and the central encrypted content. Receive a dynamic key from the message center, and use the dynamic key to decrypt the encrypted content of the center to obtain the offset message content.

[0153] In a preferred embodiment, the reverse recoding module 22 is specifically used for: Based on the encoding conversion offset, determine the reverse association elements of each character in the offset message content; Based on the characters and the reverse association elements, an encoding mapping relationship for the offset message content is generated according to preset rules; Based on the encoding mapping relationship, each character in the offset message content is reverse-encoded to obtain displayable message content.

[0154] In a preferred embodiment, the message forwarding control device 20 further includes a forwarding request response module, used for: In response to a user's message forwarding request, the offset message content is forwarded.

[0155] In a preferred embodiment, the message forwarding control device 20 further includes a limitation release request generation module, used for: In response to n consecutive message forwarding requests within a preset time window, a restriction release request for the offset message is generated, and the restriction release request is forwarded to the message sending terminal so that the message sending terminal directly forwards the target message to the message receiving terminal.

[0156] The message forwarding control device for a message receiving terminal provided by this invention can achieve message forwarding control of the message sending terminal at the technical level through precise inverse transformation, ensuring that any operation that directly copies or forwards offset messages will only result in unreadable gibberish, thus realizing the security protection of the forwarding of target messages.

[0157] This invention also provides a message forwarding control system, which includes a message sending terminal and a message receiving terminal. The message sending terminal is configured to execute the steps in the above-described embodiments of the message forwarding control method applied to the message sending terminal, such as steps S1 to S3; the message receiving terminal is configured to execute the steps in the above-described embodiments of the message forwarding control method applied to the message receiving terminal, such as steps P1 to P2.

[0158] Please see Figure 5 , Figure 5This is a structural block diagram of a message forwarding control device provided in an embodiment of the present invention. The message forwarding control device includes a processor 31, a memory 32, and a computer program stored in the memory 32 and executable on the processor 31. When the processor 31 executes the computer program, it implements the steps in the above-described message forwarding control method embodiments, such as steps S1~S3, or steps P1~P2.

[0159] For example, the computer program can be divided into one or more modules / units, which are stored in the memory 32 and executed by the processor 31 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the message forwarding control device.

[0160] The message forwarding control device may include, but is not limited to, a processor 31 and a memory 32. Those skilled in the art will understand that the schematic diagram is merely an example of a message forwarding control device and does not constitute a limitation on the device. It may include more or fewer components than illustrated, or combine certain components, or use different components. For example, the message forwarding control device may also include input / output devices, network access devices, buses, etc.

[0161] The processor 31 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor 31 is the control center of the message forwarding and control device, connecting various parts of the entire message forwarding and control device through various interfaces and lines.

[0162] The memory 32 can be used to store the computer programs and / or modules. The processor 31 implements various functions of the message forwarding and control device by running or executing the computer programs and / or modules stored in the memory 32 and calling the data stored in the memory 32. The memory 32 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 32 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0163] If the modules / units integrated into the message forwarding control device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by the processor 31, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0164] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A message forwarding control method, characterized in that, The message forwarding control method, applied to a message sending terminal, includes: When the forwarding restriction flag of the target message to be sent is enabled, the encoding conversion offset of the target message is generated; Based on the encoding conversion offset, the message content of the target message is re-encoded to generate an offset message; the offset message includes the encoding conversion offset, the re-encoded offset message content, and a forwarding restriction identifier; The offset message is forwarded to the message receiving terminal so that the message receiving terminal can reverse-encode the content of the offset message according to the encoding conversion offset and restore the display.

2. The message forwarding control method as described in claim 1, characterized in that, When the forwarding restriction flag of the target message to be sent is enabled, the generation of the encoding conversion offset of the target message includes: When the forwarding restriction flag of the target message to be sent is enabled, obtain the message content size of the target message; Based on the preset character encoding rules and the size of the message content, the encoding conversion offset of the target message is randomly generated.

3. The message forwarding control method as described in claim 1, characterized in that, The status of the forwarding restriction identifier is determined based on the risk score of the target message; the status of the forwarding restriction identifier includes enabled and disabled.

4. A message forwarding control method as described in claim 1 or 3, characterized in that, Before generating the encoding conversion offset of the target message when the forwarding limitation flag of the target message to be sent is enabled, the message forwarding control method further includes: In response to the user's forwarding restriction settings, the system reports the identification information of the local artificial intelligence model to the message center and receives the cloud prompt words returned by the message center based on the identification information. The message content of the target message and the cloud-based prompts are input into the local artificial intelligence model to calculate the risk score of the target message; When the risk score is greater than the preset risk threshold, the forwarding restriction flag is set to enabled; otherwise, the forwarding restriction flag is set to disabled.

5. The message forwarding control method as described in claim 4, characterized in that, The step of inputting the message content of the target message and the cloud-based prompt words into the local artificial intelligence model to calculate the risk score of the target message includes: Acquire user behavior habit data accumulated by the local artificial intelligence model in historical interactions; Based on the cloud-based prompts, the risk score of the target message is calculated by jointly reasoning about the user behavior data and the message content of the target message using the local artificial intelligence model.

6. The message forwarding control method as described in claim 1, characterized in that, Before generating the encoding conversion offset of the target message when the forwarding limitation flag of the target message to be sent is enabled, the message forwarding control method further includes: When the forwarding restriction flag of the target message to be sent is enabled, a capability probe message is generated for the message receiving terminal. The capability detection message is forwarded to the message receiving terminal, and the forwarding limitation capability of the message receiving terminal is received; When the forwarding restriction capability is not supported, the forwarding restriction flag of the target message is set to disabled.

7. The message forwarding control method as described in claim 6, characterized in that, The step of forwarding the capability detection message to the message receiving terminal and receiving the forwarding limitation capability from the message receiving terminal includes: The capability detection message is uploaded to the message center so that the message center forwards the capability detection message to the message receiving terminal when the message receiving terminal is in a reachable state, and determines the forwarding limitation capability based on the response of the message receiving terminal. The forwarding limitation capability of the receiving terminal receiving messages returned by the message center.

8. A message forwarding control method as described in claim 6 or 7, characterized in that, The capability detection message is used to detect whether the message receiving terminal supports the forwarding restriction function. If the message receiving terminal supports the forwarding restriction function, it will respond within a preset time range after receiving the capability detection message.

9. The message forwarding control method as described in claim 1, characterized in that, The step of re-encoding the message content of the target message according to the encoding conversion offset to generate an offset message includes: Based on the encoding conversion offset, the associated elements of each character are determined from the message content of the target message; Based on the characters and their associated elements, an offset encoding mapping relationship for the message content is generated using preset rules; Based on the offset encoding mapping relationship, each character in the message content is re-encoded to obtain the offset message content; An offset message is generated based on the encoding conversion offset, the offset message content, and the forwarding restriction identifier.

10. The message forwarding control method as described in claim 9, characterized in that, The step of determining the associated elements of each character from the message content of the target message based on the encoding conversion offset includes: Obtain the character sequence of the message content of the target message; The first character is selected iteratively from the character sequence, and the position of the first character is offset according to the encoding conversion offset to obtain the second character. The second character is used as the associated element of the first character.

11. The message forwarding control method as described in claim 9, characterized in that, The step of generating an offset encoding mapping relationship for message content based on the characters and their associated elements according to preset rules includes: Based on the initial encoding mapping relationship, obtain the first encoding value of each character in the message content, and obtain the second encoding value of the associated elements of each character; Based on the second encoded value, the first encoded value is offset to obtain the offset encoding mapping relationship of all characters in the message content.

12. The message forwarding control method as described in claim 9, characterized in that, The step of generating an offset message based on the encoding conversion offset, the offset message content, and the forwarding restriction identifier includes: Receive dynamic keys from the message center; The offset message content is encrypted using the dynamic key to obtain the central encrypted content; The public key of the authorized entity is used to encrypt the central encrypted content and the encoding conversion offset to obtain a verification signature; the authorized entity includes a message receiving terminal and a message center; A forwarding restriction identifier and the verification signature are added to the target message, and the message content in the target message is replaced with the encrypted content to generate an offset message.

13. The message forwarding control method as described in claim 12, characterized in that, The step of encrypting the central encrypted content and the encoding conversion offset using the public key of the authorized entity to obtain the verification signature includes: The central encrypted content and the encoding conversion offset are concatenated to obtain the recoding basis data; Obtain the first public key of the message receiving terminal, and use the first public key to encrypt the re-encoded data to obtain the first verification signature; Obtain the second public key from the message center, and use the second public key to encrypt the re-encoded data to obtain the second verification signature.

14. The message forwarding control method as described in claim 1, characterized in that, The step of forwarding the offset message to the message receiving terminal, so that the message receiving terminal can reverse-encode the content of the offset message according to the encoding conversion offset and restore its display, includes: The offset message is uploaded to the message center, which then forwards it to the message receiving terminal. The message receiving terminal then reverse-encodes the offset message content based on the encoding conversion offset and restores its display.

15. A message forwarding control method as described in claim 1 or 14, characterized in that, The message forwarding control method also includes: In response to a compliance check failure notification from the message center, the sending of the offset message is restricted; the message center performs a compliance check on the offset message when the forwarding restriction flag of the received offset message is enabled.

16. The message forwarding control method as described in claim 1, characterized in that, The message forwarding control method also includes: In response to the request to remove the restriction from the message receiving terminal, the forwarding restriction flag of the target message is set to disabled; The target message is forwarded directly to the message receiving terminal.

17. A message forwarding control method, characterized in that, The message forwarding control method, applied to a message receiving terminal, includes: In response to the offset message, the encoding conversion offset, the offset message content, and the forwarding restriction identifier are obtained based on the offset message; Based on the encoding conversion offset, the offset message content is reverse-encoded and restored for display; in, The offset message content is obtained by the message sending terminal re-encoding according to the encoding conversion offset; the forwarding restriction flag of the offset message is enabled.

18. A message forwarding control method as described in claim 17, characterized in that, The message forwarding control method also includes: In response to a capability detection message, if the forwarding limitation capability itself is supported, the capability detection message is responded to within a preset time range; the capability detection message is generated by the message sending terminal when the forwarding limitation flag is enabled.

19. A message forwarding control method as described in claim 17, characterized in that, The response to the offset message includes obtaining the encoding conversion offset, the offset message content, and the forwarding restriction identifier based on the offset message, including: In response to the offset message, if the forwarding restriction flag is enabled, the offset message is decrypted using the local private key to obtain the encoded conversion offset and the central encrypted content. Receive a dynamic key from the message center, and use the dynamic key to decrypt the encrypted content of the center to obtain the offset message content.

20. A message forwarding control method as described in claim 17, characterized in that, The step of re-encoding and restoring the offset message content according to the encoding conversion offset includes: Based on the encoding conversion offset, determine the reverse association elements of each character in the offset message content; Based on the characters and the reverse association elements, an encoding mapping relationship for the offset message content is generated according to preset rules; Based on the encoding mapping relationship, each character in the offset message content is reverse-encoded to obtain displayable message content.

21. A message forwarding control method as described in claim 17, characterized in that, After responding to the offset message and obtaining the encoding conversion offset, the offset message content, and the forwarding limitation identifier based on the offset message, the message forwarding control method further includes: In response to a user's message forwarding request, the offset message content is forwarded.

22. The message forwarding control method as described in claim 17, characterized in that, The message forwarding control method also includes: In response to n consecutive message forwarding requests within a preset time window, a restriction release request for the offset message is generated, and the restriction release request is forwarded to the message sending terminal so that the message sending terminal directly forwards the target message to the message receiving terminal.

23. A message forwarding control device, characterized in that, The message forwarding control device, applied to a message sending terminal, includes: The encoding conversion offset generation module is used to generate the encoding conversion offset of the target message when the forwarding limitation flag of the target message to be sent is enabled. The offset message generation module is used to re-encode the message content of the target message according to the encoding conversion offset to generate an offset message; the offset message includes the encoding conversion offset, the re-encoded offset message content, and the forwarding restriction identifier; The offset message forwarding module is used to forward the offset message to the message receiving terminal, so that the message receiving terminal can reverse re-encode the content of the offset message according to the encoding conversion offset and restore the display.

24. A message forwarding control device, characterized in that, The message forwarding control device, applied to a message receiving terminal, includes: Offset message response module, used to respond to offset messages and obtain the encoding conversion offset, offset message content and forwarding restriction identifier according to the offset message; The reverse re-encoding module is used to reverse re-encode the offset message content according to the encoding conversion offset and restore the display. in, The offset message content is obtained by the message sending terminal re-encoding according to the encoding conversion offset; the forwarding restriction flag of the offset message is enabled.

25. A message forwarding control system, characterized in that, include: A message sending terminal is configured to execute the message forwarding control method according to any one of claims 1 to 16; as well as, The message receiving terminal is configured to perform the message forwarding control method according to any one of claims 17 to 22.

26. A message forwarding control device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the message forwarding control method according to any one of claims 1 to 16, or the message forwarding control method according to any one of claims 17 to 22.

27. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the message forwarding control method according to any one of claims 1 to 16, or the message forwarding control method according to any one of claims 17 to 22.

28. A computer program product, characterized in that, The computer program product includes a computer program or computer instructions, which, when executed by a processor, perform the message forwarding control method according to any one of claims 1 to 16, or the message forwarding control method according to any one of claims 17 to 22.