CN106971099A - A kind of control method and device of program interface call authority - Google Patents

A kind of control method and device of program interface call authority Download PDF

Info

Publication number
CN106971099A
CN106971099A CN201611002471.1A CN201611002471A CN106971099A CN 106971099 A CN106971099 A CN 106971099A CN 201611002471 A CN201611002471 A CN 201611002471A CN 106971099 A CN106971099 A CN 106971099A
Authority
CN
China
Prior art keywords
dll
bag
main body
authority
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611002471.1A
Other languages
Chinese (zh)
Inventor
秦玮辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611002471.1A priority Critical patent/CN106971099A/en
Publication of CN106971099A publication Critical patent/CN106971099A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

This application discloses a kind of control method and device of program interface call authority, the default DLL bag for including at least two DLLs, support calling main body request is opened to call authority to DLL bag, so that calling main body conveniently calls each DLL in DLL bag, the batch for also achieving DLL assigns power.Utilize the embodiment of the present application, it is possible to achieve the server of open platform calls the simplification that control of authority is operated to numerous calling main bodies, saves server resource.

Description

A kind of control method and device of program interface call authority
Technical field
The application is related to areas of information technology, more particularly to a kind of control method and device of program interface call authority.
Background technology
In areas of information technology, the service of website is generally packaged into a series of calling main bodies (such as third-party application) easily The DLL of identification is opened away, so that calling main body is called.The platform for providing program interface call service is commonly referred to as " open platform ".For open platform, how flexibly and efficiently controls numerous calling main bodies to call authority to DLL, It is most important to the operation of itself.
In general, performing the control operation of program interface call authority by the server of open platform.Existing programming The control method of interface interchange authority is first to register corresponding user on the server of open platform by each calling main body to mark Know, then by demand of the server according to the calling main body, user's mark and calling main body institute of the calling main body are associated one by one One or more DLLs of demand, authority is called to assign the calling main body to its required each DLL.Such as Since this, the calling main body can be called in extent of competence at it by accessing the server of open platform and call its required DLL.
But, because the calling main body quantity registered on the server of open platform is increasing, and each call The required DLL of main body often has multiple, therefore the server of open platform needs the association carried out during power is assigned Operation is also more and more, and spent resource is huge.
It can be seen that, the problem of control method presence server resource cost of existing program interface call authority is excessive.
The content of the invention
The embodiment of the present application provides a kind of control method and device of program interface call authority, to save server execution The resource expended during DLL control operation.
In order to solve the above technical problems, what the embodiment of the present application was realized in:
A kind of control method for program interface call authority that the embodiment of the present application is provided, presets comprising at least two programmings The DLL bag of interface, this method includes:
The authority for receiving calling main body transmission opens request, wherein, the authority opens request and carries DLL bag Mark;
Request is opened according to the authority, what the user's mark for setting up the calling main body was identified with the DLL bag Corresponding relation, calls the DLL bag to identify each volume in corresponding DLL bag so that the calling main body has permission Journey interface.
A kind of control device for program interface call authority that the embodiment of the present application is provided, including:
DLL bag presetting module, the default DLL bag for including at least two DLLs;
Receiving module, the authority for receiving calling main body transmission opens request, wherein, the authority opens request and carries volume Journey interface bag is identified;
Power module is assigned, request is opened according to the authority, the user's mark for setting up the calling main body connects with the programming The corresponding relation of mouth bag mark, calls the DLL bag to identify corresponding DLL so that the calling main body has permission Each DLL in bag.
The technical scheme provided from above the embodiment of the present application, the embodiment of the present application includes at least two by default The DLL bag of DLL, supports calling main body request is opened to call authority to DLL bag, so that calling main body Each DLL in DLL bag is conveniently called, the batch for also achieving DLL assigns power, to realize open platform Server calls the simplification that control of authority is operated to numerous calling main bodies, saves server resource.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, are not paying the premise of creative labor Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram that two DLL bags that the embodiment of the present application is provided include identical DLL;
The schematic diagram for the configuration DLL bag that Fig. 2 the embodiment of the present application is provided;
Fig. 3 is a kind of flow chart of the control method for program interface call authority that the embodiment of the present application is provided;
Fig. 4 is a kind of schematic diagram of application scenarios corresponding with method shown in Fig. 3 that the embodiment of the present application is provided.
Fig. 5 is the schematic diagram that scene is called in the calling main body mixing that the embodiment of the present application is provided;
Fig. 6 is a kind of schematic diagram for opening flow for DLL bag that the embodiment of the present application is provided;
Fig. 7 is a kind of structural representation of the control device for program interface call authority that the embodiment of the present application is provided.
Embodiment
The embodiment of the present application provides a kind of control method and device of program interface call authority.
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection Scope.
In the embodiment of the present application, DLL can be specification when being interacted between program or software, specifically may be used To be API (Application Programming Interface, API).
As the precondition needed for execution the application technical scheme claimed, it is necessary to which default include at least two The DLL bag of DLL.DLL bag (can configure the technology of DLL bag on an open platform by business side Personnel) it is any default or default according to business scenario, can also be by the server of open platform according to ad hoc rules or business side The presupposed information of offer is preset.
In the embodiment of the present application, the programming that default DLL bag can be made up of at least two DLLs connects Mouth set.Specifically, be stored with each DLL and corresponding DLL mark on the server of open platform, passes through It is default, DLL bag can be arbitrarily made between each DLL, each programming that is also stored with of the server of open platform connects The programming for each DLL that the DLL bag mark and DLL bag mark of mouth bag are included with DLL bag connects Corresponding relation between mouth mark.It is emphasized that each DLL bag can include part identical DLL, also may be used To include different DLL.
Fig. 1 is the schematic diagram that two DLL bags that the embodiment of the present application is provided include identical DLL.Such as Shown in Fig. 1, the DLL that DLL bag 1 is included be A, B, C, the DLL that DLL bag 2 is included be B, C, D, E, DLL bag 1 and 2 include identical DLL B, C.If calling main body has to DLL bag 1 and 2 Authority is called, then calling main body actually has calls authority to DLL A, B, C, D, E.
The embodiment of the present application provides a kind of method of the default DLL bag comprising at least two DLLs, that is, connects Receive DLL bag configuration information;The DLL bag configuration information includes the DLL that each DLL bag is included At least one of DLL mark, DLL bag mark of the class indication of DLL bag, DLL bag;According to The DLL bag configuration information, configures DLL bag.
Specifically, the DLL bag configuration information that open platform server can be sent according to business side, connects to programming Mouth bag is configured, that is, is performed the DLL mark for the DLL that record DLL bag is included, is DLL bag Labeled bracketing identifies, is at least one of operations such as DLL packet making DLL bag mark.
As stated in the Background Art, in the control method of existing program interface call authority, the server of open platform The once tax power operation that the server of control of authority, i.e. open platform is performed can only be called to single programming interface respectively Calling main body can be assigned by the authority of calling of DLL for DLL, and due to calling main body to realize The required DLL called of certain function often has multiple, therefore calling main body needs the interface text according to each DLL Shelves selection meets the DLL of oneself demand, and each DLL of selection is applied opening one by one calls authority, therefore, existing The control method of some program interface call authorities is in addition to expending the server resource of open platform, also following problem:
First, open platform can only provide program interface call service on technological layer, and can not be in service layer Support is provided for calling main body.Technical specification when DLL is actually program interaction, each DLL is being configured it Some business scenario just may be not only used in, each DLL is isolated each other, is not by business scenario and business What function was divided.But, the purpose that calling main body is often based upon realizing certain business function calls DLL, this feelings Open platform can only provide program interface call service on technological layer under condition, and need calling main body oneself to select one by one simultaneously What each DLL was opened in application calls authority, to obtain the DLL set corresponding with certain business function.For example, adjusting Wanted to realize the business function of pictures management with main body, then calling main body is needed in the DLL that open platform is provided one by one Select and open the DLL C for uploading pictures, the DLL F for deleting picture, for changing pictorial information The DLLs such as DLL M call authority etc., open the calling after authority of these DLLs, calling main body could facilitate Realize the business function of pictures management.It can be seen that in service layer, existing open platform can not be provided respectively for calling main body The corresponding DLL set of business function is planted for calling, calling main body is not easy to and calls DLL.
Second, open platform can not record which business scenario same DLL is specifically applied to, it is difficult to each DLL is safeguarded in high quality.Same DLL can play different effects under different business scenarios, if If the server record of open platform there are the applicable one or more business scenarios of each DLL, facilitate to each DLL Pointedly technology upgrading is done, i.e., DLL is safeguarded in high quality.But, existing open platform is to call The requirement of main body is by DLL opening to calling main body, it is impossible to record the applicable business scenario of DLL.For example, for compiling Journey interface D, if the server of open platform is according to each third-party application for calling DLL D, record has DLL D Applicable some business scenarios, then when being safeguarded in business side to DLL D, business side can contemplate some industry of record Business scene, technology upgrading is carried out to DLL D.
By presetting the DLL bag for including at least two DLLs, different volumes on the server of open platform The different business scenario of journey interface bag correspondence, can solve above-mentioned two problems.Specifically, a DLL bag can be right One or more business scenarios are answered, meanwhile, the DLL that the server of open platform is also included to the DLL bag is fitted The business scenario is recorded.For example, DLL bag 21 includes DLL A, DLL F, business root evidence The business scenario of online dating is configured with DLL bag 21, then on the one hand, some online dating application can be selected very easily Select and open DLL bag 21 to obtain the authority for calling DLL A and DLL F, on the other hand, open platform Server also records the business scenario of the applicable online datings of DLL A and DLL F, and standby service side is needed to programming When interface A and DLL F are safeguarded, the DLL A after technology upgrading and DLL F can be caused to be more beneficial for reality The function of existing online dating.
Further, in order to preferably solve above-mentioned two problems, i.e., how calling main body is facilitated to adjust in service layer How each DLL is managed more efficiently with DLL and in service layer, each DLL packet making can be classified Mark, wherein, the class indication of DLL bag can be the applicable business scenario of DLL bag, grade, whether need spy Different monitoring, whether need signing, rate, whether at least one of the content such as disclose to calling main body, certainly, class indication is also Can be the other guide on DLL bag, the application is without limitation.
Specifically, the applicable business scenario of DLL bag can be payments under line, pictures management, live etc., tune The applicable business scenario of the DLL bag can be directly known according to the class indication of DLL bag with main body;DLL The significance level for the business scenario that the grade of bag can be applicable according to DLL bag is divided, the business paid under such as line The maintenance for the DLL that the grade of the corresponding DLL bag of scape is included by one-level or according to DLL bag into This division, the DLL bag that the higher DLL of maintenance cost is constituted it is higher ranked, calling main body can be selected Open different grades of DLL bag;DLL bag corresponding for some business scenarios, if desired for acquisition privacy of user Business scenario, considered based on personal secrets, it is necessary to perform special monitoring, opening to invoked procedure by the server of open platform Platform can be efficiently managed DLL in service layer;Further, whether DLL bag needs signing, collects How many rates then can flexibly be formulated according to actual conditions by business root.It is emphasized that be, the above to business scenario, grade, be The citing of the no special monitoring of needs does not constitute the limitation to the application.
In a word, the server of open platform, according to the class indication of DLL bag, can be more subtly calling main body Program interface call service is provided, each DLL can also be managed more efficiently in service layer.Each programming connects Mouth is surrounded by its applicable business scenario, and calling main body can know DLL Bao Shi according to the class indication of DLL bag Business scenario, convenient batch selectes required DLL;Meanwhile, each DLL is surrounded by different grades, high The maintenance cost of the DLL bag of level is often higher, and higher rate can be collected to calling main body, so as to support open flat Efficient management of the platform to DLL.
For example, DLL bag 14 and DLL bag 17 are all applied to the business scenario paid under line, but programming connects The class indication of mouth bag 14 is one-level, needs signing, 10% rate, and the class indication of DLL bag 17 is three-level, is not required to Contract, freely, some needs to realize that the third-party application of payment function under line is known after information above, actual feelings can be combined Condition, what DLL bag 14 or DLL bag 17 were opened in selection application calls authority.Pass through upper example, it may be said that bright open platform Server according to the class indication of DLL bag, more subtly can provide program interface call service for calling main body, More efficiently each DLL can also be managed using the mode such as charge, signing, free.
Fig. 2 is the schematic diagram for the configuration DLL bag that the embodiment of the present application is provided.As shown in Fig. 2 what business side was sent DLL bag configuration information is:API4、API6、API33;DLL bag class indication is payment scene, two grades, need under line Monitor, do not contract, openly;Then the server of open platform is with the DLL that the DLL bag postponed is included API4, API6, API33, class indication be line under pay scene, two grades, need monitoring, do not contract, openly, the DLL bag DLL bag be designated interface bag 25.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
Fig. 3 is a kind of flow chart of the control method for program interface call authority that the embodiment of the present application is provided, including with Lower step:
S301:The authority for receiving calling main body transmission opens request.
In the embodiment of the present application, the executive agent of this method can be the server or server cluster of open platform. When executive agent is server cluster, the server cluster can include configuration server, authority turn up service device, business text Shelves server.Describe for convenience, the executive agent of the present embodiment is the server of open platform.
Fig. 4 is a kind of schematic diagram of application scenarios corresponding with method shown in Fig. 3 that the embodiment of the present application is provided.Such as Fig. 4 Shown, the authority that the server reception calling main body of open platform is sent opens request, by business side in open platform server The DLL bag of upper configuration call authority assign calling main body.
In the embodiment of the present application, calling main body can be that third-party application etc. needs to call the volume on open platform Journey interface to realize main body or the third party developer of certain procedures function, as long as can to open platform clothes Business device sending permission opens the main body of request, can be the calling main body in the application.
In the embodiment of the present application, calling main body needs first to complete registration on the server of open platform, obtains and opens User's mark of the server-assignment of platform, then opens request, to be called to the server sending permission of open platform The authority of each DLL in its required DLL bag.
It can be the HTTP (HyperText for carrying DLL bag mark that authority, which opens request, Transfer Protocol, HTTP) request.Specifically, the authority open request carry DLL bag mark can be The DLL bag that the optional DLL bag mark of calling main body or calling main body are selected according to service profile DLL bag mark.
The server of open platform before step S301, can provide the business text of each DLL bag for calling main body Shelves;Wherein, different DLL bags is to that should have different service profiles, and the service profile describes corresponding DLL bag Configuration information, business scenario, application flow, typical case etc., certainly, service profile can also record its of DLL bag His information, the application is without limitation.Specifically, the configuration information of DLL bag can be specifically each DLL bag institute Comprising the DLL mark of DLL, the DLL bag mark of the class indication of DLL bag, DLL bag At least one of;The applicable business scenario of DLL bag can be that the DLL bag is considered as into a total solution When, its business scenario being applicable, for example, DLL bag 32 include DLL A for data adjust, comprising volume Journey interface B is used for password authentification, comprising DLL C be used to return and notify, then the applicable business of DLL bag 32 Scape can be payment under line;The application flow of DLL bag can be each DLL for calling the DLL bag to be included The flow of certain business function is realized, so that calling main body is referred to.Specifically, with the corresponding programming of the business scenario of international logistics Exemplified by interface bag, the application flow described in the service profile of the DLL bag can be described below:
" seller when having International Express logistics demand, to logistics system delivery plan inquiry request.Selection comparison is returned The logistics scheme returned, is selected after suitable logistics scheme, goods is addressed to the warehouse specified using domestic express mail (different under line Scheme in have clear and definite warehouse address explanation), and carry out the operation that places an order, lower single instrction be sent to by logistics system by API Include the express delivery odd numbers of domestic express mail in system, the data placed an order.After receiving goods in warehouse, the actual specification according to goods is understood Actual freight is adjusted with weight, and freightage information is returned into seller's software.Seller is obtained after actual freight in software, exempts to step on To logistics system interface, carry out after the completion of payment of freight, payment of freight, goods will be sent to external buyer.Hereafter, seller can be with In software by way of message subscribing or active AP I inquiries, the travel position of goods is obtained in time.”
The typical case of DLL bag can be to possessed to the DLL bag call authority call master The introduction of body.Realization such as third-party application X business function depends on calling to DLL bag 36, and business side can be selected Take third-party application X to write typical case, in the typical case of DLL bag 36, third-party application X can be recorded User interface, function details etc..
In a word, each service profile that calling main body is provided according to the server of open platform, can obtain each DLL The details of bag, conveniently select its required DLL bag, and send for needed for it to the server of open platform The authority for the DLL bag asked opens request.
What deserves to be explained is, for class indication be not to the underground DLL bag of calling main body, open platform Server can't provide the underground corresponding service profile of DLL bag to calling main body, and calling main body can not be also directed to Underground DLL bag sending permission opens request.
Further, since default each DLL bag can not all business scenarios of limit, can not accurately meet sometimes The demand of calling main body, therefore, this method are also provided for the mixed of DLL bag and DLL to calling main body simultaneously Close the mode that authority is opened.Specifically, calling main body can also send to the server of open platform and carry DLL The authority that bag mark and DLL are identified opens request, and in the subsequent step of this method, the server of open platform is in the lump Call authority of the calling main body to its required DLL bag and DLL is assigned, i.e., is assigned according to the step shown in Fig. 3 Calling main body is to the authority of calling of DLL bag, and assigns and calling in accordance with existing tax power method as stated in the Background Art Main body is to the authority of calling of DLL, and calling main body can possess simultaneously calls power to DLL and DLL bag Limit, calling main body is actually had the right the union of the DLL that calls for DLL and DLL bag, as shown in Figure 5.
S302:Request is opened according to the authority, user's mark and the DLL bag for setting up the calling main body The corresponding relation of mark.
In the embodiment of the present application, the server of open platform is set up needed for the user's mark and calling main body of calling main body Corresponding relation between the DLL bag mark for the DLL bag asked, that is, impart calling main body to its required programming Interface bag calls authority, and calling main body has permission each DLL called in its required DLL bag.
When calling main body is initiated to call the request of DLL bag, the server of open platform is according to the use of calling main body Family is identified, and determines that the user is identified after corresponding DLL bag, it is allowed to which calling main body calls the DLL bag institute determined Comprising each DLL.
In the embodiment of the present application, the server of open platform can open the calling main body of request, one to sending permission Rhapsody gives it to call authority to its required DLL bag and/or DLL, can also in response to business side tax Power instruction, performs and assigns power operation, can also monitor to adjust according to the class indication of the required DLL bag of calling main body Completed with main body after the corresponding assigned operation of class indication, perform and assign power operation.Wherein, the corresponding assigned operation of class indication It can be signing, payment, submit confidentiality agreement, the digital signature for submitting third-party application etc..
If for example, the class indication of some required DLL bag of calling main body then calls master to need signing Body to the server sending permission of open platform in addition to opening request, in addition it is also necessary to completes to contract with open platform, when open flat The monitoring server of platform to calling main body complete signing operation or receive business side confirm signing after send tax power refer to When making, it can just assign calling main body and authority is called to the DLL bag;And for example, if some required volume of calling main body The class indication of journey interface bag is needs special monitoring, then calling main body is except open-minded to the server sending permission of open platform Request is outer, in addition it is also necessary to which monitoring protocol is agreed in signature, and monitoring is agreed to when the monitoring server of open platform endorsed to calling main body Agreement receives business side when instruction is weighed in the tax sent after confirming signature, can just assign calling main body to the DLL bag Call authority.
Certainly, the corresponding assigned operation of class indication can have a variety of, and above citing does not constitute the limitation to the application.
In addition, present invention also provides a kind of method for supporting to be updated DLL bag, that is, receiving DLL Bag fresh information;The DLL bag fresh information includes the increase and decrease information for the DLL that DLL bag is included, compiled At least one in the upgrade information of the DLL that journey interface bag is included, the modification information of the class indication of DLL bag Kind;According to the DLL bag fresh information, DLL bag is updated.
Because business side needs to update DLL bag according to the change of business scenario, if business side thinks that some is programmed The DLL that interface bag is included is not enough to support current business scenario, then is connect for DLL bag increase part programming Mouthful, the increase and decrease information that the server of open platform is received is the DLL mark of wanted increased DLL. It is similar, if business side thinks to remove the part programming interface that some DLL bag included and is also enough to support current industry Business scene, can also remove this part of interface that the DLL bag is included.Certainly, business side can also be according to calling main body The DLL that is included of demand increase and decrease DLL bag, or the DLL that any adjustment DLL bag is included.
In the embodiment of the present application, business side needs to do technology upgrading to part programming interface sometimes, completes to part After the technology upgrading of DLL, the DLL bag comprising any DLL in this part programming interface also can therewith more Newly.
In the embodiment of the present application, each DLL bag can be considered as the journey that open platform is supplied to calling main body Sequence product, can be using free, signing or other modes by being configured, being updated to each program product, labeled bracketing mark It is flexibly open to calling main body.On the one hand, this facilitates open platform flexibly and efficiently to control numerous calling main bodies to DLL Call authority, realize DLL batch control;On the other hand, calling main body usually voluntarily selects a series of programmings in the past Interface, and opened to each DLL SEPARATE APPLICATION and call authority, has paid unnecessary cost for this, but the application can be with Support calling main body by open DLL bag call authority in the way of obtain the volume included to the DLL bag in batches Journey interface calls authority, and which save the cost that calling main body is commenced business.
By the method shown in Fig. 1, the default DLL bag for including at least two DLLs supports calling main body please Ask to open and authority is called to DLL bag, so that calling main body conveniently calls each DLL in DLL bag, The batch for realizing DLL assigns power.Since so, the server of open platform calls authority control to numerous calling main bodies Operation processed is simplified, and saves server resource.
Fig. 6 is a kind of schematic diagram for opening flow for DLL bag that the embodiment of the present application is provided.As shown in fig. 6, holding The main body of row control of authority is the server cluster of open platform, including configuration server, authority turn up service device, service profile Server.Wherein, the DLL bag configuration information that configuration server is used to be sent according to business side configures DLL bag, and The DLL mark for the DLL that the DLL bag configured is included, the class indication of DLL bag, programming The DLL bag mark of interface bag is sent to authority turn up service device.Service profile server is used to provide each to calling main body The service profile of DLL bag.The authority that authority turn up service device is sent according to calling main body opens the programming carried in request Interface bag is identified, the corresponding relation that the user's mark for setting up calling main body is identified with DLL bag, to assign calling main body tune Use authority.It is also required in addition, business side updates DLL bag by configuration server.
Based on the control method of above-mentioned program interface call authority, the embodiment of the present application also corresponds to a kind of programming of offer and connect Mouth calls the control device of authority, as shown in fig. 7, comprises:
DLL bag presetting module 701, the default DLL bag for including at least two DLLs;
Receiving module 702, the authority for receiving calling main body transmission opens request, wherein, the authority is opened request and carried There is DLL bag mark;
Power module 703 is assigned, request is opened according to the authority, user's mark and the programming for setting up the calling main body The corresponding relation of interface bag mark, calls the corresponding programming of the DLL bag mark to connect so that the calling main body has permission Each DLL in mouth bag.
Described device also includes:There is provided the service profile of each DLL bag for business module 704;The authority is opened please Seek the DLL bag mark for carrying the DLL bag that the calling main body is selected according to the service profile.
It is described to assign power module 703, when the authority, which opens request, also carries DLL mark, according to the authority Request is opened, the corresponding relation that the user's mark for setting up the calling main body is identified with the DLL, so that described call Main body, which has permission, calls the DLL to identify corresponding DLL.
The DLL bag presetting module 701, receives DLL bag configuration information;The DLL bag matches somebody with somebody confidence Breath includes the DLL mark of the DLL that each DLL bag is included, the class indication of DLL bag, programs and connects At least one of DLL bag mark of mouth bag;According to the DLL bag configuration information, DLL bag is configured.
Described device also includes:DLL bag update module 705, receives DLL bag fresh information;The programming The programming that interface bag fresh information includes the increase and decrease information for the DLL that DLL bag is included, DLL bag is included At least one of the upgrade information of interface, modification information of class indication of DLL bag;According to the DLL bag Fresh information, updates DLL bag.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So And, with 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, PLD (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 is determined by user to device programming.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, 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 Verilog.Those skilled in the art also should This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, Or realized by the product with certain function.It is a kind of typically to realize 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.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (10)

1. a kind of control method of program interface call authority, it is characterised in that the default volume for including at least two DLLs Journey interface bag, methods described includes:
The authority for receiving calling main body transmission opens request, wherein, the authority opens request and carries DLL bag mark;
Request is opened according to the authority, it is corresponding that user's mark and the DLL bag for setting up the calling main body are identified Relation, so that the calling main body has permission each programming for calling the DLL bag to identify in corresponding DLL bag and connect Mouthful.
2. according to the method described in claim 1, it is characterised in that open request in the authority for receiving calling main body transmission Before, methods described also includes:
The service profile of each DLL bag is provided;
The authority opens the programming that request carries the DLL bag that the calling main body is selected according to the service profile Interface bag is identified.
3. according to the method described in claim 1, it is characterised in that open request when the authority and also carry DLL mark During knowledge, methods described also includes:
Request is opened according to the authority, the corresponding pass that user's mark and the DLL for setting up the calling main body are identified System, calls the DLL to identify corresponding DLL so that the calling main body has permission.
4. according to the method described in claim 1, it is characterised in that the default DLL for including at least two DLLs Bag, is specifically included:
Receive DLL bag configuration information;The DLL bag configuration information includes the programming that each DLL bag is included At least one in the DLL mark of interface, the DLL bag mark of the class indication of DLL bag, DLL bag Kind;
According to the DLL bag configuration information, DLL bag is configured.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive DLL bag fresh information;The DLL bag fresh information connects including the programming that DLL bag is included The upgrade information for the DLL that the increase and decrease information of mouth, DLL bag are included, the change of the class indication of DLL bag At least one of information;
According to the DLL bag fresh information, DLL bag is updated.
6. a kind of control device of program interface call authority, it is characterised in that including:
DLL bag presetting module, the default DLL bag for including at least two DLLs;
Receiving module, receives the authority that calling main body sends and opens request, wherein, the authority, which opens request and carries programming, to be connect Mouth bag mark;
Power module is assigned, request is opened according to the authority, user's mark and the DLL bag for setting up the calling main body The corresponding relation of mark, calls the DLL bag to identify in corresponding DLL bag so that the calling main body has permission Each DLL.
7. device according to claim 1, it is characterised in that described device also includes:
There is provided the service profile of each DLL bag for business module;The authority opens request and carries the calling main body root The DLL bag mark of the DLL bag selected according to the service profile.
8. device according to claim 1, it is characterised in that module is weighed in the tax, opens request when the authority and also takes When being identified with DLL, request is opened according to the authority, user's mark and the programming for setting up the calling main body The corresponding relation of interface identifier, calls the DLL to identify corresponding DLL so that the calling main body has permission.
9. device according to claim 1, it is characterised in that the DLL bag presetting module, receives DLL Bag configuration information;The DLL bag configuration information includes the DLL mark for the DLL that each DLL bag is included At least one of knowledge, the DLL bag mark of the class indication of DLL bag, DLL bag;Connect according to the programming Mouth bag configuration information, configures DLL bag.
10. device according to claim 1, it is characterised in that described device also includes:
DLL bag update module, receives DLL bag fresh information;The DLL bag fresh information includes programming The upgrade information for the DLL that the increase and decrease information for the DLL that interface bag is included, DLL bag are included, programming connect At least one of modification information of class indication of mouth bag;According to the DLL bag fresh information, DLL is updated Bag.
CN201611002471.1A 2016-11-09 2016-11-09 A kind of control method and device of program interface call authority Pending CN106971099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611002471.1A CN106971099A (en) 2016-11-09 2016-11-09 A kind of control method and device of program interface call authority

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611002471.1A CN106971099A (en) 2016-11-09 2016-11-09 A kind of control method and device of program interface call authority

Publications (1)

Publication Number Publication Date
CN106971099A true CN106971099A (en) 2017-07-21

Family

ID=59334718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611002471.1A Pending CN106971099A (en) 2016-11-09 2016-11-09 A kind of control method and device of program interface call authority

Country Status (1)

Country Link
CN (1) CN106971099A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920219A (en) * 2018-06-01 2018-11-30 浪潮软件股份有限公司 A kind of method for processing business and device based on open platform
CN110443013A (en) * 2019-07-08 2019-11-12 苏州浪潮智能科技有限公司 A kind of server outband management method, equipment and the medium of permission control
CN112395568A (en) * 2019-08-14 2021-02-23 北京京东尚科信息技术有限公司 Interface authority configuration method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710640A (en) * 2012-05-31 2012-10-03 中国联合网络通信集团有限公司 Authorization requesting method, device and system
CN103593238A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Method and device for controlling invocation of application programming interfaces
CN104283841A (en) * 2013-07-02 2015-01-14 阿里巴巴集团控股有限公司 Method, device and system for carrying out service access control on third-party application
CN104301331A (en) * 2014-10-31 2015-01-21 北京思特奇信息技术股份有限公司 Service interface permissions validation method and device
CN104360858A (en) * 2014-11-12 2015-02-18 华为技术有限公司 Method and device for calculating hotness of application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710640A (en) * 2012-05-31 2012-10-03 中国联合网络通信集团有限公司 Authorization requesting method, device and system
CN103593238A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Method and device for controlling invocation of application programming interfaces
CN104283841A (en) * 2013-07-02 2015-01-14 阿里巴巴集团控股有限公司 Method, device and system for carrying out service access control on third-party application
CN104301331A (en) * 2014-10-31 2015-01-21 北京思特奇信息技术股份有限公司 Service interface permissions validation method and device
CN104360858A (en) * 2014-11-12 2015-02-18 华为技术有限公司 Method and device for calculating hotness of application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920219A (en) * 2018-06-01 2018-11-30 浪潮软件股份有限公司 A kind of method for processing business and device based on open platform
CN110443013A (en) * 2019-07-08 2019-11-12 苏州浪潮智能科技有限公司 A kind of server outband management method, equipment and the medium of permission control
CN112395568A (en) * 2019-08-14 2021-02-23 北京京东尚科信息技术有限公司 Interface authority configuration method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
TWI632472B (en) Business data processing method and system thereof
US10417657B2 (en) Point management apparatus, system, and method
US11023148B2 (en) Predictive forecasting and data growth trend in cloud services
CN111917587B (en) Method for network service management by using service system and service system
US11294658B2 (en) Additive packaging through smart wrapping of packages and customizations in an on-demand environment
CN108521458A (en) Application platform access method and device
CN106469414A (en) Mobile stock open platform device and method
CN107450903A (en) A kind of information processing method and device
US20210042294A1 (en) Blockchain-based consent management system and method
CN105814579A (en) Sandboxed application data redirection to datacenters
CN106971099A (en) A kind of control method and device of program interface call authority
US11171879B2 (en) System and method of sharing edge computing resources
CN109710689A (en) Enterprise's monitoring and managing method, system, device, equipment and readable storage medium storing program for executing
US20180249017A1 (en) Data Usage Based Data Transfer Determination
CN102448077B (en) Content management method and content management system
CN107026897A (en) A kind of methods, devices and systems of data processing
US9501303B1 (en) Systems and methods for managing computing resources
CN113242184A (en) Flow control method of distributed architecture and related equipment
CN109711918A (en) Shop on net opens up method, apparatus, equipment and readable storage medium storing program for executing
CN106156050A (en) A kind of data processing method and device
JP2019046262A (en) Information processing apparatus, information processing method, and information processing program
CN106651290A (en) Flow management software system and the authority management method thereof
US11354176B2 (en) Data computing logic for execution at a data computing node
US11164154B2 (en) Flexible and prioritized multi-purse tables for multi-account benefit plan management and processing
CN108804088A (en) Protocol processes method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721

RJ01 Rejection of invention patent application after publication