CN106778123B - Mobile terminal and hardware equipment authority management method thereof - Google Patents

Mobile terminal and hardware equipment authority management method thereof Download PDF

Info

Publication number
CN106778123B
CN106778123B CN201611050826.4A CN201611050826A CN106778123B CN 106778123 B CN106778123 B CN 106778123B CN 201611050826 A CN201611050826 A CN 201611050826A CN 106778123 B CN106778123 B CN 106778123B
Authority
CN
China
Prior art keywords
authority
permission
setting
mobile terminal
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611050826.4A
Other languages
Chinese (zh)
Other versions
CN106778123A (en
Inventor
安占磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611050826.4A priority Critical patent/CN106778123B/en
Publication of CN106778123A publication Critical patent/CN106778123A/en
Application granted granted Critical
Publication of CN106778123B publication Critical patent/CN106778123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal, comprising: the acquisition module is used for acquiring authority information corresponding to hardware equipment of the mobile terminal; the display module is used for displaying an authority setting interface corresponding to the hardware equipment according to the authority information so that a user can execute corresponding authority setting operation according to the authority information displayed on the authority setting interface and trigger an authority setting instruction; and the processing module is used for setting the authority corresponding to the authority setting instruction according to the authority setting instruction when the authority setting instruction is received. The invention also discloses a hardware equipment authority management method of the mobile terminal. The invention reduces the cost of updating and setting the authority of the hardware equipment.

Description

Mobile terminal and hardware equipment authority management method thereof
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a mobile terminal and a hardware device authority management method thereof.
Background
With the rapid development of science and technology, mobile terminals such as smart phones and PADs (tablets) have become indispensable devices in user life, and great convenience is provided for daily life of users. The normal operation of various software functions of the mobile terminal needs to be carried out by various hardware devices configured on the mobile terminal. In the prior art, the permissions corresponding to the hardware devices configured in the mobile terminal are usually set when the mobile terminal leaves a factory, and a user cannot update and set the permissions of the hardware devices. If the user wants to update the authority of the hardware equipment, the mobile terminal needs to be refreshed, so that the cost for updating and setting the authority of the hardware equipment is high.
Disclosure of Invention
The invention mainly aims to provide a mobile terminal and a hardware device permission management method thereof, and aims to solve the technical problem that the permission of a hardware device is set to be updated at higher cost in the prior art.
In order to achieve the above object, the present invention provides a mobile terminal, including:
the acquisition module is used for acquiring authority information corresponding to hardware equipment of the mobile terminal;
the display module is used for displaying an authority setting interface corresponding to the hardware equipment according to the authority information so that a user can execute corresponding authority setting operation according to the authority information displayed on the authority setting interface and trigger an authority setting instruction;
and the processing module is used for setting the authority corresponding to the authority setting instruction according to the authority setting instruction when the authority setting instruction is received.
Optionally, the processing module includes:
the sending unit is used for sending a corresponding authority setting request to a server when the authority setting instruction is received so that the server can verify the authority setting request, and feeding back corresponding verification success information when the verification is passed;
and the processing unit is used for setting the authority corresponding to the authority setting instruction according to the authority setting instruction when receiving the verification success information fed back by the server.
Optionally, the processing unit is further configured to:
and when receiving the verification failure information fed back by the server, forbidding setting of the authority corresponding to the authority setting instruction, wherein the server feeds back the corresponding verification failure information when the authority setting request is not verified.
Optionally, the permission information includes an authorized permission and an unauthorized permission corresponding to the hardware device, and the processing module is configured to:
when the permission setting instruction is a permission authorization instruction, carrying out permission opening setting on unauthorized permission corresponding to the permission authorization instruction;
and when the permission setting instruction is a permission prohibition instruction, performing permission prohibition setting on the authorization permission corresponding to the permission prohibition instruction.
Optionally, the obtaining module is configured to:
when an authority inquiry instruction of hardware equipment of the mobile terminal is received, inquiring and acquiring authority information corresponding to the hardware equipment.
In addition, in order to achieve the above object, the present invention further provides a method for managing the authority of the hardware device of the mobile terminal, where the method for managing the authority of the hardware device of the mobile terminal includes the following steps:
acquiring authority information corresponding to hardware equipment of the mobile terminal;
displaying a permission setting interface corresponding to the hardware equipment according to the permission information, so that a user can execute corresponding permission setting operation according to the permission information displayed on the permission setting interface and trigger a permission setting instruction;
and when the permission setting instruction is received, setting the permission corresponding to the permission setting instruction according to the permission setting instruction.
Optionally, when the permission setting instruction is received, the step of setting the permission corresponding to the permission setting instruction according to the permission setting instruction includes:
when the permission setting instruction is received, sending a corresponding permission setting request to a server so that the server can verify the permission setting request, and feeding back corresponding verification success information when the verification is passed;
and when receiving the verification success information fed back by the server, setting the authority corresponding to the authority setting instruction according to the authority setting instruction.
Optionally, after the step of sending the corresponding permission setting request to the server when receiving the permission setting instruction, the method further includes:
and when receiving the verification failure information fed back by the server, forbidding setting of the authority corresponding to the authority setting instruction, wherein the server feeds back the corresponding verification failure information when the authority setting request is not verified.
Optionally, the permission information includes an authorized permission and an unauthorized permission corresponding to the hardware device, and the step of setting the permission corresponding to the permission setting instruction according to the permission setting instruction includes:
when the permission setting instruction is a permission authorization instruction, carrying out permission opening setting on unauthorized permission corresponding to the permission authorization instruction;
and when the permission setting instruction is a permission prohibition instruction, performing permission prohibition setting on the authorization permission corresponding to the permission prohibition instruction.
Optionally, the step of acquiring the permission information corresponding to the hardware device of the mobile terminal includes:
when an authority inquiry instruction of hardware equipment of the mobile terminal is received, inquiring and acquiring authority information corresponding to the hardware equipment.
When the authority of the hardware equipment of the mobile terminal is required to be set, the acquisition module firstly acquires the authority information corresponding to the hardware equipment, then the display module displays the authority setting interface corresponding to the hardware equipment according to the authority information, a user triggers the authority setting instruction corresponding to the authority by executing corresponding authority setting operation on the authority setting interface, and the processing module sets the authority according to the authority setting instruction, so that the authority updating setting of the hardware equipment of the mobile terminal through the machine refreshing is avoided, and the cost for updating and setting the authority of the hardware equipment is reduced.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a block diagram of a mobile terminal according to a first embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative privilege setting interface according to various embodiments of the invention;
FIG. 5 is a diagram illustrating the privilege setting interface shown in FIG. 4 after the privilege is set;
FIG. 6 is a detailed block diagram of a processing module in a third embodiment of the mobile terminal according to the present invention;
FIG. 7 is a flowchart illustrating a first embodiment of a method for managing rights of hardware devices of a mobile terminal according to the present invention;
fig. 8 is a detailed flowchart illustrating setting of the permission corresponding to the permission setting instruction according to the permission setting instruction when the permission setting instruction is received in the second embodiment of the method for managing the hardware device permission of the mobile terminal according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, an output unit 150, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication device or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting devices. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting apparatus such as a digital broadcasting apparatus, a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed as various broadcasting devices suitable for providing broadcast signals as well as the above-described digital broadcasting device.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning device). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a microphone, a buzzer, and the like.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication means such as wired and wireless communication means and satellite-based communication means that transmit data via frames or packets.
A communication apparatus in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication devices may use different air interfaces and/or physical layers. For example, the air interface used by the communication device includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and universal mobile telecommunications device (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and so forth. The following description relates to a CDMA communication device, as a non-limiting example, but such teachings are equally applicable to other types of devices.
Referring to fig. 2, the CDMA wireless communication apparatus may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station BS270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that an apparatus as shown in fig. 2 may include a plurality of BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a base transceiver sub-assembly (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the apparatus. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several global positioning device (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication apparatus, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the mobile terminal of the present invention are provided.
As shown in fig. 3, in a first embodiment, the mobile terminal includes:
the acquiring module 10 is configured to acquire permission information corresponding to a hardware device of the mobile terminal;
when a user needs to update and set the authority of a certain hardware device of the mobile terminal, the user needs to know the conditions of the related authority of the hardware device, whether each authority is authorized and the like, and then can update and set the authority of the hardware device according to the conditions. Therefore, when the authority of the hardware device is to be set, the obtaining module 10 first obtains the authority information corresponding to the hardware device currently, where the authority information includes the authorized authority and the unauthorized authority corresponding to the hardware device. For convenience of description, the authorized right is used to represent the authorized right corresponding to the hardware device, and the unauthorized right is used to represent the unauthorized right corresponding to the hardware device. Specifically, the obtaining module 10 is configured to:
when an authority inquiry instruction of hardware equipment of the mobile terminal is received, inquiring and acquiring authority information corresponding to the hardware equipment.
In order to acquire the authority information corresponding to the hardware device, the user can execute corresponding authority query operation. For example, a hardware device permission query control is preset in the mobile terminal, for example, the hardware device permission query control is preloaded in a setting function of the mobile terminal, and when a user clicks the control, that is, when a permission query operation of the hardware device is executed, a permission query instruction corresponding to the hardware device is triggered. When receiving an authority query instruction corresponding to the hardware device, the obtaining module 10 queries and obtains authority information corresponding to the hardware device, that is, obtains an authorized authority and an unauthorized authority corresponding to the hardware device.
The display module 20 is configured to display an authority setting interface corresponding to the hardware device according to the authority information, so that a user executes a corresponding authority setting operation according to the authority information displayed on the authority setting interface to trigger an authority setting instruction;
when the obtaining module 10 queries and obtains the authority information corresponding to the hardware device, the display module 20 displays an authority setting interface corresponding to the hardware device according to the obtained authority information, and the authority setting interface displays the authority information corresponding to the hardware device. The user can obtain the authority information of the hardware equipment by looking up the authority setting interface, namely, the authority information of the hardware equipment including the authorized authority and the unauthorized authority. Then, according to the authority information, the user can perform corresponding authority setting operation on the authorized authority or the unauthorized authority, such as performing authority forbidding operation on the authorized authority, performing authority permitting operation on the unauthorized authority, and the like. And when the user executes the authority setting operation, triggering a corresponding authority setting instruction.
For example, if a user wants to perform permission update setting on a hardware device a of the mobile terminal, if the acquisition module 10 queries and acquires permission information corresponding to the hardware device a, including an authorized permission 1 and a permission 2, and an unauthorized permission 3 and a permission 4, the display module 20 displays a permission setting interface corresponding to the hardware device a according to the obtained permission information of the hardware device a, as shown in fig. 4, the permission information corresponding to the hardware device a is displayed on the permission setting interface, the permission 1 and the permission 2 are opened, and the permission 3 and the permission 4 are prohibited. And if the user executes the operation prohibited by the authority 1, for example, when the user executes the long-press click operation on the authority 1, triggering an authority setting instruction for the authority 1.
And the processing module 30 is configured to set the permission corresponding to the permission setting instruction according to the permission setting instruction when receiving the permission setting instruction.
When receiving the permission setting instruction, the processing module 30 sets permission corresponding to the permission setting instruction, such as permission opening and permission prohibition, according to the permission setting instruction. For example, also taking the above-listed example as an example, when receiving an authority setting instruction for authority 1, the processing module 30 performs an authority prohibition setting for authority 1 according to the authority setting instruction, and prohibits its authority. After the authority 1 corresponding to the hardware device a is set, the authority setting interface corresponding to the hardware device a is as shown in fig. 5, the authority 2 is opened, and the authority 1, the authority 3, and the authority 4 are prohibited.
It can be understood that a user may perform a permission setting operation on multiple permissions of the hardware device, for example, still taking the hardware device a as an example, the user may perform a permission setting operation on permission 1 and permission 4 of the hardware device a, perform permission prohibition setting on permission 1, and perform permission opening setting on permission 4.
And restarting the mobile terminal after the permission of the hardware equipment is set, and enabling the permission of the hardware equipment to be effective after the mobile terminal is restarted. For example, after the authority setting is performed on the hardware device, a prompt message window for restarting the mobile terminal is popped up, and the user can restart the mobile terminal immediately or later after seeing the prompt message for restarting the mobile terminal. And after the mobile terminal is restarted, the permission setting of the hardware equipment is effective. For example, if permission 1 of the hardware device a is set to prohibit permission, and permission 4 is set to open permission, after the mobile terminal is restarted, permission setting of the hardware device a is valid, that is, permission 1 of the hardware device a is prohibited, permission 4 of the hardware device a is opened, permission 1 is an unauthorized permission, and permission 4 is an authorized permission.
The following describes the mobile terminal of the present invention in detail by taking an example of updating the authority of a CPU (Central Processing Unit) of the mobile terminal.
In general, in order to ensure the cruising ability of the mobile terminal, the operating frequency of the CPU of the mobile terminal is forcibly locked, and the user does not have the authority to modify the operating frequency of the CPU, that is, the operating authority of the operating frequency of the CPU is not authorized. However, in some cases, for example, when the ROM of the mobile terminal is optimized to have extremely low power consumption, it is not necessary to lock the operating frequency of the CPU, and the user would like to update the operating authority of the operating frequency of the CPU and turn on the operating authority of the operating frequency of the CPU, so as to modify the operating frequency of the CPU as required.
When a user wants to update and set the operating authority of the operating frequency of the CPU, the obtaining module 10 of the mobile terminal first queries and obtains the authority information corresponding to the CPU currently, where the authority information includes the operating authority of the operating frequency. Then, the display module 20 displays an authority setting interface corresponding to the CPU according to the acquired authority information corresponding to the CPU currently, where the authority setting interface displays the authority information corresponding to the CPU. The user can know whether the operation authority of the working frequency of the CPU is authorized or unauthorized by checking the authority setting interface.
If the operation authority of the working frequency of the CPU is not authorized currently and the user wants to start the operation authority of the working frequency of the CPU, the user can execute corresponding authority permission operation on the operation authority of the working frequency of the CPU and trigger an authority setting instruction. When receiving the permission setting instruction, the processing module 30 performs permission open setting on the operation permission of the operating frequency of the CPU. And then, the user restarts the mobile terminal, and when the mobile terminal is restarted, the operation permission starting setting of the working frequency of the CPU takes effect. After the operation authority of the working frequency of the CPU is opened, the user can modify the working frequency of the CPU according to the requirement, for example, the working frequency of the CPU is manually set according to the use scene of the mobile terminal. For example, when a user plays a game through the mobile terminal, the user can set the operating frequency of the CPU according to the requirement, so that the high performance requirement of the user on the operation of the CPU is satisfied.
Assuming that the operation authority of the working frequency of the CPU is currently authorized, and the user wants to prohibit the operation authority of the working frequency of the CPU in order to improve the cruising ability of the mobile terminal, the user may execute a corresponding authority prohibiting operation on the operation authority of the working frequency of the CPU, and trigger an authority setting instruction. When receiving the permission setting instruction, the processing module 30 performs permission prohibition setting on the operation permission of the operating frequency of the CPU. And then, the user restarts the mobile terminal, and after the mobile terminal is restarted, the operation authority of the working frequency of the CPU is prohibited to be set to be effective. And after the operating authority of the CPU working frequency is forbidden, the working frequency of the CPU of the mobile terminal is locked, so that the long-time cruising ability of the mobile terminal is ensured.
According to the scheme provided by the embodiment, when permission setting is to be performed on hardware equipment of the mobile terminal, the acquisition module 10 firstly acquires permission information corresponding to the hardware equipment, then the display module 20 displays a permission setting interface corresponding to the hardware equipment according to the permission information, a user triggers a permission setting instruction corresponding to the permission by executing corresponding permission setting operation on the permission setting interface, the processing module 30 sets the permission according to the permission setting instruction, permission updating setting on the hardware equipment of the mobile terminal through machine flushing is avoided, and therefore the cost for updating and setting the permission of the hardware equipment is reduced.
Further, as shown in fig. 6, a second embodiment of the mobile terminal of the present invention is proposed. The second embodiment of the mobile terminal differs from the first embodiment of the mobile terminal in that, in the second embodiment of the mobile terminal, the processing module 30 comprises:
the sending unit 31 is configured to send a corresponding permission setting request to a server when receiving the permission setting instruction, so that the server verifies the permission setting request, and feeds back corresponding verification success information when the verification passes;
and the processing unit 32 is configured to set the authority corresponding to the authority setting instruction according to the authority setting instruction when receiving the verification success information fed back by the server.
In this embodiment, the mobile terminal establishes a communication connection with a manufacturer server corresponding to the mobile terminal. When receiving an authority setting instruction for a hardware device, the sending unit 31 sends a corresponding authority setting request to the server according to the authority setting instruction. For example, taking the example listed in the first embodiment as an example, when receiving an authority setting instruction for authority 1 of the hardware device a, the sending unit 31 sends a corresponding authority setting request for authority 1 to the server.
Because the stability of the hardware device may be affected after some permissions of the hardware device are updated, in order to ensure the stability of the hardware device of the mobile terminal, before a certain permission of the hardware device is updated, it must be verified whether the permission is allowed to be updated, and only when the permission is allowed to be updated, that is, the permission is updated and set without affecting the stability of the hardware device, the permission can be updated and set. Specifically, when the server receives the authority setting request transmitted by the transmission unit 31, the authority setting request is verified, and whether the authority setting request passes or not is determined. If the permission setting request passes the verification, that is, the permission to update and set the permission corresponding to the permission setting request is indicated, at this time, the server feeds back corresponding verification success information to the mobile terminal, for example, feeds back a corresponding authorization code to the mobile terminal.
When the verification success information fed back by the server is received, that is, it is determined that the permission corresponding to the permission setting instruction is allowed to be updated, at this time, the processing unit 32 sets permission to open, prohibit, and the like according to the permission setting instruction.
For example, if the server receives an authority setting request for authority 1 of the hardware device a sent by the mobile terminal, the server verifies the authority setting request and checks whether authority updating setting for the authority 1 is allowed. When the permission of permission updating setting on the permission 1 is verified, the permission setting request passes verification, and at the moment, the server feeds back verification success information to the mobile terminal. When receiving the verification success information, the processing unit 32 performs permission update setting on the permission 1 according to the permission setting instruction corresponding to the permission 1.
Further, in this embodiment, the processing unit 32 is further configured to:
and when receiving the verification failure information fed back by the server, forbidding setting of the authority corresponding to the authority setting instruction, wherein the server feeds back the corresponding verification failure information when the authority setting request is not verified.
Further, the server verifies the permission setting request sent by the mobile terminal, if the permission setting request is not verified, that is, the permission corresponding to the permission setting request is not allowed to be updated and set, at this time, the server feeds back corresponding verification failure information to the mobile terminal. When receiving the authentication failure information fed back by the server, the processing unit 32 prohibits setting of the authority corresponding to the authority setting instruction.
For example, if the server receives an authority setting request for authority 4 of the hardware device a sent by the mobile terminal, the server verifies the authority setting request, and checks whether authority updating setting for the authority 4 is allowed. When the permission updating setting of the permission 4 is not allowed by the verification, the permission setting request fails to be verified, and at the moment, the server feeds back verification failure information to the mobile terminal. When receiving the authentication failure information, the processing unit 32 prohibits the authority update setting for the authority 4.
Before the authority is updated and set, whether the authority is allowed to be updated and set is verified firstly, and the authority can be updated and set only after the authority is verified, so that the random update and setting of the authority of the hardware equipment by a user is prevented, and the problem that the stability of the hardware equipment is influenced after the authority which is not allowed to be updated and set is avoided.
Optionally, the processing module 30 is configured to:
when the permission setting instruction is a permission authorization instruction, carrying out permission opening setting on unauthorized permission corresponding to the permission authorization instruction;
and when the permission setting instruction is a permission prohibition instruction, performing permission prohibition setting on the authorization permission corresponding to the permission prohibition instruction.
Because the authority information includes the authorized authority and the unauthorized authority corresponding to the hardware device, when the user executes the corresponding authority setting operation on the unauthorized authority, the authority authorization instruction corresponding to the unauthorized authority is triggered, and when the user executes the corresponding authority setting operation on the authorized authority, the authority prohibition instruction corresponding to the authorized authority is triggered, therefore, the authority setting instruction triggered by the authority setting operation according to the user includes the authority authorization instruction and the authority prohibition instruction.
When the user performs the corresponding permission setting operation on the unauthorized permission, the permission authorization instruction corresponding to the unauthorized permission is triggered, that is, the permission setting instruction corresponding to the unauthorized permission is the permission authorization instruction, and the processing module 30 sets the unauthorized permission corresponding to the permission authorization instruction for permission opening according to the permission authorization instruction. When the user performs the corresponding permission setting operation on the authorization permission, the permission prohibition instruction corresponding to the authorization permission is triggered, that is, the permission setting instruction corresponding to the authorization permission is the permission prohibition instruction, and the processing module 30 sets the authorization permission corresponding to the permission prohibition instruction in a permission prohibition manner according to the permission prohibition instruction.
For example, if the user performs the permission setting operation on the permission 1 and the permission 4 of the hardware device a, the permission prohibition instruction corresponding to the permission 1 and the permission authorization instruction corresponding to the permission 4 are triggered, and the processing module 30 sets the permission prohibition on the permission 1 according to the permission prohibition instruction; and carrying out permission opening setting on the permission 4 according to the permission authorization instruction.
According to the scheme provided by the embodiment, before the authority of the mobile terminal hardware equipment is updated and set, the sending unit 31 sends the authority setting request corresponding to the authority to the server, the server verifies the authority setting request, after the verification is passed, corresponding verification success information is fed back, and when the verification success information is received, the processing unit 32 updates and sets the authority, so that the authority of the hardware equipment is prevented from being updated and set at will by a user, the problem that the stability of the hardware equipment is influenced after the authority which is not allowed to be updated and set is avoided, and the safety of updating and setting the authority of the hardware equipment is improved.
The invention further provides a hardware equipment authority management method of the mobile terminal.
Referring to fig. 7, fig. 7 is a flowchart illustrating a first embodiment of a method for managing a hardware device right of a mobile terminal according to the present invention, where in the first embodiment, the method for managing a hardware device right of a mobile terminal includes the following steps:
step S10, acquiring authority information corresponding to the hardware equipment of the mobile terminal;
when a user needs to update and set the authority of a certain hardware device of the mobile terminal, the user needs to know the conditions of the related authority of the hardware device, whether each authority is authorized and the like, and then can update and set the authority of the hardware device according to the conditions. Therefore, when the authority of the hardware device is to be set, the mobile terminal first obtains the authority information corresponding to the hardware device, where the authority information includes the authorized authority and the unauthorized authority corresponding to the hardware device. For convenience of description, the authorized right is used to represent the authorized right corresponding to the hardware device, and the unauthorized right is used to represent the unauthorized right corresponding to the hardware device. Specifically, the step S10 includes:
step a, when an authority inquiry instruction of hardware equipment of the mobile terminal is received, inquiring and acquiring authority information corresponding to the hardware equipment.
In order to acquire the authority information corresponding to the hardware device, the user can execute corresponding authority query operation. For example, a hardware device permission query control is preset in the mobile terminal, for example, the hardware device permission query control is preloaded in a setting function of the mobile terminal, and when a user clicks the control, that is, when a permission query operation of the hardware device is executed, a permission query instruction corresponding to the hardware device is triggered. When the mobile terminal receives the permission query instruction corresponding to the hardware device, the permission information corresponding to the hardware device is queried and obtained, namely, the authorized permission and the unauthorized permission corresponding to the hardware device are obtained.
Step S20, displaying an authority setting interface corresponding to the hardware equipment according to the authority information, so that a user can execute corresponding authority setting operation according to the authority information displayed on the authority setting interface and trigger an authority setting instruction;
when the mobile terminal queries and acquires the authority information corresponding to the hardware equipment, the mobile terminal displays an authority setting interface corresponding to the hardware equipment according to the acquired authority information, and the authority setting interface displays the authority information corresponding to the hardware equipment. The user can obtain the authority information of the hardware equipment by looking up the authority setting interface, namely, the authority information of the hardware equipment including the authorized authority and the unauthorized authority. Then, according to the authority information, the user can perform corresponding authority setting operation on the authorized authority or the unauthorized authority, such as performing authority forbidding operation on the authorized authority, performing authority permitting operation on the unauthorized authority, and the like. And when the user executes the authority setting operation, triggering a corresponding authority setting instruction.
For example, if a user wants to perform permission update setting on a hardware device a of the mobile terminal, if the permission information corresponding to the hardware device a obtained through query includes an authorized permission 1 and a permission 2, and an unauthorized permission 3 and a permission 4, the mobile terminal displays a permission setting interface corresponding to the hardware device a according to the permission information of the hardware device a obtained through query, as shown in fig. 4, the permission information corresponding to the hardware device a is displayed on the permission setting interface, the permission 1 and the permission 2 are opened, and the permission 3 and the permission 4 are prohibited. And if the user executes the operation prohibited by the authority 1, for example, when the user executes the long-press click operation on the authority 1, triggering an authority setting instruction for the authority 1.
And step S30, when the permission setting instruction is received, setting the permission corresponding to the permission setting instruction according to the permission setting instruction.
And when the mobile terminal receives the permission setting instruction, setting permission such as permission opening and permission forbidding for the permission corresponding to the permission setting instruction according to the permission setting instruction. For example, also taking the above-listed example as an example, when receiving the authority setting instruction for the authority 1, the mobile terminal performs the authority prohibition setting for the authority 1 according to the authority setting instruction, and prohibits the authority thereof. After the authority 1 corresponding to the hardware device a is set, the authority setting interface corresponding to the hardware device a is as shown in fig. 5, the authority 2 is opened, and the authority 1, the authority 3, and the authority 4 are prohibited.
It can be understood that a user may perform a permission setting operation on multiple permissions of the hardware device, for example, still taking the hardware device a as an example, the user may perform a permission setting operation on permission 1 and permission 4 of the hardware device a, perform permission prohibition setting on permission 1, and perform permission opening setting on permission 4.
And restarting the mobile terminal after the permission of the hardware equipment is set, and enabling the permission of the hardware equipment to be effective after the mobile terminal is restarted. For example, after the authority setting is performed on the hardware device, a prompt message window for restarting the mobile terminal is popped up, and the user can restart the mobile terminal immediately or later after seeing the prompt message for restarting the mobile terminal. And after the mobile terminal is restarted, the permission setting of the hardware equipment is effective. For example, if permission 1 of the hardware device a is set to prohibit permission, and permission 4 is set to open permission, after the mobile terminal is restarted, permission setting of the hardware device a is valid, that is, permission 1 of the hardware device a is prohibited, permission 4 of the hardware device a is opened, permission 1 is an unauthorized permission, and permission 4 is an authorized permission.
The following describes the method for managing the authority of the hardware device of the mobile terminal according to the present invention in detail by taking a CPU (Central Processing Unit) of the mobile terminal as an example.
In general, in order to ensure the cruising ability of the mobile terminal, the operating frequency of the CPU of the mobile terminal is forcibly locked, and the user does not have the authority to modify the operating frequency of the CPU, that is, the operating authority of the operating frequency of the CPU is not authorized. However, in some cases, for example, when the ROM of the mobile terminal is optimized to have extremely low power consumption, it is not necessary to lock the operating frequency of the CPU, and the user would like to update the operating authority of the operating frequency of the CPU and turn on the operating authority of the operating frequency of the CPU, so as to modify the operating frequency of the CPU as required.
When a user needs to update and set the operating authority of the working frequency of the CPU, the mobile terminal firstly queries and acquires the authority information corresponding to the CPU, and the authority information includes the operating authority of the working frequency. And then the mobile terminal displays an authority setting interface corresponding to the CPU according to the acquired authority information corresponding to the CPU currently, wherein the authority setting interface displays the authority information corresponding to the CPU. The user can know whether the operation authority of the working frequency of the CPU is authorized or unauthorized by checking the authority setting interface.
If the operation authority of the working frequency of the CPU is not authorized currently and the user wants to start the operation authority of the working frequency of the CPU, the user can execute corresponding authority permission operation on the operation authority of the working frequency of the CPU and trigger an authority setting instruction. And when receiving the permission setting instruction, the mobile terminal sets permission opening of the operation permission of the working frequency of the CPU. And then, the user restarts the mobile terminal, and when the mobile terminal is restarted, the operation permission starting setting of the working frequency of the CPU takes effect. After the operation authority of the working frequency of the CPU is opened, the user can modify the working frequency of the CPU according to the requirement, for example, the working frequency of the CPU is manually set according to the use scene of the mobile terminal. For example, when a user plays a game through the mobile terminal, the user can set the operating frequency of the CPU according to the requirement, so that the high performance requirement of the user on the operation of the CPU is satisfied.
Assuming that the operation authority of the working frequency of the CPU is currently authorized, and the user wants to prohibit the operation authority of the working frequency of the CPU in order to improve the cruising ability of the mobile terminal, the user may execute a corresponding authority prohibiting operation on the operation authority of the working frequency of the CPU, and trigger an authority setting instruction. And when receiving the authority setting instruction, the mobile terminal sets the operation authority of the working frequency of the CPU in an authority forbidden way. And then, the user restarts the mobile terminal, and after the mobile terminal is restarted, the operation authority of the working frequency of the CPU is prohibited to be set to be effective. And after the operating authority of the CPU working frequency is forbidden, the working frequency of the CPU of the mobile terminal is locked, so that the long-time cruising ability of the mobile terminal is ensured.
According to the scheme provided by the embodiment, when the authority of the hardware equipment of the mobile terminal is to be set, the authority information corresponding to the hardware equipment is firstly acquired, the authority setting interface corresponding to the hardware equipment is then displayed according to the authority information, a user triggers the authority setting instruction corresponding to the authority by executing corresponding setting operation on the authority setting interface, the authority is set according to the authority setting instruction, the authority updating setting of the hardware equipment of the mobile terminal through the machine refreshing is avoided, and therefore the cost for updating and setting the authority of the hardware equipment is reduced.
Further, as shown in fig. 8, a second embodiment of the method for managing the hardware device right of the mobile terminal of the present invention is provided. The second embodiment of the hardware device right management method of the mobile terminal is different from the first embodiment of the hardware device right management method of the mobile terminal in that, in the second embodiment of the hardware device right management method of the mobile terminal, the step S30 includes:
step S31, when receiving the permission setting instruction, sending a corresponding permission setting request to a server for the server to verify the permission setting request, and when the verification is passed, feeding back corresponding verification success information;
and step S32, when receiving the verification success information fed back by the server, setting the authority corresponding to the authority setting instruction according to the authority setting instruction.
In this embodiment, the mobile terminal establishes a communication connection with a manufacturer server corresponding to the mobile terminal. When the mobile terminal receives the permission setting instruction for the hardware equipment, the mobile terminal sends a corresponding permission setting request to the server according to the permission setting instruction. For example, taking the example listed in the first embodiment as an example, when the mobile terminal receives the permission setting instruction of the permission 1 to the hardware device a, the mobile terminal sends a corresponding permission setting request to the permission 1 to the server.
Because the stability of the hardware device may be affected after some permissions of the hardware device are updated, in order to ensure the stability of the hardware device of the mobile terminal, before a certain permission of the hardware device is updated, it must be verified whether the permission is allowed to be updated, and only when the permission is allowed to be updated, that is, the permission is updated and set without affecting the stability of the hardware device, the permission can be updated and set. Specifically, when the server receives an authority setting request sent by the mobile terminal, the server verifies the authority setting request and judges whether the authority setting request passes through. If the permission setting request passes the verification, that is, the permission to update and set the permission corresponding to the permission setting request is indicated, at this time, the server feeds back corresponding verification success information to the mobile terminal, for example, feeds back a corresponding authorization code to the mobile terminal.
And when the mobile terminal receives the verification success information fed back by the server, determining that the permission corresponding to the permission setting instruction is allowed to be updated and set, and at the moment, the mobile terminal sets permission to open, forbid and the like according to the permission setting instruction and the permission corresponding to the permission setting instruction.
For example, if the server receives an authority setting request for authority 1 of the hardware device a sent by the mobile terminal, the server verifies the authority setting request and checks whether authority updating setting for the authority 1 is allowed. When the permission of permission updating setting on the permission 1 is verified, the permission setting request passes verification, and at the moment, the server feeds back verification success information to the mobile terminal. And when the mobile terminal receives the verification success information, updating and setting the authority of the authority 1 according to the authority setting instruction corresponding to the authority 1.
Further, in this embodiment, after the step S31, the method further includes:
and b, when receiving the verification failure information fed back by the server, forbidding setting of the authority corresponding to the authority setting instruction, wherein the server feeds back the corresponding verification failure information when the authority setting request is not verified.
Further, the server verifies the permission setting request sent by the mobile terminal, if the permission setting request is not verified, that is, the permission corresponding to the permission setting request is not allowed to be updated and set, at this time, the server feeds back corresponding verification failure information to the mobile terminal. And when the mobile terminal receives the verification failure information fed back by the server, the mobile terminal prohibits setting of the authority corresponding to the authority setting instruction.
For example, if the server receives an authority setting request for authority 4 of the hardware device a sent by the mobile terminal, the server verifies the authority setting request, and checks whether authority updating setting for the authority 4 is allowed. When the permission updating setting of the permission 4 is not allowed by the verification, the permission setting request fails to be verified, and at the moment, the server feeds back verification failure information to the mobile terminal. And when the mobile terminal receives the verification failure information, prohibiting the authority 4 from being subjected to authority updating setting.
Before the authority is updated and set, whether the authority is allowed to be updated and set is verified firstly, and the authority can be updated and set only after the authority is verified, so that the random update and setting of the authority of the hardware equipment by a user is prevented, and the problem that the stability of the hardware equipment is influenced after the authority which is not allowed to be updated and set is avoided.
Optionally, the step S30 includes:
step c, when the authority setting instruction is an authority authorization instruction, carrying out authority opening setting on the unauthorized authority corresponding to the authority authorization instruction;
and d, when the permission setting instruction is a permission prohibition instruction, performing permission prohibition setting on the authorization permission corresponding to the permission prohibition instruction.
Because the authority information includes the authorized authority and the unauthorized authority corresponding to the hardware device, when the user executes the corresponding authority setting operation on the unauthorized authority, the authority authorization instruction corresponding to the unauthorized authority is triggered, and when the user executes the corresponding authority setting operation on the authorized authority, the authority prohibition instruction corresponding to the authorized authority is triggered, therefore, the authority setting instruction triggered by the authority setting operation according to the user includes the authority authorization instruction and the authority prohibition instruction.
When a user executes corresponding authority setting operation on the unauthorized authority, an authority authorization instruction corresponding to the unauthorized authority is triggered, namely the authority setting instruction corresponding to the unauthorized authority is an authority authorization instruction, and the mobile terminal carries out authority opening setting on the unauthorized authority corresponding to the authority authorization instruction according to the authority authorization instruction. When a user executes corresponding authority setting operation on the authorization authority, an authority forbidding instruction corresponding to the authorization authority is triggered, namely the authority setting instruction corresponding to the authorization authority is the authority forbidding instruction, and the mobile terminal sets the authorization authority corresponding to the authority forbidding instruction in an authority forbidding manner according to the authority forbidding instruction.
For example, if a user executes permission setting operations on permission 1 and permission 4 of the hardware device a respectively, a permission prohibition instruction corresponding to the permission 1 and a permission authorization instruction corresponding to the permission 4 are triggered, and the mobile terminal sets permission prohibition on the permission 1 according to the permission prohibition instruction; and carrying out permission opening setting on the permission 4 according to the permission authorization instruction.
According to the scheme provided by the embodiment, before the permission of the hardware equipment of the mobile terminal is updated, the permission setting request corresponding to the permission is sent to the server, the server verifies the permission setting request, after the verification is passed, corresponding verification success information is fed back, and when the verification success information is received, the permission is updated and set, so that the permission of the hardware equipment is prevented from being updated and set by a user at will, the problem that the stability of the hardware equipment is influenced after the permission which is not allowed to be updated and set is avoided, and the safety of the permission of the hardware equipment is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A mobile terminal, characterized in that the mobile terminal comprises:
the acquisition module is used for acquiring authority information corresponding to hardware equipment of the mobile terminal;
the display module is used for displaying an authority setting interface corresponding to the hardware equipment according to the authority information so that a user can execute corresponding authority setting operation according to the authority information displayed on the authority setting interface and trigger an authority setting instruction;
the processing module is used for setting the authority corresponding to the authority setting instruction according to the authority setting instruction when the authority setting instruction is received;
wherein the authority setting operation comprises the operation of executing authority forbidding on authorized authority and/or the operation of executing authority permission on unauthorized authority;
the processing module comprises:
the sending unit is used for sending a corresponding authority setting request to a server when the authority setting instruction is received so that the server can verify the authority setting request, and feeding back corresponding verification success information when the verification is passed;
and the processing unit is used for setting the authority corresponding to the authority setting instruction according to the authority setting instruction when receiving the verification success information fed back by the server.
2. The mobile terminal of claim 1, wherein the processing unit is further to:
and when receiving the verification failure information fed back by the server, forbidding setting of the authority corresponding to the authority setting instruction, wherein the server feeds back the corresponding verification failure information when the authority setting request is not verified.
3. The mobile terminal of claim 1, wherein the permission information includes an authorized permission and an unauthorized permission corresponding to the hardware device, and the processing module is configured to:
when the permission setting instruction is a permission authorization instruction, carrying out permission opening setting on unauthorized permission corresponding to the permission authorization instruction;
and when the permission setting instruction is a permission prohibition instruction, performing permission prohibition setting on the authorization permission corresponding to the permission prohibition instruction.
4. The mobile terminal of any of claims 1-3, wherein the acquisition module is configured to:
when an authority inquiry instruction of hardware equipment of the mobile terminal is received, inquiring and acquiring authority information corresponding to the hardware equipment.
5. A method for managing the authority of hardware equipment of a mobile terminal is characterized by comprising the following steps:
acquiring authority information corresponding to hardware equipment of the mobile terminal;
displaying a permission setting interface corresponding to the hardware equipment according to the permission information, so that a user can execute corresponding permission setting operation according to the permission information displayed on the permission setting interface and trigger a permission setting instruction;
when the permission setting instruction is received, setting the permission corresponding to the permission setting instruction according to the permission setting instruction;
wherein the authority setting operation comprises the operation of executing authority forbidding on authorized authority and/or the operation of executing authority permission on unauthorized authority;
when the permission setting instruction is received, the step of setting the permission corresponding to the permission setting instruction according to the permission setting instruction comprises the following steps:
when the permission setting instruction is received, sending a corresponding permission setting request to a server so that the server can verify the permission setting request, and feeding back corresponding verification success information when the verification is passed;
and when receiving the verification success information fed back by the server, setting the authority corresponding to the authority setting instruction according to the authority setting instruction.
6. The method for managing hardware device permissions of a mobile terminal of claim 5 further comprising, after the step of sending a corresponding permission setting request to a server upon receiving the permission setting instruction:
and when receiving the verification failure information fed back by the server, forbidding setting of the authority corresponding to the authority setting instruction, wherein the server feeds back the corresponding verification failure information when the authority setting request is not verified.
7. The method for managing the hardware device right of the mobile terminal as claimed in claim 5, wherein the right information includes an authorized right and an unauthorized right corresponding to the hardware device, and the step of setting the right corresponding to the right setting instruction according to the right setting instruction includes:
when the permission setting instruction is a permission authorization instruction, carrying out permission opening setting on unauthorized permission corresponding to the permission authorization instruction;
and when the permission setting instruction is a permission prohibition instruction, performing permission prohibition setting on the authorization permission corresponding to the permission prohibition instruction.
8. The method for managing the hardware device right of the mobile terminal as claimed in any of claims 5 to 7, wherein the step of obtaining the right information corresponding to the hardware device of the mobile terminal comprises:
when an authority inquiry instruction of hardware equipment of the mobile terminal is received, inquiring and acquiring authority information corresponding to the hardware equipment.
CN201611050826.4A 2016-11-24 2016-11-24 Mobile terminal and hardware equipment authority management method thereof Active CN106778123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611050826.4A CN106778123B (en) 2016-11-24 2016-11-24 Mobile terminal and hardware equipment authority management method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611050826.4A CN106778123B (en) 2016-11-24 2016-11-24 Mobile terminal and hardware equipment authority management method thereof

Publications (2)

Publication Number Publication Date
CN106778123A CN106778123A (en) 2017-05-31
CN106778123B true CN106778123B (en) 2021-04-06

Family

ID=58910639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611050826.4A Active CN106778123B (en) 2016-11-24 2016-11-24 Mobile terminal and hardware equipment authority management method thereof

Country Status (1)

Country Link
CN (1) CN106778123B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592301A (en) * 2017-08-16 2018-01-16 珠海格力电器股份有限公司 Device management right transfer method, device, storage medium and server
US20190235831A1 (en) * 2018-01-31 2019-08-01 Amazon Technologies, Inc. User input processing restriction in a speech processing system
CN110138737B (en) * 2019-04-15 2021-10-15 深圳市纽创信安科技开发有限公司 Authority control method, authority control equipment, user equipment and system
CN110162982B (en) * 2019-04-19 2024-06-04 中国平安人寿保险股份有限公司 Method and device for detecting illegal rights, storage medium and electronic equipment
CN117539566A (en) * 2023-10-18 2024-02-09 上海合芯数字科技有限公司 System interface display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541517A (en) * 2010-12-13 2012-07-04 金蝶软件(中国)有限公司 Authority configuration method, device and system
CN104281803A (en) * 2014-09-16 2015-01-14 中国科学院信息工程研究所 System permission management method and equipment
CN104468825B (en) * 2014-12-26 2018-06-26 湖南华凯文化创意股份有限公司 Remote-authorization method and system

Also Published As

Publication number Publication date
CN106778123A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106778123B (en) Mobile terminal and hardware equipment authority management method thereof
CN106027804B (en) Unlocking method and unlocking device of mobile terminal
CN104932697B (en) Gesture unlocking method and device
CN106375840A (en) Screen projection device, mobile terminal and screen projection connection method
CN106485163A (en) Control method and control device that mobile terminal data storehouse accesses
CN107018334A (en) A kind of applied program processing method and device based on dual camera
CN107133508B (en) Application management method and mobile terminal
CN106455009B (en) Network searching device and method
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN106484534B (en) Control method and control device for displayed mobile terminal
CN105049612A (en) Method of realizing recording and device of realizing recording
CN105126339B (en) A kind of game control device and method
CN106131062A (en) Login service device and synchronizing web pages login method
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN106778557B (en) Fingerprint identification device and method
CN106228043B (en) Application icon hidden method and terminal
CN106385494B (en) Method and device for acquiring dynamic home page of mobile terminal application
CN105307156B (en) Device and method for requesting downloading of application
CN106162606A (en) A kind of method for switching network and mobile terminal
CN105100420A (en) Terminal and method for quick dialing of same
CN106453854B (en) Application sharing device and method
CN104965794B (en) EMS memory management process and device
CN106535196A (en) Routing equipment, terminal and method for controlling WiFi access
CN106873979B (en) Information processing method and mobile terminal
CN106506785B (en) Terminal and encryption method for realizing terminal theft prevention

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant