Embodiment
Below in conjunction with the attached drawing in this specification embodiment, the technical solution in this specification embodiment is carried out clear
Chu, be fully described by, it is clear that described embodiment is only this specification part of the embodiment, rather than whole implementation
Example.Based on the embodiment in this specification, those of ordinary skill in the art are obtained without creative efforts
Every other embodiment, should all belong to this specification protection scope.
Also referring to Fig. 1, Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6, Fig. 7 and Fig. 8.This specification embodiment provides a kind of data
Processing system.
In the present embodiment, the data handling system can include terminal device.The terminal device can have aobvious
Show function.Specifically, the terminal device can include smart mobile phone, Flat electronic equipment, network machine top box, portable computing
Machine, desktop computer, personal digital assistant (PDA), mobile unit, intelligent wearable device etc..Wherein, the intelligent wearable device can
With including intelligent glasses, intelligent watch, Intelligent bracelet etc..
The terminal device can run operating system (Operating System, OS).The operating system can be with
In order to control with management hardware and software resource computer program.Specifically, the operating system can include Android operation system
System (operating system of Google's exploitation), IOS operating system (operating system of Apple Inc.'s exploitation), Windows operations system
System (operating system of Microsoft's exploitation).Certainly, the operating system can also include further based on aforesaid operations system
Optimization, the operating system of customized treatment.For example, the MIUI operating systems (mobile phone that millet company is developed based on Android operation system
Operating system), EMUI operating systems (mobile phone operating system that Huawei Company is developed based on Android operation system) etc..
Application program can have been run in the operating system.The operating system can carry out the authority of application program
Management.The authority of application program can include common authority (Normal Permissions) and sensitive permission (Dangerous
Permissions).Common authority is such as can include vibrations, access network.Common authority is not related to privacy of user usually.
Common authority is authorized when application program is installed, and is not usually required to user and is authorized.Sensitive permission can for example include
Call camera, reading position information, allow message informing etc..Sensitive permission is usually directed to privacy of user.Sensitive permission is usual
User is needed to be authorized.Specifically, operating system can provide the permission configuration interface of application program, and user can be in authority
Interface is set to carry out Authorized operation to one or more sensitive permissions of application program or cancel Authorized operation.Should for different
With program, the permission configuration interface that operating system provides can be identical or different.In an embodiment of the present embodiment,
Under certain situation, during development and application program, in order to shorten the development time, simplify development process, developer can be with
The Software Development Kit (Software Development Kit, SDK) with certain that will have been developed, it is embedded
Into application program, in this way, the application program in the operating system can be embedded with Software Development Kit.
In the present embodiment, the data handling system can also include server.The server can be a clothes
Business device, can also be the server cluster for including multiple servers.The server can for example include Alipay server, micro-
Telecommunications services device, ant wealth server, Jingdone district server etc..
The server can communicate with the terminal device.Can be between the server and the terminal device
Communicated using any suitable procotol, be included in the procotol that this document submitting day is not yet developed.The net
Network agreement is such as can include ICP/IP protocol, UDP/IP agreements, http protocol, HTTPS agreements.Certainly, the network association
View be for example additionally may included in used on above-mentioned agreement RPC agreements (Remote Procedure Call Protocol, far
Journey invocation of procedure agreement), REST agreements (Representational State Transfer, declarative state transfer protocol)
Deng.
In the present embodiment, the terminal device can run the application program in operating system and then provide business circle
Face.The application program is such as can include Alipay, wechat, ant wealth, Jingdone district cell-phone customer terminal.Specifically, operate
Application program in system after operation, can be given tacit consent to and provide the business interface.Alternatively, the application program in operating system exists
After operation, the first triggering command in response to providing business interface, can provide the business interface.The first triggering command
Can detect any combination of one or more buttons, be pressed, click on, double-click or streak and is caused.It is described to press
Key can include physical button and control etc..
The business interface can be used for showing business datum, and the business datum can for example include order data, branch
Pay data, commodity data etc..The business interface can have one or more controls, and the control can include button control
Part, Image control, Input, input frame control etc..Part or all of control in the business interface can be corresponding with
Scene identity, the scene identity can be used for identification service scene.The scene identity specifically can include service identification and
Capability identification.The service identification can be used for the business that identification service scene is related to.The capability identification can be used for marking
Know the authority that business scenario needs to use.The authority that the capability identification is identified can be equity stock limit or sensitive permission.
Wherein, the scene identity can be spliced to obtain by service identification and capability identification.Certainly, the scene identity is also based on
Other manner obtains.For example, service identification and capability identification can be encoded and then obtain the scene identity.
For example, the business interface, which can have to sweep, sweeps button control.Described sweep sweeps button control and can be corresponding with
Scene identity Pay_Camera, the scene identity Pay_Camera can be used for mark and sweep to sweep business scenario.The scene
Service identification Pay and capability identification Camera can be included by identifying Pay_Camera, and the service identification Pay can be used for identifying
Barcode scanning payment transaction, the capability identification Camera, which can be used for identifying sweeping, sweeps the calling shooting that business scenario needs use
Head authority.
As a further example, the business interface can have activity to remind button control.The activity reminds button control can
It can be used for mark activity to be corresponding with scene identity Push_Notifaction, the scene identity Push_Notifaction
Reminding business scene.The scene identity Push_Notifaction can include service identification Push and capability identification
Notifaction, the service identification Push can be used for identifying message push business, the capability identification Notifaction
It can be used for the permission message informing authority that mark activity reminding business scene needs use.
In the present embodiment, whether the control that the terminal device can be detected in business interface is clicked, is double-clicked, being pressed
More than the scheduled time (or being long-press) or streak and then produce the second triggering command;The second triggering command can be obtained to be directed to
The corresponding scene identity of control;The scene identity of acquisition can be parsed, obtains capability identification;It can detect whether application program has
The authority that standby capability identification is identified;If it is not, the facility information of itself can be sent to server.Wherein, application journey here
Sequence can be to be previously used for the application program at offer business interface.
Specifically, application program can produce the second triggering command;The second triggering command can be obtained to correspond to for control
Scene identity;The scene identity of acquisition can be parsed, obtains capability identification;The application identities and authority mark of itself can be used
Know, the authority detection method in call operation system, to detect the authority for itself whether possessing capability identification and being identified;If it is not,
With the equipment information acquiring method in call operation system, the facility information of terminal device can be obtained;It can be sent to server
The facility information of acquisition.Wherein,
The application identities can be used for identification application, such as can be the bag name of application program
(PackageName) etc..
The authority detection method can include authority detection function.Operated for example, the operating system can be Android
System, the authority detection function in Android operation system can be AppOpsManager.checkOpThrow.
After AppOpsManager.checkOpThrow is called, Android operation system can be from the application rights management device of itself
Whether the application program that inquiry application identities are identified possesses the authority that capability identification is identified;If so, can be to application program
Return to AppOpsManager.Mode_Allowed;If it is not, AppOpsManager.Mode_ can be returned to application program
Ignore。
The facility information can include identification of the manufacturer, unit type mark and operating system version mark in one or
It is multiple.The identification of the manufacturer can be used for the production firm for identifying terminal device, such as can include HW (manufacturer of Huawei), MI
(millet manufacturer), Apple (apple manufacturer) etc..The unit type mark can be used for the model for identifying terminal device, such as
It can include PE_TL10 (model of the Mobile phone of Huawei Company's production) etc..The operating system version mark can be used for
Identify the version of operating system, for example, can include MIUI9.0 one version of operating system (millet company develop),
EMUI3.0 (Huawei Company develops a version of operating system) etc..Certainly, the facility information can also include other numbers
According to the present embodiment is to this and is not specifically limited.
The equipment information acquiring method can include apparatus information acquiring function.For example, the operating system can be
Android operation system, the apparatus information acquiring function can include identification of the manufacturer and obtain function getDeviceBrand, equipment
Model identification obtains function getSystemModel, operating system version obtains function getSystemVersion etc..
In the present embodiment, the operating system run on different terminal equipment may be different, applied in different operating system
The path of the permission configuration interface of program may be different.For example, ant wealth is on Huawei's smart mobile phone and millet smart mobile phone
The path of permission configuration interface is different.For the ease of according to facility information, it is suitable for redirecting to be issued to terminal device
To the interface identification of permission configuration interface, the server can provide the correspondence of facility information and interface identification.Wherein,
The interface identification can be used for the permission configuration interface of identification application.Specifically, for example, the interface identification can be
Chained address based on URL Scheme protocol realizations.For example, the correspondence of facility information and interface identification can include factory
The combination of one or more of trade mark knowledge, unit type mark and operating system version mark, and the corresponding pass of interface identification
System.For example, the server can provide the correspondence of HW, PE_TL10, EMUI3.0 jointly with interface identification IDA;Can be with
MI, NOTE3, MIUI9.0 correspondence with interface identification IDB jointly are provided.
In this way, the facility information that the server can be sent with receiving terminal apparatus;It can be based on facility information and interface
The correspondence of mark, obtains the corresponding interface identification of facility information of reception;The interface obtained can be sent to terminal device
Mark.
In the present embodiment, the terminal device can receive the interface identification that server is sent;It can show and be based on connecing
The guiding interface of the interface identification generation of receipts;Refer in response to the 3rd triggering for allowing to open authority received at guiding interface
Order, can enter the permission configuration interface that interface identification is identified.
Specifically, unified guide template can be embedded with application program.In this way, application program can receive server
The interface identification sent;Guide template can be obtained from local;Can be by interface identification insertion from the guide template locally obtained
It is interior, obtain guiding interface;It can show guiding interface.Wherein, application program here can be to be previously used for offer business circle
The application program in face.In this way, guide template may not necessarily be transmitted between terminal device and server, set so as to reduce terminal
The standby amount of communication data between server.
Specifically, the guiding interface can have the first control, and first control can be button control or image
Control etc..First control can be corresponding with interface identification, for producing the 3rd triggering command for allowing to open authority.Using
Whether program, which can detect the first control and be clicked, double-clicked, press for more than the scheduled time or streaked and then produce the 3rd triggering, refers to
Order;In response to the 3rd triggering command, the corresponding interface identification of the first control can be obtained;Interface identification can be jumped to be identified
Permission configuration interface.Wherein, application program here can be to be previously used for the application program at offer business interface.Certainly,
Application program can also use other modes to produce the 3rd triggering command, and the present embodiment is to this and is not specifically limited.
In the present embodiment, the terminal device in response to received in permission configuration interface open target authority
Five triggering commands, can open the target authority of application program;Should in response to the front stage operation received in permission configuration interface
With the 6th triggering command of program, the corresponding function of control can be performed.Wherein, goal authority can be aforementioned field scape
The authority that capability identification in mark is identified;Here application program can be to be previously used for the application journey at offer business interface
Sequence.
Permission configuration interface can be that the operating system in terminal device provides.Permission configuration interface can have one
Or multiple controls, each control can correspond to an authority.Whether operating system can detect control in permission configuration interface
Clicked, double-clicked, press for more than the scheduled time or streaked and then produce the triggering command for opening authority corresponding to the control.When
So, operating system can also use other modes to produce the triggering command for opening authority, and the present embodiment does not do this specifically
Limit.For example, one in interface can be set with corresponding authority with preset one or more gestures, each gesture in operating system
A authority.Operating system can produce the triggering command for opening authority corresponding to the gesture when recognizing gesture.
Application program can be in front stage operation, can also be in running background.Application program is in front stage operation, terminal device
Display screen in can show the interface of application program.Application program is in running background, the display screen of terminal device
The interior interface for not showing application program usually;At this time, application program is usually run in the explorer of operating system, and is accounted for
Use system resource.In the present embodiment, in view of permission configuration interface is typically what operating system provided, terminal device is by guiding
After interface access entitlements set interface, application program is usually changed in running background in front stage operation.User sets in authority
Put after interface opens target authority, trigger action can be carried out so that application program is changed to transport on foreground in running background
OK.Specifically, permission configuration interface can include returning to control, and it can be button control or Image control etc. to return to control.Behaviour
Making system can detect whether return control is clicked, double-clicked, press for more than the scheduled time or streaked and then produce front stage operation
6th triggering command of application program.Certainly, operating system can also use other modes to produce the 6th triggering command, this reality
Example is applied to this and is not specifically limited.
In an embodiment of the present embodiment, the terminal device is detecting that application program possesses capability identification institute
During the authority of mark, it can also carry out the second triggering command and be directed to the corresponding function of control.Second triggering command is directed to control pair
The function of answering such as can include sweep sweep function, allow push action message function.
Specifically, application program can produce the second triggering command;The second triggering command can be obtained to correspond to for control
Scene identity;The scene identity of acquisition can be parsed, obtains capability identification;The application identities and authority mark of itself can be used
Know, the authority detection method in call operation system, to detect the authority for itself whether possessing capability identification and being identified;If so,
The second triggering command can be performed and be directed to the corresponding function of control.
In an embodiment of the present embodiment, in order to enable terminal device to be shown not based on different business scenarios
Same guiding interface, to improve user experience, the server can also provide the correspondence of service identification and guide template.
Each guide template can correspond to one or more service identifications, and each service identification can correspond to a guide template.It is described
Guide template, which can have, is used to prompting the prompt message that authority is opened required for user, prompt message can be word, sound,
Image, video or its any combination etc..The guide template can be used for generation guiding interface.The guiding interface can be used for
Guiding user opens the authority of application program.
In the present embodiment, the terminal device is detecting that application program do not possess the authority that capability identification is identified
When, scene identity can also be sent to server.Wherein, scene identity here can be foregoing second triggering command for control
The corresponding scene identity of part.
The scene identity that the server can be sent with receiving terminal apparatus;The scene identity of reception can be parsed, is obtained
Service identification;Correspondence that can be based on service identification and guide template, obtains the corresponding guide template of service identification;Can be with
The guide template obtained is sent to terminal device.
The terminal device can receive the guide template that server is sent;Interface identification can be embedded in and come from server
Guide template in, obtain guiding interface;It can show guiding interface.In this way, terminal device can be according to based on different industry
The different guiding interface of scene display of being engaged in, improves user experience.Specifically, application program can receive the guiding that server is sent
Template;In guide template of the interface identification insertion from server, guiding interface can will be obtained;It can show guiding interface.
In an embodiment of the present embodiment, the terminal device is opened in response to the refusal received at guiding interface
4th triggering command of logical authority, can also show prompt message.Specifically, the guiding interface can also have the second control
Part.Second control can be button control or Image control etc..Second control can be used for generation refusal and open power
4th triggering command of limit.Application program can also detect the second control whether clicked, double-clicked, press for more than the scheduled time,
Or streak and then produce the 4th triggering command;In response to the 4th triggering command, prompt message can be shown, prompt message can be
Word, sound, image, video or its any combination etc., prompt message for example can be that text information " it is open-minded to detect that you refuse
Camera authority.You can not use sweep sweep function ".
Also referring to Fig. 1, Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6, Fig. 7 and Fig. 8.The one of this specification embodiment introduced below
A Sample Scenario.
In this Sample Scenario, the terminal device can be smart mobile phone.The smart mobile phone can have been run
EMUI3.0 operating systems.Ant wealth application program can have been run in the EMUI3.0 operating systems.The server can
Think ant wealth server.
In this Sample Scenario, the smart mobile phone can run ant wealth application program and then provide business interface.
The business interface, which can have to sweep, sweeps button control.Described sweep sweeps button control and can be corresponding with scene identity Pay_
Camera, the scene identity Pay_Camera can be used for mark and sweep to sweep business scenario.The scene identity Pay_
Camera can include service identification Pay and capability identification Camera, the service identification Pay can be used for mark barcode scanning and pay
Business, the capability identification Camera can be used for identifying to sweep sweeping the calling camera authority that business scenario needs use.
In this Sample Scenario, the smart mobile phone sweeps button control and is clicked, double-clicks, presses for more than detecting to sweep
Scheduled time or after streaking, triggering command can be produced;In response to the triggering command, it can obtain to sweep and sweep button control
Corresponding scene identity Pay_Camera;Scene identity Pay_Camera can be parsed, obtains capability identification Camera;It can examine
Survey whether ant wealth application program possesses calling camera authority;Sweep that button control is corresponding to be swept if so, can perform to sweep
Sweep function;If it is not, operating system version mark EMUI3.0 and scene identity Pay_ can be sent to ant wealth server
Camera, in order to guide user to open the calling camera authority of ant wealth application program.
In this Sample Scenario, ant wealth server can provide operating system version mark EMUI3.0 and interface mark
Know the correspondence of IDA;The correspondence of service identification Pay and guide template TA can be provided.In this way, ant wealth server
The operating system version mark EMUI3.0 and scene identity Pay_Camera that smart mobile phone is sent can be received;Behaviour can be obtained
Make the corresponding interface identification IDA of system version mark EMUI3.0;Scene identity Pay_Camera can be parsed, obtains business mark
Know Pay;The corresponding guide template TA of service identification Pay can be obtained;Interface identification IDA and guiding can be returned to smart mobile phone
Template TA.
In this Sample Scenario, smart mobile phone can receive interface identification IDA and the guiding that ant wealth server is sent
Template TA;It can show the guiding interface based on interface identification IDA and guide template TA generations;In response to being connect at the guiding interface
The received triggering command for allowing to open authority, can enter the permission configuration interface that interface identification IDA is identified;Alternatively, ring
The refusal that Ying Yu is received at the guiding interface opens the triggering command of authority, can show text prompt information " your camera
Better function picture be not turned on Oh~".
In this Sample Scenario, smart mobile phone calls camera authority in response to opening for being received in permission configuration interface
Triggering command, the calling camera authority of ant wealth application program can be opened;In response to being received in permission configuration interface
The triggering command of the front stage operation ant wealth application program arrived, can perform to sweep and sweep corresponding sweep of button control and sweep work(
Energy.
Refer to Fig. 9.This specification embodiment provides a kind of data processing method.The data processing method is set with terminal
Standby is executive agent, be may comprise steps of.
Step S10:In response to the triggering command for control in business interface, the corresponding scene mark of the control is obtained
Know.
In the present embodiment, the business interface can be that the application program in the terminal device provides, for
Show business datum.The business datum is such as can include order data, payment data, commodity data.Business circle
Face can have one or more controls, and the control can include button control, Image control, Input, input frame
Control etc..Part or all of control in the business interface can be corresponding with scene identity, and the scene identity can be used for
Identification service scene.The scene identity can specifically include service identification and capability identification.The service identification can be used for
The business that identification service scene is related to.The capability identification can be used for the authority that identification service scene needs use.
In the present embodiment, the application program in the terminal device can detect control in business interface whether coverlet
Hit, double-click, press for more than the scheduled time or streaking and then produce triggering command;In response to the triggering command, institute can be obtained
State triggering command and be directed to the corresponding scene identity of control.
Step S12:Whether detection application program possesses the authority that the capability identification is identified.
In the present embodiment, the application program in the terminal device can parse scene identity, obtain capability identification;Can
To detect the authority for itself whether possessing capability identification and being identified.Wherein, application program here can be to be previously used for providing
The application program at business interface.
Step S14:If it is not, to server sending device information.
In the present embodiment, if it is not, the equipment that the application program in the terminal device can obtain the terminal device
Information;The facility information can be sent to server.The facility information includes identification of the manufacturer, model identification and operating system
One or more of version identifier.In an embodiment of the present embodiment, if it is not, the application journey in the terminal device
Sequence can also send the scene identity to server.
In an embodiment of the present embodiment, if so, the application program in the terminal device can also carry out control
The corresponding function of part.Wherein, control here can be the control that foregoing triggering command is directed to.
In the present embodiment, the terminal device can be obtained in response to the triggering command for control in business interface
The corresponding scene identity of the control, the scene identity can include capability identification;It can detect whether application program possesses
The authority that the capability identification is identified;If it is not, can be to server sending device information.In this way, the terminal device is being examined
When measuring application program and not possessing the authority needed for current business scene, the facility information of itself can be sent to server, with
Easy to receive for jumping to the interface identification of permission configuration interface, so as to guide user to open needed for current business scene
Authority.
Please refer to Fig.1 0.This specification embodiment also provides another data processing method.The data processing method with
Terminal device is executive agent, be may comprise steps of.
Step S20:Receive the interface identification that server is sent.
In the present embodiment, the interface identification can be used for the permission configuration interface of identification application.Specifically, example
Such as, the interface identification can be the chained address based on URL Scheme protocol realizations.
In the present embodiment, the application program in the terminal device can be to server sending device information, Ke Yijie
Receive the interface identification corresponding with the facility information that server is sent.
Step S22:Show the guiding interface based on interface identification generation.
In the present embodiment, the application program in the terminal device can obtain guide template;It can be based on described draw
Guided mode plate and interface identification generation guiding interface;It can show guiding interface.The guide template, which can have, to be used to carry
Show the prompt message that authority is opened required for user, prompt message can be word, sound, image, video or its any combination
Deng.The guide template can be used for generation guiding interface.The guiding interface can be used for guiding user to open application program
Authority.
In an embodiment of the present embodiment, the application program in the terminal device can be embedded with unified draw
Guided mode plate.In this way, the application program in the terminal device can obtain guide template from local.In this way, terminal device and clothes
Guide template may not necessarily be transmitted between business device, so as to reduce the amount of communication data between terminal device and server.
In the another embodiment of the present embodiment, the application program in the terminal device can be sent to server
Scene identity;Can receive that server sends with the corresponding guide template of service identification in scene identity.In this way, terminal is set
It is standby to improve user experience according to different guiding interfaces is shown based on different business scenarios.On the detailed of scene identity
Thin introduce may refer to previous embodiment, and details are not described herein.
Step S24:In response to the triggering command for allowing to open authority, access entitlements set interface.
In the present embodiment, the guiding interface can have the first control.First control can be corresponding with described
Interface identification, for producing the triggering command for allowing to open authority.In this way, the application program in the terminal device can detect
Whether the first control clicked, double-clicked, press for more than the scheduled time or streaking and then producing allows the triggering for opening authority to refer to
Order;In response to the triggering command for allowing to open authority;The permission configuration interface that the interface identification is identified can be entered.
Step S26:Triggering command in response to opening target authority, opens the target authority of the application.
In the present embodiment, the authority that the target authority can be identified by the capability identification in scene identity.
In the present embodiment, the terminal device can run operating system.Permission configuration interface can be the behaviour
System offer is provided.Permission configuration interface can have one or more controls, and each control can correspond to an authority.It is described
Whether the control that operating system can be detected in permission configuration interface clicked, double-clicked, press for more than the scheduled time or streak into
And produce the triggering command for opening authority corresponding to the control.Certainly, the operating system can also use other modes to produce
The raw triggering command for opening authority, the present embodiment is to this and is not specifically limited.For example, can be with preset one in the operating system
A or multiple gestures, each gesture can set an authority in interface with corresponding authority.The operating system is in one's hands in identification
During gesture, the triggering command for opening authority corresponding to the gesture can be produced.
Step S28:In response to the triggering command of application program described in front stage operation, control in the application program is performed
Function.
In the present embodiment, the application program in the terminal device can be in front stage operation, can also be in running background.
Application program can show the interface of application program in front stage operation in the display screen of terminal device.Application program exists
During running background, the interface of application program is not shown in the display screen of terminal device usually;At this time, application program is usually being grasped
Make operation in the explorer of system, and occupying system resources.In the present embodiment, in view of permission configuration interface is typically to grasp
Make system offer, terminal device after by guiding interface access entitlements to set interface, in front stage operation change by application program
For in running background.User can carry out trigger action so that application program after permission configuration interface opens target authority
It is changed in running background in front stage operation.Specifically, permission configuration interface can include returning to control, and returning to control can be
Button control or Image control etc..Operating system, which can detect, returns to whether control is clicked, double-clicked, pressing for more than pre- timing
Between or streak and then produce the triggering command of front stage operation application program.Certainly, operating system can also use other modes
The triggering command of front stage operation application program is produced, the present embodiment is to this and is not specifically limited.
In an embodiment of the present embodiment, the guiding interface can also have the second control.Second control
Part can be used for producing the triggering command that refusal opens authority.Specifically, the application program in the terminal device can detect
The triggering for refusing to open authority is clicked, double-clicked, presses for more than the scheduled time or streaked and then produce to the second control whether to be referred to
Order;The triggering command of authority is opened in response to refusal, can show prompt message.Prompt message can be word, sound, figure
Picture, video or its any combination etc., prompt message for example can be that text information " detect that you refuse to open camera authority.
You can not use sweep sweep function ".
In the present embodiment, the terminal device can receive the interface identification that server is sent;It can show based on institute
State the guiding interface of interface identification generation;In response to the triggering command for allowing to open authority, interface can be set with access entitlements;Ring
In the triggering command for opening target authority, the target authority of the application should can be opened;In response to being applied described in front stage operation
The triggering command of program, can perform the function of control in the application program.In this way, the terminal device can receive service
The interface identification that device is sent;Permission configuration interface can voluntarily be jumped to based on interface identification;Easy to user in priority assignation circle
The authority of application program is opened in face, so as to simplify user's operation, improves user experience.
Please refer to Fig.1 1.This specification embodiment also provides another data processing method.The data processing method with
Server is executive agent, be may comprise steps of.
Step S30:The correspondence of facility information and interface identification is provided.
In the present embodiment, the facility information can include identification of the manufacturer, unit type mark and operating system version
One or more of mark.The interface identification can be used for the permission configuration interface of identification application.Specifically, example
Such as, the interface identification can be the chained address based on URL Scheme protocol realizations.For example, the facility information and interface
The correspondence of mark can include one or more of identification of the manufacturer, unit type mark and operating system version mark
Combination, and the correspondence of interface identification.Certainly, the facility information can also include other data, and the present embodiment is to this
And it is not specifically limited.
In the present embodiment, developer can with acquisition applications program one or more terminal devices interface identification;
Can be between the interface identification in the terminal device of facility information and the application program of server settings terminal device
Correspondence.
Step S32:The facility information that receiving terminal apparatus is sent.
In the present embodiment, the terminal device can send the facility information of itself to server, and the server can
The facility information sent with receiving terminal apparatus.
Step S34:Correspondence based on facility information and interface identification, obtains the corresponding interface of facility information of reception
Mark.
Step S36:The interface identification obtained is sent to terminal device.
In an embodiment of the present embodiment, the server can also provide default interface mark.The acquiescence
Interface identification can be used for permission configuration interface of the identification application in ordinary majority terminal device.In this way, the service
Device can be when not getting the corresponding interface identification of receiving device information, it is believed that the default interface mark and receives
Facility information has correspondence;The default interface mark can be obtained;The default interface can be sent to terminal device
Mark.
In an embodiment of the present embodiment, the server can also provide pair of service identification and guide template
It should be related to.The service identification can be used for the business that identification service scene is related to.The guide template, which can have, to be used for
The prompt message of authority is opened required for prompting user, prompt message can be word, sound, image, video or its any group
Close etc..The guide template can be used for generation guiding interface.The guiding interface can be used for guiding user to open using journey
The authority of sequence.In this way, the scene identity that the server can be sent with receiving terminal apparatus;It can be based on service identification and guiding
The correspondence of template, obtains the corresponding guide template of service identification of reception;The guiding obtained can be sent to terminal device
Template.
In the present embodiment, the server can provide the correspondence of facility information and interface identification;It can receive
The facility information that terminal device is sent;Correspondence that can be based on facility information and interface identification, obtains the equipment letter of reception
Cease corresponding interface identification;The interface identification obtained can be sent to terminal device.In this way, server can be according to terminal device
The facility information sent, the interface identification for being suitable for the terminal device is issued to terminal device so that terminal device can be voluntarily
The permission configuration interface that interface identification is identified is jumped to, opens the authority of application program in permission configuration interface easy to user,
So as to simplify user's operation, user experience is improved.
Please refer to Fig.1 2.This specification embodiment also provides a kind of data processing equipment, and the data processing equipment can be with
Including acquiring unit 40, detection unit 42 and transmitting element 44.Wherein,
Acquiring unit 40, in response to the triggering command for control in business interface, it is corresponding to obtain the control
Scene identity;Wherein, the scene identity includes capability identification;
Detection unit 42, the authority for whether possessing the capability identification for detecting application program and being identified;
Transmitting element 44, for if it is not, to server sending device information.
Please refer to Fig.1 3.This specification embodiment also provides another data processing equipment, and the data processing equipment can
With including receiving unit 50, display unit 52, into unit 54, open unit 56 and execution unit 58.Wherein,
Receiving unit 50, the interface identification sent for receiving server;Wherein, the interface identification is used to identify and applies
The permission configuration interface of program;
Display unit 52, for showing the guiding interface based on interface identification generation;
Into unit 54, for the triggering command in response to allowing to open authority, into the permission configuration interface;
Unit 56 is opened, for the triggering command in response to opening target authority, the target for opening the application program is weighed
Limit;
Execution unit 58, for the triggering command in response to application program described in front stage operation, performs the application program
The function of middle control.
Please refer to Fig.1 4.This specification embodiment also provides another data processing equipment, and the data processing equipment can
With including providing unit 60, receiving unit 62, acquiring unit 64 and transmitting element 66.Wherein,
Unit 60 is provided, for providing the correspondence of facility information and interface identification;Wherein, the interface identification is used for
The permission configuration interface of identification application;
Receiving unit 62, the facility information sent for receiving terminal apparatus;
Acquiring unit 64, for the correspondence based on facility information and interface identification, obtains the facility information pair of reception
The interface identification answered;
Transmitting element 66, for sending the interface identification obtained to terminal device.
Please refer to Fig.1 5.This specification embodiment also provides a kind of terminal device.The terminal device can include display
Component, processor and communication component.
In the present embodiment, the display module includes but not limited to liquid crystal (Liquid Crystal Display, LCD)
Display, cathode-ray tube (Cathode Ray Tube, CRT) display and light emitting diode (Light Emitting
Diode, LED) display etc..Specifically, the display module may be used to provide business interface.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example
Such as microprocessor or processor and storage can by (micro-) processor perform computer readable program code (such as software or
Firmware) computer-readable medium, logic gate, switch, application-specific integrated circuit (Application Specific
Integrated Circuit, ASIC), form of programmable logic controller (PLC) and embedded microcontroller etc..Specifically, it is described
Processor, can be used for, in response to the triggering command for control in business interface, obtaining the corresponding scene identity of the control;
Wherein, the scene identity includes capability identification;Whether detection application program possesses the authority that the capability identification is identified.
In the present embodiment, the communication component includes but not limited to wired network adapter, wireless network card, bluetooth module, infrared
Transceiver module, ultra-wideband communications module and ZigBee protocol communication module etc..Specifically, if the communication component can be used for
It is no, to server sending device information.
Please refer to Fig.1 5.This specification embodiment also provides another terminal device.The terminal device can include aobvious
Show component, processor and communication component.
In the present embodiment, the communication component includes but not limited to wired network adapter, wireless network card, bluetooth module, infrared
Transceiver module, ultra-wideband communications module and ZigBee protocol communication module etc..Specifically, the communication component can be used for connecing
Receive the interface identification that server is sent;Wherein, the interface identification is used for the permission configuration interface of identification application.
In the present embodiment, the display module includes but not limited to liquid crystal (Liquid Crystal Display, LCD)
Display, cathode-ray tube (Cathode Ray Tube, CRT) display and light emitting diode (Light Emitting
Diode, LED) display etc..Specifically, the display module can be used for guiding of the displaying based on interface identification generation
Interface;Show the permission configuration interface.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example
Such as microprocessor or processor and storage can by (micro-) processor perform computer readable program code (such as software or
Firmware) computer-readable medium, logic gate, switch, application-specific integrated circuit (Application Specific
Integrated Circuit, ASIC), form of programmable logic controller (PLC) and embedded microcontroller etc..Specifically, it is described
Processor can be used for the triggering command in response to allowing to open authority, and Control Items show the permission configuration interface;
Triggering command in response to opening target authority, opens the target authority of the application program;In response to being answered described in front stage operation
With the triggering command of program, the function of control in the application program is performed.
Please refer to Fig.1 6.This specification embodiment also provides a kind of server.The server can include communication component
And processor.
In the present embodiment, the communication component includes but not limited to wired network adapter, wireless network card, bluetooth module, infrared
Transceiver module, ultra-wideband communications module and ZigBee protocol communication module etc..Specifically, the communication component can be used for connecing
Receive the facility information that terminal device is sent;The interface identification obtained is sent to terminal device.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example
Such as microprocessor or processor and storage can by (micro-) processor perform computer readable program code (such as software or
Firmware) computer-readable medium, logic gate, switch, application-specific integrated circuit (Application Specific
Integrated Circuit, ASIC), form of programmable logic controller (PLC) and embedded microcontroller etc..Specifically, it is described
Processor may be used to provide the correspondence of facility information and interface identification;Wherein, the interface identification is used to identify and applies
The permission configuration interface of program;Correspondence based on facility information and interface identification, the facility information for obtaining reception are corresponding
Interface identification.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment it
Between identical/similar part mutually referring to what each embodiment stressed is the difference with other embodiments.
For data processing equipment embodiment, terminal device embodiment and server example, since it is substantially similar to
Data processing method embodiment, so description is fairly simple, related part is said referring to the part of data processing method embodiment
It is bright.
Further it will be understood that one of ordinary skill in the art may not need creation after this specification file is read
Property the work part or all of embodiment expecting in this specification file enumerating between can combine, these combinations are also in this explanation
In the range of book is disclosed and protected.
In the 1990s, the improvement for a technology can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And as the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Dedicated IC chip 2.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly
" logic compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development
Seemingly, and the source code before compiling also handy specific programming language is write, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art
It will be apparent to the skilled artisan that only need method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages
In, it is possible to it is readily available the hardware circuit for realizing the logical method flow.
System, device, module or the unit that above-described embodiment illustrates, can specifically be realized by computer chip or entity,
Or realized by having the function of certain product.
System, device, module or the unit that above-described embodiment illustrates, can specifically be realized by computer chip or entity,
Or realized by having the function of certain product.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
The mode of required general hardware platform can be added by software to realize.Based on such understanding, the technical solution of this specification
The part substantially to contribute in other words to the prior art can be embodied in the form of software product, the computer software
Product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a computer
Equipment (can be personal computer, server, either network equipment etc.) perform each embodiment of this specification or embodiment
Some parts described in method.
This specification can be used in numerous general or special purpose computing system environments or configuration.Such as:Personal computer,
Server computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor,
Set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer including any of the above system are set
Standby distributed computing environment etc..
This specification can be described in the general context of computer executable instructions, such as journey
Sequence module.Usually, program module include performing particular task or realize the routine of particular abstract data type, program, object,
Component, data structure etc..This specification can also be put into practice in a distributed computing environment, in these distributed computing environment
In, by performing task by communication network and connected remote processing devices.In a distributed computing environment, program module
It can be located in the local and remote computer-readable storage medium including storage device.
Although depicting this specification by embodiment, it will be appreciated by the skilled addressee that this specification has many changes
Shape and the spirit changed without departing from this specification, it is desirable to which appended claim includes these deformations and changes without departing from this
The spirit of specification.