CN109981873A - A kind of address list permission open method, device and electronic equipment - Google Patents

A kind of address list permission open method, device and electronic equipment Download PDF

Info

Publication number
CN109981873A
CN109981873A CN201711449330.9A CN201711449330A CN109981873A CN 109981873 A CN109981873 A CN 109981873A CN 201711449330 A CN201711449330 A CN 201711449330A CN 109981873 A CN109981873 A CN 109981873A
Authority
CN
China
Prior art keywords
operational order
calling
operating right
information
priority assignation
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.)
Granted
Application number
CN201711449330.9A
Other languages
Chinese (zh)
Other versions
CN109981873B (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.)
Zhuhai Juntian Electronic Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic 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 Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201711449330.9A priority Critical patent/CN109981873B/en
Publication of CN109981873A publication Critical patent/CN109981873A/en
Application granted granted Critical
Publication of CN109981873B publication Critical patent/CN109981873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Abstract

The embodiment of the invention provides a kind of address list permission open method, device and electronic equipments, it include: after receiving for the operational order of the address list of operating system, by the calling interface for calling the operational order, the operational order is executed, the calling interface operating system provides;Determining the calling interface failure for calling the operational order, and failure cause is after the corresponding operating right of the operational order is in illegal state, the priority assignation information for showing operating right corresponding with the operational order carries out unlatching setting to the operating right for prompting.It avoids and does not check interface, the problem of caused client can not know address list operating right state since part operation system has address list rights state.

Description

A kind of address list permission open method, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of address list permission open method, device and electronics Equipment.
Background technique
With the high speed development of smart phone technology and being continuously increased for beautification class application software type, people are using shifting During dynamic equipment and application software, the requirement to its beautiful interface degree is also being continuously improved.
Address list and dialing keyboard interface as built in android system is typically more dull, and can not carry out changing skin, The customized beautification setting of the users such as icon is changed, therefore, occurs that the third of look & feel transformation can be carried out according to user demand Square address list application software.
Above-mentioned Three-Part protocol record application software is before the use, it is necessary first to get following three address list permissions: Make a phone call permission, contacts list reads permission and contact information modification authority.Currently, the version of android system is numerous More and different using the equipment brand of android system, only some android system provides above-mentioned three permissions Status checkout interface, Three-Part protocol record application software can check the state of above-mentioned three permissions by the interface, when a certain When permission is illegal state, this rights request message can be obtained by display, user is prompted to obtain corresponding authority manually.But It is that for not having the android system of the status checkout interface of above-mentioned three permissions, then can not know above-mentioned three permissions State, therefore the relevant operations such as subsequent acquisition permission can not be carried out, so as to cause above-mentioned Three-Part protocol record application software without Method normal use.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of address list permission open method, device and electronic equipment, is used for It solves to check interface because not having address list rights state due to existing part android system, client can not know communication The problem of recording operating right state.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of address list permission open methods, comprising:
After receiving for the operational order of the address list of operating system, by calling the calling of the operational order to connect Mouthful, the operational order is executed, the calling interface operating system provides;
Determining the calling interface failure for calling the operational order, and failure cause is corresponding for the operational order Operating right be in illegal state after, show the priority assignation information of corresponding with operational order operating right, be used for Prompt carries out unlatching setting to the operating right.
Further, the priority assignation information of display operating right corresponding with the operational order, comprising:
The configuration page of the operating system is jumped to from current page, includes the operational order in the configuration page Corresponding operating right;Or
The priority assignation information of operating right corresponding with the operational order is shown in the page of the client.
Further, before the configuration page for jumping to the operating system from current page, further includes:
Show the prompt information for prompting the operating right not open;
After detecting the operation for the prompt information, execution is described to jump to the operating system from current page The configuration page the step of.
Further, the operational order is one of such as to give an order:
Dialing command reads address book contact list instruction and address book contact details edit instruction.
Further, the operational order is dialing command;
It is described to determine the calling interface failure for calling the operational order, and failure cause is the operational order After corresponding operating right is in illegal state, the priority assignation information of operating right corresponding with the operational order is shown, Include:
After executing the dialing command by duration reach the first preset duration after, if call interface does not open yet It is dynamic, then show the priority assignation information for making a phone call permission corresponding with the dialing command;
Or
After receiving the interface malloc failure malloc result that the operating system returns, display and the dialing command pair The priority assignation information for making a phone call permission answered.
Further, the operational order is to read address book contact list instruction;
It is described to determine the calling interface failure for calling the operational order, and failure cause is the operational order After corresponding operating right is in illegal state, the priority assignation information of operating right corresponding with the operational order is shown, Include:
When returning the result for sky or when being default abnormal results for the operating system, display and readings address list connection It is the priority assignation information that list instructs corresponding contacts list reading permission.
Further, it is read in display contacts list corresponding with the reading address book contact list instruction After the priority assignation information of permission, the method also includes:
Every the second preset duration, repeat the reading address book contact list instruction, until run succeeded or Until person repeats after preset times.
Further, the operational order is contact details edit instruction;
It is described to determine the calling interface failure for calling the operational order, and failure cause is the operational order After corresponding operating right is in illegal state, the priority assignation information of operating right corresponding with the operational order is shown, Include:
When the return value of the operating system is numerical value or return preset characters string less than or equal to 0, display and institute State the priority assignation information of the corresponding contact information modification authority of contact details edit instruction;
Or
It is executing in the third preset duration after the contact details edit instruction, is not receiving the anti-of the operating system Feedback is as a result, then show the priority assignation information of contact information modification authority corresponding with the contact details edit instruction.
Further, in display contact information modification authority corresponding with the contact details edit instruction After priority assignation information, the method also includes:
Every the 4th preset duration, the contact details edit instruction is repeated, until running succeeded or repeating Until executing after preset times.
Second aspect, the embodiment of the invention provides a kind of address list permission opening devices, comprising:
Operational order execution module, for passing through tune after receiving for the operational order of the address list of operating system With the calling interface of the operational order, the operational order is executed, the calling interface operating system provides;
Information display module, for determining the calling interface for calling operational order failure, and failure cause After being in illegal state for the corresponding operating right of the operational order, operating right corresponding with the operational order is shown Priority assignation information carries out unlatching setting to the operating right for prompting.
Further, the information display module, specifically for being connect in the determining calling for calling the operational order Mouth failure, and failure cause is after the corresponding operating right of the operational order is in illegal state, to jump to from current page The configuration page of the operating system includes the corresponding operating right of the operational order in the configuration page, for prompting Unlatching setting is carried out to the operating right;Or behaviour corresponding with the operational order is shown in the page of the client The priority assignation information for making permission carries out unlatching setting to the operating right for prompting.
Further, the information display module, specifically for being connect in the determining calling for calling the operational order Mouth failure, and failure cause is after the corresponding operating right of the operational order is in illegal state, display is described for prompting The prompt information that operating right is not opened;After detecting the operation for the prompt information, execute described from current page The step of jumping to the configuration page of the operating system includes the corresponding operating rights of the operational order in the configuration page Limit carries out unlatching setting to the operating right for prompting;Or display and the operation in the page of the client The priority assignation information for instructing corresponding operating right carries out unlatching setting to the operating right for prompting.
Further, the operational order is one of such as to give an order:
Dialing command reads address book contact list instruction and address book contact details edit instruction.
Further, the operational order is dialing command;
The information display module, specifically for after executing the dialing command by duration to reach first pre- If after duration, if call interface is still inactive, showing the permission for making a phone call permission corresponding with the dialing command Setting information carries out unlatching setting to the permission of making a phone call for prompting;Alternatively, being returned receiving the operating system Interface malloc failure malloc result after, show corresponding with the dialing command priority assignation information for making a phone call permission, For prompting to carry out unlatching setting to the permission of making a phone call.
Further, the operational order is to read address book contact list instruction;
The information display module, specifically for returning the result as sky or be default abnormal results when the operating system When, show the priority assignation information for instructing corresponding contacts list to read permission with the reading address book contact list, For prompting to carry out unlatching setting to contacts list reading permission.
Further, the information display module, specifically for returning the result as sky or be pre- when the operating system If when abnormal results, showing the permission for instructing corresponding contacts list to read permission with the reading address book contact list Setting information carries out unlatching setting to contacts list reading permission for prompting;Every the second preset duration, repetition is held The row reading address book contact list instruction, until running succeeded or repeating after preset times.
Further, the operational order is contact details edit instruction;
The information display module, specifically for the return value when the operating system be numerical value less than or equal to 0 or When returning to preset characters string, show that the permission of contact information modification authority corresponding with the contact details edit instruction is set Confidence breath carries out unlatching setting to the contact information modification authority for prompting;Or executing the contact details In third preset duration after edit instruction, the feedback result of the operating system is not received, then is shown detailed with the contact person The priority assignation information of the corresponding contact information modification authority of feelings edit instruction modifies the contact information for prompting Permission carries out unlatching setting.
Further, the information display module is less than or equal to 0 specifically for the return value when the operating system Numerical value or when returning to preset characters string, show corresponding with contact details edit instruction contact information modification authority Priority assignation information, for prompt unlatching setting is carried out to the contact information modification authority;Or it is described executing Be not receive the feedback result of the operating system in the third preset duration after people's details edit instruction, then display with it is described The priority assignation information of the corresponding contact information modification authority of contact details edit instruction, for prompting to the contact person Information modification authority carries out unlatching setting;Every the 4th preset duration, the contact details edit instruction is repeated, until Until running succeeded or repeating after preset times.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, including processor, communication interface, memory and Communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described address list permission open method The step of.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Instruction is stored in storage media, when run on a computer, so that computer executes any of the above-described address list power Limit open method.
5th aspect, the embodiment of the invention also provides a kind of computer program products comprising instruction, when it is being calculated When being run on machine, so that computer executes any of the above-described address list permission open method.
A kind of address list permission open method, device and electronic equipment provided in an embodiment of the present invention, are directed to receiving After the operational order of the address list of operating system, by the calling interface of the calling operational order, the operational order is executed, The calling interface operating system provides;Determining the calling interface failure for calling the operational order, and Failure cause is after the corresponding operating right of the operational order is in illegal state, to show behaviour corresponding with the operational order The priority assignation information for making permission carries out unlatching setting to the operating right for prompting.Pass through calling in the present invention program Interface executes the operational order, is determining the calling interface failure for calling the operational order, and failure cause is institute It states after the corresponding operating right of operational order is in illegal state, prompts to carry out unlatching setting to the operating right.It avoids Interface is checked since part operation system does not have address list rights state, and caused client can not know address list operating rights The problem of limit state.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of address list permission open method provided by one embodiment of the present invention;
Fig. 2 is the structural schematic diagram of address list permission opening device provided by one embodiment of the present invention;
Fig. 3 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of address list permission open method provided by one embodiment of the present invention, comprising:
Step 101, after receiving for the operational order of the address list of operating system, by calling the operational order Calling interface, execute the operational order, the calling interface operating system provides.
Step 102, the calling interface failure for calling the operational order is being determined, and failure cause is the operation After instructing corresponding operating right to be in illegal state, the priority assignation letter of operating right corresponding with the operational order is shown Breath carries out unlatching setting to the operating right for prompting.
In address list permission open method shown in FIG. 1 provided in an embodiment of the present invention, receiving for operation system After the operational order of the address list of system, the operational order is executed by calling interface, calls the operational order determining The calling interface failure, and failure cause is prompt pair after the corresponding operating right of the operational order is in illegal state The operating right carries out unlatching setting.It avoids and does not check interface since part operation system has address list rights state, Caused client can not know the problem of address list operating right state.
With reference to the accompanying drawing, to address list permission open method, device and electronic equipment provided in an embodiment of the present invention into Row detailed description.
Still as shown in Fig. 1, the embodiment of the present invention provides a kind of address list permission open method, specifically includes following step It is rapid:
Step 101, after receiving for the operational order of the address list of operating system, by calling the operational order Calling interface, execute the operational order, the calling interface operating system provides.
Operational order in this step can be dialing command, reading address book contact list instruction and communication Record any one in contact details edit instruction.
When receive for operating system address list dialing command (such as: user dialing interface input certain electricity Talk about number) after, the calling interface that client can be provided by call operation system, such as: operating system offer is provided The application programming interface API made a phone call, the finger that Lai Zhihang makes a phone call;When receiving the address list for operating system Reading address book contact list instruction after, the calling interface that client can be provided by call operation system, Lai Zhihang Read the instruction of address book contact list;Similarly, when the address book contact for receiving the address list for operating system After details edit instruction, the calling interface that client can be provided by call operation system, Lai Zhihang address book contact is detailed The instruction of feelings editor, specifically, a certain presupposed information can be added (such as: pre- by address book contact details edit page If address information etc.) mode execute the instruction of address book contact details editor.
Step 102, the calling interface failure for calling the operational order is being determined, and failure cause is the operation After instructing corresponding operating right to be in illegal state, the priority assignation letter of operating right corresponding with the operational order is shown Breath carries out unlatching setting to the operating right for prompting.
Further, in this step, the priority assignation information for showing operating right corresponding with the operational order, can To include: the configuration page including the corresponding operating right of the operational order for jumping to the operating system from current page Face;Or the priority assignation information of operating right corresponding with the operational order is shown in the page of the client.
Further, the priority assignation information for showing operating right corresponding with the operational order may include: display Prompt information for prompting the operating right not open;After detecting the operation for the prompt information, institute is executed The step of stating the configuration page that the operating system is jumped to from current page.
In this step, for example, the prompt information for prompting operating right not open can be with are as follows: " operating right is not opened, Confirm opening operation permission ", and in prompt information interface display " confirmation " button, when detecting user's click " confirmation " button Afterwards, then the step of configuration page of the operating system is jumped to from current page is executed.
Further, when operational order is dialing command, the calling for calling the operational order is being determined Interface failure, and failure cause is display and the operation after the corresponding operating right of the operational order is in illegal state Instruct the priority assignation information of corresponding operating right, comprising:
After executing the dialing command by duration reach the first preset duration after, if call interface does not open yet It is dynamic, then show the priority assignation information for making a phone call permission corresponding with the dialing command;
Or
After receiving the interface malloc failure malloc result that the operating system returns, display and the dialing command pair The priority assignation information for making a phone call permission answered.
In this step, the first preset duration can rule of thumb be set.This is made a phone call in client executing to refer to While order, can star a background thread timer, start timing, when after executing dialing command by duration After reaching the first preset duration, if call interface is still inactive, make a phone call corresponding with the dialing command is shown The priority assignation information of permission.
Further, when operational order is to read address book contact list instruction, the operation is called to refer to determining The calling interface failure enabled, and failure cause is after the corresponding operating right of the operational order is in illegal state, to show The priority assignation information for showing operating right corresponding with the operational order may include:
When returning the result for sky or when being default abnormal results for operating system, display and the reading address book contact List instructs the priority assignation information of corresponding contacts list reading permission.
Default exception herein can according to experience pre-selection setting a variety of abnormal results, for example, can for input/it is defeated Mistake is flowed out, or low memory (Out-Of-Memor) etc., here, with no restriction.
Further, contacts list reading permission corresponding with the reading address book contact list instruction is being shown Priority assignation information after, can also include:
Every the second preset duration, repeat the reading address book contact list instruction, until run succeeded or Until person repeats after preset times.
When returning the result not to be empty for operating system, when not also being above-mentioned default abnormal results, then it is assumed that execute the reading Address book contact list is taken to instruct successfully.
Further, when operational order is contact details edit instruction, the institute for calling the operational order is being determined Calling interface failure is stated, and failure cause is display and institute after the corresponding operating right of the operational order is in illegal state The priority assignation information for stating the corresponding operating right of operational order may include:
When the return value of operating system is numerical value or return preset characters string less than or equal to 0, show and described It is the priority assignation information of the corresponding contact information modification authority of people's details edit instruction;
Or
It is executing in the third preset duration after the contact details edit instruction, is not receiving the anti-of the operating system Feedback is as a result, then show the priority assignation information of contact information modification authority corresponding with the contact details edit instruction.
Further, in the permission for showing contact information modification authority corresponding with the contact details edit instruction After setting information, can also include:
Every the 4th preset duration, the contact details edit instruction is repeated, until running succeeded or repeating Until executing after preset times.
Herein, after the return value for referring to operating system is the numerical value greater than 0, it is believed that execute contact details editor and refer to It enables successfully.
In address list permission open method shown in FIG. 1 provided in an embodiment of the present invention, receiving for operation system After the operational order of the address list of system, the operational order is executed by calling interface, calls the operational order determining The calling interface failure, and failure cause is prompt pair after the corresponding operating right of the operational order is in illegal state The operating right carries out unlatching setting.It avoids and does not check interface since part operation system has address list rights state, Caused client can not know the problem of address list operating right state.
Based on the same inventive concept, the address list permission open method provided according to that above embodiment of the present invention, correspondingly, One embodiment of the invention additionally provides a kind of address list permission opening device, and structural schematic diagram is as shown in Figure 2, comprising:
Operational order execution module 201, for passing through after receiving for the operational order of the address list of operating system The calling interface for calling the operational order, executes the operational order, and the calling interface operating system provides.
Information display module 202, for determining the calling interface for calling operational order failure, and failure is former Because showing operating right corresponding with the operational order after the corresponding operating right of the operational order is in illegal state Priority assignation information, for prompt unlatching setting is carried out to the operating right.
Further, the information display module 202, specifically for determining the calling for calling the operational order Interface failure, and failure cause is after the corresponding operating right of the operational order is in illegal state, to jump from current page It include the corresponding operating right of the operational order in the configuration page, for mentioning to the configuration page of the operating system Show and unlatching setting is carried out to the operating right;Or it is shown in the page of the client corresponding with the operational order The priority assignation information of operating right carries out unlatching setting to the operating right for prompting.
Further, the information display module 202, specifically for determining the calling for calling the operational order Interface failure, and failure cause is after the corresponding operating right of the operational order is in illegal state, to show for prompting State the prompt information that operating right is not opened;After detecting the operation for the prompt information, execute described from current page Face jumps to the step of configuration page of the operating system, includes the corresponding operation of the operational order in the configuration page Permission carries out unlatching setting to the operating right for prompting;Or display and the behaviour in the page of the client The priority assignation information for making the corresponding operating right of instruction carries out unlatching setting to the operating right for prompting.
Further, the operational order is one of such as to give an order:
Dialing command reads address book contact list instruction and address book contact details edit instruction.
Further, the operational order is dialing command;
The information display module 202, specifically for after executing the dialing command by duration reach the After one preset duration, if call interface is still inactive, make a phone call permission corresponding with the dialing command is shown Priority assignation information carries out unlatching setting to the permission of making a phone call for prompting;Alternatively, receiving the operating system After the interface malloc failure malloc result of return, the priority assignation letter for making a phone call permission corresponding with the dialing command is shown Breath carries out unlatching setting to the permission of making a phone call for prompting.
Further, the operational order is to read address book contact list instruction;
The information display module 202, specifically for returning the result as sky or be default abnormal when the operating system When as a result, show that the priority assignation for instructing corresponding contacts list to read permission with the reading address book contact list is believed Breath carries out unlatching setting to contacts list reading permission for prompting.
Further, the information display module 202, specifically for returning the result as sky or be when the operating system When default abnormal results, the power for instructing corresponding contacts list to read permission with the reading address book contact list is shown Setting information is limited, unlatching setting is carried out to contacts list reading permission for prompting;Every the second preset duration, repeat The reading address book contact list instruction is executed, until running succeeded or repeating after preset times.
Further, the operational order is contact details edit instruction;
The information display module 202 is the numerical value less than or equal to 0 specifically for the return value when the operating system Or when returning to preset characters string, the permission of contact information modification authority corresponding with the contact details edit instruction is shown Setting information carries out unlatching setting to the contact information modification authority for prompting;Or it is detailed executing the contact person In third preset duration after feelings edit instruction, the feedback result of the operating system is not received, then display and the contact person The priority assignation information of the corresponding contact information modification authority of details edit instruction repairs the contact information for prompting Change permission and carries out unlatching setting.
Further, the information display module 202 is to be less than or wait specifically for the return value when the operating system When 0 numerical value or return preset characters string, contact information modification corresponding with the contact details edit instruction is shown The priority assignation information of permission carries out unlatching setting to the contact information modification authority for prompting;Or executing institute In third preset duration after stating contact details edit instruction, do not receive the feedback result of the operating system, then display with The priority assignation information of the corresponding contact information modification authority of the contact details edit instruction, for prompting to described It is that people's information modification authority carries out unlatching setting;Every the 4th preset duration, the contact details edit instruction is repeated, Until running succeeded or repeating after preset times.
The function of above-mentioned each module can correspond to the respective handling step in process shown in Fig. 1, and details are not described herein.
In address list permission opening device provided in an embodiment of the present invention, firstly, operational order execution module 201 is receiving To after the operational order for the address list of operating system, by calling the calling interface of the operational order, the behaviour is executed It instructs;Then the calling interface for calling operational order failure, and failure are being determined by information display module 202 again Reason is after the corresponding operating right of the operational order is in illegal state, to show operating rights corresponding with the operational order The priority assignation information of limit carries out unlatching setting to the operating right for prompting.It avoids due to part operation system not With the problem of address list rights state inspection interface, caused client can not know address list operating right state.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 3, include processor 301, communication interface 302, Memory 303 and communication bus 304, wherein processor 301, communication interface 302, memory 303 are complete by communication bus 304 At mutual communication,
Memory 303, for storing computer program;
Processor 301 when for executing the program stored on memory 303, realizes following steps:
After receiving for the operational order of the address list of operating system, by calling the calling of the operational order to connect Mouthful, the operational order is executed, the calling interface operating system provides;
Determining the calling interface failure for calling the operational order, and failure cause is corresponding for the operational order Operating right be in illegal state after, show the priority assignation information of corresponding with operational order operating right, be used for Prompt carries out unlatching setting to the operating right.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc.. Only to be indicated with a thick line in figure, it is not intended that an only bus or a type of bus convenient for indicating.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), also may include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Further, memory is also It can be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes on any in above-described embodiment The address list permission open method stated.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes any above-mentioned address list permission open method in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product Including one or more computer instructions.It is all or part of when loading on computers and executing above-mentioned computer program instructions Ground generates the process or function above-mentioned according to the embodiment of the present invention.Computer can be general purpose computer, special purpose computer, calculating Machine network or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or from one Computer readable storage medium is transmitted to another computer readable storage medium, for example, computer instruction can be from a net Website, computer, server or data center pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or nothing Line (such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center. Above-mentioned computer readable storage medium can be any usable medium or include one or more that computer can access The data storage devices such as usable medium integrated server, data center.Above-mentioned usable medium can be magnetic medium, (for example, Floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality Apply example, electronic equipment embodiment, computer readable storage medium embodiment and the computer program product embodiments comprising instruction For, since it is substantially similar to the method embodiment, so being described relatively simple, referring to the portion of embodiment of the method in place of correlation It defends oneself bright.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of address list permission open method, which is characterized in that be applied to client, comprising:
After receiving for the operational order of the address list of operating system, by calling the calling interface of the operational order, The operational order is executed, the calling interface operating system provides;
Determining the calling interface failure for calling the operational order, and failure cause is the corresponding behaviour of the operational order Make the priority assignation information of operating right corresponding with the operational order to be shown, for prompting after permission is in illegal state Unlatching setting is carried out to the operating right.
2. the method according to claim 1, wherein display operating right corresponding with the operational order Priority assignation information, comprising:
The configuration page of the operating system is jumped to from current page, includes that the operational order is corresponding in the configuration page Operating right;Or
The priority assignation information of operating right corresponding with the operational order is shown in the page of the client.
3. according to the method described in claim 2, it is characterized in that, jumping to the operating system from current page described Before the configuration page, further includes:
Show the prompt information for prompting the operating right not open;
After detecting the operation for the prompt information, execution is described to jump to matching for the operating system from current page The step of setting the page.
4. the method according to claim 1, wherein the operational order is one of such as to give an order:
Dialing command reads address book contact list instruction and address book contact details edit instruction.
5. the method according to claim 1, wherein the operational order is dialing command;
It is described to determine the calling interface failure for calling the operational order, and failure cause is corresponding for the operational order Operating right be in illegal state after, show the priority assignation information of corresponding with operational order operating right, comprising:
After executing the dialing command by duration reach the first preset duration after, if call interface is still inactive, Then show the priority assignation information for making a phone call permission corresponding with the dialing command;
Or
After receiving the interface malloc failure malloc result that the operating system returns, show corresponding with the dialing command Make a phone call the priority assignation information of permission.
6. the method according to claim 1, wherein the operational order is to read address book contact list to refer to It enables;
It is described to determine the calling interface failure for calling the operational order, and failure cause is corresponding for the operational order Operating right be in illegal state after, show the priority assignation information of corresponding with operational order operating right, comprising:
When returning the result for sky or when being default abnormal results for the operating system, display and the reading address book contact List instructs the priority assignation information of corresponding contacts list reading permission.
7. according to the method described in claim 6, it is characterized in that, in the display and the reading address book contact list After instructing corresponding contacts list to read the priority assignation information of permission, the method also includes:
Every the second preset duration, the reading address book contact list instruction is repeated, up to running succeeded or again Until executing after preset times again.
8. the method according to claim 1, wherein the operational order is contact details edit instruction;
It is described to determine the calling interface failure for calling the operational order, and failure cause is corresponding for the operational order Operating right be in illegal state after, show the priority assignation information of corresponding with operational order operating right, comprising:
When the return value of the operating system is numerical value or return preset characters string less than or equal to 0, show and described It is the priority assignation information of the corresponding contact information modification authority of people's details edit instruction;
Or
It is executing in the third preset duration after the contact details edit instruction, is not receiving the feedback knot of the operating system Fruit then shows the priority assignation information of contact information modification authority corresponding with the contact details edit instruction.
9. according to the method described in claim 8, it is characterized in that, in the display and the contact details edit instruction pair After the priority assignation information for the contact information modification authority answered, the method also includes:
Every the 4th preset duration, the contact details edit instruction is repeated, until running succeeded or repeating Until after preset times.
10. a kind of address list permission opening device, which is characterized in that be located at client, comprising:
Operational order execution module, for passing through calling institute after receiving for the operational order of the address list of operating system The calling interface for stating operational order, executes the operational order, and the calling interface operating system provides;
Information display module, for determining the calling interface for calling operational order failure, and failure cause is institute It states after the corresponding operating right of operational order is in illegal state, shows the permission of operating right corresponding with the operational order Setting information carries out unlatching setting to the operating right for prompting.
CN201711449330.9A 2017-12-27 2017-12-27 Address book permission opening method and device and electronic equipment Active CN109981873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711449330.9A CN109981873B (en) 2017-12-27 2017-12-27 Address book permission opening method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711449330.9A CN109981873B (en) 2017-12-27 2017-12-27 Address book permission opening method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109981873A true CN109981873A (en) 2019-07-05
CN109981873B CN109981873B (en) 2021-01-12

Family

ID=67071211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711449330.9A Active CN109981873B (en) 2017-12-27 2017-12-27 Address book permission opening method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109981873B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338542A (en) * 2020-02-19 2020-06-26 北京字节跳动网络技术有限公司 Shortcut generation method and device and computer readable storage medium
CN111556195A (en) * 2020-04-22 2020-08-18 浙江大搜车软件技术有限公司 Permission changing method and device for application program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663320A (en) * 2012-04-12 2012-09-12 福建联迪商用设备有限公司 Method for terminal identification developers and dividing developers with different permissions
CN105354489A (en) * 2015-10-29 2016-02-24 小米科技有限责任公司 Right granting method and apparatus
CN106778117A (en) * 2016-09-18 2017-05-31 腾讯科技(深圳)有限公司 Authority open method, apparatus and system
CN106874748A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 A kind of method and apparatus that user data is provided
CN106886692A (en) * 2017-03-23 2017-06-23 北京金山安全软件有限公司 Application program using method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663320A (en) * 2012-04-12 2012-09-12 福建联迪商用设备有限公司 Method for terminal identification developers and dividing developers with different permissions
CN105354489A (en) * 2015-10-29 2016-02-24 小米科技有限责任公司 Right granting method and apparatus
CN106874748A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 A kind of method and apparatus that user data is provided
CN106778117A (en) * 2016-09-18 2017-05-31 腾讯科技(深圳)有限公司 Authority open method, apparatus and system
CN106886692A (en) * 2017-03-23 2017-06-23 北京金山安全软件有限公司 Application program using method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338542A (en) * 2020-02-19 2020-06-26 北京字节跳动网络技术有限公司 Shortcut generation method and device and computer readable storage medium
CN111556195A (en) * 2020-04-22 2020-08-18 浙江大搜车软件技术有限公司 Permission changing method and device for application program

Also Published As

Publication number Publication date
CN109981873B (en) 2021-01-12

Similar Documents

Publication Publication Date Title
USRE49459E1 (en) Apparatus and method for configuring password and for releasing lock
CN106843655B (en) A kind of information display method and electronic equipment
CN104049848A (en) Application prompting method and device, client side and electronic device
CN104318185B (en) A kind of application control method, equipment and mobile terminal
CN107329659B (en) Permission setting method and device, electronic equipment and storage medium
CN106886331B (en) Data processing method and device of touch terminal and touch terminal
CN107483704A (en) A kind of private space method to set up and terminal device
CN107741902A (en) Program application detection method and program application detection means
CN109672908A (en) A kind of method for protecting privacy, device and mobile terminal
CN107743164A (en) A kind of exception falls the processing method and terminal of card
CN107370872A (en) Method, terminal and the control device of a kind of terminal lock machine and control terminal lock machine
CN109981873A (en) A kind of address list permission open method, device and electronic equipment
CN106503506B (en) A kind of information display method and electronic equipment
CN112800401B (en) Privacy processing method, privacy processing device and terminal
CN106293334B (en) A kind of message prompt method and mobile terminal
US20150212659A1 (en) Multi-Persona Launcher
CN107894907A (en) A kind of operating mode control method of terminal, terminal and computer-readable medium
US20190057614A1 (en) A method and system for controlling a test environment on a mobile device
CN107391987A (en) Application guard method, device and electronic equipment based on living things feature recognition
CN109976828A (en) A kind of method and device of configuration file
CN106933666B (en) Method for calling information input program and electronic equipment
CN110020264A (en) A kind of determination method and device of broken hyperlink
CN108490824A (en) intelligent electric appliance control method, device and mobile terminal
CN105183313B (en) A kind of user terminal control method and user terminal
CN105005479B (en) A kind of alarm clock method for closing and smartwatch

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