CN110262832A - Application program permission judgment method and device and electronic equipment - Google Patents

Application program permission judgment method and device and electronic equipment Download PDF

Info

Publication number
CN110262832A
CN110262832A CN201910539066.0A CN201910539066A CN110262832A CN 110262832 A CN110262832 A CN 110262832A CN 201910539066 A CN201910539066 A CN 201910539066A CN 110262832 A CN110262832 A CN 110262832A
Authority
CN
China
Prior art keywords
application program
suspended window
permission
system version
program
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.)
Pending
Application number
CN201910539066.0A
Other languages
Chinese (zh)
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201910539066.0A priority Critical patent/CN110262832A/en
Publication of CN110262832A publication Critical patent/CN110262832A/en
Pending legal-status Critical Current

Links

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/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an application program permission judging method, an application program permission judging device and electronic equipment, wherein the method comprises the following steps: receiving a floating window setting request of an application program; acquiring a current system version of the terminal equipment; if the current system version is a preset first system version, calling a first preset function to judge whether the application program has the floating window setting authority; and if the first preset function is called to judge that the application program has the floating window setting authority, generating a floating window corresponding to the application program. Therefore, whether the application program authorizes the floating window setting authority or not is judged by judging the current system version and calling the related function when the current system version is the preset first system version, and the floating window corresponding to the application program is generated when the application program has the floating window setting authority, so that whether the application program grants the floating window authority in the terminal device or not can be accurately and comprehensively judged, and the functional stability of the application program is ensured.

Description

Application program permission judgment method, device and electronic equipment
Technical field
This application involves Internet technical field more particularly to a kind of application program permission judgment methods, device and electronics Equipment.
Background technique
In general, user can according to need installs each application program on the terminal device, in order to further increase application The convenience of procedure operation needs that corresponding suspended window is arranged for application program on terminal device desktop.
In the related technology, do not account for the current system version of terminal device suitability and application program whether With corresponding setting permission, corresponding suspended window is set for application program directly on terminal device desktop, is caused using journey The functional stabilization that sequence uses is poor.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, the application proposes a kind of application program permission judgment method, solves and do not account for end in the prior art Whether the suitability and application program of the current system version of end equipment have corresponding setting permission, directly set in terminal Corresponding suspended window is set for application program on standby desktop, the poor technology of the functional stabilization for causing application program to use is asked Topic passes through calling by the judgement to current system version, and when current system version is preset the first system version Permission is arranged to judge whether the application program has authorized suspended window in correlation function, is arranged in application program with suspended window Suspended window corresponding with application program is generated when permission, so that ensure that accurately can comprehensively judge application program whether at end It is granted by suspended window permission in end equipment, ensure that the functional stabilization that application program uses.
The application proposes a kind of application program permission judgment means.
The application proposes a kind of electronic equipment.
The application proposes a kind of computer readable storage medium.
The application first aspect embodiment proposes a kind of application program permission judgment method, comprising:
Request is arranged in the suspended window for receiving application program;
Obtain the current system version of terminal device;
If the current system version is preset the first system version, the first preset function is called to judge the application Whether program there is suspended window permission is arranged;
If the first preset function is called to judge that there is the application program suspended window permission is arranged, generate and the application The corresponding suspended window of program.
Optionally, as the first possible implementation of the application first aspect, the method, further includes:
If the current system version is default second system version, the device type of the terminal device is obtained;
Inquiring in default terminal equipment type list whether there is the device type;
If in the default terminal equipment type list, there are the device types, and the second preset function is called to judge institute State whether application program there is suspended window permission is arranged;
If the second preset function is called to judge that there is the application program suspended window permission is arranged, generate and the application The corresponding suspended window of program.
Optionally, as second of possible implementation of the application first aspect, the method, further includes:
If the device type is not present in the default terminal equipment type list, it is determined that the application program has Permission is arranged in suspended window;
Generate suspended window corresponding with the application program.
Optionally, as the third possible implementation of the application first aspect, the method, further includes:
If the first preset function is called to judge that the application program does not have suspended window and permission is arranged, generation is answered with described With the corresponding suspended window setting request failure prompt information of program.
Optionally, as the 4th kind of possible implementation of the application first aspect, the method, further includes:
If the second preset function is called to judge that the application program does not have suspended window and permission is arranged, generation is answered with described With the corresponding suspended window setting request failure prompt information of program.
The application second aspect embodiment proposes a kind of application program permission judgment means, which includes:
Request is arranged in receiving module, the suspended window for receiving application program;
First obtains module, for obtaining the current system version of terminal device;
First calling module, if being preset the first system version for the current system version, calling first is pre- If function judges whether the application program there is suspended window permission is arranged;
First generation module, if for calling the first preset function to judge that the application program has suspended window setting power Limit then generates suspended window corresponding with the application program.
Optionally, as the first possible implementation of the application second aspect, described device, further includes:
Second obtains module, if being default second system version for the current system version, obtains the terminal The device type of equipment;
Enquiry module, for inquiring in default terminal equipment type list with the presence or absence of the device type;
Second calling module, if for, there are the device type, being called in the default terminal equipment type list Second preset function judges whether the application program there is suspended window permission is arranged;
First generation module, if being also used to that the second preset function is called to judge that the application program is set with suspended window Permission is set, then generates suspended window corresponding with the application program.
Optionally, as second of possible implementation of the application second aspect, the device, feature exists In, further includes:
Determining module, if for the device type to be not present in the default terminal equipment type list, it is determined that institute It states application program and permission is set with suspended window;
First generation module is also used to generate suspended window corresponding with the application program.
Optionally, as the third possible implementation of the application second aspect, described device further include:
Second generation module, if for calling the first preset function to judge that the application program does not have suspended window setting power Limit then generates suspended window setting request failure prompt information corresponding with the application program.
Optionally, as the 4th kind of possible implementation of the application second aspect, described device further include:
Third generation module, if for calling the second preset function to judge that the application program does not have suspended window setting power Limit then generates suspended window setting request failure prompt information corresponding with the application program.
The application third aspect embodiment proposes a kind of electronic equipment, comprising: memory, processor and is stored in storage On device and the computer program that can run on a processor, when the processor executes described program, realize described in first aspect Application program permission judgment method.
The application fourth aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence when the program is executed by processor, realizes application program permission judgment method described in first aspect.
Technical solution provided by the embodiment of the present application, may include it is following the utility model has the advantages that
Request is arranged in the suspended window for receiving application program;Obtain the current system version of terminal device;If current system version This is preset the first system version, then the first preset function is called to judge whether application program there is suspended window permission is arranged; If the first preset function is called to judge that there is application program suspended window permission is arranged, suspension corresponding with application program is generated Window.Solve the suitability and application program of the current system version for not accounting for terminal device in the prior art as a result, Whether there is corresponding setting permission, corresponding suspended window is set for application program directly on terminal device desktop, causes to answer The poor technical problem of the functional stabilization used with program is by the judgement to current system version, and currently Judge it is outstanding whether the application program has authorized by calling correlation function when system version is preset the first system version Permission is arranged in floating window, suspended window corresponding with application program is generated when application program has suspended window setting permission, to protect Having demonstrate,proved accurately can comprehensively judge whether application program is granted by suspended window permission in terminal device, ensure that application program The functional stabilization used.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of application program permission judgment method provided by the embodiment of the present application;
Fig. 2 is the flow diagram of another kind application program permission judgment method provided by the embodiment of the present application;
Fig. 3 is a kind of structural schematic diagram of application program permission judgment means provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of another kind application program permission judgment means provided by the embodiment of the present application;
Fig. 5 is the structural schematic diagram of another application program permission judgment means provided by the embodiment of the present application;
Fig. 6 is the structural schematic diagram of another application program permission judgment means provided by the embodiment of the present application;
Fig. 7 is also a kind of structural schematic diagram of application program permission judgment means provided by the embodiment of the present application;And
Fig. 8 is the structural schematic diagram of the application electronic equipment one embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the application program permission judgment method, device and electronic equipment of the embodiment of the present application are described.
Fig. 1 is a kind of flow diagram of application program permission judgment method provided by the embodiment of the present application.
As shown in Figure 1, method includes the following steps:
Step 101, the suspended window setting request of application program is received.
In practical application, it can according to need and the corresponding suspension of application program is set on the desktop of terminal device Window, application program permission judgment method is directed to the different system versions in Android system, Ke Yili in the embodiment of the present application It solves, the permission that corresponding suspended window is arranged in the application program in different system versions is different, that is to say, that the same application Program may have the permission of setting suspended window that may also not have in different system versions, further, different terminals The permission that corresponding suspended window is arranged in application program in equipment may also be different.
Therefore, the application analyzes in light of the circumstances, is by the judgement to current system version, and currently Judge it is outstanding whether the application program has authorized by calling correlation function when system version is preset the first system version Permission is arranged in floating window, suspended window corresponding with application program is generated when application program has suspended window setting permission, to protect Having demonstrate,proved accurately can comprehensively judge whether application program is granted by suspended window permission in terminal device, ensure that application program The functional stabilization used.
Specifically, the suspended window setting request of application program is received, it is to be understood that the suspended window of application program is arranged It requests there are many kinds of the modes sent, as an example, user can be by being arranged in column in terminal device, and selection setting is outstanding Floating window function, and corresponding application program is selected to send suspended window setting request;As another example, monitoring, which is opened, applies journey Sequence is meeting preset condition to using procedure operation, for example is opening antivirus application program and carry out rubbish cleaning operation, that is, sends and kill Malicious application program suspended window setting request, can specifically carry out selection setting according to the actual application.
Step 102, the current system version of terminal device is obtained.
Specifically, after the suspended window setting request for receiving application program, the current system version of terminal device is obtained, It, can it is understood that there are many kinds of current system versions, such as situations such as can be Android system 6.0, Android system 5.0 To obtain corresponding current system version by being scanned to the system that terminal device is currently installed on.
Step 103, if current system version is preset the first system version, the judgement application of the first preset function is called Whether program there is suspended window permission is arranged.
Step 104, it if the first preset function is called to judge that there is application program suspended window permission is arranged, generates and application The corresponding suspended window of program.
Specifically, different suspended windows is set for different system versions in advance in the application and permission judgment mode is set simultaneously Storage, therefore, match comparing, current after obtaining the current system version of terminal device with the system version list of storage System version calls the first preset function to judge whether application program has suspended window setting when being preset the first system version Permission, and the first preset function is being called to judge that there is application program suspended window permission is arranged, then it generates corresponding with application program Suspended window.
Wherein, the first preset function can there are many kinds of, can according to need and selected, for example can be operating system Setting.canDrawOverlays () function come judge application program whether have suspended window be arranged permission.Wherein, in advance If the first system version be 6.0 version of Android system.
It should be noted that if the first preset function is called to judge that application program does not have suspended window and permission is arranged, then give birth to Request failure prompt information is set at suspended window corresponding with application program, to prompt user's application program in terminal device Current system version is not provided with suspended window permission, and user, which can choose, to be updated system version or operate otherwise The convenience of the application program promotes user experience to be further ensured that the stability of application program operating function.
In the application program permission judgment method of the present embodiment, the suspended window setting request of application program is received;It obtains eventually The current system version of end equipment;If current system version is preset the first system version, the first preset function is called to sentence Whether disconnected application program there is suspended window permission is arranged;If the first preset function is called to judge that application program is arranged with suspended window Permission then generates suspended window corresponding with application program.It solves as a result, and does not account for working as terminal device in the prior art Whether the suitability and application program of preceding system version have corresponding setting permission, are directly on terminal device desktop Corresponding suspended window, the poor technical problem of the functional stabilization for causing application program to use, by right is arranged in application program The judgement of current system version, and current system version be preset the first system version when by call correlation function come Judge whether the application program has authorized suspended window setting permission, is generated when application program has suspended window setting permission Suspended window corresponding with application program, so that ensure that accurately can comprehensively judge whether application program awards in terminal device Suspended window permission has been given, ensure that the functional stabilization that application program uses.
Description based on the above embodiment, it is to be understood that current system version be preset the first system version, The first preset function is then called to judge whether application program there is suspended window permission is arranged;If the judgement of the first preset function is called to answer With program there is suspended window permission is arranged, then generates suspended window corresponding with application program, it will also be appreciated that current system Version is not how the application of the first system version is handled, for example current system version is specific place when presetting second system version Reason process is as shown in Figure 2:
Step 201, if current system version is default second system version, the device type of terminal device is obtained.
Specifically, different suspended windows is set for different system versions in advance in the application and permission judgment mode is set simultaneously Storage, therefore, match comparing, current after obtaining the current system version of terminal device with the system version list of storage The device type of terminal device is obtained when system version is preset second system version.
Wherein, the type of terminal device also refers to the terminal device of different production firm's productions.
Step 202, inquiring in default terminal equipment type list whether there is device type.
Step 203, if there are device types in default terminal equipment type list, the judgement of the second preset function is called to answer With program whether there is suspended window permission is arranged.
Step 204, it if the second preset function is called to judge that there is application program suspended window permission is arranged, generates and application The corresponding suspended window of program.
Specifically, in the terminal device that preceding system version is default second system version, different terminal types has Permission is arranged in different suspended windows, therefore, default terminal equipment type list is stored in advance, obtains the equipment class of terminal device Whether type is inquired in default terminal equipment type list, presets in terminal equipment type list there are device type, calling the Two preset functions judge whether application program there is suspended window permission is arranged, and the second preset function is being called to judge application program Permission is set with suspended window, then generates suspended window corresponding with application program.
Wherein, the second preset function can be the checkOp function in reflection AppOpsManager, preset second system Version can be between Android system version 5.0-6.0.
It should be noted that if the second preset function is called to judge that application program does not have suspended window and permission is arranged, then give birth to Request failure prompt information is set at suspended window corresponding with application program, to prompt user's application program in terminal device Current system version is not provided with suspended window permission, and user, which can choose, to be updated system version or operate otherwise The convenience of the application program promotes user experience to be further ensured that the stability of application program operating function.
Step 205, if device type is not present in default terminal equipment type list, it is determined that application program, which has, to suspend Permission is arranged in window, generates suspended window corresponding with application program.
Specifically, that is to say, that terminal equipment type present in default terminal equipment type list is to need further Judge whether application program has suspended window setting permission by correlation function, if not presetting terminal equipment type column at this In table, indicates that there is application program suspended window permission is arranged, generate suspended window corresponding with application program.
It should be noted that if current system version is default third system version, indicate that application program has suspended window Permission is set, suspended window corresponding with application program is generated.Default third system version can for Android system version 5.0 with Under.
It is further default second system version in current system version in the application program permission judgment method of the present embodiment Whether this, judge the application program when terminal equipment type is in terminal equipment type list by calling correlation function Permission is arranged in authorized suspended window, generates suspension corresponding with application program when application program has suspended window setting permission Window guarantees so that ensure that accurately can comprehensively judge whether application program is granted by suspended window permission in terminal device The functional stabilization that application program uses.
In order to realize above-described embodiment, the application also proposes a kind of application program permission judgment means.
Fig. 3 is a kind of structural schematic diagram of application program permission judgment means provided by the embodiments of the present application.
As shown in figure 3, the device includes: that receiving module 31, first obtains module 32, the first calling module 33 and the first life At module 34.
Request is arranged in receiving module 31, the suspended window for receiving application program.
First obtains module 32, for obtaining the current system version of terminal device.
First calling module 33 calls first if being preset the first system version for the current system version Preset function judges whether the application program there is suspended window permission is arranged.
First generation module 34, if for calling the first preset function to judge that the application program has suspended window setting power Limit then generates suspended window corresponding with the application program.
Based on the above embodiment, the embodiment of the present application also provides a kind of possible realities of application program permission judgment means Existing mode, Fig. 4 is the structural schematic diagram of another kind application program permission judgment means provided by the embodiment of the present application, in Fig. 3 On the basis of, described device further include: second obtains module 35, enquiry module 36 and the second calling module 37.
Second obtains module 35, if being default second system version for the current system version, obtains the end The device type of end equipment.
Enquiry module 36, for inquiring in default terminal equipment type list with the presence or absence of the device type.
Second calling module 37, if for, there are the device type, being adjusted in the default terminal equipment type list Judge whether the application program there is suspended window permission is arranged with the second preset function.
First generation module 34, if being also used to that the second preset function is called to judge that the application program is arranged with suspended window Permission then generates suspended window corresponding with the application program.
The embodiment of the present application also provides a kind of possible implementation of application program permission judgment means, Fig. 5 is this Apply for the structural schematic diagram of another application program permission judgment means provided by embodiment, on the basis of fig. 4, the dress It sets further include: determining module 38.
Determining module 38, if for the device type to be not present in the default terminal equipment type list, it is determined that There is the application program suspended window permission is arranged;
First generation module 34 is also used to generate suspended window corresponding with the application program.
The embodiment of the present application also provides a kind of possible implementation of application program permission judgment means, Fig. 6 is this The structural schematic diagram for applying for another application program permission judgment means provided by embodiment, on the basis of Fig. 3, the dress It sets further include: the second generation module 39.
Second generation module 39, if for calling the first preset function to judge that application program does not have suspended window setting power Limit then generates suspended window setting request failure prompt information corresponding with application program.
The embodiment of the present application also provides a kind of possible implementation of application program permission judgment means, Fig. 7 is this Apply for the structural schematic diagram of another application program permission judgment means provided by embodiment, on the basis of fig. 4, the dress It sets further include: the second generation module 310;
Third generation module 310, if for calling the second preset function to judge that the application program is set without suspended window Permission is set, then generates suspended window setting request failure prompt information corresponding with the application program.
It should be noted that the aforementioned device that the embodiment is also applied for the explanation of embodiment of the method, herein not It repeats again.
In the application program permission judgment means of the present embodiment, the suspended window setting request of application program is received;It obtains eventually The current system version of end equipment;If current system version is preset the first system version, the first preset function is called to sentence Whether disconnected application program there is suspended window permission is arranged;If the first preset function is called to judge that application program is arranged with suspended window Permission then generates suspended window corresponding with application program.It solves as a result, and does not account for working as terminal device in the prior art Whether the suitability and application program of preceding system version have corresponding setting permission, are directly on terminal device desktop Corresponding suspended window, the poor technical problem of the functional stabilization for causing application program to use, by right is arranged in application program The judgement of current system version, and current system version be preset the first system version when by call correlation function come Judge whether the application program has authorized suspended window setting permission, is generated when application program has suspended window setting permission Suspended window corresponding with application program, so that ensure that accurately can comprehensively judge whether application program awards in terminal device Suspended window permission has been given, ensure that the functional stabilization that application program uses.
In order to realize above-described embodiment, the application also proposes a kind of electronic equipment, comprising: memory, processor and storage On a memory and the computer program that can run on a processor, it when processor executes the program, realizes as preceding method is real Apply application program permission judgment method described in example.
The embodiment of the present application also provides a kind of electronic equipment, and electronic equipment includes device described in aforementioned any embodiment.
Fig. 8 is the structural schematic diagram of the application electronic equipment one embodiment, and method shown in the application Fig. 1-2 may be implemented The process of embodiment, as shown in figure 8, above-mentioned electronic equipment may include: shell 91, processor 92, memory 93, circuit board 94 With power circuit 95, wherein circuit board 94 is placed in the space interior that shell 91 surrounds, and processor 92 and the setting of memory 93 exist On circuit board 94;Power circuit 95, for each circuit or the device power supply for above-mentioned electronic equipment;Memory 93 is for storing Executable program code;Processor 92 is run and executable journey by reading the executable program code stored in memory 93 The corresponding program of sequence code, for executing video generation method described in aforementioned any embodiment.
Processor 92 to the specific implementation procedures of above-mentioned steps and processor 92 by operation executable program code come The step of further executing may refer to the description of embodiment of the method shown in the application Fig. 1-2, and details are not described herein.
The electronic equipment exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic equipments with data interaction function.
In order to realize above-described embodiment, the application also proposes a kind of computer readable storage medium, is stored thereon with calculating Machine program when the program is executed by processor, realizes the application program permission judgment method as described in preceding method embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application Type.

Claims (10)

1. a kind of application program permission judgment method, which comprises the following steps:
Request is arranged in the suspended window for receiving application program;
Obtain the current system version of terminal device;
If the current system version is preset the first system version, the first preset function is called to judge the application program Whether there is suspended window permission is arranged;
If the first preset function is called to judge that there is the application program suspended window permission is arranged, generate and the application program Corresponding suspended window.
2. the method as described in claim 1, which is characterized in that further include:
If the current system version is default second system version, the device type of the terminal device is obtained;
Inquiring in default terminal equipment type list whether there is the device type;
If there are the device types in the default terminal equipment type list, calls and answered described in the judgement of the second preset function With program whether there is suspended window permission is arranged;
If the second preset function is called to judge that there is the application program suspended window permission is arranged, generate and the application program Corresponding suspended window.
3. method according to claim 2, which is characterized in that further include:
If the device type is not present in the default terminal equipment type list, it is determined that the application program, which has, to suspend Permission is arranged in window;
Generate suspended window corresponding with the application program.
4. the method as described in claim 1, which is characterized in that further include:
If the first preset function is called to judge that the application program does not have suspended window and permission is arranged, generates and apply journey with described The corresponding suspended window setting request failure prompt information of sequence.
5. method according to claim 2, which is characterized in that further include:
If the second preset function is called to judge that the application program does not have suspended window and permission is arranged, generates and apply journey with described The corresponding suspended window setting request failure prompt information of sequence.
6. a kind of application program permission judgment means characterized by comprising
Request is arranged in receiving module, the suspended window for receiving application program;
First obtains module, for obtaining the current system version of terminal device;
First calling module calls the first default letter if being preset the first system version for the current system version Number judges whether the application program there is suspended window permission is arranged;
First generation module, if for calling the first preset function to judge that there is the application program suspended window permission is arranged, Generate suspended window corresponding with the application program.
7. device as claimed in claim 6, which is characterized in that further include:
Second obtains module, if being default second system version for the current system version, obtains the terminal device Device type;
Enquiry module, for inquiring in default terminal equipment type list with the presence or absence of the device type;
Second calling module, if for, there are the device type, calling second in the default terminal equipment type list Preset function judges whether the application program there is suspended window permission is arranged;
First generation module, if being also used to that the second preset function is called to judge that the application program has suspended window setting power Limit then generates suspended window corresponding with the application program.
8. device as claimed in claim 7, which is characterized in that further include:
Determining module, if for the device type to be not present in the default terminal equipment type list, it is determined that described to answer With program there is suspended window permission is arranged;
First generation module is also used to generate suspended window corresponding with the application program.
9. a kind of electronic equipment characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation when the processor executes described program, realizes such as application as claimed in any one of claims 1 to 5 Program authority judgment method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as application program permission judgment method as claimed in any one of claims 1 to 5 is realized when execution.
CN201910539066.0A 2019-06-20 2019-06-20 Application program permission judgment method and device and electronic equipment Pending CN110262832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910539066.0A CN110262832A (en) 2019-06-20 2019-06-20 Application program permission judgment method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910539066.0A CN110262832A (en) 2019-06-20 2019-06-20 Application program permission judgment method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110262832A true CN110262832A (en) 2019-09-20

Family

ID=67919942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910539066.0A Pending CN110262832A (en) 2019-06-20 2019-06-20 Application program permission judgment method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110262832A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118611A (en) * 2020-09-22 2020-12-22 上海连尚网络科技有限公司 Method and device for connecting wireless hotspots
CN116702163A (en) * 2022-09-27 2023-09-05 荣耀终端有限公司 Authority management method and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881601A (en) * 2015-06-17 2015-09-02 北京奇虎科技有限公司 Floating window display setup, control method and device
CN106648779A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal floating window permission setting method
CN107967423A (en) * 2016-10-20 2018-04-27 腾讯科技(深圳)有限公司 The method and terminal device of a kind of authority acquiring
WO2018108050A1 (en) * 2016-12-14 2018-06-21 北京奇虎科技有限公司 Intelligent terminal and application program right control method and apparatus therefor, and server
CN108763922A (en) * 2018-06-19 2018-11-06 北京金山安全软件有限公司 Authority detection method and device, electronic equipment and medium
CN109491753A (en) * 2018-11-29 2019-03-19 北京达佳互联信息技术有限公司 Suspension windows display methods, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881601A (en) * 2015-06-17 2015-09-02 北京奇虎科技有限公司 Floating window display setup, control method and device
CN107967423A (en) * 2016-10-20 2018-04-27 腾讯科技(深圳)有限公司 The method and terminal device of a kind of authority acquiring
WO2018108050A1 (en) * 2016-12-14 2018-06-21 北京奇虎科技有限公司 Intelligent terminal and application program right control method and apparatus therefor, and server
CN106648779A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal floating window permission setting method
CN108763922A (en) * 2018-06-19 2018-11-06 北京金山安全软件有限公司 Authority detection method and device, electronic equipment and medium
CN109491753A (en) * 2018-11-29 2019-03-19 北京达佳互联信息技术有限公司 Suspension windows display methods, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118611A (en) * 2020-09-22 2020-12-22 上海连尚网络科技有限公司 Method and device for connecting wireless hotspots
CN116702163A (en) * 2022-09-27 2023-09-05 荣耀终端有限公司 Authority management method and terminal equipment

Similar Documents

Publication Publication Date Title
CN107480517B (en) Application market manages control
CN105224421B (en) Data backup method and device and electronic equipment
WO2004088472A3 (en) Methods and systems for assessing and advising on electronic compliance
CN106970978A (en) Data sharing method and device
CN104678771A (en) Control method and control system for household electrical appliance
CN106599680A (en) Application program permission setting method and apparatus, and electronic equipment
CN108920653A (en) A kind of page generation method, device, server and storage medium
CN107403089A (en) Resource tamper Detection method and apparatus based on application program
CN110262832A (en) Application program permission judgment method and device and electronic equipment
CN109999489A (en) Resource updating method and device and electronic equipment
CN109686047A (en) The method and apparatus with prompting are supervised for vehicle condition
CN106203069B (en) A kind of hold-up interception method of dynamic link library file, device and terminal device
CN108153420A (en) A kind of information push method, device, server and storage medium
CN106203092A (en) Method and device for intercepting shutdown of malicious program and electronic equipment
CN108920238A (en) Operate method, electronic equipment and the computer-readable medium of application
CN104008341A (en) Safety protection reminding method and device
CN105848031A (en) Earphone sound channel adjusting method and device
CN104123165B (en) Application program unloading method and device and mobile terminal
HK1028284A1 (en) Method for creating an information database in a computer system.
CN108170441A (en) Drive programe installation method, device, driver installation client and server
CN108064038A (en) Method, electronic device and the readable storage medium storing program for executing of unified custom terminal software version
CN106445533A (en) Toast display method and device and electronic equipment
CN109951841A (en) Data card switching method and device and electronic equipment
CN107016281A (en) Permission setting method and device of application program and electronic equipment
SE0201329D0 (en) A method and system for subscriber spending in a communications system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190920