Message management methods, devices, equipment, media and program products
By receiving and processing target messages from any application server through the terminal, and generating control information using preset control policies and cross-domain information transmission methods, the problem of high consumption and omissions in the management platform's supervision is solved, and efficient message control and security enhancement are achieved.
Patent Information
- Application Number
- CN202510636201.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, management platforms need to monitor a large number of application servers, which leads to high costs and the risk of oversights, making it difficult to effectively control messages and resulting in reduced security.
The terminal receives target messages sent by any application server, obtains initial information from the target messages based on preset control policies, and generates control information through internal or external cross-domain information transmission methods to achieve unified message control.
It reduces the workload of monitoring application servers, avoids the negative impact of excessive management platform consumption, improves security and control efficiency, and reduces the possibility of overlooked supervision.
Smart Images

Figure CN123122852A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a message management method, apparatus, device, medium, and program product. Background Technology
[0002] When messages are transmitted between devices, some messages may contain confidential information, so this confidential information cannot be transmitted to the receiving end.
[0003] In existing technologies, each application server sends messages to a management platform. When the management platform manages the messages, it identifies the confidential information contained therein and then sends the valid information to the terminal, which then processes the valid information.
[0004] However, when faced with a large number of application servers, the management platform needs to take over and monitor each application server. This consumes a lot of resources and is prone to oversights, making it impossible to control messages and resulting in reduced security. Summary of the Invention
[0005] This application provides message management methods, apparatus, devices, media, and program products to improve security.
[0006] In a first aspect, embodiments of this application provide a message management method, including:
[0007] Receive target messages sent by any application server;
[0008] In response to a user-triggered message control request, initial information is obtained from the target message based on a preset control strategy; the initial information is the text content included in the target message.
[0009] Based on the initial information and information transmission method, control information is obtained to achieve message control.
[0010] In one approach, the step of obtaining initial information from the target message based on a preset control strategy in response to a user-triggered operation request includes:
[0011] In response to a user-triggered message control request, determine the cross-domain status;
[0012] If the cross-domain status is "interoperable", take a screenshot of the target message display area to obtain a screenshot image;
[0013] Initial information is extracted from the screenshot using a preset text extraction tool; the initial information is at least one.
[0014] In one embodiment, the terminal includes a first network domain and a second network domain; the target message is located in the first network domain, and the domain corresponding to the first network domain is the second network domain.
[0015] The process of obtaining control information based on the initial information and information transmission method to achieve message control includes:
[0016] In response to the information transmission method being an external cross-domain information transmission method, the second network domain receives control information sent by the fourth network domain in the network server to achieve message control across domains; the control information is obtained by the network server based on initial information under the third network domain and transmitted to the fourth network domain, and sent from the fourth network domain; the network server includes the third network domain corresponding to the first network domain and the fourth network domain corresponding to the second network domain;
[0017] In response to the information transmission method being an internal cross-domain information transmission method, control information is generated based on the initial information in the first network domain, and the control information is transmitted to the second network domain to achieve cross-domain message control.
[0018] In one approach, generating control information based on the initial information within the first network domain includes:
[0019] Obtain at least one preset security information type from the preset control policy;
[0020] Under the first network domain, security information is determined from the text message based on each of the preset security information types;
[0021] Control information is generated based on the security information within the first network domain.
[0022] In one approach, determining security information from the text message based on each of the preset security information types within the first network domain includes:
[0023] Under the first network domain, determine the target type corresponding to each of the initial information;
[0024] For each target type, the initial information that matches the target type with any of the preset security information types is determined as security information.
[0025] In one embodiment, the control information includes first control information and / or second control information;
[0026] The step of generating control information based on the security information under the first network domain includes:
[0027] Under the first network domain, a preset artificial intelligence model is used to identify errors in each of the security information;
[0028] If there are errors in the security information, the errors are corrected based on the security information to generate the first control information;
[0029] If there are no errors in the security information, then the initial information is determined as the second control information.
[0030] In one approach, the message control request includes a request to perform a target operation under a second network domain;
[0031] After obtaining control information based on the initial information and information transmission method to achieve message control, the method further includes:
[0032] Identify the application associated with the target operation;
[0033] The relevant application is invoked under the second network domain, and information related to the target operation is determined from the control information;
[0034] The relevant application is launched based on the aforementioned information, and the corresponding target operation is performed.
[0035] In one approach, determining the cross-domain state includes:
[0036] Obtain the configuration information corresponding to the information transmission method;
[0037] If it is determined from the configuration information that the two network domains are interconnected, then the cross-domain status is determined to be interconnected;
[0038] If it is determined from the configuration information that two network domains are interrupted, then the cross-domain status is determined to be blocked.
[0039] Secondly, embodiments of this application provide a message management device, including:
[0040] The receiving module is used to receive target messages sent by any application server;
[0041] The acquisition module is used to respond to a user-triggered message control request and acquire initial information from the target message based on a preset control strategy; the initial information is the text content included in the target message.
[0042] The acquisition module is used to obtain control information based on the initial information and information transmission method in order to realize message control.
[0043] Thirdly, embodiments of this application provide a message management device, including: a memory and a processor;
[0044] The memory stores computer-executed instructions;
[0045] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0046] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0047] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0048] The message management method, apparatus, device, medium, and program product provided in this application embodiment obtain initial information from received target messages, and then obtain management information from the initial information to achieve message management. In this application, the target message can originate from any application server, so the terminal can achieve message management for any target message, regardless of which application server it originates from. As long as it is a target message, it can be managed, thus reducing the possibility of missing target messages and improving security. In addition, this application only targets the target message and not the application server, thereby reducing the workload of connecting to the application server and avoiding the negative impact of high management platform consumption in the prior art, thus making the solution more likely to be implemented. This application achieves unified management of target messages, making management simpler and improving management efficiency. Attached Figure Description
[0049] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0050] Figure 1 A schematic diagram illustrating the message control scenario provided for this application;
[0051] Figure 2 This is a flowchart illustrating a message management method provided in Embodiment 1;
[0052] Figure 3 This is a schematic diagram of a message management method provided in Embodiment 2;
[0053] Figure 4 This is a complete schematic diagram of message management provided in Example 5;
[0054] Figure 5 This is another complete schematic diagram of message control provided in Example 5;
[0055] Figure 6 A schematic diagram of a message control device provided in this application;
[0056] Figure 7 A schematic diagram of the message management device provided in this application.
[0057] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0058] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0059] In existing technologies, each application server sends messages to a management platform. When the management platform manages the messages, it identifies the confidential information contained therein and then sends the valid information to the terminal, which then processes the valid information.
[0060] However, when faced with a large number of application servers, the management platform needs to take over and supervise each application server, and conduct special supervision and message control for each application server. This makes the management platform consume a lot of resources, and it is easy to miss supervision and fail to achieve message control, resulting in reduced security.
[0061] To address the shortcomings of existing technologies, the inventors of this solution, through creative research, designed a new approach. This solution provides a message management method. Figure 1 The schematic diagram of the message control scenario provided in this application is as follows: Figure 1 As shown, it includes electronic device 101 and application server 102.
[0062] Among them, electronic device 101 can be a computer, mobile phone, or other device, and there is no limitation here. Electronic device 101 is a terminal.
[0063] In this scenario, the application server 102 sends a target message to the electronic device 101. Furthermore, the electronic device 101 obtains initial information from the target message based on a preset control strategy.
[0064] Furthermore, the electronic device 101 determines that the information transmission method is an internal cross-domain information transmission method, and obtains control information through initial information, thereby realizing message control.
[0065] As can be seen from the above scenarios, existing technologies require monitoring of each application server, resulting in a heavy workload and high resource consumption for the management platform, making implementation difficult. Furthermore, missed monitoring reduces security. To address these issues, this application allows the terminal to receive target messages from any application server. Therefore, regardless of the application server from which the target message originates, this application can achieve unified management through preset control policies, eliminating the need to monitor each application server and preventing missed monitoring, thus increasing security. This application only targets the target message, not the application server, reducing the workload of connecting to application servers and avoiding the high resource consumption of existing management platforms, thus increasing the likelihood of successful implementation. In addition, unified management improves management efficiency.
[0066] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0067] Example 1
[0068] In this embodiment, the execution entity is a message management device, and the method is applied to a terminal. Figure 2 This is a schematic diagram of a message management method provided in Embodiment 1. Figure 2 As shown, it includes:
[0069] S201, receive target messages sent by any application server.
[0070] The target message can be a notification, which can be displayed on a part of the terminal's interface.
[0071] The application server can be a server for any type of application, such as a communication server or a navigation server; there are no restrictions here.
[0072] S202, in response to a user-triggered message control request, retrieves initial information from the target message based on a preset control policy.
[0073] The initial information refers to the text content included in the target message.
[0074] The message control request can be triggered by the user pressing and holding the target message display area on the terminal, interacting through voice commands, or pressing and holding a mechanical button on the terminal, or by other means, without any restrictions.
[0075] S203, obtain control information based on initial information and information transmission method to achieve message control.
[0076] Among them, the information transmission method refers to the way in which initial information is transmitted inside or outside the terminal.
[0077] This embodiment provides a message control method. It obtains initial information from received target messages and then extracts control information from these initial information to achieve message control. In this embodiment, the target message can originate from any application server. Therefore, the terminal can control any target message, regardless of its origin. Since all target messages are subject to control, the possibility of missing target messages is reduced, thus improving security. Furthermore, this embodiment only targets the target message, not the application server, reducing the workload of connecting to the application server and avoiding the high resource consumption of existing management platforms, making the solution more feasible. This embodiment achieves unified control over target messages, simplifying control and improving efficiency.
[0078] Example 2
[0079] This embodiment is a further refinement of any of the above embodiments. This embodiment is an optional method for obtaining initial information from target messages based on a preset control strategy in response to a user-triggered operation request.
[0080] Figure 3 This is a flowchart illustrating a message management method provided in Embodiment 2, which specifically includes the following steps:
[0081] S301, responding to a user-triggered message control request, determines the cross-domain status.
[0082] Cross-domain status refers to the state of information transmission between two network domains. If information can be transmitted between the two network domains, the cross-domain status is "interoperable"; if information cannot be transmitted between the two network domains, the cross-domain status is "interrupted".
[0083] Understandably, when a user triggers a message control request, cross-domain status needs to be determined to ensure that the transmission of information is supported.
[0084] When managing messages for the terminal itself, the terminal needs to determine whether its two network domains are interconnected. If they are interconnected, the cross-domain status is "interconnected".
[0085] When managing messages in collaboration between a terminal and a network server, the terminal needs to determine whether the two network domains on the network server are interconnected. If they are interconnected, the cross-domain status is "interconnected".
[0086] This embodiment also includes an optional method: determining the cross-domain status, specifically including:
[0087] Obtain the configuration information corresponding to the information transmission method; if the configuration information determines that the two network domains are interconnected, then the cross-domain status is determined to be interconnected; if the configuration information determines that the two network domains are interrupted, then the cross-domain status is determined to be blocked.
[0088] The configuration information is stored in the terminal's storage area and can be pre-configured.
[0089] The configuration information may include terminal configuration information or terminal-network server collaborative configuration information. The terminal configuration information includes pre-configured information for information transmission between the terminal's two network domains. The terminal-network server collaborative configuration includes pre-configured information for information transmission between the network server's two network domains.
[0090] The information transmission method can include internal cross-domain information transmission or external cross-domain information transmission. Internal cross-domain information transmission refers to a method in which the terminal can transmit information across domains through its own two network domains. External cross-domain information transmission refers to a method in which the terminal collaborates with a network server, and the network server transmits information across domains through its own two network domains.
[0091] For example, assuming the information transmission method is an external cross-domain information transmission method, the terminal obtains configuration information from its own storage area. This configuration information is the terminal and network server collaborative configuration information. The terminal determines the cross-domain configuration of the two network domains included in the network server from the above terminal and network server collaborative configuration information. If the terminal and network server collaborative configuration information includes the following: the third network domain supports transmitting its own information to the fourth network domain, the fourth network domain supports receiving information transmitted by the third network domain, and the fourth network domain supports transmitting its own information to the third network domain, and the third network domain supports receiving information transmitted by the fourth network domain, then it is determined that the two network domains included in the network server are interconnected, and thus the cross-domain status is determined to be interconnected.
[0092] If the terminal and network server's collaborative configuration information includes the following: the third network domain supports transmitting its own information to the fourth network domain, the fourth network domain does not support receiving information transmitted from the third network domain, and the fourth network domain supports transmitting its own information to the third network domain, while the third network domain does not support receiving information transmitted from the fourth network domain, then it is determined that the two network domains included in the network server are interrupted, and thus the cross-domain status is determined to be interrupted. In the above two network domains, if either network domain does not support receiving information sent by the other network domain and / or does not support transmitting its own information to the other network domain, then both network domains can be identified as terminals.
[0093] The above example illustrates the collaborative configuration information between the terminal and the network server. Similarly, when the configuration information is terminal configuration information, the determination of whether the two network domains included in the terminal are interconnected is consistent with the above description, and no restrictions are imposed here.
[0094] In this embodiment, determining the cross-domain status can specifically identify the configuration information corresponding to the information transmission method, thereby distinguishing whether the two network domains included in different message management schemes are interconnected, and thus determining the cross-domain status.
[0095] S302, if the cross-domain status is "interoperable", take a screenshot of the target message display area to obtain a screenshot image.
[0096] In one approach, if the cross-domain status is interrupted, the target message is not processed, nor is the message control request triggered by the user responded to; the terminal can hide the target message.
[0097] Understandably, if the target message appears in the upper part of the terminal interface, the terminal determines that the upper part of the interface is the display area of the target message, and thus takes a screenshot of the target message display area to obtain a screenshot image. Therefore, the terminal can take a screenshot of the upper part of the interface where the target message appears, while leaving the remaining areas unprocessed.
[0098] It should be noted that after completing the control of the target message, the terminal can delete the screenshot and the initial information.
[0099] It should be noted that the screenshot includes the text content of the target message.
[0100] S303 uses a preset text extraction tool to extract initial information from screenshot images.
[0101] Optional, at least one initial information.
[0102] Among them, the preset text extraction tool refers to a tool that can identify the text content contained in an image. In one approach, the preset text extraction tool can be an Optical Character Recognition (OCR) tool.
[0103] For example, the terminal can be equipped with a preset text extraction tool, which then identifies the text content from the screenshot and extracts it to form initial information. It should be noted that this initial information may include information such as name, address, or age; there are no restrictions here.
[0104] It should be noted that the initial information is the text content included in the target message, so the preset text extraction tool can extract the text content from the target message.
[0105] In this embodiment, the terminal can finally delete the screenshot and initial information to improve security.
[0106] This embodiment provides a message management method. In this embodiment, text extraction can only be performed when the cross-domain status is interconnected, thereby ensuring the orderly progress of message management. In addition, the initial information is extracted using a preset text extraction tool, which is beneficial to subsequent message management.
[0107] Example 3
[0108] This embodiment is a further refinement of any of the above embodiments. In this embodiment, the terminal includes a first network domain and a second network domain; the target message is located in the first network domain, and the domain corresponding to the first network domain is the second network domain.
[0109] This embodiment is an optional method for obtaining control information based on initial information and information transmission methods to achieve message control, including:
[0110] In response to the information transmission method being an external cross-domain information transmission method, the second network domain receives the control information sent by the fourth network domain in the network server to realize message control in the cross domain; the control information is obtained by the network server based on the initial information under the third network domain and transmitted to the fourth network domain, and sent from the fourth network domain; the network server includes the third network domain corresponding to the first network domain and the fourth network domain corresponding to the second network domain.
[0111] Among them, the external cross-domain information transmission method refers to the method in which the terminal and the network server cooperate to transmit information across domains.
[0112] Specifically, the terminal sends initial information to the third network domain of the network server under the first network domain. The network server obtains control information based on the initial information in the third network domain and then transmits the control information to its own fourth network domain, thereby realizing cross-domain transmission. Furthermore, the network server sends the control information to the terminal's second network domain under the fourth network domain, thus enabling the terminal to transmit information between its two network domains through cooperation with the network server. The actual cross-domain transmission is completed by the network server.
[0113] In response to the information transmission method being an internal cross-domain information transmission method, control information is generated based on initial information in the first network domain, and the control information is transmitted to the second network domain to achieve cross-domain message control.
[0114] Among them, the internal cross-domain information transmission method refers to the method of transmitting information across domains between two network domains within the terminal.
[0115] It should be noted that the network domain in this application can be a general network domain or a private network domain. Applications invoked under a general network domain can perform more comprehensive functions, while applications invoked under a private network domain have limited functionality. In some scenarios, users may want to achieve more comprehensive functions, which will trigger the invocation of applications under a general network domain, thereby triggering a request to execute the target operation. Depending on the user's needs, the execution of the target operation can be performed by invoking the relevant application under a general network domain, launching the application based on relevant information, or by invoking the relevant application under a private network domain, launching the application based on relevant information, to execute the target operation.
[0116] It should be noted that the first network domain and the second network domain in this application are different network domains. When the first network domain is a private network domain, the second network domain is a general network domain. Since the third network domain in the network server is consistent with the first network domain, it is also a private network domain. Similarly, since the fourth network domain is consistent with the second network domain, it is also a general network domain. Conversely, when the first network domain is a general network domain, the second network domain is a private network domain. Since the third network domain in the network server is consistent with the first network domain, it is also a general network domain. Therefore, since the fourth network domain is consistent with the second network domain, it is also a private network domain. Thus, the first and third network domains in this application can be either private or general network domains, while the second and fourth network domains can be either the opposite (general or private network domains). Therefore, this application can achieve cross-domain movement from a general network domain to a private network domain, and vice versa, providing various forms of cross-domain functionality and practicality. This embodiment provides a message management method. Depending on the information transmission method, it enables the terminal to perform cross-domain information transmission itself, or the terminal to collaborate with a network server, sending initial information to the network server and instructing the network server to perform cross-domain information transmission within itself, thereby achieving message management across domains. This embodiment differentiates message management based on different information transmission methods, considering the possibilities of message management from multiple perspectives, thus increasing its practicality.
[0117] This embodiment also includes an optional method: generating control information based on initial information under the first network domain, specifically including:
[0118] Obtain at least one preset security information type from the preset control policies. Under the first network domain, determine security information from text messages based on each preset security information type. Under the first network domain, generate control information based on the security information.
[0119] The preset control policies can be pre-set and stored in the terminal's storage area.
[0120] The preset control policy is a policy for controlling any target message, and it is unrelated to the application server to which the target message belongs. Therefore, the preset control policy in this application is a unified policy specified for all target messages.
[0121] The preset control strategy includes at least one preset security information type, which can be an address, social rules and regulations, or public information. It should be noted that information that matches the preset security information type is considered security information.
[0122] In one approach, determining security information from text messages based on preset security information types within a first network domain may include the following steps:
[0123] Under the first network domain, the target type corresponding to each initial information is determined; for each target type, the initial information whose target type is consistent with any preset security information type is determined as security information.
[0124] Suppose the initial information includes three pieces of initial information, each corresponding to its own type: target type 1, target type 2, and target type 3. If target type 1 matches one of at least one preset security information type, then the initial information corresponding to target type 1 is determined as security information. Similarly, the types corresponding to the other two pieces of initial information are determined to match any of the preset security information types, thus identifying security information from the initial information.
[0125] It should be noted that secure information refers to information that can be transmitted across domains. Transmitting secure information across different network domains will not lead to the leakage of confidential information. However, insecure information is confidential information. If insecure information is transmitted between two network domains, it will be leaked from one network domain to the other. The other network domain may then leak the insecure information or allow it to be attacked by malicious devices, thus creating security risks. Therefore, in this application, the secure information is first determined from the initial information based on at least one preset secure information type. If the type corresponding to the initial information matches any preset secure information type, then the initial information is secure information. In this step, secure information can be transmitted between two network domains without leading to the leakage of confidential information. Therefore, determining secure information in this embodiment can improve security and reduce the leakage of confidential information.
[0126] To ensure that there are no errors in the security information, the terminal generates control information based on the security information in the first network domain. Furthermore, the terminal transmits the control information from the first network domain to the second network domain to achieve cross-domain message control.
[0127] This embodiment provides a message control method. In this embodiment, security information can be accurately determined from initial information by pre-setting security information types. At the same time, in order to make the security information more accurate, control information is further generated.
[0128] This embodiment also includes an optional method: determining security information from text messages based on each preset security information type under the first network domain, specifically including:
[0129] In this embodiment, the control information includes first control information and / or second control information;
[0130] This embodiment also includes an optional method: generating control information based on security information under the first network domain, specifically including:
[0131] In the first network domain, a preset artificial intelligence model is used to identify errors in each security information; if there are errors in the security information, the errors are corrected based on the security information to generate the first control information; if there are no errors in the security information, the initial information is determined as the second control information.
[0132] The first control information refers to the information that includes errors in the security information and that has been corrected.
[0133] The second control information refers to information in the security information that is free of errors, and this security information is identified as the second control information.
[0134] The preset AI model can be any pre-defined error recognition model; there are no restrictions here. Errors can include typos, grammatical errors, or other types of errors; there are no restrictions here either.
[0135] It should be noted that if there are multiple security information entries, some of them may contain errors, while the remaining security information may be error-free. For security information that does not contain errors, no correction is required.
[0136] This embodiment provides a message control method. If an error is found in the security information, the error is corrected based on the security information to generate the first control information. In this embodiment, the error correction can make the control information more accurate.
[0137] Example 4
[0138] This embodiment is a further refinement of any of the above embodiments. In this embodiment, the message control request includes a request to perform a target operation under the second network domain.
[0139] After obtaining control information based on initial information and information transmission methods to achieve message control, the method also includes:
[0140] Identify the application related to the target operation; invoke the relevant application under the second network domain, and determine the information related to the target operation from the control information; start the relevant application based on the relevant information, and execute the corresponding target operation.
[0141] Specifically, users can trigger message management requests through the terminal. For example, a user can long-press the target message display area, and the component corresponding to the target operation can be displayed in the remaining area of the terminal interface. The user can click on the component to generate a request to execute the target operation, which is carried in the message management request.
[0142] In the second network domain, in response to a user-triggered request to execute a target operation, the terminal determines the application related to the target operation. Within the second network domain, the terminal invokes this application and further determines information related to the target operation from the control information. This information related to the target operation refers to the information required to execute the target operation. For example, assuming the target operation is navigation, the related application is a navigation application. Furthermore, the terminal invokes the navigation application in the second network domain. Assuming there are two control information entries, one of which is a specific address, the terminal determines this entry to be the relevant information and then uses it to launch the navigation application, thereby executing navigation.
[0143] This embodiment provides a message management method. In this embodiment, based on the request of the target operation, the terminal can call the application related to the target operation in the second network domain, and further determine the information related to the target operation from the management information, thereby launching the relevant application and executing the target operation. Therefore, the target operation can be automatically executed based on the relevant information, improving the user experience.
[0144] Example 5
[0145] This application is a complete process of the above embodiments. Figure 4 This is a complete schematic diagram of message management provided in Example 5. Figure 4 Let's take the terminal's own message management as an example for explanation, such as... Figure 4 As shown, it includes:
[0146] S401, the terminal receives the target message.
[0147] S402, the terminal determines that the information transmission mode is the internal cross-domain information transmission mode and obtains the terminal configuration information.
[0148] S403, the terminal determines from the terminal configuration information whether the two network domains it includes are interconnected. If yes, then execute S404; otherwise, execute S410.
[0149] S404, the terminal determines that the cross-domain status is interconnected and obtains initial information from the target message.
[0150] S405, The terminal obtains at least one preset security information type from the preset control policy.
[0151] S406, the terminal determines the target type corresponding to each initial piece of information under the first network domain.
[0152] S407, for each target type, the terminal determines the initial information whose target type matches any preset security information type as security information.
[0153] S408, the terminal generates control information based on security information under the first network domain.
[0154] S409, the terminal transmits control information to the second network domain to achieve cross-domain message control.
[0155] S410, the terminal determines that the cross-domain status is interrupted and hides the target message.
[0156] Figure 5 This is another complete schematic diagram of message management provided in Example 5. Figure 5 To illustrate this, let's take the collaborative message management between terminals and network servers as an example. Figure 5 As shown, it includes:
[0157] S501, the terminal receives the target message.
[0158] S502, the terminal determines that the information transmission method is the external cross-domain information transmission method and obtains the collaborative configuration information between the terminal and the network server.
[0159] S503, the terminal determines from the terminal and network server collaborative configuration information whether the two network domains included in the network server are interconnected. If yes, then execute S504; otherwise, execute S513.
[0160] S504, the terminal determines that the cross-domain status is interconnected and obtains initial information from the target message.
[0161] S505, the terminal sends initial information to the network server.
[0162] S506, The network server obtains at least one preset security information type from the preset control policy.
[0163] S507, the network server determines the target type corresponding to each initial piece of information under the third network domain.
[0164] S508, for each target type, the network server determines the initial information that matches any preset security information type as security information.
[0165] S509, the network server generates control information based on security information under a third network domain.
[0166] S510, the network server transmits control information from the third network domain to its own fourth network domain.
[0167] S511, the network server sends control information to the terminal under the fourth network domain.
[0168] S512, the terminal uses the second network domain to receive control information.
[0169] S513, the terminal determines that the cross-domain status is interrupted and hides the target message.
[0170] In S506, the network server can obtain preset control policies from its own storage area.
[0171] In this application, when a user uses the text content of a target message, a message control request may be triggered. For example, this could be triggered by long-pressing the target message display area, interacting via voice command, or long-pressing a mechanical button on the terminal. Further, a request to execute a target operation may be triggered subsequently. For instance, if the information related to the target operation is address information and the target operation is navigation, a navigation component is displayed on the terminal. The user can click on the displayed navigation component, thus triggering a request to execute the target operation. The terminal then calls a navigation application and uses the aforementioned information to launch the navigation application, providing the user with a navigation entry point. Alternatively, if the information related to the target operation is regulations or rules, and the target operation is querying, a query component is displayed on the terminal. The user can click on the displayed query component, thus triggering a request to execute the target operation. The terminal then calls a search application and uses the relevant information to launch the search application, providing the user with a search entry point. In this application, the terminal calls the relevant application under a second network domain and executes the target operation under that second network domain.
[0172] The message management device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0173] Figure 6 This is a schematic diagram of a message control device provided in this application. Figure 6 As shown, the message control device 10 includes the following modules:
[0174] The receiving module 11 is used to receive target messages sent by any application server;
[0175] The acquisition module 12 is used to respond to a user-triggered message control request and acquire initial information from the target message based on a preset control strategy; the initial information is the text content included in the target message.
[0176] The acquisition module 13 is used to obtain control information based on initial information and information transmission method in order to realize message control.
[0177] In one possible approach, the acquisition module 12, when acquiring initial information from the target message based on a preset control strategy in response to a user-triggered operation request, is specifically used for:
[0178] In response to a user-triggered message control request, determine the cross-domain status;
[0179] If the cross-domain status is "interoperable", take a screenshot of the target message display area to obtain a screenshot image;
[0180] Use a preset text extraction tool to extract initial information from the screenshot image; the initial information must be at least one piece of information.
[0181] In one embodiment, the terminal includes a first network domain and a second network domain; the target message is located in the first network domain, and the domain corresponding to the first network domain is the second network domain.
[0182] Module 13, when acquiring control information based on initial information and information transmission method to achieve message control, is specifically used for:
[0183] In response to the information transmission method being an external cross-domain information transmission method, the second network domain receives the control information sent by the fourth network domain in the network server to realize message control in the cross domain; the control information is obtained by the network server based on the initial information under the third network domain and transmitted to the fourth network domain, and sent from the fourth network domain; the network server includes the third network domain corresponding to the first network domain and the fourth network domain corresponding to the second network domain;
[0184] In response to the information transmission method being an internal cross-domain information transmission method, control information is generated based on initial information in the first network domain, and the control information is transmitted to the second network domain to achieve cross-domain message control.
[0185] In one approach, when obtaining module 13 generates control information based on initial information in the first network domain, it is specifically used for:
[0186] Obtain at least one preset security information type from the preset control policy;
[0187] Under the first network domain, security information is determined from text messages based on various preset security information types;
[0188] Control information is generated based on security information within the first network domain.
[0189] In one approach, when obtaining module 13 determines security information from text messages based on various preset security information types within a first network domain, it is specifically used for:
[0190] Under the first network domain, determine the target type corresponding to each initial piece of information;
[0191] For each target type, the initial information whose target type matches any preset security information type is determined as security information.
[0192] In one approach, module 13 is obtained, and the control information includes first control information and / or second control information;
[0193] When generating control information based on security information within the first network domain, it is specifically used for:
[0194] Under the first network domain, a pre-set artificial intelligence model is used to identify errors in various security information.
[0195] If there are errors in the security information, the errors will be corrected based on the security information to generate the first control information;
[0196] If there are no errors in the security information, the initial information will be identified as the second control information.
[0197] In one approach, the message control request includes a request to perform the target operation under a second network domain;
[0198] After obtaining control information based on initial information and information transmission method to achieve message control, the message control device further includes: a determination module, specifically used for: determining the application related to the target operation; calling the relevant application under the second network domain and determining the information related to the target operation from the control information; starting the relevant application through the relevant information and executing the corresponding target operation.
[0199] In one approach, module 12, when determining the cross-domain status, is specifically used for:
[0200] Obtain the configuration information corresponding to the information transmission method;
[0201] If the configuration information determines that the two network domains are interconnected, then the cross-domain status is determined to be interconnected.
[0202] If the configuration information determines that two network domains are interrupted, then the cross-domain status is determined to be blocked.
[0203] Figure 7 A schematic diagram of the message management device provided in this application. Figure 7 As shown, the message management device 700 provided in this embodiment includes at least one processor 701 and a memory 702. Optionally, the message management device 700 further includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus 704.
[0204] In a specific implementation, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to perform the above-described method.
[0205] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0206] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0207] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0208] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0209] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0210] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0211] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0212] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0213] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0214] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0215] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0216] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0217] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0218] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A message management method, characterized in that, The method is applied to a terminal and includes: Receive target messages sent by any application server; In response to a user-triggered message control request, initial information is obtained from the target message based on a preset control strategy; the initial information is the text content included in the target message. Based on the initial information and information transmission method, control information is obtained to achieve message control.
2. The method according to claim 1, characterized in that, The step of responding to a user-triggered operation request and obtaining initial information from the target message based on a preset control strategy includes: In response to a user-triggered message control request, determine the cross-domain status; If the cross-domain status is "interoperable", take a screenshot of the target message display area to obtain a screenshot image; Initial information is extracted from the screenshot using a preset text extraction tool; the initial information is at least one.
3. The method according to claim 1, characterized in that, The terminal includes a first network domain and a second network domain; the target message is located in the first network domain, and the domain corresponding to the first network domain is the second network domain. The process of obtaining control information based on the initial information and information transmission method to achieve message control includes: In response to the information transmission method being an external cross-domain information transmission method, the second network domain receives control information sent by the fourth network domain in the network server to achieve message control across domains; the control information is obtained by the network server based on initial information under the third network domain and transmitted to the fourth network domain, and sent from the fourth network domain; the network server includes the third network domain corresponding to the first network domain and the fourth network domain corresponding to the second network domain; In response to the information transmission method being an internal cross-domain information transmission method, control information is generated based on the initial information in the first network domain, and the control information is transmitted to the second network domain to achieve cross-domain message control.
4. The method according to claim 3, characterized in that, The step of generating control information based on the initial information under the first network domain includes: Obtain at least one preset security information type from the preset control policy; Under the first network domain, security information is determined from the text message based on each of the preset security information types; Control information is generated based on the security information within the first network domain.
5. The method according to claim 4, characterized in that, The step of determining security information from the text message based on each of the preset security information types under the first network domain includes: Under the first network domain, determine the target type corresponding to each of the initial information; For each target type, the initial information that matches the target type with any of the preset security information types is determined as security information.
6. The method according to claim 4, characterized in that, The control information includes first control information and / or second control information; The step of generating control information based on the security information under the first network domain includes: Under the first network domain, a preset artificial intelligence model is used to identify errors in each of the security information; If there are errors in the security information, the errors are corrected based on the security information to generate the first control information; If there are no errors in the security information, then the initial information is determined as the second control information.
7. The method according to claim 4, characterized in that, The message control request includes a request to perform the target operation under the second network domain; After obtaining control information based on the initial information and information transmission method to achieve message control, the method further includes: Identify the application associated with the target operation; The relevant application is invoked under the second network domain, and information related to the target operation is determined from the control information; The relevant application is launched based on the aforementioned information, and the corresponding target operation is performed.
8. The method according to claim 2, characterized in that, The determination of cross-domain status includes: Obtain the configuration information corresponding to the information transmission method; If it is determined from the configuration information that the two network domains are interconnected, then the cross-domain status is determined to be interconnected; If it is determined from the configuration information that two network domains are interrupted, then the cross-domain status is determined to be blocked.
9. A message control device, characterized in that, include: The receiving module is used to receive target messages sent by any application server; The acquisition module is used to acquire initial information from the target message based on a preset control strategy in response to a user-triggered message control request. The initial information is the text content included in the target message; The acquisition module is used to obtain control information based on the initial information and information transmission method in order to realize message control.
10. A message management and control device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-8.
12. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-8.
