Management interface calling method and device, equipment, storage medium and program product

By detecting the device screen display status to manage privacy interface calls, it solves the problems of difficulty in configuring privacy policies and insufficient security in the existing technology, and achieves more flexible privacy access management and improved data security.

CN118567760APending Publication Date: 2024-08-30BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410791461.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the digital era, with the development of big data and artificial intelligence technology, how to protect users' private data more effectively and improve data security has become an urgent need. Existing technology is difficult to flexibly manage the privacy policy of the memory, resulting in difficult configuration and security issues. insufficient.

Method used

By detecting the privacy interface call request of the target application to the target memory, the screen display status of the device is obtained, and authorization is determined based on the privacy policy of the local storage. If the screen display status is the bright screen state, the privacy interface is allowed to be called, and the main body independent of the memory is used. Carry out privacy access management, decouple usage and management, and reduce the difficulty of policy configuration.

Benefits of technology

It achieves more flexible privacy access management, determines authorization based on device usage status, improves data security, and reduces the configuration complexity of memory privacy policies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567760A
    Figure CN118567760A
Patent Text Reader

Abstract

The invention provides a management interface calling method and device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical field of artificial intelligence such as data security, privacy protection, authorization management and cloud service. According to one specific embodiment, the method comprises the steps that in response to a detected calling request of a target application for a private interface in a target memory, the screen display state of target equipment using the target memory is obtained, data communication is established between the target memory and the local, and the target memory is in data communication with the private interface; the privacy interface is determined based on a locally stored first privacy policy corresponding to the target memory, and the privacy interface is allowed to be called by the target application in the first privacy policy; and in response to the condition that the screen display state is a bright screen display state, authorizing the interface calling request to allow the target application to call the privacy interface at this time. Therefore, privacy and access management can be carried out on the memory more flexibly by utilizing the main body independent of the memory, so that the configuration difficulty of the memory privacy strategy is reduced through a use and management decoupling mode. Moreover, whether authorization is provided for the private interface access behavior or not can be determined according to the use state of the user for the equipment, so that the data security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, specifically to the field of artificial intelligence technology such as data security, privacy protection, and cloud services, and especially to methods, devices, electronic devices, computer-readable storage media, and computer program products for managing interface calls. Background Art

[0002] With the development of society and the increasing development of computer technology, people are gradually entering the digital age and digital society. In this context, data privacy and data security are gradually gaining attention. Data privacy refers to the ability and measures to protect the personal information of the data subject (i.e. the individual or entity involved in the data) from unauthorized access, use or disclosure when individuals or organizations process data.

[0003] In the digital age, data privacy issues are becoming increasingly important, especially with the development of big data and artificial intelligence technologies, the collection, storage, processing and analysis of personal data have become very common and complex. Therefore, how to protect data more efficiently and with higher quality, protect user privacy data and improve data security is worthy of attention and urgent need. Summary of the invention

[0004] The embodiments of the present disclosure provide a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for managing interface calls.

[0005] In a first aspect, an embodiment of the present disclosure proposes a method for managing interface calls, comprising: in response to detecting a call request from a target application for a privacy interface in a target memory, obtaining a screen display state of a target device using the target memory, wherein data communication is established between the target memory and a local device, a privacy interface is determined based on a first privacy policy corresponding to the target memory stored locally, and the privacy interface is allowed to be called by the target application in the first privacy policy; in response to the screen display state being a bright screen display state, authorizing the interface call request to allow the target application to call the privacy interface this time.

[0006] In a second aspect, an embodiment of the present disclosure proposes a device for managing interface calls, comprising: a screen status acquisition unit, configured to acquire the screen display status of a target device using a target memory in response to detecting a call request from a target application to a privacy interface in a target memory, wherein data communication is established between the target memory and a local device, and the privacy interface is determined based on a first privacy policy corresponding to the target memory stored locally, and the privacy interface is allowed to be called by the target application in the first privacy policy; an interface call authorization unit, configured to authorize an interface call request in response to the screen display status being a bright screen display status, so as to allow the target application to call the privacy interface this time.

[0007] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can implement the method for managing interface calls as described in any implementation method in the first aspect when executing the instructions.

[0008] In a fourth aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, which are used to enable a computer to implement the method of managing interface calls as described in any implementation manner in the first aspect when executed.

[0009] In a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program, which, when executed by a processor, can implement the method for managing interface calls as described in any implementation manner in the first aspect.

[0010] The method, device, electronic device, computer-readable storage medium and computer program product for managing interface calls provided by the embodiments of the present disclosure obtain the screen display state of the target device using the target memory when a call request of the target application for the privacy interface in the target memory is detected. The target memory has established data communication with the local, and the privacy interface is determined based on the first privacy policy corresponding to the target memory stored locally, and the privacy interface is allowed to be called by the target application in the first privacy policy. Then, if the screen display state is the bright screen display state, the interface call request is authorized, and the target application is allowed to call the privacy interface this time.

[0011] The present disclosure can use a subject independent of the storage to more flexibly manage the privacy and access of the storage, so as to reduce the difficulty of configuring the storage privacy policy by decoupling use and management. In addition, it can also determine whether to provide authorization for the privacy interface access behavior based on the user's use status of the device, thereby improving data security.

[0012] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0014] Figure 1 is an exemplary system architecture in which the present disclosure may be applied;

[0015] Figure 2 A flowchart of a process of managing interface calling provided by an embodiment of the present disclosure;

[0016] Figure 3 A flowchart of a process for monitoring the calling status of a privacy interface provided by an embodiment of the present disclosure;

[0017] Figure 4 A flowchart of a process for determining whether to maintain call authorization provided by an embodiment of the present disclosure;

[0018] Figure 5 An exemplary architecture of a method for implementing a management interface call in an application scenario provided by an embodiment of the present disclosure;

[0019] Figure 6 A structural block diagram of a device for managing interface calls provided in an embodiment of the present disclosure;

[0020] Figure 7 A schematic diagram of the structure of an electronic device suitable for executing a method for calling a management interface provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other without conflict.

[0022] In addition, in the technical solutions involved in the present disclosure, the acquisition, storage, use, processing, transportation, provision and disclosure of user personal information involved (such as reading the screen display status of the target device used by the user involved in the subsequent disclosure, etc.) are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0023] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the method, apparatus, electronic device, and computer-readable storage medium for managing interface calls of the present disclosure can be applied.

[0024] like Figure 1As shown, the system architecture 100 may include a terminal device 110, which may be hardware or software. When the terminal device 110 is hardware, it may be various electronic devices with a display screen, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; when the terminal device 110 is software, it may be installed in the electronic devices listed above, and it may be implemented as multiple software or software modules, or as a single software or software module, which is not specifically limited here.

[0025] For example, the terminal device 110 may be a device used by the user 120. For example, the user 120 may use the application 101 included in the terminal device 110 to obtain corresponding services. For example, when the application 101 is illustrated as a picture editing application, the user 120 may use the application 101 to at least edit pictures stored in the terminal device 110.

[0026] Accordingly, the terminal device 110 may include a local storage (e.g., memory 102) and a management module 103, which may be used, for example, to manage the local operating state of the terminal device 110 (e.g., shut down the executing application), etc. In some scenarios, the management module 103 may also be independently or integrated in the processing unit (e.g., CPU) of the terminal device 110. The memory 102 may be, for example, a read-only memory (ROM). ROM is usually used to store solidified program code and data, and its content remains unchanged after power failure.

[0027] In some embodiments, the exemplary system architecture 100 may further include a server 130 and a network 140 for communication between the server 130 and the terminal device 110. The network 140 is used to provide a medium for a communication link between the terminal device 110 and the server 130. The network 140 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0028] When the server 130 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server; when the server is software, it can be implemented as multiple software or software modules, or as a single software or software module, and no specific limitation is made here. The server 130 can also be a "cloud" server for providing cloud computing. The "cloud" is composed of a large number of hosts or network servers based on cloud computing, where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.

[0029] For the convenience of authorization, the management interface calling method provided in the subsequent embodiments of the present disclosure is generally executed by the terminal device 110 directly used by the user 120 and provided with the memory 102. Accordingly, the management interface calling device is generally also provided in the terminal device 110.

[0030] However, it should also be pointed out that in some scenarios, the terminal device 110 may also communicate with the server 130, and the server 130 may decide whether to authorize the access behavior in the terminal device 110 (for example, to avoid "wrong authorization" caused by the user 120 failing to accurately understand the meaning of his authorization behavior). Accordingly, the server 130 may also perform the management interface call process discussed later, similar to the terminal device 110, to obtain the same result as the terminal device 110.

[0031] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0032] Please refer to Figure 2 , Figure 2 A flowchart of a process of managing interface calls provided by an embodiment of the present disclosure, wherein process 200 includes the following steps:

[0033] Step 201: in response to detecting a call request from a target application for a privacy interface in a target memory, obtaining a screen display state of a target device using the target memory;

[0034] In the embodiments of the present disclosure, as discussed above, for the sake of convenience, the execution subject of the process and method of managing interface calls may generally be the terminal device 110. In some embodiments, considering that the memory storing data may generally be installed on the terminal device 110 for easy use, other components and modules in the terminal device 110 that are independent of the memory may be selected to implement access control and authorization of the interface in the memory.

[0035] Thus, by "decoupling" the authorization management from the components (modules, units) that provide and store data, the privacy policies stored in these management modules and components can be updated and adjusted more dynamically and flexibly. For example, the execution subject of the process of actually executing the management interface call in the terminal device 110 can be, for example, more specifically, the management module 103 in the terminal device 110.

[0036] For the purpose of facilitating understanding and discussion, the following discussion and explanation will also be carried out by way of example using the management module 103 as the execution subject.

[0037] In this step, the calling of the privacy interface in the memory can be detected by the execution subject, such as the management module 103. As discussed above, the privacy interface can be determined based on the first privacy policy corresponding to each memory stored locally by the execution subject. For example, the first privacy policy can indicate whether each interface in the corresponding memory is a privacy interface. For example, it can be determined whether the interface is a privacy interface based on whether the data in the associated memory is the user's privacy data when the interface is called, and then, at least based on the judgment result, a privacy policy is generated accordingly (for the convenience of description, it is described as the first privacy policy) to indicate the privacy interface in the memory.

[0038] Correspondingly, the first privacy policy may also indicate the calling policy corresponding to the privacy interface, for example, what kind of applications are allowed to call the privacy interface. For example, the application allowed to call a certain privacy interface can be determined based on the corresponding relationship between the security level, credit level, etc. of the application and the security level of the data corresponding to the privacy interface. For example, for the privacy interface, the corresponding security level is [3,10], then the application corresponding to the security level of 5 can meet the security level requirement, and the application can be allowed to request access to the privacy interface.

[0039] In some embodiments, after receiving the call request, the execution subject may first determine whether the target application is allowed to call the privacy interface in the target memory requested by it. If the target application is not allowed, the target application will be directly "denied access and call".

[0040] Usually, the execution subject can directly serve as the requested party. When the target application needs to call an interface, the application is required to send a call request to the execution subject's local to obtain "authorization". Accordingly, if the target application is authorized, it can communicate with the target storage based on the authorization result and call the interface in the target storage.

[0041] In some optional implementations of this embodiment, in order to improve the access efficiency of the target application, the target application can also be configured to directly send a call request to the target memory. Then, the execution subject can obtain and detect the call request of the target application to the privacy interface in the target memory through the forwarding and synchronization of the call request by the target memory, or through the "monitoring" result of whether the call request is received in the target memory.

[0042] Accordingly, in order to detect the interface call situation in the target memory more continuously, the execution subject can also establish data communication with the target memory in advance. For example, a communication channel is established. Thus, the target memory is continuously detected by utilizing the established data communication. In some optional implementations of this embodiment, the execution subject can establish data communication with the target memory based on a hook. Hook is a technology or mechanism that allows a program to intercept, capture and process related actions or messages when a specific event occurs.

[0043] Accordingly, through the Hook method, the execution subject can dynamically and flexibly adjust the first privacy policy stored locally based on different privacy requirements, and then provide the target storage with the management and authorization functions of calling the privacy interface based on the first privacy policy. This reduces the difficulty of association, communication establishment and configuration between the execution subject and the storage.

[0044] Exemplarily, in the case where the target memory is suitable for an Android environment, the execution subject may implement a Hook based on an Xposed Framework to establish data communication between the local and (target) memory.

[0045] In some optional implementations of this embodiment, the first privacy policy may also be provided by an external party to the execution subject. For example, the first privacy policy may be obtained by the execution subject directly from a local storage device, or from a non-local storage device (e.g. Figure 1 The local storage device may be a data storage module provided in the execution subject, such as a local storage hard disk, in which case the first privacy policy may be quickly read locally; the non-local storage device may also be any other server provided for storing data, such as the server 130, in which case the execution subject may obtain the required first privacy policy by sending an acquisition command to the server 130.

[0046] Accordingly, in some optional implementations of this embodiment, the server for providing the first privacy policy may also be a cloud server. Thus, privacy management can be provided to target devices in batches through the cloud server. (For example, a unified first privacy policy can be configured in the cloud server and then sent to each terminal device to implement call authorization management of the privacy interface in batches).

[0047] Next, after detecting the call request of the target application for the privacy interface in the target memory, the execution subject obtains the screen display status of the target device using the target memory. For example, in the case where the requested target memory is the memory 102 in the above example, the target device can be exemplified as the terminal device 110 used by the user 120. For example, in the scenario where the user 120 is using the terminal device 110 to edit pictures, the call request may be requested by the picture editing application in the hope of obtaining the user's personal pictures from the local memory 102 of the terminal device 110. Accordingly, the execution subject can choose to obtain the screen display status of the terminal device 110.

[0048] The screen display state can generally be divided into a bright screen display state (i.e., the display component of the device is lit up to deliver content to the user) and an off screen display state (i.e., the display component of the device is turned off and the user cannot obtain content by directly viewing the display component). For example, in a scenario where the terminal device 110 is exemplified as a "mobile phone", the display component may be a display screen of the mobile phone.

[0049] Alternatively or additionally, in some scenarios, the execution subject may also independently or auxiliaryly determine the screen display state by whether the target device is in an unlocked state. For example, the execution subject may determine that the screen display state is a bright screen display state when it is determined that the device is in an "unlocked" state.

[0050] Step 202: In response to the screen display state being the bright screen display state, authorize the interface call request to allow the target application to call the privacy interface this time.

[0051] On the basis of step 201, this step aims to allow the target application to call the privacy interface in the target memory and obtain the data stored in the target memory by calling the privacy interface, when the above-mentioned execution subject determines that the screen display state is the bright screen display state.

[0052] Therefore, the execution entity can only allow the target application to call the privacy interface when it determines that the target device is in a bright screen display state, so as to limit the possible "secret calling" behavior of the application when the user may not be using the target device, thereby ensuring the user's data security.

[0053] The method for managing interface calls provided in the embodiments of the present disclosure can utilize a subject independent of the memory to more flexibly manage privacy and access to the memory, thereby reducing the difficulty of configuring the memory privacy policy by decoupling use and management. In addition, it can also determine whether to provide authorization for privacy interface access behavior based on the user's use status of the device, thereby improving data security.

[0054] In some optional implementations of this embodiment, after the execution subject authorizes the interface call request and allows the target application to call the privacy interface this time, it can also present the call prompt information in the display component associated with the target device when it detects that the target application starts to call the privacy interface. For example, a text prompt is provided to the user through the prompt information to feedback to the user that the target application is currently calling the "privacy data". Through such status synchronization, the user can understand the usage status of the "privacy data" more timely and accurately, which facilitates their decision-making while further ensuring the data security of the privacy data.

[0055] In some embodiments, as discussed above, the execution entity can decouple the memory from the code associated with the privacy policy by maintaining the first privacy policy locally and executing the first privacy policy (that is, there is no need to additionally configure the code associated with the privacy policy in the memory). This approach not only allows the first privacy policy to be configured and adjusted more dynamically and flexibly, but also reduces the difficulty of configuring the memory and releases code space in the memory.

[0056] Therefore, through the execution subject, it is actually possible to provide privacy authorization management and privacy protection for the memory. In this case, in order to avoid wasting storage resources due to the privacy policy (associated code) stored in the memory, and potentially causing privacy policy conflicts and affecting system stability, the execution subject can also detect the memory (for example, the target memory) to determine whether other privacy policies for the privacy interface are stored in the memory (for example, which can be described as a second privacy policy).

[0057] Accordingly, if the execution subject detects that the second privacy policy for the privacy interface is stored in the target memory, it may choose to delete the second privacy policy in the target memory, thereby freeing up the storage space of the memory and avoiding potential conflicts.

[0058] In some embodiments, as discussed above, the first privacy policy can be issued by the cloud server to implement the call authorization management and control of the privacy interface in batches and in a unified standard. Accordingly, each of the multiple memories is configured with a corresponding first privacy policy, so as to utilize the corresponding first privacy policy to perform the call authorization management and control of the privacy interface on the corresponding memory.

[0059] In such a scenario, the local of the execution subject can establish corresponding data communications with multiple memories respectively (for example, with multiple memories in the target device, or multiple memories of multiple devices). Therefore, the execution subject can choose to obtain the interface sets included in each of the multiple memories, and determine whether there are difference interfaces based on the indication result of whether these interfaces are indicated as private interfaces by the first privacy policy corresponding to the memory. The difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the first interface set, and the same type of interface of the difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the second interface set.

[0060] In other words, for a "differential interface", it is indicated as a "privacy interface" in one first privacy policy, while in another first privacy policy, its same type of interface is indicated as a "non-privacy interface". In such a case, the execution subject can choose to confirm with the cloud server that sends the first privacy policies to confirm whether such a result is caused by an abnormality in one of the first privacy policies (because, generally speaking, interfaces of the same type should be expected to use the same privacy policy for call authorization and management).

[0061] Specifically, the execution subject may choose to send a coordination configuration request to the cloud server to inquire and request whether to "eliminate" the difference interface by adjusting and synchronizing the above two different first privacy policies.

[0062] Accordingly, if the cloud server returns an update instruction in response to the coordination configuration request, the executing entity may determine that there is an "abnormality" in the first privacy policy, and accordingly update the first privacy policy corresponding to the first interface set, so that the updated first privacy policy indicates that the difference interface is a privacy interface in the first interface set (i.e., eliminates the "difference interface").

[0063] Therefore, the execution subject can eliminate the "abnormality" by comparing the first privacy policies corresponding to each storage device, so as to avoid "missing authorization" and data risks caused by privacy policy configuration errors, thereby improving data security.

[0064] It should be understood that in some scenarios, the above "abnormality" is actually caused by differential configuration. In such cases, the cloud server can also return a rejection update instruction to the coordination configuration request to refuse to adjust the first privacy policy. Alternatively, in some scenarios, the cloud server can also "eliminate the differential interface" by instructing to adjust the "incorrectly marked privacy interface (for example, the same type of interface in the second privacy set)".

[0065] In some embodiments, after completing this authorization, the execution subject may also continuously monitor the target application's calls to the privacy interface, so as to synchronize this information to the user in a timely manner and assist the user in making decisions.

[0066] For this, please refer to Figure 3 , Figure 3 A flowchart of a process of monitoring the calling state of a privacy interface provided by an embodiment of the present disclosure, including process 300. Process 300 can be used as the above Figure 2 In the illustrated embodiment, an alternative process after step 202 is shown. Process 300 includes the following steps:

[0067] Step 301: Detect whether the number of times the target device authorizes the target application to use the privacy interface reaches a preset number threshold within a preset time period after the target device switches to the bright screen display state this time?

[0068] Specifically, the execution subject can determine the number of times the target application uses the privacy interface within the preset time after the switching moment to the bright screen display state (that is, within the preset time starting from the "switching moment" of switching from the off screen display state to the bright screen display state). For example, the target application may continuously and multiple times request to call the privacy interface within the above-mentioned preset time, and the execution subject may choose to provide authorization to the target application correspondingly and multiple times based on "continuously being in the bright screen display state". Accordingly, the execution subject can count the number of times the target application has been authorized in this "bright screen display state".

[0069] Then, the execution subject can continuously determine whether the number of times the target application is authorized to use the privacy interface reaches the preset number threshold. For example, the execution subject can count the number of authorized times after each authorization.

[0070] Furthermore, if the execution subject determines that the current total number of authorizations does not reach the preset number threshold, step 301 may be repeatedly executed to continue monitoring and counting.

[0071] If the execution subject determines that the current total number of authorizations has reached the preset number threshold, it may choose to execute step 302 .

[0072] Step 302: Present the warning information in the display component associated with the target device.

[0073] Specifically, the execution subject may present a warning message in a display component associated with the target device, such as a screen, when the total number of authorizations in this "screen-on state" has reached the preset number threshold. The warning message may be used to prompt the target application of "multiple calls" or "multiple authorizations" during this screen-on state.

[0074] Therefore, users can use the alarm information to learn about the "multiple calls" and "multiple authorizations" situations, and check whether the target application has "abnormal calls" or "calls that should not be permitted" to improve data security.

[0075] In some optional implementations of this embodiment, as discussed above, the target application may be requested and authorized multiple times within a period of time. In this case, after providing the warning information, the execution subject may further interact with the user to "ask the user whether to provide the target application with the call permission for the privacy interface through batch authorization." Thus, in this way, the execution subject can batch authorize multiple calls and requests of the target application based on the batch authorization behavior of the user, so as to reduce consumption and improve authorization efficiency.

[0076] Specifically, after step 302 of the above process 300, the following steps may be added alternatively or additionally:

[0077] Step 303: presenting batch authorization inquiry information in the display component;

[0078] Specifically, as discussed above, the execution subject may present batch authorization inquiry information in a display component such as a screen, where the batch authorization inquiry information is used to inquire whether the target application is allowed to call the privacy interface a target number of times.

[0079] Typically, a selection control may be presented in the batch authorization inquiry information, thereby allowing the user to select the control through a preset interactive operation to return an instruction for the batch authorization inquiry information.

[0080] For example, a confirmation control and a rejection control may be provided in the batch authorization inquiry information, so that the user can click the confirmation control or the rejection control to instruct the execution subject to allow or reject the target application to call the privacy interface a target number of times in the future.

[0081] In some optional implementations of this embodiment, the privacy level corresponding to the privacy interface can be set in advance according to the importance and confidentiality level of the privacy content corresponding to the privacy interface, and the corresponding privacy level can be marked for the privacy interface in the first privacy policy accordingly.

[0082] In this case, the target number of times can be determined based on the privacy level of the privacy interface in the privacy policy. For example, a mapping relationship between the privacy level and the authorized target number of times can be maintained in advance (for example, the higher the privacy level of the privacy interface, the lower the corresponding target number of times, that is, the two are negatively correlated). The execution entity can determine the "target number of times" based on the level of the privacy interface indicated in the first privacy policy and the mapping relationship. In this way, both data protection and authorization efficiency are taken into account.

[0083] Furthermore, if the execution subject receives a confirmation instruction for the batch authorization query information (for example, the user clicks a confirmation control), it may respond thereto and execute step 304 .

[0084] Step 304: In response to receiving a confirmation instruction for the batch authorization query information, authorize the target application to call the privacy interface a target number of times after the current moment.

[0085] Specifically, the execution subject can authorize, based on the user's selection result, to allow the target application to call the privacy interface a target number of times after the current moment, that is, to achieve "batch authorization" for the target application.

[0086] In some embodiments, during the process of the target application calling the privacy interface, the target device may switch from the screen-on display state to the screen-off display state based on user operations and other reasons. In this case, the execution entity can also interact with the user to determine whether to continue calling the privacy interface based on the prior "authorization" in the screen-off state.

[0087] For this, please refer to Figure 4 , Figure 4 A flowchart of a process for determining whether to maintain call authorization is provided in an embodiment of the present disclosure, including process 400. Process 400 can be used as the above Figure 2 In the illustrated embodiment, an alternative process after step 202 is shown. Process 400 includes the following steps:

[0088] Step 401: in response to detecting that the display state of the indication screen is switched from the on-screen display state to the off-screen display state, detecting the calling state of the target application for the privacy interface;

[0089] Specifically, the execution subject responds when detecting an instruction to switch the screen display state from the on screen display state to the off screen display state, and detects the call state of the target application for the privacy interface. That is, the execution subject detects whether the target application is still calling the privacy interface based on authorization (for example, the target application is continuously and continuously processing tasks based on the data provided by the privacy interface).

[0090] If the execution subject detects that the target application is calling the privacy interface, it can respond to this and continue to execute step 402.

[0091] Step 402: presenting continued authorization inquiry information in a display component associated with the target device;

[0092] Specifically, when the execution subject determines that the target application is still calling the privacy interface, the execution subject presents the continued authorization inquiry information in a display component such as a screen. The continued authorization inquiry information is used to inquire whether to continue to authorize the target application to call the privacy interface in the off-screen state.

[0093] Correspondingly, a control for confirming to maintain authorization or refusing to maintain authorization (i.e., requesting to stop authorization) may also be presented in the continued authorization inquiry information, so that the user can provide corresponding instructions to the execution entity through interaction with the control, which will not be repeated here.

[0094] If the execution subject receives an affirmative instruction for continuing the authorization inquiry information, step 403 may be continued.

[0095] Step 403: Maintain the authorization for the current target application to call the privacy interface.

[0096] It should be understood that, when the execution subject detects the indication of switching the screen display state based on step 401, it can choose to temporarily "intercept" the switching action of the display screen display state to avoid being unable to use the display component to present the "continue authorization inquiry information". Accordingly, after completing the confirmation of "whether to maintain authorization", the execution subject actually performs the action of switching the screen display state. For example, after receiving the affirmative instruction, the switching action is executed and "authorization is maintained". This allows the user to decide whether to allow the target application to "continue executing the task" according to needs, so as to balance the relationship between data security and user usage needs.

[0097] In some optional implementations of this embodiment, as discussed above, process 400 may further include step 404. Step 404 is executed when the execution subject receives a negative instruction for continuing the authorization query information.

[0098] Step 404: Stop the authorization for the current target application to call the privacy interface.

[0099] Specifically, if the user does not want the target application to continue to call the privacy interface after the screen is turned off, the user can issue a negative instruction through interaction with the execution subject for the continued authorization inquiry information to instruct the execution subject to stop authorizing the target application to call the privacy interface. Accordingly, the execution subject can stop authorizing the target application to call the privacy interface according to the negative instruction. In this way, the target application is protected and restricted from "calling the privacy interface" when the screen is turned off, thereby protecting the user's data security.

[0100] Based on any of the above embodiments, the execution subject can also be pre-configured and maintained in the interface call report. Accordingly, after the execution subject detects that the target application has completed the current call to the privacy interface, it can add the call behavior record associated with this call to the interface call report accordingly. Thus, through the interface call report, the user can understand and review the privacy interface call behavior of the target application, so that it can adjust and configure the privacy policy based on historical authorization and access conditions.

[0101] Accordingly, in some optional implementations of this embodiment, the execution subject may also be configured with a reporting cycle for the interface call report, so that the execution subject reports once every time the reporting cycle conditions are met at an interval to provide, update and synchronize the interface call report. For example, the execution subject may report the call report to the target device and / or the cloud server used to issue the first privacy policy in response to detecting that the reporting cycle requirements are met. In this way, the authorization status is fed back to the user of the target device and / or the cloud server that configures the first privacy policy, providing reference information for adjusting the privacy policy.

[0102] To deepen understanding, the present disclosure also provides an exemplary architecture of a specific method for implementing management interface calls in combination with a specific application scenario, see Figure 5 For ease of understanding, the architecture 500 is combined with Figure 1 An exemplary system architecture 100 is shown for illustration.

[0103] In the architecture 500, the user 120 can obtain the required service by using the application configured in the terminal device 110. For example, the user 120 can use the application 101 to obtain the "picture editing service".

[0104] The terminal device 110 may include a memory 102 for storing at least the personal data (e.g., "personal pictures") of the user 120. Accordingly, the terminal device 110 may manage and authorize the call request for the privacy interface in the memory 102 through the management module 103 provided therein. For example, in the architecture 500, the application 101 may send a call request to the management module 103 to request to call an "interface" (which may be a privacy interface or a non-privacy interface).

[0105] In the architecture 500, the terminal device 110 may also be connected to the server 130 (exemplarily, the server 130 may be a cloud server). The server 130 may configure the management module 103, or provide the management module 103 with a first privacy policy 505 for a memory (e.g., memory 102) by communicating with the terminal device 110. Exemplarily, the first privacy policy 505 corresponding to the memory 102 may indicate which interfaces in the memory 102 are privacy interfaces, and which applications are allowed to call the privacy interfaces (e.g., the first privacy policy 505 may indicate that the memory 102 includes a privacy interface 520).

[0106] Next, illustratively, when the user 120 uses the application 101 to edit a picture, the application 101 can call the "personal picture" stored in the memory 102 in the terminal device 110 as the "image to be edited". Accordingly, for the editing process of the user 120, the application 101 can request to call the privacy interface (e.g., the privacy interface 520) in the memory 102 to request to obtain the "image to be edited".

[0107] In this case, the memory 102 may respond to this by acquiring the display state 515 of the display component 510 (for example, the screen of the terminal device 110) of the terminal device 110 using the memory 102. Exemplarily, the screen display state 515 is currently in a bright screen display state. Accordingly, the management module 103 may respond to the screen display state 515 being currently in a bright screen display state, authorizing the application 101 to call the privacy interface 520 this time to obtain the "image to be edited".

[0108] Accordingly, after being authorized, the application 101 can obtain the “image to be edited” by calling the privacy interface 520 , and present the “image to be edited” in the application 101 for the user 120 to perform editing.

[0109] Further references Figure 6 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for managing interface calls. Figure 2Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0110] like Figure 6 As shown, the device 600 for managing interface calls in this embodiment may include: a screen state acquisition unit 601 and an interface call authorization unit 602. The screen state acquisition unit 601 is configured to, in response to detecting a call request of a target application for a privacy interface in a target memory, acquire the screen display state of a target device using the target memory, wherein the target memory has established data communication with the local, the privacy interface is determined based on a first privacy policy corresponding to the target memory stored locally, and the privacy interface is allowed to be called by the target application in the first privacy policy; the interface call authorization unit 602 is configured to, in response to the screen display state being a bright screen display state, authorize the interface call request to allow the target application to call the privacy interface this time.

[0111] In the present embodiment, in the device for managing interface calls 600, the specific processing of the screen state acquisition unit 601 and the interface call authorization unit 602 and the technical effects thereof can be referred to in Figure 2 The relevant descriptions of steps 201 - 202 in the corresponding embodiment are not repeated here.

[0112] In some optional implementations of this embodiment, the apparatus 600 further includes: a prompt information presenting unit configured to present call prompt information in a display component associated with the target device in response to detecting that the target application starts to call the privacy interface.

[0113] In some optional implementations of this embodiment, the first privacy policy is sent from the cloud server to the local computer.

[0114] In some optional implementations of the present embodiment, corresponding data communications are established locally with multiple memories, and each of the multiple memories is configured with a corresponding first privacy policy. The device 600 also includes: an interface set acquisition unit, configured to acquire the interface sets included in each of the multiple memories; a coordination configuration request unit, configured to send a coordination configuration request for the difference interface to the cloud server in response to an indication in the first privacy policy that there is a difference interface in the first interface set, wherein the difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the first interface set, and the same type of interface of the difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the second interface set; a privacy policy adjustment unit, configured to update the first privacy policy corresponding to the first interface set in response to the cloud server returning an update instruction for the coordination configuration request, so that the updated first privacy policy indicates that the difference interface is a privacy interface in the first interface set.

[0115] In some optional implementations of this embodiment, the privacy policy deleting unit of the apparatus 600 is configured to delete the second privacy policy in the target memory in response to detecting that the second privacy policy for the privacy interface is stored in the target memory.

[0116] In some optional implementations of the present embodiment, the alarm information presentation unit of the device 600 is configured to present an alarm message in a display component associated with the target device in response to the number of times the target application is authorized to use the privacy interface reaching a preset number threshold within a preset time period after the target device switches to the bright screen display state this time.

[0117] In some optional implementations of the present embodiment, the batch authorization inquiry unit of the device 600 is configured to present batch authorization inquiry information in a display component, wherein the batch authorization inquiry information is used to inquire whether the target application is allowed to call the privacy interface target number of times; in response to receiving a confirmation instruction for the batch authorization inquiry information, authorizing the target application to call the privacy interface target number of times after the current moment.

[0118] In some optional implementations of this embodiment, the target number is determined based on the privacy level of the privacy interface in the first privacy policy.

[0119] In some optional implementations of the present embodiment, the interface call status detection unit of the device 600 is configured to detect the call status of the target application for the privacy interface in response to detecting that the display status of the indication screen switches from the bright screen display state to the off screen display state; the continued authorization inquiry unit is configured to present continued authorization inquiry information in a display component associated with the target device in response to the target application calling the privacy interface, wherein the continued authorization inquiry information is used to inquire whether to continue to authorize the target application to call the privacy interface in the off screen state; and the calling authorization maintaining unit is configured to maintain the authorization for the current target application to call the privacy interface in response to receiving an affirmative instruction for the continued authorization inquiry information.

[0120] In some optional implementations of this embodiment, the device 600 calls an authorization stopping unit, which is configured to stop the authorization of the current target application to call the privacy interface in response to receiving a negative instruction for continuing the authorization inquiry information.

[0121] In some optional implementations of the present embodiment, the calling behavior recording unit of the device 600 is configured to, in response to detecting that the target application completes the call to the privacy interface, add a calling behavior record associated with this call to a pre-configured interface call report; the calling record reporting unit is configured to, in response to detecting that the requirements of the reporting period are met, report the calling report to the target device and / or the cloud server used to issue the first privacy policy.

[0122] In some optional implementations of this embodiment, the data communication establishing unit of the device 600 is configured to establish data communication with the target storage based on a hook mounting method.

[0123] This embodiment exists as a device embodiment corresponding to the above method embodiment. The device for managing interface calls provided by this embodiment can use a subject independent of the memory to more flexibly manage privacy and access to the memory, so as to reduce the difficulty of configuring the memory privacy policy by decoupling use and management. In addition, it can also determine whether to provide authorization for privacy interface access behavior based on the user's use status of the device, thereby improving data security.

[0124] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0125] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0126] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0127] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0128] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as the method of managing interface calls. For example, in some embodiments, the method of managing interface calls may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the method of managing interface calls described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the method of managing interface calls in any other appropriate manner (e.g., by means of firmware).

[0129] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0130] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0131] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0132] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0133] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0134] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services. The server can also be divided into a server of a distributed system, or a server combined with a blockchain.

[0135] According to the technical solution of the embodiment of the present disclosure, it is possible to use a subject independent of the storage to more flexibly manage the privacy and access of the storage, so as to reduce the difficulty of configuring the storage privacy policy by decoupling use and management. In addition, it is also possible to determine whether to provide authorization for the privacy interface access behavior based on the user's use status of the device, thereby improving data security.

[0136] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution provided by this disclosure can be achieved, and this document is not limited here.

[0137] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for managing interface calls, comprising: In response to detecting a call request of a target application for a privacy interface in the target memory, obtaining a screen display state of a target device using the target memory, wherein the target memory has established data communication with a local device, the privacy interface is determined based on a first privacy policy corresponding to the target memory stored locally, and the privacy interface is allowed to be called by the target application in the first privacy policy; In response to the screen display state being a bright screen display state, authorizing the interface call request to allow the target application to call the privacy interface this time.

2. The method according to claim 1, further comprising: In response to detecting that the target application starts to call the privacy interface, presenting call prompt information in a display component associated with the target device.

3. The method according to claim 1, wherein: The first privacy policy is sent from the cloud server to the local computer.

4. The method according to claim 3, wherein corresponding data communications are established between the local device and a plurality of memories, and each of the plurality of memories is configured with a corresponding first privacy policy, and the method further comprises: Acquire a set of interfaces included in each of the plurality of memories; In response to the first privacy policy indicating that there is a difference interface in the first interface set, sending a coordination configuration request for the difference interface to the cloud server, wherein the difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the first interface set, and the same type of interface of the difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the second interface set; In response to the cloud server returning an update instruction for the coordination configuration request, the first privacy policy corresponding to the first interface set is updated so that the updated first privacy policy indicates that the difference interface is a private interface in the first interface set.

5. The method according to claim 1, further comprising: In response to detecting that a second privacy policy for the privacy interface is stored in the target memory, the second privacy policy is deleted in the target memory.

6. The method according to claim 1, further comprising: In response to the target application being authorized to use the privacy interface reaching a preset threshold number of times within a preset time period after the target device switches to the bright screen display state this time, an alarm message is presented in a display component associated with the target device.

7. The method according to claim 6, further comprising: Presenting batch authorization inquiry information in the display component, wherein the batch authorization inquiry information is used to inquire whether the target application is allowed to call the privacy interface target number of times; In response to receiving a confirmation instruction for the batch authorization query information, authorization is provided to allow the target application to call the privacy interface the target number of times after the current moment.

8. The method according to claim 7, wherein: The target number of times is determined based on a privacy level of the privacy interface in the first privacy policy.

9. The method according to claim 1, further comprising: In response to detecting an indication that the screen display state is switched from the screen-on display state to the screen-off display state, detecting a call state of the target application for the privacy interface; In response to the target application calling the privacy interface, presenting continued authorization inquiry information in a display component associated with the target device, wherein the continued authorization inquiry information is used to inquire whether to continue to authorize the target application to call the privacy interface in the screen-off state; In response to receiving an affirmative instruction for the continued authorization inquiry information, the current authorization for the target application to call the privacy interface is maintained.

10. The method according to claim 9, further comprising: In response to receiving a negative instruction for the continued authorization inquiry information, the authorization for the current target application to call the privacy interface is stopped.

11. The method according to claim 1, further comprising: In response to detecting that the target application completes the current call to the privacy interface, adding a call behavior record associated with the current call to a pre-configured interface call report; In response to detecting that the requirement of the reporting period is met, the call report is reported to the target device and / or the cloud server used to issue the first privacy policy.

12. The method according to any one of claims 1 to 11, further comprising: The data communication is established with the target storage based on a hooking method.

13. A device for managing interface calls, comprising: a screen status acquisition unit, configured to, in response to detecting a call request of a target application for a privacy interface in the target memory, acquire a screen display status of a target device using the target memory, wherein the target memory has established data communication with a local device, the privacy interface is determined based on a first privacy policy corresponding to the target memory stored locally, and the privacy interface is allowed to be called by the target application in the first privacy policy; The interface call authorization unit is configured to authorize the interface call request in response to the screen display state being the bright screen display state, so as to allow the target application to call the privacy interface this time.

14. The apparatus according to claim 13, further comprising: The prompt information presenting unit is configured to present the calling prompt information in a display component associated with the target device in response to detecting that the target application starts to call the privacy interface.

15. The device according to claim 13, wherein: The first privacy policy is sent from the cloud server to the local computer.

16. The device according to claim 15, wherein the local device has corresponding data communications established with a plurality of memories, each of the plurality of memories is configured with a corresponding first privacy policy, and the device further comprises: An interface set acquisition unit, configured to acquire an interface set included in each of the plurality of memories; a coordination configuration request unit, configured to send a coordination configuration request for a difference interface to the cloud server in response to the first privacy policy indicating that there is a difference interface in the first interface set, wherein the difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the first interface set, and the same type of interface of the difference interface is indicated as a non-privacy interface by the corresponding first privacy policy in the second interface set; The privacy policy adjustment unit is configured to update the first privacy policy corresponding to the first interface set in response to the cloud server returning an update instruction for the coordination configuration request, so that the updated first privacy policy indicates that the difference interface is a privacy interface in the first interface set.

17. The apparatus according to claim 13, further comprising: The privacy policy deleting unit is configured to delete the second privacy policy in the target memory in response to detecting that the second privacy policy for the privacy interface is stored in the target memory.

18. The apparatus according to claim 13, further comprising: The alarm information presentation unit is configured to present an alarm message in a display component associated with the target device in response to the target application being authorized to use the privacy interface reaching a preset number threshold within a preset time period after the target device switches to the bright screen display state this time.

19. The apparatus according to claim 18, further comprising: a batch authorization inquiry unit, configured to present batch authorization inquiry information in the display component, wherein the batch authorization inquiry information is used to inquire whether the target application is allowed to call the privacy interface target number of times; In response to receiving a confirmation instruction for the batch authorization query information, authorization is provided to allow the target application to call the privacy interface the target number of times after the current moment.

20. The device according to claim 19, wherein The target number of times is determined based on a privacy level of the privacy interface in the first privacy policy.

21. The apparatus according to claim 13, further comprising: an interface call state detection unit, configured to detect a call state of the target application for the privacy interface in response to detecting an indication that the screen display state is switched from the on-screen display state to the off-screen display state; a continuing authorization inquiry unit, configured to present continuing authorization inquiry information in a display component associated with the target device in response to the target application calling the privacy interface, wherein the continuing authorization inquiry information is used to inquire whether to continue to authorize the target application to call the privacy interface in the screen-off state; The calling authorization maintaining unit is configured to maintain the authorization for the target application to call the privacy interface in response to receiving an affirmative instruction for the continued authorization inquiry information.

22. The apparatus according to claim 21, further comprising: The authorization calling stopping unit is configured to stop the authorization of the current target application to call the privacy interface in response to receiving a negative instruction for the continued authorization inquiry information.

23. The apparatus according to claim 13, further comprising: A calling behavior recording unit, configured to, in response to detecting that the target application completes the current call to the privacy interface, add a calling behavior record associated with the current call to a pre-configured interface call report; The call record reporting unit is configured to report the call report to the target device and / or the cloud server for issuing the first privacy policy in response to detecting that the requirement of the reporting period is met.

24. The apparatus according to any one of claims 13 to 23, further comprising: The data communication establishing unit is configured to establish the data communication with the target storage based on a hooking method.

25. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for managing interface calls according to any one of claims 1 to 12.

26. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method for managing interface calls according to any one of claims 1 to 12.

27. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method for managing interface calls according to any one of claims 1 to 12.