Clipboard information reading and writing method, clipboard information reading and writing device and storage medium
By separating the read and write permissions of the clipboard in the terminal operating system, the problem of clipboard information leakage is solved and higher information security and user experience are achieved.
Patent Information
- Application Number
- CN202011563297.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2040-12-25
AI Technical Summary
In the prior art, clipboard information in the terminal operating system is easily leaked, resulting in malicious acquisition of user privacy information by the application, causing adverse effects.
By separating the read and write permissions of the clipboard, set read permissions and write permissions, and determine the corresponding permissions based on the request, allowing or denying reading or writing clipboard information.
Effectively prevent clipboard information from being leaked, improve information security, and enhance user experience.
Smart Images

Figure CN112698966B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a clipboard information reading and writing method, a clipboard information reading and writing device, and a storage medium. Background Art
[0002] The clipboard is a storage area provided by the terminal operating system that can temporarily store information and share the temporarily stored information, so that users can edit or use the clipboard information stored in the clipboard. In the related art, only one clipboard is usually set in the terminal operating system, and any application in the terminal can read the clipboard information in the clipboard and write the clipboard information into the behavior record of the application. However, when the clipboard information in the clipboard is private information, it is easy to cause the clipboard information to be leaked, which will have adverse effects on users. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a clipboard information reading and writing method, a clipboard information reading and writing device and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for reading and writing clipboard information is provided, which is applied to a terminal, and the method for reading and writing clipboard information comprises: obtaining a clipboard information reading and writing request. In response to the clipboard information reading and writing request including a clipboard information reading request, determining the read permission of the clipboard information, and based on the read permission, allowing the reading of the clipboard information or refusing to read the clipboard information. In response to the clipboard information reading and writing request including a clipboard information writing request, determining the write permission of the clipboard information, and based on the write permission, allowing the writing of the clipboard information or refusing to write the clipboard information.
[0005] In one embodiment, determining the read permission of the clipboard information includes: determining that allowing reading is a default setting permission for the read permission of the clipboard information.
[0006] In another embodiment, determining the write permission of the clipboard information includes: in response to the clipboard function being executed, determining that the write permission of the clipboard information is to allow writing.
[0007] In another embodiment, the clipboard information reading request is a clipboard information reading request for the first application to read clipboard information. The determining the clipboard information reading permission includes: determining the first application's reading permission for reading clipboard information.
[0008] In another embodiment, determining the read permission of the first application to read the clipboard information includes: if the content format of the clipboard information matches the content format of the clipboard information read by the first application, determining that the first application has the read permission to read the clipboard information. If the content format of the clipboard information does not match the content format of the clipboard information read by the first application, determining that the first application does not have the read permission to read the clipboard information.
[0009] In another embodiment, after allowing the reading of the clipboard information or refusing to read the clipboard information, the clipboard information reading and writing method also includes: displaying a first prompt message on an application display interface of the first application, wherein the first prompt message is used to prompt that the first application is allowed to read the clipboard information or that the first application is denied to read the clipboard information.
[0010] In another embodiment, the first prompt message is displayed on the application display interface of the first application, including: in response to denying the first application to read the clipboard information, and the number of times the first application is denied to read the clipboard information reaches a first count threshold, displaying the first prompt message for indicating that the first application is denied to read the clipboard information, and hiding the first prompt message after a set time period.
[0011] In another embodiment, displaying the first prompt information on the application display interface of the first application includes: in response to the first application being denied to read the clipboard information, and the number of times the first application is denied to read the clipboard information reaches a second number threshold, displaying the first prompt information indicating that the first application is denied to read the clipboard information, the first prompt information including a selection control for the user to determine whether to display the first prompt information again. Based on the selection control triggered by the user, continuing or suspending display of the first prompt information.
[0012] In yet another embodiment, before the first prompt information is displayed on the application display interface of the first application, the clipboard information reading and writing method further includes: determining that the clipboard information reading request is a clipboard information reading request not triggered by the user.
[0013] In another embodiment, determining that the clipboard information read request is a non-user triggered clipboard information read request includes: if the clipboard information read request is triggered by a non-user dedicated program call stack, determining that the clipboard information read request is a non-user triggered clipboard information read request.
[0014] In yet another embodiment, after allowing the clipboard information to be read, the clipboard information reading and writing method further includes: running and displaying an application display interface corresponding to the first application reading the clipboard information.
[0015] According to a second aspect of an embodiment of the present disclosure, there is provided a clipboard information reading and writing device, which is applied to a terminal, and the clipboard information reading and writing device comprises: an acquisition unit, which is used to acquire a clipboard information reading and writing request. A determination unit, which is used to determine the read permission of the clipboard information in response to the clipboard information reading and writing request including a clipboard information read request, and based on the read permission, allow the reading of the clipboard information or refuse to read the clipboard information. The determination unit is also used to determine the write permission of the clipboard information in response to the clipboard information reading and writing request including a clipboard information write request, and based on the write permission, allow the writing of the clipboard information or refuse to write the clipboard information.
[0016] In one embodiment, the determining unit determines the read permission of the clipboard information in the following manner: determining that allowing reading is a default setting permission for the read permission of the clipboard information.
[0017] In another embodiment, the determining unit determines the write permission of the clipboard information in the following manner: in response to the clipboard function being executed, determining that the write permission of the clipboard information is to allow writing.
[0018] In another embodiment, the clipboard information reading request is a clipboard information reading request for the first application to read clipboard information. The determining unit determines the clipboard information reading permission in the following manner: determining the first application's reading permission for reading clipboard information.
[0019] In another embodiment, the determination unit determines the read permission of the first application to read the clipboard information in the following manner: if the content format of the clipboard information matches the content format of the clipboard information read by the first application, it is determined that the first application has the read permission to read the clipboard information. If the content format of the clipboard information does not match the content format of the clipboard information read by the first application, it is determined that the first application does not have the read permission to read the clipboard information.
[0020] In another embodiment, after allowing the reading of the clipboard information or refusing to read the clipboard information, the clipboard information reading and writing device also includes: a display unit, used to display a first prompt information on the application display interface of the first application, and the first prompt information is used to prompt that the first application is allowed to read the clipboard information or the first application is denied to read the clipboard information.
[0021] In another embodiment, the display unit displays a first prompt message on the application display interface of the first application in the following manner: in response to denying the first application from reading the clipboard information, and the number of times the first application is denied from reading the clipboard information reaches a first count threshold, displaying a first prompt message indicating that the first application is denied from reading the clipboard information, and hiding the first prompt message after a set time period.
[0022] In another embodiment, the display unit displays the first prompt information on the application display interface of the first application in the following manner: in response to the first application being denied to read the clipboard information, and the number of times the first application is denied to read the clipboard information reaches a second number threshold, the first prompt information indicating that the first application is denied to read the clipboard information is displayed, and the first prompt information includes a selection control for the user to determine whether to display the first prompt information again. Based on the selection control triggered by the user, the display of the first prompt information continues or stops.
[0023] In yet another embodiment, the determining unit is further configured to: determine that the clipboard information reading request is a clipboard information reading request not triggered by the user.
[0024] In another embodiment, the determination unit determines that the clipboard information reading request is a non-user triggered clipboard information reading request in the following manner: if the clipboard information reading request is triggered by a non-user dedicated program call stack, then the clipboard information reading request is determined to be a non-user triggered clipboard information reading request.
[0025] In yet another embodiment, the clipboard information reading and writing device further includes: a display unit, configured to run and display an application display interface corresponding to the first application after the first application reads the clipboard information.
[0026] According to a third aspect of an embodiment of the present disclosure, a clipboard information reading and writing device is provided, comprising: a memory for storing instructions; and a processor for calling the instructions stored in the memory to execute any one of the clipboard information reading and writing methods described above.
[0027] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed by a processor, any one of the above-mentioned clipboard information reading and writing methods is executed.
[0028] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: through the clipboard information reading and writing method provided by the present disclosure, the read and write permissions of the clipboard can be separated and divided into read permissions and write permissions, and then the permissions for the clipboard to respond and execute accordingly are determined according to the acquired clipboard information reading and writing requests, thereby helping to prevent the leakage of clipboard information in the clipboard, improving the security of clipboard information, and helping to enhance the user experience.
[0029] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0031] Figure 1 The figure is a flow chart of a method for reading and writing clipboard information according to an exemplary embodiment.
[0032] Figure 2 The figure is a flow chart of another method for reading and writing clipboard information according to an exemplary embodiment.
[0033] Figure 3 The diagram is a schematic diagram showing information display according to an exemplary embodiment.
[0034] Figure 4 is a schematic diagram showing another type of information display according to an exemplary embodiment.
[0035] Figure 5 is a schematic diagram showing yet another type of information display according to an exemplary embodiment.
[0036] Figure 6 The flowchart of another method for reading and writing clipboard information is shown according to an exemplary embodiment.
[0037] Figure 7 The flowchart of another method for reading and writing clipboard information is shown according to an exemplary embodiment.
[0038] Figure 8 is a schematic diagram showing yet another type of information display according to an exemplary embodiment.
[0039] Fig. 9 The figure is a block diagram of a device for reading and writing clipboard information according to an exemplary embodiment.
[0040] Fig.10 The figure is a block diagram of a device for reading and writing clipboard information according to an exemplary embodiment. DETAILED DESCRIPTION
[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0042] In the related art, when the terminal obtains the clipboard information read and write request sent by the application, it will directly allow the application to read the clipboard information in the clipboard and write it into the behavior record of sending the request, so that the application can directly and quickly obtain the clipboard information in the clipboard. However, when the clipboard information in the clipboard is private information, since each application can directly obtain the clipboard information, it is easy to cause the application to maliciously steal user information, causing losses and adverse effects to the user, and reducing the user's experience.
[0043] In view of this, the present disclosure provides a method for reading and writing clipboard information, which can separate the read and write permissions of the clipboard, and divide the read and write permissions of the clipboard into read permissions and write permissions. Then, when the terminal obtains a clipboard information read request sent by an application, the read permission is executed, and based on the read permission, it is determined whether to allow or deny reading the clipboard information. When the terminal obtains a clipboard information write request sent by an application, the write permission is executed, and based on the write permission, it is determined whether to allow or deny writing the clipboard information. Separating the read and write permissions of the clipboard makes it impossible to directly obtain the clipboard information, which helps to protect the security of the clipboard information and reduce the possibility of the clipboard information being leaked, thereby helping to improve the user experience.
[0044] In one example, the type of terminal may include a mobile terminal, such as a mobile phone, a tablet, a notebook, etc. In another example, the structure of the terminal may include a double-sided screen terminal, a folding screen terminal, a full-screen terminal, etc.
[0045] Figure 1 is a flowchart of a method for reading and writing clipboard information according to an exemplary embodiment. Figure 1 As shown, the clipboard information reading and writing method is used in a terminal, and includes the following steps S11 to S122.
[0046] In step S11, a clipboard information read and write request is obtained.
[0047] In the disclosed embodiment, in order to facilitate users to more flexibly manage privacy permissions, the permission status supported by the clipboard is divided into independent read permissions and write permissions, thereby preventing applications from maliciously reading the clipboard information temporarily stored by the user in the clipboard, and directly writing the clipboard information into the behavior recording function of the application, causing the user's privacy information to be leaked. In one example, the privacy information may include the user's identity information, such as identity information such as ID number and mobile phone number. In another example, the privacy information may include some confidential information involving trade secrets.
[0048] In the present disclosure, a clipboard information read and write request may be sent by any application in the terminal, and is used to apply to the terminal for access to the clipboard, so as to read the clipboard information in the clipboard or write the clipboard information in the clipboard. If the application has a need to read the clipboard information in the clipboard, a clipboard information read request may be sent to the terminal, so that the terminal responds and determines that the permission state supported by the clipboard is read permission. If the application has a need to write clipboard information in the clipboard, a clipboard information write request may be sent to the terminal, so that the terminal responds and determines that the permission state supported by the clipboard is write permission. The terminal clarifies the permission state supported by the clipboard according to the clipboard information read and write request sent by the application, and then determines the permission state of the clipboard as read permission or write permission, so as to allow or reject the clipboard information read and write request sent by the application, and protect the security of the clipboard information.
[0049] In step S121, in response to the clipboard information read and write request including the clipboard information read request, the clipboard information read permission is determined, and based on the read permission, the clipboard information is allowed to be read or is denied to be read.
[0050] In the disclosed embodiment, in order to protect the privacy of the user and avoid the leakage of privacy information after the application reads the clipboard information temporarily stored by the user in the clipboard, when setting the read permission of the clipboard, the read permission can be set to allow reading the clipboard information or to deny reading the clipboard information. The terminal responds according to the obtained request to obtain the clipboard information read and write, and when it is determined that the application needs to read the clipboard information in the clipboard, it is determined that the permission state supported by the clipboard is the read permission. Based on the setting of the read permission, the application is allowed to read the clipboard information or the application is denied to read the clipboard information. In one example, the setting of the read permission can be set by the user in advance in the terminal, and the read permissions involved in each application in the terminal can be uniformly set, or different read permissions can be set for different applications. In another example, the setting of the read permission can be the terminal default setting.
[0051] In step S122, in response to the clipboard information read and write request including the clipboard information write request, the write permission of the clipboard information is determined, and based on the write permission, the writing of the clipboard information is allowed or denied.
[0052] In the disclosed embodiment, in order to prevent the user from accidentally triggering the clipboard when using the application, thereby affecting the user's experience, when setting the write permission of the clipboard, the write permission can be set to allow writing of clipboard information or deny writing of clipboard information. The terminal responds according to the obtained request to read and write the clipboard information, and when it is determined that the application needs to write the clipboard information in the clipboard, it is determined that the permission state supported by the clipboard is write permission. Based on the setting of the write permission, the application is allowed to write the clipboard information or denied to write the clipboard information. In one example, the setting of the write permission can be set by the user in advance in the terminal, and the write permissions involved in each application in the terminal can be uniformly set, or different write permissions can be set for different applications. In another example, the setting of the write permission can be the terminal default setting.
[0053] Through the above embodiments, the read and write permissions of the clipboard are separated, so that the permission status of the clipboard can include read permission and write permission, so that users can more flexibly control the setting of privacy permissions, thereby helping to prevent the clipboard information of the clipboard from being maliciously obtained by applications, causing privacy information leakage. And based on the separate setting of the permission status of the clipboard, the permissions supported by the clipboard required by the application are allowed or denied, which helps to avoid the application from performing useless information processing, resulting in power consumption waste, and thus helps to save power consumption.
[0054] In one embodiment, the read permission of the clipboard can be set to allow reading by default, so that the application can quickly read the clipboard information in the clipboard based on the clipboard information reading request sent, and then process the read clipboard information accordingly to meet the needs of the user. In one implementation scenario, if the application that sends the clipboard information reading request belongs to an application that the user trusts, the user does not need to set the read permission of the clipboard to allow reading, thereby saving the user's setting operations and helping to improve the user's experience. In another implementation scenario, if the application that sends the clipboard information reading request belongs to an application that the user does not trust, in order to protect the security of the clipboard information, the default setting can be changed to prevent the leakage of user information. In another implementation scenario, if the user is not sure whether to trust the application that sends the clipboard information reading request, the read permission of the clipboard can be determined as the default setting of allowing reading the clipboard information, so that it can be used normally when the user needs the application to read the clipboard information. After a period of time, if it is determined that the application is an application that the user does not trust, the read permission of the clipboard is changed to deny reading of the clipboard information to ensure the security of the clipboard information, so that the user can flexibly change the read permission based on their own needs, thereby improving the user's usage experience.
[0055] In another embodiment, the write permission of the clipboard information is determined based on whether the clipboard function is executed. If the clipboard function is in the state of being executed, it indicates that the user needs to use the clipboard, and the write permission of the clipboard information is determined to allow writing so that the user can use the clipboard normally. In one example, "When the clipboard function is executed, writing of clipboard information is allowed" can be set as the default setting of the write permission, so that when the terminal executes the clipboard function, the user can smoothly write the clipboard information to the clipboard.
[0056] For ease of understanding, the following embodiments will take the first application as an example to specifically determine the process of the first application's permission to read clipboard information. The first application may be any application in the terminal and is not limited in the present disclosure.
[0057] In one embodiment, when the sender of the clipboard information reading request is the first application, the read permission of the first application to read the clipboard information can be determined. That is, the terminal determines that the first application has a need to read the clipboard information based on the clipboard information reading request sent by the first application, and then determines the read permission of the clipboard information based on the need of the first application to read the clipboard information.
[0058] In another embodiment, the read permission of the first application to read the clipboard information can be determined based on the content format of the clipboard information and the content format of the clipboard information read by the first application. The content format of the latest clipboard information is matched with the content format of the clipboard information read by the first application to determine whether the first application can read the clipboard information normally. If the content format of the clipboard information matches the content format of the clipboard information read by the first application, it indicates that the first application can read the clipboard information normally, and it can be determined that the first application has the read permission to read the clipboard information. If the content format of the clipboard information does not match the content format of the clipboard information read by the first application, it indicates that the first application cannot read the clipboard information normally, and it is determined that the first application does not have the read permission to read the clipboard information.
[0059] In one example, the content format of the clipboard information read by the first application can be determined according to the content format standard specified by a third party. Among them, the third party can be the developer of the first application. Through the content format standard specified by the third party, the content format that the first application can read can be accurately known, and then when it is determined that the content format of the clipboard information matches the content format of the clipboard information read by the first application, it can be determined that the clipboard information is information that the first application can read, and the first application can perform corresponding processing based on the clipboard information read. In another example, the content format standard specified by the third party can be provided by the third party. In yet another example, the content format standard specified by the third party can be decompiled based on the information that the first application can recognize.
[0060] Based on the same concept, the embodiment of the present disclosure also provides another method for reading and writing clipboard information applied to a terminal.
[0061] Figure 2 is a flowchart of a method for reading and writing clipboard information according to an exemplary embodiment. Figure 2 As shown, the clipboard information reading and writing method is used in a terminal, and includes the following steps S21 to S23.
[0062] In step S21, a clipboard information reading request for a first application to read clipboard information is obtained.
[0063] In step S221, in response to the clipboard information read request of the first application to read the clipboard information, the read permission of the first application to read the clipboard information is determined, and based on the read permission, the reading of the clipboard information is allowed or denied.
[0064] In step S23, the first prompt information is displayed on the application display interface of the first application.
[0065] In an embodiment of the present disclosure, in the application display interface of the first application, a first prompt message is displayed to inform the user that the first application has the behavior of reading the clipboard information. Among them, the first prompt message is used to prompt that the first application is allowed to read the clipboard information or the first application is denied to read the clipboard information. The content of the first prompt message may include: the first application has been allowed to read the clipboard information or the first application has been denied to read the clipboard information. Through the first prompt message, the user can clearly and intuitively understand that the first application has the intention to read the clipboard information, and can quickly determine the situation of the first application reading the clipboard information. In one example, the user can also make corresponding settings for the first application's read and write permissions for reading the clipboard information based on the display of the first prompt message, so that the read and write permissions corresponding to the first application can meet the user's usage needs, so that the user can manage the permission status supported by the clipboard more flexibly and more targeted.
[0066] In one implementation scenario, Figure 3 and Figure 4 As shown, the first prompt information may be at the top of the terminal, and prompt the user in the form of a prompt bubble. The content of the first prompt information may include: the first application is allowed to read the clipboard information or the first application is denied to read the clipboard information. Figure 3 and Figure 4 is a schematic diagram of display information provided according to some embodiments.
[0067] In step S222, in response to the clipboard information read and write request including the clipboard information write request, the write permission of the clipboard information is determined, and based on the write permission, the writing of the clipboard information is allowed or denied.
[0068] Through the above embodiment, through the first prompt information displayed on the application display interface of the first application, the user can clearly and intuitively understand that the first application has the intention to read the clipboard information, and can quickly determine the situation of the first application reading the clipboard information, thereby increasing the user's sensitivity to the application reading the clipboard information, which helps to enhance the user's awareness of managing the security of privacy information.
[0069] In one embodiment, in order to facilitate the user to clearly understand that the terminal has rejected the first application's request to read the clipboard information, and to avoid frequent display of the first prompt information affecting the user's normal use of the first application, a first number threshold is pre-set. Among them, the first number threshold is used to determine whether to display the prompt information of rejecting the first application to read the clipboard information. If the number of times the terminal rejects the first application to read the clipboard information reaches the first number threshold, the first prompt information that the first application is rejected to read the clipboard information is displayed. If the number of times the terminal rejects the first application to read the clipboard information does not reach the first number threshold, the first prompt information that the first application is rejected to read the clipboard information is not displayed. The first number threshold can be multiple number thresholds. In an implementation scenario, the pre-set first number threshold is 1, 10, 20, 30. When the first application is rejected to read the clipboard information for the 1st time, the 10th time, the 20th time, or the 30th time, the first prompt information is displayed. At other times, the first prompt information is not displayed.
[0070] In one example, the number of times the first application is denied access to the clipboard information may be the number of times counted within a specified time period. For example, within 24 hours, the number of times the first application is denied access to the clipboard information is counted. In another example, the number of times the prompt message of denying access to the clipboard information to the first application may be determined based on monitoring by the terminal system.
[0071] In another embodiment, the first prompt information displayed on the application display interface of the first application can automatically hide the first prompt information after the display time reaches the set time. The first prompt information may include prompting that the first application is allowed to read the clipboard information or that the first application is denied to read the clipboard information. The user does not need to actively close the prompt information, which saves the user's operation and helps to improve the user's experience. In one example, a toast prompt box can be used to display the first prompt information. Toast is a prompt box that can be displayed without affecting the user's interaction with the terminal and can automatically disappear within a specified time.
[0072] In another embodiment, the first prompt message displayed after the number of times the first application is denied to read the clipboard information reaches a first number threshold can automatically hide the first prompt message after the display time reaches a set time, so that the application display interface of the first application no longer continues to display the first prompt message, thereby saving the user's operation. It helps the user to understand that the first application has the function of reading the clipboard information while reducing the interference of the first prompt message on the user's use of the first application, thereby improving the user's experience. In one implementation scenario, the display time of the first prompt message is set to 2 seconds. After the display time of the first prompt message that denies the first application from reading the clipboard information reaches 2 seconds, it is automatically hidden.
[0073] In another embodiment, when the first application frequently sends a read request to read the clipboard information to the terminal, in order to alert the user and inform the application that it has always had the need to obtain the clipboard information, when the number of times the terminal refuses the first application to read the clipboard information reaches the second number threshold, the first prompt information with a selection control is displayed. The content of the selection control may include: no more reminder or reminder again. The second number threshold may be multiple number thresholds. Among them, the first prompt information is used to indicate that the first application is refused to read the first prompt information of the clipboard information. And, through the selection control in the first prompt information, the user can independently choose whether the terminal displays the first prompt information of refusing the first application to read the clipboard information again. Based on the selection control triggered by the user, it is determined whether to continue or stop displaying the first prompt information. That is, the terminal determines to continue to display the first prompt information or not to continue to display the first prompt information according to the selection control triggered by the user. In one example, the displayed first prompt information may also include the content of the clipboard information that is refused to be read by the first application. Through the content of the displayed clipboard information, the user can clearly understand the information that the first application frequently requests to be read. In another example, the first prompt information may be at the bottom of the terminal or in the middle of the terminal.
[0074] In one implementation scenario, Figure 5 shown. Figure 5 It is a schematic diagram of display information provided according to an embodiment. The preset second number threshold is 1, 100, and 200. When the first application is denied to read the clipboard information for the 1st, 100th, or 200th time, the first prompt information including the content of the selection control and the clipboard information is displayed. Among them, the content of the clipboard information is: 41012196512132311. The content of the selection control may include: no more reminder or reminder again. If the selection control touched by the user is no more reminder, the first prompt information will no longer be displayed. If the selection control touched by the user is reminder again, the first prompt information will continue to be displayed.
[0075] In yet another embodiment, the first prompt information of rejecting the first application to read the clipboard information for the first time is displayed by default.
[0076] In one embodiment, the request to read the clipboard information may be triggered autonomously by the first application, or may be triggered based on a user's operation. For example, the autonomous triggering of the first application may be the reading of the clipboard information based on application requirements during the operation of the first application, wherein the information in the clipboard is not generated by a user's operation triggering. Based on the triggering of the user's operation, it can be understood that the information in the clipboard is obtained by the user's autonomous operation. For example, the user may have copied a piece of text information and written it to the clipboard, and then the user pastes the copied text information in the first application, which can be understood as the user's operation triggering the first application to read the clipboard information.
[0077] In the disclosed embodiment, before displaying the first prompt information, it is determined whether the first application sending a clipboard information reading request to the terminal is triggered by the user or the first application (not the user), and then whether to display the first prompt information is determined.
[0078] In one example, if the clipboard information reading request is triggered autonomously by the first application, the behavior of the first application sending the clipboard information reading request to the terminal is a private behavior of the first application, and the user is not aware of this. If the clipboard information reading request is triggered autonomously by the first application, in order to improve the security of reading the clipboard information and prevent the leakage of the user's privacy information, the first prompt information is displayed on the application display interface of the first application to inform the user that the first application has the behavior of obtaining the clipboard information.
[0079] In another example, if the clipboard information reading request is triggered by the user, it means that the user is aware of the first application's behavior of obtaining the clipboard information, and the first prompt information may not be displayed in the application display interface of the first application, thereby helping to save power consumption.
[0080] Figure 6 is a flowchart of a method for reading and writing clipboard information according to an exemplary embodiment. Figure 6 As shown, the clipboard information reading and writing method is used in a terminal, and includes the following steps S31 to S34.
[0081] In step S31, a clipboard information reading request for a first application to read clipboard information is obtained.
[0082] In step S321, in response to the clipboard information read request of the first application to read the clipboard information, the read permission of the first application to read the clipboard information is determined, and based on the read permission, the reading of the clipboard information is allowed or denied.
[0083] In step S33, it is determined that the clipboard information reading request is a clipboard information reading request not triggered by the user.
[0084] In the disclosed embodiment, in order to protect the security of clipboard information and prevent the user's privacy information from being leaked, the triggerer that triggers the first application to send the clipboard information reading request is determined based on the obtained clipboard information reading request. When it is determined that the clipboard information reading request is a clipboard information reading request not triggered by the user, it is determined to display the first prompt information to inform the user that the first application has the behavior of privately obtaining clipboard information, so as to increase the user's sensitivity to privacy information management.
[0085] In step S34, the first prompt information is displayed on the application display interface of the first application.
[0086] In step S322, in response to the clipboard information read and write request including the clipboard information write request, the write permission of the clipboard information is determined, and based on the write permission, the writing of the clipboard information is allowed or denied.
[0087] In one implementation scenario, if the user actively triggers the first application to execute the function of reading the clipboard information, the first prompt message with the display content "the first application has been allowed to read the clipboard information" may not appear in the application display interface of the first application. If the first application autonomously triggers the first application to execute the function of reading the clipboard information, the application display interface of the first application displays a prompt that the first application is allowed to read the clipboard information or that the first application is denied to read the clipboard information, so as to inform the user that the first application has the behavior of privately reading the clipboard information.
[0088] In one embodiment, it can be determined based on a program call stack whether the clipboard information reading request is triggered autonomously by the first application or based on a user operation. The program call stack may include a user-specific program call stack and a non-user-specific program call stack. If the user operation triggers the reading of the clipboard information, based on the user operation in the first application, the user-specific program call stack is triggered to send a clipboard information reading request to the clipboard.
[0089] If there is no user trigger in the first application, and it is the first application that triggers it autonomously, that is, it is not the user trigger, then the first application triggers the non-user dedicated program call stack to send a clipboard information reading request to the terminal. Based on this, when the terminal triggers the clipboard information reading request as a non-user dedicated program call stack, it can be determined that it is the first application that triggers it privately, and it is not the user who has the need to read the clipboard information.
[0090] Based on the same concept, the embodiment of the present disclosure also provides another method for reading and writing clipboard information applied to a terminal.
[0091] Figure 7 is a flowchart of a method for reading and writing clipboard information according to an exemplary embodiment. Figure 7 As shown, the clipboard information reading and writing method is used in a terminal, and includes the following steps S41 to S43.
[0092] In step S41, a clipboard information reading request for a first application to read clipboard information is obtained.
[0093] In step S421, in response to the clipboard information read request of the first application to read the clipboard information, a read permission of the first application to read the clipboard information is determined, and based on the read permission, reading of the clipboard information is allowed.
[0094] In step S43, the application display interface corresponding to the first application after reading the clipboard information is run and displayed.
[0095] In the disclosed embodiment, after the terminal determines that the first application can allow reading of the clipboard information, the first application reads the clipboard information to obtain the content of the clipboard information. The first application runs the obtained clipboard information and displays it in the corresponding application display interface after the first application reads the clipboard information, so that the user can intuitively and clearly know that the first application has read and run the clipboard information.
[0096] In a real-time scenario, Figure 8 As shown, if the clipboard information is a product link that can be read by the first application, running and displaying the corresponding application display interface after the first application reads the clipboard information may include: calling the corresponding product introduction of the product link in the first application, and displaying the product introduction in the current application display interface of the first application. Figure 8 It is a schematic diagram of display information provided according to an embodiment. Or running and displaying the corresponding application display interface after the first application reads the clipboard information may include: determining the position of the product link in the first application, and then jumping the current application display interface of the first application to the application display interface of the product link in the first application, and displaying the product corresponding to the product link.
[0097] In step S422, in response to the clipboard information read and write request including the clipboard information write request, the write permission of the clipboard information is determined, and based on the write permission, the writing of the clipboard information is allowed or denied.
[0098] In one embodiment, if the first application has been allowed to read clipboard information or is allowed to write clipboard information, it is recorded in the behavior recording function of the first application to clarify the behavior of the first application.
[0099] In one implementation scenario, the permission status of the clipboard function in the mobile phone regarding the read and write permissions is divided into read permission and write permission. The read permission is set by default to allow reading of the clipboard information, and the write permission is set by default to allow writing of the clipboard information when the clipboard function is executed. When the first application sends a request to obtain clipboard information reading and writing to the mobile phone, if the content format of the clipboard information matches the content format of the clipboard information read by the first application, it is determined and allowed that the first application has the read permission to read the clipboard information. The first prompt information is displayed in the form of a prompt bubble at the top of the mobile phone to inform the user that the first application has been allowed to read the clipboard information. The displayed first application interface can be the application display interface corresponding to the first application after running the clipboard information. If the content format of the latest clipboard information does not match the content format of the clipboard information read by the first application, it is determined that the first application does not have the read permission to read the clipboard information and the first application is denied to read the clipboard information. When the first application is rejected for the 10th / 20th / 30th / ...time on the same day, a toast prompt box pops up to notify the user that the first application has been denied to read the clipboard information. When the first application is rejected for the 1st / 100th / 200th time on the same day, the first prompt information including the selection control and the clipboard information is displayed. The user can determine whether the terminal continues to display the first prompt information or no longer displays the first prompt information by triggering the selection control. If the first application has been allowed to read the clipboard information or to write the clipboard information, it is recorded in the behavior recording function of the first application to clarify the behavior of the first application.
[0100] Based on the same concept, the embodiment of the present disclosure also provides a clipboard information reading and writing device applied to a terminal.
[0101] It is understandable that the clipboard information reading and writing device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0102] Fig. 9 is a block diagram of a clipboard information reading and writing device according to an exemplary embodiment. Fig. 9 The clipboard information reading and writing device 100 includes an acquiring unit 101 and a determining unit 102 .
[0103] The acquisition unit 101 is used to acquire a clipboard information read and write request.
[0104] The determination unit 102 is configured to determine the read permission of the clipboard information in response to the clipboard information read and write request including the clipboard information read request, and allow or deny reading the clipboard information based on the read permission.
[0105] The determination unit 102 is further configured to determine the writing authority of the clipboard information in response to the clipboard information read and write request including the clipboard information write request, and allow writing of the clipboard information or deny writing of the clipboard information based on the writing authority.
[0106] In one embodiment, the determining unit 102 determines the read permission of the clipboard information in the following manner: determining that allowing reading is a default setting permission for the read permission of the clipboard information.
[0107] In another embodiment, the determining unit 102 determines the write permission of the clipboard information in the following manner: in response to the clipboard function being executed, determining that the write permission of the clipboard information is to allow writing.
[0108] In another embodiment, the clipboard information reading request is a clipboard information reading request for the first application to read clipboard information. The determining unit 102 determines the clipboard information reading permission in the following manner: determining the clipboard information reading permission for the first application to read clipboard information.
[0109] In another embodiment, the determination unit 102 determines the read permission of the first application to read the clipboard information in the following manner: if the content format of the clipboard information matches the content format of the clipboard information read by the first application, it is determined that the first application has the read permission to read the clipboard information. If the content format of the clipboard information does not match the content format of the clipboard information read by the first application, it is determined that the first application does not have the read permission to read the clipboard information.
[0110] In another embodiment, after allowing reading of clipboard information or refusing reading of clipboard information, the clipboard information reading and writing device 100 also includes: a display unit 103, used to display first prompt information on the application display interface of the first application, and the first prompt information is used to prompt that the first application is allowed to read the clipboard information or the first application is denied to read the clipboard information.
[0111] In another embodiment, the display unit 103 displays the first prompt message on the application display interface of the first application in the following manner: in response to denying the first application from reading the clipboard information, and the number of denials for the first application to read the clipboard information reaches a first count threshold, displaying the first prompt message for indicating that the first application is denied from reading the clipboard information, and hiding the first prompt message after a set time period.
[0112] In another embodiment, the display unit 103 displays the first prompt information on the application display interface of the first application in the following manner: in response to the first application being denied to read the clipboard information, and the number of times the first application is denied to read the clipboard information reaches a second number threshold, the first prompt information indicating that the first application is denied to read the clipboard information is displayed, and the first prompt information includes a selection control for the user to determine whether to display the first prompt information again. Based on the selection control triggered by the user, the display of the first prompt information continues or stops.
[0113] In yet another embodiment, the determining unit 102 is further configured to: determine that the clipboard information reading request is a clipboard information reading request not triggered by the user.
[0114] In another embodiment, the determination unit 102 determines that the clipboard information reading request is a non-user triggered clipboard information reading request in the following manner: if the clipboard information reading request is triggered by a non-user dedicated program call stack, then the clipboard information reading request is determined to be a non-user triggered clipboard information reading request.
[0115] In yet another embodiment, after allowing the clipboard information to be read, the display unit 103 is further configured to: run and display an application display interface corresponding to the first application after the clipboard information is read.
[0116] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0117] Fig.10 2 is a block diagram of a clipboard information reading and writing device 200 according to an exemplary embodiment. For example, the clipboard information reading and writing device 200 can be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0118] Reference Fig.10 The clipboard information reading and writing device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0119] Processing component 202 generally controls the overall operation of the clipboard information reading and writing device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. Processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, processing component 202 may include one or more modules to facilitate the interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate the interaction between multimedia component 208 and processing component 202.
[0120] The memory 204 is configured to store various types of data to support the operation of the clipboard information reading and writing device 200. Examples of such data include instructions for any application or method operating on the clipboard information reading and writing device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 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 memory, flash memory, magnetic disk or optical disk.
[0121] The power component 206 provides power to various components of the clipboard information reader / writer 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the clipboard information reader / writer 200.
[0122] The multimedia component 208 includes a screen that provides an output interface between the clipboard information reading and writing device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the clipboard information reading and writing device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0123] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the clipboard information reading and writing device 200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0124] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0125] The sensor assembly 214 includes one or more sensors for providing various aspects of status assessment for the clipboard information reading and writing device 200. For example, the sensor assembly 214 can detect the open / closed state of the clipboard information reading and writing device 200, the relative positioning of components, such as the display and keypad of the clipboard information reading and writing device 200, the sensor assembly 214 can also detect the position change of the clipboard information reading and writing device 200 or a component of the clipboard information reading and writing device 200, the presence or absence of user contact with the clipboard information reading and writing device 200, the orientation or acceleration / deceleration of the clipboard information reading and writing device 200, and the temperature change of the clipboard information reading and writing device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0126] The communication component 216 is configured to facilitate wired or wireless communication between the clipboard information reading and writing device 200 and other devices. The clipboard information reading and writing device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0127] In an exemplary embodiment, the clipboard information reading and writing device 200 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above method.
[0128] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the clipboard information reading and writing device 200 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0129] It is further understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar thereto. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0130] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0131] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0132] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0133] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0134] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for reading and writing clipboard information, characterized in that: Applied to a terminal, the clipboard information reading and writing method includes: Get the clipboard information read and write request; In response to the clipboard information read and write request including a clipboard information read request, determining a read permission for the clipboard information, and based on the read permission, allowing reading of the clipboard information or refusing to read the clipboard information; In response to the clipboard information read and write request including a clipboard information write request, determining a write permission for the clipboard information, and based on the write permission, allowing writing of the clipboard information or refusing writing of the clipboard information; The clipboard information reading request is a clipboard information reading request for the first application to read clipboard information, and the determining of the clipboard information reading authority includes: If the content format of the clipboard information matches the content format of the clipboard information read by the first application, determining that the first application has the read permission to read the clipboard information; If the content format of the clipboard information does not match the content format of the clipboard information read by the first application, it is determined that the first application does not have the read permission to read the clipboard information.
2. The method for reading and writing clipboard information according to claim 1, characterized in that: Determining the read permission of the clipboard information includes: Determines the permissions that allow reading as the default setting for the read permission for clipboard information.
3. The method for reading and writing clipboard information according to claim 1, characterized in that: Determining the writing permission of the clipboard information includes: In response to the clipboard function being executed, it is determined that the write permission of the clipboard information is write-permitted.
4. The method for reading and writing clipboard information according to claim 1, characterized in that: After allowing the clipboard information to be read or refusing to read the clipboard information, the clipboard information reading and writing method further includes: On the application display interface of the first application, first prompt information is displayed, where the first prompt information is used to prompt that the first application is allowed to read the clipboard information or that the first application is denied to read the clipboard information.
5. The method for reading and writing clipboard information according to claim 4, characterized in that: The displaying of the first prompt information on the application display interface of the first application includes: In response to denying the first application from reading the clipboard information, and the number of times the first application is denied from reading the clipboard information reaches a first count threshold, a first prompt message is displayed to indicate that the first application is denied from reading the clipboard information, and the first prompt message is hidden after a set time period.
6. The method for reading and writing clipboard information according to claim 4, characterized in that: The displaying of the first prompt information on the application display interface of the first application includes: In response to denying the first application from reading the clipboard information, and the number of denials for the first application to read the clipboard information reaches a second number threshold, displaying first prompt information indicating that the first application is denied from reading the clipboard information, wherein the first prompt information includes a selection control for the user to determine whether to display the first prompt information again; Based on the selection control triggered by the user, continue or stop displaying the first prompt information.
7. The method for reading and writing clipboard information according to claim 4, characterized in that: Before displaying the first prompt information on the application display interface of the first application, the clipboard information reading and writing method further includes: It is determined that the clipboard information reading request is a clipboard information reading request not triggered by a user.
8. The method for reading and writing clipboard information according to claim 7, characterized in that: The determining that the clipboard information reading request is a clipboard information reading request not triggered by a user includes: If the clipboard information reading request is triggered by a non-user dedicated program call stack, it is determined that the clipboard information reading request is a clipboard information reading request not triggered by the user.
9. The method for reading and writing clipboard information according to claim 1, characterized in that: After allowing the clipboard information to be read, the clipboard information reading and writing method further includes: Run and display the application display interface corresponding to the first application after reading the clipboard information.
10. A clipboard information reading and writing device, characterized in that: Applied to a terminal, the clipboard information reading and writing device comprises: An acquisition unit, used to acquire a clipboard information read and write request; a determining unit, configured to determine a read permission of the clipboard information in response to the clipboard information read / write request including a clipboard information read request, and to allow reading of the clipboard information or refuse to read the clipboard information based on the read permission; The determining unit is further configured to determine the write permission of the clipboard information in response to the clipboard information read and write request including the clipboard information write request, and based on the write permission, allow writing of the clipboard information or refuse writing of the clipboard information; Wherein, the clipboard information reading request is a clipboard information reading request for the first application to read clipboard information; The determination unit determines the reading authority of the clipboard information in the following manner: If the content format of the clipboard information matches the content format of the clipboard information read by the first application, determining that the first application has the read permission to read the clipboard information; If the content format of the clipboard information does not match the content format of the clipboard information read by the first application, it is determined that the first application does not have the read permission to read the clipboard information.
11. The clipboard information reading and writing device according to claim 10, characterized in that: The determination unit determines the reading authority of the clipboard information in the following manner: Determines the permissions that allow reading as the default setting for the read permission for clipboard information.
12. The clipboard information reading and writing device according to claim 10, characterized in that: The determining unit determines the writing permission of the clipboard information in the following manner: In response to the clipboard function being executed, it is determined that the write permission of the clipboard information is write-permitted.
13. The clipboard information reading and writing device according to claim 10, characterized in that: After allowing the reading of the clipboard information or refusing to read the clipboard information, the clipboard information reading and writing device further includes: The display unit is used to display first prompt information on the application display interface of the first application, where the first prompt information is used to prompt that the first application is allowed to read the clipboard information or that the first application is denied to read the clipboard information.
14. The clipboard information reading and writing device according to claim 13, characterized in that: The display unit displays the first prompt information on the application display interface of the first application in the following manner: In response to denying the first application from reading the clipboard information, and the number of times the first application is denied from reading the clipboard information reaches a first count threshold, a first prompt message is displayed to indicate that the first application is denied from reading the clipboard information, and the first prompt message is hidden after a set time period.
15. The clipboard information reading and writing device according to claim 13, characterized in that: The display unit displays the first prompt information on the application display interface of the first application in the following manner: In response to denying the first application from reading the clipboard information, and the number of denials for the first application to read the clipboard information reaches a second number threshold, displaying first prompt information indicating that the first application is denied from reading the clipboard information, wherein the first prompt information includes a selection control for the user to determine whether to display the first prompt information again; Based on the selection control triggered by the user, continue or stop displaying the first prompt information.
16. The clipboard information reading and writing device according to claim 13, characterized in that: The determining unit is further configured to: It is determined that the clipboard information reading request is a clipboard information reading request not triggered by a user.
17. The clipboard information reading and writing device according to claim 16, characterized in that: The determining unit determines that the clipboard information reading request is a clipboard information reading request not triggered by a user in the following manner: If the clipboard information reading request is triggered by a non-user dedicated program call stack, it is determined that the clipboard information reading request is a clipboard information reading request not triggered by the user.
18. The clipboard information reading and writing device according to claim 10, characterized in that: The clipboard information reading and writing device also includes: A display unit is used to run and display an application display interface corresponding to the first application after the first application reads the clipboard information.
19. A clipboard information reading and writing device, characterized in that: The clipboard information reading and writing device comprises: a memory for storing instructions; and The processor is used to call the instructions stored in the memory to execute the clipboard information reading and writing method as described in any one of claims 1-9.
20. A computer-readable storage medium storing instructions, wherein when the instructions are executed by a processor, the method for reading and writing clipboard information according to any one of claims 1 to 9 is executed.
Citation Information
Patent Citations
Shearing-plate access control method and system
CN107220555A