Display apparatus and control method of display apparatus
By granting applications permissions for use only during the current boot when the display device is powered on, and revoking these permissions when the device is powered off, the privacy and security issues of display devices in existing technologies are resolved, achieving enhanced privacy protection and user experience.
Patent Information
- Application Number
- CN202510399321.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-08-01
AI Technical Summary
Existing dynamic permission management methods are insufficient to meet the privacy and security needs of display devices such as smart TVs, especially in scenarios where the device needs to be turned off after each use, where permission management mechanisms are unable to effectively protect privacy.
When the display device is powered on, the application is granted permissions for use only during this power-on period based on the authorization prompt interface, and the permissions are revoked when the device is powered off. By binding the lifecycle of the permissions to the power-on and power-off cycles of the device, dynamic permission management is achieved.
It improves the privacy and security of display devices, conforms to the product feature of shutting down after each use, and enhances the user experience.
Smart Images

Figure CN120416596A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of display devices, and in particular, to a display device and a control method thereof. Background Art
[0002] With the development of technical fields such as electronic devices, more and more applications can be installed and run on electronic devices. If a large number of applications can directly use the relevant permissions of electronic devices, such as camera usage permissions, microphone usage permissions, network connection permissions, etc., it may bring security problems such as privacy leakage. Accordingly, a dynamic permission management mechanism for electronic devices has emerged.
[0003] Among them, the dynamic permission management mechanism of an electronic device refers to dynamically managing the use of a certain permission of the electronic device by an application of the electronic device, that is, the application dynamically has the permission to use a certain function. The existing dynamic permission management of electronic devices is usually based on the life cycle of the application for dynamic permission management. After the application exits, the permissions for the application will be revoked.
[0004] However, the current dynamic permission management method is difficult to meet the privacy and security requirements of display devices such as smart TVs. Summary of the Invention
[0005] This application provides a display device and a control method thereof to meet the dynamic permission management requirements of the display device.
[0006] In a first aspect, some embodiments provide a display device, including:
[0007] A display;
[0008] And at least one processor configured to execute instructions to cause the display device to:
[0009] Receive and respond to a power-on instruction, and perform a power-on operation of the display device;
[0010] Receive a permission application request of a first application, query the authorization status of the target permission applied for in the permission application request of the first application. If not authorized, display an authorization prompt interface, and the authorization prompt interface includes a first authorization option, and the first authorization option is an option for authorizing only for this power-on use;
[0011] Receive and respond to a selection instruction for the first authorization option, grant the target permission to the first application, and record the authorization type of the target permission of the first application as a first authorization type, and the first authorization type is authorization only for this power-on use;
[0012] Receive and respond to a power-off instruction. If the authorization type of the target permission of the first application is the first authorization type, revoke the target permission of the first application.
[0013] Based on the display device provided by the embodiments of the present application, after the display device is powered on, based on the permission application request of the first application, it can grant the first application the permission to be used only for this power-on based on the selection instruction of the first authorization option on the authorization prompt interface, and recycle the granted target permission when receiving the shutdown instruction. That is, when granting the authorization permission to the first application, the authorization of the permission can be carried out with one power-on of the display device as the life cycle. When the display device is shut down, the permission will be recycled. Thus, while protecting the privacy of the information of the display device through the authorization management of the permission, it can also conform to the product feature that the display device will be shut down after each use, and is more in line with the usage scenario of the privacy permission of the display device, making c.
[0014] In a second aspect, some embodiments further provide a display device, which includes:
[0015] A display;
[0016] And at least one processor, configured to execute instructions to enable the display device to:
[0017] Receive and respond to the power-on instruction, and perform the power-on operation of the display device;
[0018] Receive and respond to the permission setting instruction, and display the permission setting interface. The permission setting interface includes a setting item of the first authorization type, and the first authorization type is the authorization for use only for this power-on;
[0019] Receive and respond to the confirmation instruction for the setting item of the first authorization type, grant the target permission to the target application, and record the authorization type of the target permission of the target application as the first authorization type;
[0020] Receive the permission application request of the first application, query the authorization status of the target permission applied for by the permission application request of the first application. If there is authorization and the authorization type is the first authorization type, grant the target permission to the first application. The target application includes the first application;
[0021] Receive and respond to the shutdown instruction. If the authorization type of the target permission of the first application is the first authorization type, recycle the target permission of the first application.
[0022] Based on the display device provided in the embodiments of the present application, after the display device is powered on, the permission for use only for this power-on can be set through the permission setting interface. In the case of receiving a confirmation instruction, the target application is granted the permission for use only for this power-on. Furthermore, when receiving a permission application request of a first application, based on the setting that the authorized type is the first authorized type, the first application can be directly granted the permission for use only authorized for this power-on, and the granted target permission is recycled when receiving a shutdown instruction, that is, the authorization of the permission can be carried out with one power-on of the display device as the life cycle, and the permission is recycled only when the display device is powered off. Thus, while protecting the privacy of the information of the display device through the authorization management of the permission, it can also conform to the product feature that the display device is powered off after each use, and is more in line with the usage scenario of the privacy permission of the display device, which helps to improve the privacy security of the display device while enhancing the user experience.
[0023] In a third aspect, some embodiments further provide a control method for a display device. The method includes:
[0024] Receiving and responding to a power-on instruction to perform the power-on operation of the display device;
[0025] Receiving a permission application request of a first application, querying the authorization status of the target permission applied for in the permission application request of the first application. If not authorized, a permission prompt interface is displayed. The permission prompt interface includes a first authorization option, and the first authorization option is an option for authorization only for this power-on;
[0026] Receiving and responding to a selection instruction for the first authorization option, granting the target permission of the first application, and recording the authorization type of the target permission of the first application as authorization only for this power-on;
[0027] Receiving and responding to a shutdown instruction. If the authorization type of the target permission of the first application is authorization only for this power-on, recycling the target permission of the first application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0029] Figure 1 It is a schematic diagram of the operation scenario between the display device and the control device provided in some embodiments of the present application;
[0030] Figure 2Schematic diagram of the hardware configuration of a display device provided by some embodiments of the present application;
[0031] Figure 3 Schematic diagram of the hardware configuration of a control device provided by some embodiments of the present application;
[0032] Figure 4 Schematic diagram of the software configuration of a display device provided by some embodiments of the present application;
[0033] Figure 5 Schematic diagram of an authorization prompt interface provided by some embodiments of the present application;
[0034] Figure 6 Schematic diagram of an authorization prompt interface provided by other embodiments of the present application;
[0035] Figure 7 Schematic diagram of a permission setting interface provided by some embodiments of the present application;
[0036] Figure 8 Schematic diagram of a permission reservation prompt interface provided by some embodiments of the present application;
[0037] Figure 9 Schematic diagram of the power state of some display devices of the present application;
[0038] Figure 10 Schematic diagram of the interaction timing sequence provided by some embodiments of the present application;
[0039] Figure 11 Schematic diagram of the flowchart of the control method of a display device provided by some embodiments of the present application;
[0040] Figure 12 Schematic diagram of the flowchart of the control method of a display device provided by other embodiments of the present application. Detailed implementation manners
[0041] The embodiments will be described in detail below, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following embodiments do not represent all implementation manners consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application described in detail in the claims.
[0042] It should be noted that the brief description of the terms in the present application is only for the convenience of understanding the implementation manners described next, rather than intending to limit the implementation manners of the present application. Unless otherwise specified, these terms should be understood in their ordinary and common meanings.
[0043] In this application, terms such as "first", "second", "third", etc. in the specification, claims, and the above-mentioned drawings are used to distinguish similar or like objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that such terms can be interchanged under appropriate circumstances.
[0044] The terms "comprising" and "having" and any variations thereof are intended to cover but not exclusively include. For example, a product or device comprising a series of components does not have to be limited to all the components clearly listed, but may include other components not clearly listed or inherent to these products or devices.
[0045] The term "module" refers to any known or later-developed hardware, software, firmware, artificial intelligence, fuzzy logic, or a combination of hardware or / and software code that can perform functions related to that element.
[0046] In the embodiments of this application, the display device 200 generally refers to a device with the ability to display images and process data. For example, the display device 200 includes but is not limited to smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.
[0047] Figure 1 It is a schematic diagram of the operation scenario between the display device and the control device provided for some embodiments of this application. As Figure 1 shown, the user can operate the display device 200 through touch operations, the mobile terminal 300, and the control device 100. For example, the control device 100 can be a remote control, a stylus, a handle, etc.
[0048] The mobile terminal 300 can be used as a control device to perform human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device to establish a communication connection with the display device 200 for data interaction. In some embodiments, the mobile terminal 300 and the display device 200 can install software applications and achieve connection communication through network communication protocols to achieve the purpose of one-to-one control operations and data communication. It is also possible to transmit the audio and video content displayed on the mobile terminal 300 to the display device 200 to achieve the synchronous display function.
[0049] As Figure 1 also shown, the display device 200 also communicates with the server 400 for data communication through various communication methods. The display device 200 is allowed to establish a communication connection through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0050] The display device 200 can provide a broadcast receiving TV function, and can additionally provide an intelligent network TV function with computer support functions, including but not limited to, network TV, smart TV, Internet Protocol TV (IPTV), etc.
[0051] Figure 2 For some embodiments of this application Figure 1 The hardware configuration block diagram of the display device 200 in
[0052] In some embodiments, the display device 200 may include at least one of a tuner demodulator 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.
[0053] In some embodiments, the detector 230 is used to collect signals from the external environment or interact with the outside. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures. Or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0054] In some embodiments, the display 260 includes a display function component for presenting a picture and a driving component for driving image display. The display 260 is used to receive an image signal output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, components of a menu control interface, and a user control UI interface, etc.
[0055] In some embodiments, the communication device 220 is a component for communicating with external devices or the server 400 according to various communication protocol types. The display device 200 can be provided with multiple communication devices 220 according to different supported communication methods. For example, when the display device 200 supports wireless network communication, the display device 200 can be provided with a communication device 220 including a WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including a Bluetooth function.
[0056] The communication device 220 can enable the display device 200 to communicate with external devices or the server 400 through wireless or wired connection methods. Among them, the wired connection can connect the display device 200 with external devices through components such as data lines and interfaces. The wireless connection can connect the display device 200 with external devices through wireless signals or wireless networks. The display device 200 can directly establish a connection relationship with external devices, or can indirectly establish a connection relationship through gateways, routers, connection devices, etc.
[0057] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and first to nth interfaces for input / output. The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.
[0058] In some embodiments, the controller 250 and the tuner demodulator 210 may be located in different split devices, that is, the tuner demodulator 210 may also be in an external device of the main device where the controller 250 is located, such as an external set-top box, etc.
[0059] In some embodiments, if a user inputs a user command through a graphical user interface (GUI) displayed on the display 260, the user input interface receives the user input command through the graphical user interface (GUI).
[0060] In some embodiments, the audio output device 270 may be a built-in speaker of the display device 200 or an external audio output device connected to the display device 200. Among them, for an external audio output device connected to the display device 200, the display device 200 may also be provided with an external audio output terminal, and the audio output device may be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.
[0061] In some embodiments, the user input interface 280 can be used to receive instructions from the user input.
[0062] Figure 3 For some embodiments provided in this application Figure 1 is a hardware configuration block diagram of the control device. As Figure 3 shown, the control device 100 may include: a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.
[0063] The control device 100 is configured to control the display device 200, receive user input operation instructions, and convert the operation instructions into instructions recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
[0064] In some embodiments, the control device 100 may be an intelligent device. For example: the control device 100 can install various applications for controlling the display device 200 according to user needs.
[0065] In some embodiments, such as Figure 1As shown, after installing the application of the control and display device 200, the mobile terminal 300 or other intelligent electronic devices can perform functions similar to those of controlling the device 100.
[0066] The controller 110 includes a processor 112, a RAM 113, a ROM 114, a communication interface 130, and a communication bus. The controller 110 is used to control the operation and operation of the control device 100, as well as the communication and cooperation between internal components and the data processing functions between the external and internal.
[0067] Under the control of the controller 110, the communication interface 130 realizes the communication of control signals and data signals with the display device 200. The communication interface 130 may include at least one of other near - field communication modules such as a WiFi chip 131, a Bluetooth module 132, an NFC module 133, etc.
[0068] The user input / output interface 140, where the input interface includes at least one of a microphone 141, a touchpad 142, a sensor 143, a button 144, and other input interfaces.
[0069] In some embodiments, the control device 100 includes at least one of the communication interface 130 and the input / output interface 140. The communication interface 130 configured in the control device 100, such as WiFi, Bluetooth, NFC and other modules, can encode the user input instructions through the WiFi protocol, or the Bluetooth protocol, or the NFC protocol and send them to the display device 200.
[0070] The memory 190 is used to store various operating programs, data and applications for driving and controlling the control device 100 under the control of the controller. The memory 190 can store various control signal instructions input by the user.
[0071] The power supply 180 is used to provide operating power support for each component of the control device 100 under the control of the controller.
[0072] In order to perform user interaction, in some embodiments, the display device 200 can run an operating system. The operating system is a computer program for managing and controlling the hardware resources and software resources in the display device 200. The operating system can (control the display device) provide a user interface, allow users to interact with the display device 200, and support the running of various application programs.
[0073] It should be noted that the operating system can be a native operating system based on a specific operating platform, or a third - party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.
[0074] The operating system can be divided into different modules or levels according to the functions realized. For example, such asFigure 4 As shown, in some embodiments, the system is divided into four layers, from top to bottom are the Applications layer (abbreviation "Application layer"), the Application Framework layer (abbreviation "Framework layer"), the System Library layer, and the Kernel layer.
[0075] In some embodiments, the Applications layer is used to provide services and interfaces for applications so that the display device 200 can run applications and interact with users based on the applications. At least one application can run in the Applications layer. These applications can be window programs, system setting programs, or clock programs provided by the operating system; they can also be applications developed by third-party developers. In specific implementations, the application packages in the Applications layer are not limited to the above examples.
[0076] The Framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The Application Framework layer includes some predefined functions. The Application Framework layer is equivalent to a processing center, which decides to make the applications in the Application layer act. Applications can access the resources in the system and obtain system services through the API interface during execution.
[0077] As Figure 4 shown, in the embodiments of the present application, the Application Framework layer includes a View System, Managers, a Content Provider, etc. Among them, the View System can design and implement the interfaces and interactions of applications. The View System includes lists, grids, text boxes, buttons, etc. The Managers include at least one of the following modules: the Activity Manager is used to interact with all the activities running in the system; the Location Manager is used to provide access to the system location service for system services or applications; the Package Manager is used to retrieve various information related to the application packages currently installed on the device; the Notification Manager is used to control the display and clearing of notification messages; the Window Manager is used to manage icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0078] In some embodiments, the activity manager is used to manage the life cycles of various applications and the general navigation back function, such as controlling the exit, opening, and backward movement of applications. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, taking screenshots, and controlling the changes of the display window. For example, the display window can be shrunk, jittered, or distorted for display.
[0079] In some embodiments, the system runtime library layer can provide support for the framework layer. When the framework layer is used, the operating system will run the instruction library included in the system runtime library layer, such as the C / C++ instruction library, to implement the functions to be achieved by the framework layer.
[0080] In some embodiments, the kernel layer is a functional layer between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking processing, and memory management. For example, as Figure 4 shown, hardware drivers can be configured in the kernel layer, and the drivers included in the kernel layer can be at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor drivers (such as fingerprint sensors, temperature sensors, pressure sensors, etc.), and power drivers, etc.
[0081] It should be noted that the above examples are only simple divisions of the functions of the operating system, and do not limit the specific form of the operating system of the display device 200 in the embodiments of the present application. According to factors such as the functions of the display device and the type of the operating system, the number of levels included in the operating system and the specific level types can be in other forms.
[0082] When the electronic devices in the related art perform dynamic permission management, there is usually a one-time authorization permission management mechanism. This one-time authorization permission management mechanism is usually targeted at the characteristics of the long-term power-on of the electronic device. When an application applies for permissions, the permissions granted to the application are only limited to the use during this startup process of the application, and the permissions are recycled when the application exits. However, for display devices such as smart TVs, their usage scenarios, performance, and product characteristics are quite different from those of devices with batteries that can never be powered off. The display device has high power consumption, needs to be powered on every time it is used, and needs to be powered off after use. Therefore, the dynamic authorization management based on the one-time startup process of the application in the related art will be difficult to meet the permission management requirements of the display device.
[0083] Accordingly, some embodiments of the present application provide a display device, which includes:
[0084] A display;
[0085] and at least one processor configured to execute instructions to cause a display device to:
[0086] receive and respond to a power-on instruction to perform a display device power-on operation;
[0087] receive a permission application request of a first application, query the authorization status of the target permission applied for in the permission application request of the first application, and if not authorized, display an authorization prompt interface, where the authorization prompt interface includes a first authorization option, and the first authorization option is an option for authorizing only for this power-on use;
[0088] receive and respond to a selection instruction for the first authorization option, grant the target permission to the first application, and record the authorization type of the target permission of the first application as a first authorization type, where the first authorization type is authorization only for this power-on use;
[0089] receive and respond to a power-off instruction, and if the authorization type of the target permission of the first application is the first authorization type, reclaim the target permission of the first application.
[0090] The power-on instruction is an instruction used to instruct the display device to perform a power-on process, and the manner of receiving the power-on instruction is not limited. It can be receiving a power-on instruction sent by a remote control after the display device is powered on, or receiving a power-on instruction sent by a power button set on the display device. The embodiments of the present application do not make specific limitations on this.
[0091] After the display device receives the power-on instruction, it can perform a display device power-on operation. The specific manner of performing the display device power-on operation is not limited, and the embodiments of the present application do not make specific limitations on this.
[0092] After the display device completes power-on, when an application (referred to as the first application in the embodiments of the present application) needs to apply for a certain permission, it can initiate a permission application request, and the permission application request contains information about the target permission applied for, such as the identifier of the target permission, etc., but is not limited thereto.
[0093] Among them, the specific type of the first application is not limited, and it can be any application that needs to apply for a certain permission. The specific permission type of the target permission is not limited, and it can be any hardware function, software function, or a combination of software and hardware functions for which the use of a function requires restrictions on access to and operation of resources, such as the permission to use a camera, the permission to search for and connect to nearby devices, etc., but is not limited thereto.
[0094] If the query result shows that the authorization status of the target permission of the first application is not authorized, an authorization prompt interface can be displayed to prompt the user whether to authorize the target permission of the first application. Among them, in the embodiments of the present application, the authorization prompt interface includes at least a first authorization option, that is, it at least includes an option for authorizing only for this power-on use.
[0095] When the authorization prompt interface is displayed, the method for receiving the selection instruction for the first authorization option is not limited. In some examples, whether the selection instruction for the first authorization option has been received can be identified by voice information collected by a sound collector. In some examples, whether the selection instruction for the first authorization option has been received can be determined by collecting images by an image collector and identifying whether gesture information matching the selection instruction for the first authorization option in the video stream obtained based on the image exists. In some examples, a selection item such as a control corresponding to the first authorization option can be displayed on the authorization prompt interface, so that the user can intuitively and conveniently select the first authorization option by operating the control.
[0096] The specific form of the control for the first authorization option is not limited, as long as there is a corresponding control for the user to select. Figure 5 The authorization prompt interface shown in FIG. 5 shows a first authorization option 501, which can be displayed using a "For this startup only" control. It is understood that in other embodiments, the control name for the first authorization option 501 can also be other content, as long as the corresponding selection for authorizing only this startup can be made.
[0097] After granting the first application the target permission that is only authorized for use during this startup, during the startup process of the display device, that is, before the TV device is shut down or put into standby, no matter how many times the first application exits, it can directly obtain the target permission when it needs to use the target permission later, without having to apply for it again.
[0098] The shutdown command is an instruction used to instruct the display device to execute the shutdown process. There is no limit to the way of receiving the shutdown command. It can be a shutdown command issued by a remote control while the display device is powered on, or a shutdown command issued by a power button set on the display device. The embodiments of the present application do not impose specific restrictions on this.
[0099] Among them, after receiving the shutdown command, it can be further combined with the power state that the display device needs to enter based on the shutdown command to determine whether the target permissions of the first application need to be reclaimed. In some examples, when the display device needs to enter the shutdown or poweroff process, the CPU will stop working, so the target permissions of the first application can be directly reclaimed.
[0100] Among them, reclaiming the target permission of the first application means that the first application no longer has the permission to use the function of the target permission. Taking the target permission as the permission of the camera function as an example, the first application no longer has the permission to scope the camera hardware resources. Taking the permission to find and connect to nearby devices as an example, the target permission first application no longer has the permission to find and connect to nearby devices.
[0101] Based on the display device provided by the embodiments of the present application, after the display device is powered on, based on the permission application request of the first application, it can grant the permission to the first application that is only authorized to be used for this power-on based on the selection instruction of the first authorization option in the authorization prompt interface, and recycle the granted target permission when receiving the shutdown instruction. That is, when granting the authorization permission to the first application, the authorization of the permission can be carried out with one power-on of the display device as the life cycle, and the permission will be recycled only when the display device is powered off. Thus, while protecting the privacy of the information of the display device through the authorization management of the permission, it can also meet the product characteristic that the display device will be powered off after each use, and is more in line with the usage scenario of the privacy permission of the display device, which helps to improve the privacy security of the display device while enhancing the user experience.
[0102] In some embodiments, a processor is configured to execute instructions to cause the display device to:
[0103] Display a reject authorization option in the authorization prompt interface;
[0104] Receive and respond to the selection instruction for the reject authorization option to reject the permission application request.
[0105] Based on the display device of this embodiment, the authorization prompt interface also displays a reject authorization option. Thus, by receiving the selection instruction for the reject authorization option, the permission application request can be rejected, so that the permission application request of the first application can be rejected based on the need, that is, no authorization is given to the first application, which helps to improve the privacy security of the display device.
[0106] Among them, when the authorization prompt interface is displayed, the manner of receiving the selection instruction for the reject authorization option is not limited. In some examples, it can be determined whether the selection instruction for the reject authorization option is received by recognizing the voice information collected by the sound collector. In some examples, it can be determined whether there is gesture information matching the selection instruction for the reject authorization option in the image collected by the image collector to determine whether the selection instruction for the reject authorization option is received. In some examples, it can also be that there are selection items such as controls corresponding to the reject authorization option displayed on the authorization prompt interface, such as Figure 5 the control 502 shown, so that the user can intuitively and conveniently select the reject authorization option by operating the control.
[0107] In some embodiments, the processor is further configured to execute instructions to cause the display device to:
[0108] Display a second authorization option in the authorization prompt interface, and the second authorization option is an option for only authorizing the current application to run;
[0109] Receive and respond to the selection instruction for the second authorization option, grant the target permission to the first application, and record that the authorization type of the target permission of the first application is the second authorization type, where the second authorization type is the authorization for only the current application run;
[0110] When it is monitored that the application exits, recycle the target permission of the application.
[0111] Among them, when displaying the authorization prompt interface, the method of receiving the selection instruction for the second authorization option is not limited. For example, it is possible to identify whether the selection instruction for the second authorization option is received by collecting voice information through a voice collector, and determine whether the selection instruction for the second authorization option is received by identifying whether there is gesture information in the image collected by the image collector that matches the selection instruction for the second authorization option. In some examples, it can also be that there are selection options such as controls corresponding to the second authorization option displayed on the authorization prompt interface, so that the user can intuitively and conveniently select the second authorization option by operating the control.
[0112] Among them, the specific manifestation form of the control of the second authorization option is not limited, as long as there is a corresponding control for the user to select. In some examples, referring to Figure 6 the shown authorization prompt interface, it displays the second authorization option 503. Among them, the second authorization option 503 can be shown through the "Allow only when using this application" control. It can be understood that in other embodiments, the control name of the second authorization option 503 can also be other content, as long as it can correspondingly perform the selection of only authorizing the use during the running process of the current application.
[0113] Based on this embodiment, the display device, based on the permission application request of the first application, can grant the first application the authorization of only the current application run authorization based on the selection instruction for the second authorization option of the authorization prompt interface, and recycle the granted target permission when the application exits. That is, when granting the authorization permission to the first application, it is also possible to combine the authorization of the permission with the life cycle of the application's operation. Thus, when the first application applies for permission, it is possible to combine whether to grant the authorization for only use during operation or for use during the entire boot-up of the display device as needed, so as to perform single authorization of the permission as required.
[0114] Some embodiments of the present application also provide a display device, which includes:
[0115] A display;
[0116] And at least one processor, configured to execute instructions to enable the display device:
[0117] Receive and respond to the power-on instruction, and perform the power-on operation of the display device;
[0118] Receive and respond to the permission setting instruction, and open the permission setting interface. The permission setting interface includes a setting item for the first authorization type, and the first authorization type is the authorization for use only during this boot-up.
[0119] Receive and respond to the confirmation instruction for the setting item of the first authorization type, grant the target permission to the target application, and record that the authorization type of the target permission of the target application is the first authorization type.
[0120] Receive the permission application request of the first application, query the authorization status of the target permission applied for in the permission application request of the first application. If there is an authorization and the authorization type is the first authorization type, grant the target permission to the first application. The target application includes the first application.
[0121] Receive and respond to the shutdown instruction. If the authorization type of the target permission of the first application is the first authorization type, reclaim the target permission of the first application.
[0122] Among them, the permission setting instruction is an instruction used to indicate that settings related to permission control need to be carried out. The method of receiving and obtaining the network information setting instruction is not limited.
[0123] Among them, when displaying the permission setting interface, the method of receiving the confirmation instruction for the setting item of the first authorization type is not limited. In some examples, it is possible to identify whether the confirmation instruction for the setting item of the first authorization type is received by collecting voice information through a sound collector. In some examples, it is possible to collect an image through an image collector and determine whether there is gesture information matching the confirmation instruction for the setting item of the first authorization type in the video stream obtained based on the image, so as to determine whether the confirmation instruction for the setting item of the first authorization type is received. In some examples, it can also be that there are selection items such as controls corresponding to the confirmation of the setting item of the first authorization type displayed on the permission setting interface, so that the user can intuitively and conveniently confirm the first authorization type through the operation of the control.
[0124] Among them, the specific manifestation form of the control corresponding to the confirmation of the setting item of the first authorization type is not limited, as long as there is a corresponding control for the user to select. In some examples, referring to Figure 7 the permission setting interface shown, it displays multiple controls for the setting item of the first authorization type, including the control 702 corresponding to the confirmation of the setting item of the first authorization type. Among them, the control 702 corresponding to the confirmation of the setting item of the first authorization type can be displayed through the "ask every time you boot up" control. It can be understood that in other embodiments, the control name can also be other content, as long as the selection for authorization only for this boot-up can be carried out respectively.
[0125] Other implementation manners of the display device in this embodiment are the same as those of the display device in the foregoing embodiment and will not be described herein again.
[0126] Based on the display device provided in the embodiments of the present application, after the display device is powered on, the permission for use only in this boot can be set through the permission setting interface. When a confirmation instruction is received, the target application is granted the permission for use only in this boot. Furthermore, when a permission application request of the first application is received, based on the setting that the authorized type is the first authorized type, the first application can be directly granted the permission for use only authorized in this boot, and the granted target permission is recycled when a shutdown instruction is received, that is, the authorization of the permission can be performed with one boot of the display device as the life cycle, and the permission is recycled only when the display device is powered off. Thus, while protecting the privacy of the information of the display device through the authorization management of the permission, it can also conform to the product feature that the display device is powered off after each use, and is more in line with the usage scenario of the privacy permission of the display device, which helps to improve the privacy security of the display device and the user experience.
[0127] In some embodiments, the processor is further configured to execute instructions to enable the display device to:
[0128] Receive and respond to a rejection instruction for the setting item of the first authorized type, and record that the authorized type of the target permission of the target application is not authorized or rejected;
[0129] If a permission application request for the target permission of the first application is received, query the authorization status of the target permission of the first application. If the authorized type is not authorized, reject the permission application request.
[0130] Among them, when the display permission setting interface is displayed, the manner of receiving the rejection instruction for the setting item of the first authorized type is not limited. In some examples, it is possible to identify whether the rejection instruction for the setting item of the first authorized type is received through the voice information collected by the sound collector. In some examples, an image can be collected by the image collector, and it is determined whether there is gesture information matching the rejection instruction for the setting item of the first authorized type in the video stream obtained based on the image, so as to determine whether the rejection instruction for the setting item of the first authorized type is received. In some examples, a control for rejecting the setting item of the first authorized type can also be displayed, so that the user can directly and conveniently reject the setting item of the first authorized type through the operation of the control. Refer to Figure 7The shown permission setting interface displays multiple controls for the setting items of the first authorization type, including the control 701 corresponding to the rejection of the setting item of the first authorization type. Among them, the control 701 corresponding to the rejection of the setting item of the first authorization type can be displayed through the "Reject" control. It can be understood that in other embodiments, the control name of the control 701 can also be other content, as long as it can respectively and correspondingly make a selection for only authorizing the use for this startup.
[0131] Based on the display device of this embodiment, when setting the permission for only authorizing the use for this startup through the permission setting interface, in the case of receiving a rejection instruction, directly record the authorization type of the target permission of the target application as not authorized, so that when subsequently receiving a permission application request for the target permission of the first application, the permission application request can be directly rejected, which helps to improve the processing efficiency.
[0132] In some embodiments, the processor is further configured to execute instructions to cause the display device to:
[0133] Receive and respond to each inquiry instruction for the setting item of the first authorization type, and record the authorization type of the target permission of the target application as not authorized;
[0134] If receiving a permission application request for the target permission of the first application, query the authorization status of the target permission of the first application. If the authorization type is not authorized, then pop up an authorization prompt interface.
[0135] When displaying the permission setting interface, the way of receiving each inquiry instruction for the setting item of the first authorization type is not limited. It can be through voice information or gesture instruction recognition from image recognition. In some examples, there can also be a control corresponding to each inquiry instruction for the setting item of the first authorization type displayed. Refer to Figure 7 The shown permission setting interface displays multiple controls for the setting items of the first authorization type, including the control 703 corresponding to each inquiry instruction for the setting item of the first authorization type. It can be understood that in other embodiments, the control name of the control 703 can also be other content, as long as it can respectively and correspondingly make a selection for only authorizing the use for this startup. When the user selects the control 703, it indicates that the permission of this application for this permission is a single - time authorization policy, and it currently does not have the authorization for this permission and needs to be inquired every time it starts up.
[0136] In some embodiments, the processor is further configured to execute instructions to cause the display device to:
[0137] Receive and respond to a standby instruction, query and determine whether the second application of the display device has a permission with the authorization type of the first authorization type, where the second application is an application that the display device is running;
[0138] If the second application has permissions of the first authorization type, a permission retention prompt interface is displayed. The permission retention prompt interface includes a prompt message indicating whether to retain the permissions of the first authorization type for use when the device is powered on next time.
[0139] If a permission retention instruction is received, retain the permissions of the first authorization type of the second application and perform a standby operation.
[0140] If a permission non-retention instruction is received, revoke the permissions of the first authorization type of the second application and perform a standby operation.
[0141] Standby means that the display device enters a sleep state when not in use to save energy and extend the service life of the device. When the display device is in the standby state, it maintains certain functions, but most functions are suspended or reduced to reduce power consumption.
[0142] In the case of receiving a standby instruction, it means that when the device is powered on again after ending standby, there is a possibility of returning to the state before standby again. For an application that has been granted permissions only for the current power-on, there may also be a possibility that the user expects the application to continue to have the permissions after resuming from standby. Therefore, a permission retention prompt interface can be displayed to ask the user whether to retain the permissions of the second application that are only valid for the current power-on for use when the device is powered on next time.
[0143] Among them, the standby mode entered by the display device after receiving the standby instruction is not limited. In some examples, after receiving the standby instruction, the display device may enter the SUSPEND (Suspend to RAM) mode or the Active standby mode.
[0144] Among them, SUSPEND can also be called standby or sleep mode. In the SUSPEND mode: the current running state and other data of the display device are saved in the memory. At this time, power still needs to be supplied to the RAM to ensure a quick recovery to the working state later. The processes in the user state and the tasks in the kernel state (processes that enter the kernel state or the kernel's own tasks) are frozen, and peripheral devices such as the display screen and mouse are turned off. The external devices used for interrupt wake-up, such as the power button, are not turned off. It can be seen that in the suspend mode, the display device enters a deep sleep state, and most hardware devices (including the CPU) are turned off or have their power reduced to save power. Usually, the device needs to be woken up by pressing the power button or receiving certain specific signals. This mode is usually used when the device is not used for a long time, so the target permissions of the first application can be directly revoked.
[0145] In the Active Standby mode, the device remains powered on and running, but all non-essential functions are turned off or operate at a reduced power. For example, the screen may be turned off, but the CPU is still running. This mode is typically used when the device is not in use but needs to maintain a connection or respond quickly.
[0146] Among them, the second application is the application that the display device is running, that is, the second application is the application that the display device is running and has not exited. Thus, it is queried whether the second application has the permission of the first authorization type, that is, whether it has the permission to be used only for this boot. If so, a permission retention prompt interface is displayed. Among them, in the case where the second application does not have the permission of the first authorization type, there is no need to display the permission retention prompt interface, and the standby process is directly executed, and the permissions of the first authorization type of other applications are recycled.
[0147] Among them, the second application can be all the applications that the display device is running. In the case where there are multiple second applications, for the second application to have the permission of the first authorization type, it can be that at least one of the second applications has the permission of the first authorization type, and then it is considered that the second application has the permission of the first authorization type.
[0148] There is no limit to the way of receiving the permission retention instruction and the permission non-retention instruction. In some examples, the voice information collected by the sound collector can be used to identify whether the permission retention instruction or the permission non-retention instruction is received. In some examples, the image collector can be used to collect an image, and whether there is gesture information matching the permission retention instruction or the permission non-retention instruction in the video stream obtained based on the image can be identified to determine whether the permission retention instruction or the permission non-retention instruction is received. In some examples, controls corresponding to the permission retention option and the permission non-retention option can also be displayed, so that the user can intuitively and conveniently make a selection of permission retention or permission non-retention through the operation of the controls. Refer to Figure 8 the authorization setting interface shown, which displays the control 801 corresponding to the permission retention instruction and the control 802 corresponding to the permission non-retention instruction. It can be understood that in other embodiments, the control names of the control 801 and the control 802 can also be other contents, as long as the selection of being authorized to be used only for this boot can be correspondingly made respectively.
[0149] Based on the display device of this embodiment, when the display device receives a standby instruction, if the application that the display device is running has a permission with the authorization type of the first authorization type, that is, has a permission with the authorization type of only authorized for this boot-up use, it can display a permission retention prompt interface, and based on the operation on the permission retention prompt interface, retain the permission of the first authorization type of the second application, so that the permission of the first authorization type of the second application can be retained after the standby ends, and it can meet the expected requirement of being able to restore to the state before standby after the display device's standby ends.
[0150] In some embodiments, the second application is the top-level application of the display device; the processor is further configured to execute instructions to cause the display device to:
[0151] If it receives a permission retention instruction, retain the permission of the first authorization type of the top-level application, and recycle the permissions of the first authorization type of other authorized applications in the display device, and perform a standby operation;
[0152] If it receives a permission non-retention instruction, recycle the permission of the first authorization type of the second application.
[0153] The top-level application refers to the application that is at the top among the currently running applications on the display, and it is the application corresponding to the interface that the user is currently interacting with, and it is the application that the user can see and directly operate.
[0154] Based on this embodiment, when the display device receives a standby instruction, it can only determine whether the top-level application of the display device has a permission with the authorization type of the first authorization type. In some cases, by displaying a permission retention prompt interface and based on the permission retention operation on the permission retention prompt interface, retain the permission of the first authorization type of the top-level application, so that the permission of the first authorization type of the top-level application can be retained after the standby ends, while the permissions of the first authorization type of other authorized applications of the display device except the top-level application are recycled, which can meet the expected requirement of being able to restore to the state of the top-level application before standby after the display device's standby ends, and further improve the privacy security of the display device.
[0155] In some embodiments, the processor is configured to execute instructions to cause the display device to:
[0156] Receive and respond to a boot-up instruction, and determine whether this boot-up is a boot-up after power failure;
[0157] If this boot-up is a boot-up after power failure, query and recycle the authorized permissions of the first authorization type.
[0158] Among them, a boot-up after power failure means that the last shutdown of the display device was caused by a power failure. Some possible power failure situations include but are not limited to power-off shutdown, unplugging the power supply to shut down, etc.
[0159] Based on the display device of this embodiment, when it receives a power-on instruction and powers on, in the case where it is determined that this power-on is a power-on after a power failure, it indicates that the previous shutdown was an abnormal shutdown after a power failure, and the permissions of the first authorization type granted during the previous power-on process have not been recycled. Therefore, the permissions of the first authorization type that have been authorized are recycled when powering on, thereby reducing the security risks caused by the failure to recycle in a timely manner the authorization that was only used for this power-on during an abnormal shutdown, and further improving the privacy security of the display device.
[0160] Among them, the method for determining whether this power-on is a power-on after a power failure is not limited. In some embodiments, a processor is configured to execute instructions to cause the display device to:
[0161] Receive and respond to a power-on instruction, and query the shutdown flag bit;
[0162] If the shutdown flag bit is not the preset flag bit, determine that this power-on is a power-on after a power failure;
[0163] After the power-on operation is completed, clear the preset flag bit, and when receiving a shutdown instruction, in response to the shutdown instruction, set the shutdown flag bit to the preset flag bit.
[0164] [[ID=
[17] ]]Among them, the specific type of the preset flag bit is not limited, as long as it can indicate through the preset flag bit that the executed shutdown process is based on the received shutdown instruction.
[0165] Based on the display device of this embodiment, the display device is provided with a shutdown flag bit. When the display device performs a shutdown operation based on the received shutdown instruction, it sets the shutdown flag bit to the preset flag bit, and when receiving the next power-on instruction, it determines whether this power-on is a power-on after a power failure by querying the shutdown flag bit, which can improve the determination efficiency of whether this power-on is a power-on after a power failure.
[0166] In some embodiments, the processor is further configured to execute instructions to cause the display device to:
[0167] Receive and respond to a restart instruction. If the authorization type of the target permission of the first application is the first authorization type, recycle the target permission of the first application.
[0168] The restart instruction is an instruction that instructs the display device to restart after shutting down. Since it is necessary to perform a shutdown operation first during the restart process of the display device, the target permission of the first application can be directly recycled.
[0169] It can be understood that when the display device receives a restart instruction, it can recycle all applications with permissions of the first authorization type, regardless of the type of the specific application and the type of the permission.
[0170] For the display device based on this embodiment, when receiving a restart instruction, since the restart of the display device is a process in which the display device shuts down from the current state and restarts, returning to the initial operating state, if the authorization type of the target permission of the first application is the first authorization type, the target permission of the first application can be recycled to further improve the privacy security of the display device.
[0171] In some embodiments, the processor is further configured to execute instructions to cause the display device to:
[0172] Receive and respond to a standby instruction, and if the authorization type of the target permission of the application is the first authorization type, recycle the target permission of the application.
[0173] For the display device based on this embodiment, when receiving a standby instruction, it can also directly recycle the target permission of the first application to further improve the privacy security of the display device.
[0174] Based on the above-described embodiments, the following will be illustrated by way of examples of specific interaction processes. It can be understood that in the description of the following examples, only some processing modules, some processing processes, and some processing procedures are shown. In the actual technical processing process, other processing modules, processes, and procedures may also be involved.
[0175] With reference to Figure 9 as shown, the switching relationships between various different power states of the display device can be as shown by the arrows in Figure 9 . Among them, state C1 represents the power ON state of the display device, state C2 represents the STANDBY mode of the power supply of the display device, state C3 represents the ACTIVE STANDBY mode of the power supply of the display device, state C4 represents the SUSPEND mode of the power supply of the display device, state C5 represents the POWER OFF mode of the power supply of the display device, and state C6 represents the AC OFF mode of the power supply of the display device. It can be understood that states C3, C4, and C5 are different state modes under state C2. Among them, the Active-Standby mode means that one device in the system is in an active state, responsible for processing all service requests, while other devices are in a standby state.
[0176] With reference to Figure 9 as shown, when the power supply of the display device is in the AC OFF mode, it can assist in entering the ON mode of the power supply.
[0177] In the power ON mode, when the power plug is unplugged, it will switch to the power OFF mode. By using the power button on the remote control, the buttons on the device itself, no signal, or power off, it will switch to the Active-Standby mode. If the user selects to shut down, it will switch to the POWER OFF mode.
[0178] In the SUSPEND mode of power supply C3 and the SUSPEND mode of power supply C4, by using the power button on the remote control, the buttons on the device itself, or an APP command, it can enter the power ON mode. In the POWER OFF mode of power supply C5, by operating the power button on the remote control or the buttons on the device itself, it can enter the power ON mode. In the SUSPEND mode of power supply C4, based on the trigger of a timing task, it can enter the SUSPEND mode of power supply C3.
[0179] Among them, based on the switching principle of the above power modes, it can be switched from the POWER OFF mode of power supply C5 to the ON mode of power supply C6 through a power-on instruction, switched from the power ON mode to the POWER OFF mode of power supply C5 based on a power-off instruction, and switched from the power ON mode to the SUSPEND mode of power supply C3 and the SUSPEND mode of power supply C4 based on a standby instruction.
[0180] Among them, Figure 9 The exemplary description shown is only for the switching of some power modes of the display device. In other embodiments, the power modes of the display device can also be set otherwise. This application embodiment does not limit this, as long as it can recover the authorization that is only valid for this boot-up when the display device shuts down, and can recognize a power-off shutdown when the display device boots up again due to power loss and fails to recover the authorization that is only valid for this boot-up during the power-off shutdown, and can recover the authorization that was not recovered during the power-off shutdown.
[0181] Taking the power-on and power-off process of the display device as an example, the interaction process of authorizing and recovering the authorization that is only valid for this boot-up for the first application is as shown in 10.
[0182] After the display device receives a power-on instruction sent through the remote control or the buttons on the display device, it executes the power-on process. The main program application determines whether this power-on is a power-on after a power loss. If it is a power-on after a power loss, it sends a permission recovery instruction to the permission management module. Based on the permission recovery instruction, the permission management module recovers the permissions of the first authorized type that have been authorized.
[0183] During the process of using the display device after it is powered on, when the first application needs to use a certain resource (such as location resource) and needs to apply for the permission of this resource, it sends a permission application request to the permission management module. The permission management module queries the authorization status of the target permission applied for in the permission application request of the first application. If it is not authorized, it displays an authorization prompt interface through the display module.
[0184] In the case of displaying the authorization prompt interface, the user can send a selection instruction for the first authorization option of the authorization prompt interface through the operation of the remote control. After the permission management module obtains this selection instruction, it authorizes the target permission to the first application and records the authorization type of the target permission of the first application as the first authorization type. The authorization type of the target permission of the first application is only authorized for use during this power-on.
[0185] After granting the target permission of the first authorization type to the first application, during the power-on and use process of the display device, whether the first application exits or restarts after exiting, it has this target permission.
[0186] When the display device receives a shutdown instruction sent through the remote control or the keys of the display device, the main program application of the display device executes the shutdown process and sends this shutdown instruction to the permission management module to recycle the authorized permissions of the first authorization type, including recycling the target permission of the first authorization type granted to the first application, so as to realize the recycling of the permission that is only authorized for use during this power-on.
[0187] Reference Figure 11 As shown, some embodiments of the present application provide a control method for a display device. This method is executed by the display device, and the method includes the following steps:
[0188] Step S1101: Receive and respond to the power-on instruction, and execute the power-on operation of the display device;
[0189] Step S1102: Receive the permission application request of the first application, query the authorization status of the target permission applied for in the permission application request of the first application. If it is not authorized, display an authorization prompt interface. The authorization prompt interface includes a first authorization option, and the first authorization option is an option that is only authorized for use during this power-on;
[0190] Step S1103: Receive and respond to the selection instruction for the first authorization option, grant the target permission of the first application, and record the authorization type of the target permission of the first application as only authorized for use during this power-on;
[0191] Step S1104: Receive and respond to the shutdown instruction. If the authorization type of the target permission of the first application is only authorized for use during this power-on, recycle the target permission of the first application.
[0192] Reference Figure 12As shown in the figure, some embodiments of the present application provide a control method for a display device. The method is executed by the display device and includes the following steps:
[0193] Step S1201: Receive and respond to the power-on instruction, and perform the power-on operation of the display device;
[0194] Step S1202: Receive and respond to the permission setting instruction, and display the permission setting interface. The permission setting interface includes a setting item of the first authorization type, and the first authorization type is the authorization for use only during this power-on;
[0195] Step S1203: Receive and respond to the confirmation instruction for the setting item of the first authorization type, grant the target permission to the target application, and record that the authorization type of the target permission of the target application is the first authorization type;
[0196] Step S1204: Receive the permission application request of the first application, query the authorization status of the target permission applied for in the permission application request of the first application. If there is authorization and the authorization type is the first authorization type, grant the target permission to the first application. The target application includes the first application.
[0197] Step S1205: Receive and respond to the power-off instruction. If the authorization type of the target permission of the first application is the authorization for use only during this power-on, recover the target permission of the first application.
[0198] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps or stages in other steps.
[0199] The specific implementation manner of the control method for the display device in the embodiments of the present application may be the same as the implementation manner of the display device described above, and will not be elaborated herein.
[0200] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0201] In some embodiments, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps of the control method of the display device in any of the above-described embodiments are implemented.
[0202] In some embodiments, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the control method of the display device in any of the above-described embodiments are implemented.
[0203] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logics, data processing logics based on quantum computing, etc., without limitation.
[0204] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0205] The above-described embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A display device, characterized in that, The display device includes: A display; And at least one processor configured to execute instructions to cause the display device to: Receive and respond to a power-on instruction to perform a power-on operation of the display device; Receive a permission application request of a first application, query the authorization status of the target permission applied for by the permission application request of the first application, and if not authorized, display an authorization prompt interface, where the authorization prompt interface includes a first authorization option, and the first authorization option is an option for authorizing only for this power-on use; Receive and respond to a selection instruction for the first authorization option, grant the target permission to the first application, and record the authorization type of the target permission of the first application as a first authorization type, where the first authorization type is an authorization only for this power-on use; Receive and respond to a power-off instruction, and if the authorization type of the target permission of the first application is the first authorization type, revoke the target permission of the first application.
2. A display device, characterized in that, The display device includes: A display; And at least one processor configured to execute instructions to cause the display device to: Receive and respond to a power-on instruction to perform a power-on operation of the display device; Receive and respond to a permission setting instruction to display a permission setting interface, where the permission setting interface includes a setting item for the first authorization type, and the first authorization type is an authorization only for this power-on use; Receive and respond to a confirmation instruction for the setting item of the first authorization type, grant the target permission to the target application, and record the authorization type of the target permission of the target application as the first authorization type; Receive a permission application request of a first application, query the authorization status of the target permission applied for by the permission application request of the first application, and if authorized and the authorization type is the first authorization type, grant the target permission to the first application, where the target application includes the first application; Receive and respond to a power-off instruction, and if the authorization type of the target permission of the first application is the first authorization type, revoke the target permission of the first application.
3. The display device according to claim 2, wherein, The processor is further configured to execute instructions to cause the display device to: Receive and respond to a rejection instruction for the setting item of the first authorization type, and record the authorization type of the target permission of the target application as not authorized; If a permission application request for the target permission of the first application is received, query the authorization status of the target permission of the first application, and if the authorization type is not authorized, reject the permission application request.
4. The display device according to claim 1, characterized in that, The processor is further configured to execute instructions to cause the display device to: Display a second authorization option on the authorization prompt interface, where the second authorization option is an option for authorizing only for this application run use; Receive and respond to a selection instruction for the second authorization option, grant the target permission to the first application, and record the authorization type of the target permission of the first application as a second authorization type, where the second authorization type is an authorization only for this application run; Revoke the target permission of the application when it is detected that the application exits.
5. The display device according to any one of claims 1 to 4, characterized in that, The processor is further configured to execute instructions to cause the display device to: Upon receiving and in response to a standby instruction, query and determine whether a second application of the display device has a permission with an authorization type of the first authorization type, where the second application is an application running on the display device; If the second application has the permission of the first authorization type, display a permission retention prompt interface, where the permission retention prompt interface includes prompt information on whether to retain the permission of the first authorization type for use during the next power-on; If a permission retention instruction is received, retain the permission of the first authorization type of the second application and perform a standby operation; If a permission non-retention instruction is received, reclaim the permission of the first authorization type of the second application and perform a standby operation.
6. The display device according to claim 5, characterized in that, The second application is the top-level application of the display device; the processor is further configured to execute instructions to cause the display device to: If a permission retention instruction is received, retain the permission of the first authorization type of the top-level application, and reclaim the permission of the first authorization type of other authorized applications in the display device, and perform a standby operation; If a permission non-retention instruction is received, reclaim the permission of the first authorization type of the second application.
7. The display device according to any one of claims 1 to 4, characterized in that, The processor is configured to execute instructions to cause the display device to: Upon receiving and in response to a power-on instruction, determine whether the current power-on is a power-on after power-off; If the current power-on is a power-on after power-off, query and reclaim the authorized permission of the first authorization type.
8. The display device according to claim 7, wherein The processor is configured to execute instructions to cause the display device to: Upon receiving and in response to a power-on instruction, query a shutdown flag bit; If the shutdown flag bit is not a preset flag bit, determine that the current power-on is a power-on after power-off; After the power-on operation is completed, clear the preset flag bit, and when a shutdown instruction is received, in response to the shutdown instruction, set the shutdown flag bit to the preset flag bit.
9. The display device according to any one of claims 1 to 4, characterized in that, The processor is configured to execute instructions to cause the display device to perform at least one of the following: The first item: Upon receiving and in response to a restart instruction, if the authorization type of the target permission of the first application is the first authorization type, reclaim the target permission of the first application; The second item: Upon receiving and in response to a standby instruction, if the authorization type of the target permission of the first application is the first authorization type, reclaim the target permission of the first application.
10. A control method for a display device, characterized in that, The method includes: Upon receiving and in response to a power-on instruction, perform a display device power-on operation; Receive a permission application request of a first application, query the authorization status of the target permission applied for in the permission application request of the first application, and if not authorized, display an authorization prompt interface, where the authorization prompt interface includes a first authorization option, and the first authorization option is an option for authorizing only for use during the current power-on; Upon receiving and in response to a selection instruction for the first authorization option, grant the target permission of the first application and record the authorization type of the target permission of the first application as authorization only for use during the current power-on; Upon receiving and in response to a shutdown instruction, if the authorization type of the target permission of the first application is authorization only for use during the current power-on, reclaim the target permission of the first application.