CN104572278B - The method, device and equipment of light application calling local side ability - Google Patents

The method, device and equipment of light application calling local side ability Download PDF

Info

Publication number
CN104572278B
CN104572278B CN201410806989.5A CN201410806989A CN104572278B CN 104572278 B CN104572278 B CN 104572278B CN 201410806989 A CN201410806989 A CN 201410806989A CN 104572278 B CN104572278 B CN 104572278B
Authority
CN
China
Prior art keywords
light application
local
ability
page
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410806989.5A
Other languages
Chinese (zh)
Other versions
CN104572278A (en
Inventor
于天航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410806989.5A priority Critical patent/CN104572278B/en
Publication of CN104572278A publication Critical patent/CN104572278A/en
Application granted granted Critical
Publication of CN104572278B publication Critical patent/CN104572278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the method, device and equipments that a kind of light application calls local side ability.Wherein, the method for light application calling local side ability includes:Receive light applications invoking and entry requests;Determine that the corresponding page of the entrance is light application page according to configuration information;It then loads the corresponding light application page of the entrance and loads local end ability interface storehouse for the light application page, comprising the interface message for the local side ability that can be called in the local end ability interface storehouse, in order to which light application calls local side ability according to the interface message of the local side ability.The present embodiment realizes load and has adjusted the corresponding light application page of entrance and loaded local end ability interface storehouse for the light application page, to which light application can call local side ability according to the interface message for the local side ability for including in local end ability interface storehouse, the development of light application is improved, advantage is provided.

Description

The method, device and equipment of light application calling local side ability
Technical field
The method, apparatus of local side ability is called the present invention relates to computer field more particularly to a kind of light application and is set It is standby.
Background technique
Light application is a kind of global function application (App) without downloading, searching and using immediately, retrieval and intelligence point based on search Characteristic is sent out, solves the problems, such as that requirements of mobile subscribers is docked with developer.Client provides Native as the carrier of light application Ability (local side ability), light application can (generally JS interface, i.e. Javascript connect by accessing the interface of local side ability Mouthful) come using Native ability.But since current light application page Loading opportunity and process are uncontrollable, load Light application page can not obtain the interface message of complete local side ability, therefore can not effectively access Native ability.
Summary of the invention
The method, apparatus of local side ability is called one of the technical problems solved by the invention is to provide a kind of light application and is set It is standby, to realize that light application can effectively access various local side abilities.
According to an embodiment of an aspect of the present invention, a kind of method that light application calls local side ability, packet are provided It includes:
Receive light applications invoking and entry requests;
Determine that the corresponding page of the entrance is light application page according to configuration information;Then
It loads the corresponding light application page of the entrance and loads local end ability interface storehouse for the light application page, Comprising the interface message for the local side ability that can be called in the local end ability interface storehouse, in order to which light application is according to The interface message of local side ability calls local side ability.
Optionally, light application mark is carried in the light applications invoking and entry requests, the method also includes:
The configuration information is obtained from local or server according to light application mark.
Optionally, if obtaining the configuration information from server, the method also includes:
The configuration information obtained from server is saved in local.
Optionally, determine that the corresponding page of the entrance includes for light application page according to configuration information:
If getting the configuration information from local or server, it is determined that the corresponding page of the entrance is light application page Face;Or
If getting the configuration information from local or server, and indicate that the entrance is corresponding in the configuration information The page is light application page, it is determined that the corresponding page of the entrance is light application page.
Optionally, before loading the corresponding light application page of the entrance, the method also includes:
User right is identified according to the configuration information;
Corresponding light application page frame is loaded according to the user right of identification.
Optionally, load local end ability interface storehouse includes:
The link and access authority of local end ability interface storehouse are provided for the light application page.
Optionally, the interface message of local side ability includes:
The method name and local end ability interface of local end ability interface corresponding method.
Optionally, include according to the interface message of local side ability calling local side ability:
The method name for the method called is needed to find corresponding method title in local side ability base according to light application Local end ability interface;
Access the calling that the local end ability interface found realizes local side ability.
According to an embodiment of another aspect of the invention, a kind of device of light application calling local side ability is provided, Including:
For receiving the unit of light applications invoking and entry requests;
For determining that the corresponding page of the entrance is the unit of light application page according to configuration information;Then
It is connect for loading the corresponding light application page of the entrance and loading local side ability for the light application page The unit in mouthful library, comprising the interface message for the local side ability that can be called in the local end ability interface storehouse, in order to light Local side ability is called using according to the interface message of the local side ability.
Optionally, light application mark is carried in the light applications invoking and entry requests, the method also includes:
The configuration information is obtained from local or server according to light application mark.
Optionally, if obtaining the configuration information from server, the method also includes:
The configuration information obtained from server is saved in local.
Optionally, determine that the corresponding page of the entrance includes for light application page according to configuration information:
If getting the configuration information from local or server, it is determined that the corresponding page of the entrance is light application page Face;Or
If getting the configuration information from local or server, and indicate that the entrance is corresponding in the configuration information The page is light application page, it is determined that the corresponding page of the entrance is light application page.
Optionally, before loading the corresponding light application page of the entrance, the method also includes:
User right is identified according to the configuration information;
Corresponding light application page frame is loaded according to the user right of identification.
Optionally, for loading the corresponding light application page of the entrance and loading local side for the light application page Ability interface library unit load local end ability interface storehouse method include:
The link and access authority of local end ability interface storehouse are provided for the light application page.
Optionally, the interface message of local side ability includes:
The method name and local end ability interface of local end ability interface corresponding method.
Optionally, further include:
For needing the method name for the method called to find corresponding method in local side ability base according to light application The unit of the local end ability interface of title;
The unit for realizing the calling of local side ability for accessing the local end ability interface found.
One embodiment according to another aspect of the present invention additionally provides a kind of computer equipment, including aforementioned gently answers With the device for calling local side ability.
Since the embodiment of the present invention is after receiving light applications invoking and entry requests, it is corresponding that entrance is played to the light application tune The page whether be that light application page is confirmed, confirmation light application tune rise the corresponding page of entrance be light application page situation Under, it loads the corresponding light application page of the entrance and loads local end ability interface storehouse for the light application page, thus Light application can call local side ability according to the interface message for the local side ability for including in local end ability interface storehouse, to light The development of application, which is improved, provides advantage.
Those of ordinary skill in the art will understand that although following detailed description carries out referenced in schematic embodiment, attached drawing, But the present invention is not limited to these embodiments.But the scope of the present invention is extensive, and is intended to only through appended right It is required that limiting the scope of the invention.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart for the method that light application according to an embodiment of the invention calls local side ability.
Fig. 2 is the flow chart for the method that light application in accordance with another embodiment of the present invention calls local side ability.
Fig. 3 is the structural schematic diagram for the device that light application according to an embodiment of the invention calls local side ability.
Fig. 4 is the structural schematic diagram for the device that light application in accordance with another embodiment of the present invention calls local side ability.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
Refer generally to application that is locally-installed in mobile phone and tablet computer or using online without installation using (App).In face Personal user's application (towards individual consumer) and enterprise-level application (towards enterprise) is generally divided on object, in mobile terminal system Mainly include in system classification:IOSApp is (such as:Synchronize and push away), Android Apk (such as:AirDroid, Baidu's application etc.) and The xap and appx of windows phone.
Light application described in the embodiment of the present application is a kind of global function App without downloading, searching and using immediately, existing to match in excellence or beauty The user experience for even surmounting local app will be solved effectively but also with the characteristic for being retrieved with intelligently distributing of online app The problem of high-quality application and service is docked with requirements of mobile subscribers.Light application has following features:
First, without downloading, search and use immediately.
For example, a tourism application for being named as more interests, has 500 a plurality of applications for different cities, different sight spots, downloads Become the high threshold lain across between developer and user with cost is updated.By light application, " Shanghai guide to visitors ", " Zhouzhuang guide to visitors " are searched for User demand can directly adjust mostly interesting, the everywhere of developer rear end is updated all to be presented automatically in front end, without harassing and wrecking User.
Second, broken shell retrieval, intelligence is distributed.
The application of developer's exploitation is no longer information island, and the content of the inside can be indexed, this is with native applications shape At apparent difference.In application shop, only user inputs specific App title, such as " tick and call a taxi ", this application is It can be distributed.And present, all and related demand of calling a taxi expressed naturally in mobile search, such as " I will call a taxi ", " from International trade is to Yonghe Palace Temple " etc., it will be all oriented to the class application of calling a taxi of developer's exploitation, greatly increase the light exposure and utilization rate of application, It solves the distribution problem from the source.
Third, it is powerful, it all can experience.
Light application can be helped using the multi abilities for having adjusted the mobile phones such as voice, camera, positioning, storage local or cloud, Allow the with better function of application.By taking the good online light application of doctor as an example, speech exchange module is not only can be set in developer, may be used also To have adjusted local camera that user is helped to shoot laboratory test report or affected part, even preferably experienced so that offer is identical with local App.
4th, push is subscribed to, user is precipitated.
It realizes and calls when light application not only supports user to search for, also support user actively subscribes to.If user has subscription to need Application is asked and adds, associated developer can precipitate user, and continue to user, accurately information and service Push.For example, the user of many video class applications has the acute demand that chases after, the function that Baidu supports user to subscribe to, as long as user orders Application is read, whenever there is new acute update, developer can notify user, enhancing viscosity at the first time, to establish with user It rises and more consolidates firm relationship.
Through number is a kind of light application.Through number is official service account of the businessman in Baidu's mobile platform.Based on shifting The various ways such as dynamic search ,@account, map, personalized recommendation, allow hundreds of millions clients through merchant service whenever and wherever possible.It can manage It solves, light application described in the embodiment of the present application is not limited to through number.
Present invention is further described in detail with reference to the accompanying drawing.
Fig. 1 is the flow chart for the method that light application according to an embodiment of the invention calls local side ability.The present invention In method mainly completed by operating system in computer equipment or processing controller.By operating system or processing control Device is known as the device that light application calls local side ability.The computer equipment includes, but are not limited to, at least one of the following:With Family equipment, the network equipment.User equipment includes but is not limited to computer, smart phone, PDA etc..The network equipment includes but unlimited In single network server, multiple network servers form server group or based on cloud computing by a large amount of computers or network The cloud that server is constituted, wherein cloud computing is one kind of distributed computing, consisting of a loosely coupled set of computers one A super virtual computer.
As shown in fig. 1, the method that the light application calls local side ability mainly includes the following steps:
S100, light applications invoking and entry requests are received;
S110, determine that the corresponding page of the entrance is light application page according to configuration information;Then
S120, it loads the corresponding light application page of the entrance and is connect for light application page load local side ability Mouthful library, comprising the interface message for the local side ability that can be called in the local end ability interface storehouse, in order to light application root Local side ability is called according to the interface message of the local side ability.
The above steps are described in more detail below.
Wherein, in step S100, light applications invoking and entry requests are received, that is, light application page load request is received, it should It include the corresponding URL of light application (Uniform Resoure Locator in light applications invoking and entry requests:Unified resource positioning Symbol) and light application mark.
Can wherein determine that the tune plays entry request by upper layer service logic is light applications invoking and entry requests.
In step S110, the step of corresponding page of the entrance is light application page is determined according to configuration information, that is, is tested Demonstrate,prove whether the corresponding page of the entrance is light application page.The embodiment of the present application is receiving light applications invoking and entry requests When, whether it is light application page to verify the corresponding page of the entrance, corresponding configuration information can be obtained first, thus according to Configuration information verifies whether the corresponding page of the entrance is light application page.
A method for obtaining configuration information in an embodiment of the present application includes following operation:
First, it is determined that whether local save the configuration information;
Corresponding configuration information is obtained specifically, can identify according to light application, such as in the configuration information locally saved In search whether configuration information corresponding with the light application mark carried in the light applications invoking and entry requests, and if it exists, then Directly the corresponding configuration information is obtained from local.
If the corresponding configuration information is not saved locally, then corresponding configuration information is obtained from server, and can will be from clothes The configuration information that business device obtains is stored in local, directly can get the configuration information from local so as to subsequent.
If configuration information corresponding with light application mark can be got from local or server, that is, it can determine this The corresponding page of entrance is light application page.
Step S120 is to complete to add when it is light application page that step S110, which verifies the corresponding page of the entrance, The operation of light application page is carried, can be loaded while the load entrance corresponding light application page for the light application page Local end ability interface storehouse.Wherein, the method for loading local end ability interface storehouse includes:Local is provided for the light application page The link and access authority in end ability interface library.It include connecing for the local side ability that can be called in the local end ability interface storehouse Message breath, wherein the interface message of local side ability includes:The method name and local side of local end ability interface corresponding method Ability interface, interface therein can be the execution code of the interface corresponding method.
By the accessible corresponding local side ability of the local end ability interface information, to realize light application to local side The calling of ability.Call the method for local side ability including as follows according to the interface message of the local side ability in the present embodiment Step:
Firstly, needing the method name for the method called to find corresponding method in local side ability base according to light application The local end ability interface of title;
Later, the local end ability interface found is accessed, realizes the calling of local side ability.
The local end ability interface found is accessed that is, executing the corresponding code of the local end ability interface, is passed through It executes the code and calls corresponding local side ability.
The method that light application described in the present embodiment calls local side ability plays the corresponding page of entrance in confirmation light application tune In the case of face is light application page, the corresponding light application page of the entrance and local for light application page load is loaded End ability interface library, so that light application can be according to the interface message tune for the local side ability for including in local end ability interface storehouse With local side ability, the development of light application is improved, advantage is provided.
As shown in Figure 2, for according to the stream of the method for the light application of another embodiment of the present invention calling local side ability Cheng Tu, this method mainly include the following steps:
S200, light applications invoking and entry requests are received;
Receive light applications invoking and entry requests, that is, receive light application page load request, which plays entrance and ask It is identified in asking comprising the corresponding URL of light application and light application.
Can wherein determine that the tune plays entry request by upper layer service logic is light applications invoking and entry requests.
S210, configuration information is obtained using the corresponding page of the determination entrance as light application page;
The embodiment of the present application will use light application open agreement for received light applications invoking and entry requests (baiduboxapp://laopen?Url=&appid=...) triggering obtains configuration information, so that it is corresponding to verify the entrance The page whether be light application page.
Wherein, the present embodiment is to verify the corresponding page of the entrance when receiving light applications invoking and entry requests No is light application page, can obtain corresponding configuration information first, to verify the corresponding page of the entrance according to configuration information Whether face is light application page.A method for obtaining configuration information in an embodiment of the present application includes following operation:
First, it is determined that whether local save the configuration information;
Corresponding configuration information is obtained specifically, can identify according to light application, such as in the configuration information locally saved In search whether configuration information corresponding with the light application mark carried in the light applications invoking and entry requests, and if it exists, then Directly the corresponding configuration information is obtained from local.
If the corresponding configuration information is not saved locally, then corresponding configuration information is obtained from server, and can will be from clothes The configuration information that business device obtains is stored in local, directly can get the configuration information from local so as to subsequent.
A kind of embodiment, if configuration information corresponding with light application mark can be got from local or server, It then can determine that the corresponding page of the entrance is light application page, it is, configuration information is in such cases dedicated for preservation Light application corresponding informance, including light application mark, corresponding URL of light application etc..
Another embodiment determines whether the corresponding page of the entrance is light according to the record in the configuration information of acquisition Application page, in this case, it is also non-light that the corresponding page of application identities can be recorded in configuration information, which is light application page, Application page.
If determining that the corresponding page of the entrance is light application page according to configuration information, continue subsequent process, if Non-light application page, then operating according to the existing technical scheme, this embodiment does not make specific restrictions on this.
S220, user right is identified according to configuration information, to determine the light application page frame of load;
In configuration information described in the present embodiment except comprising whether be light application page information in addition to, can also include user Authority information, different user rights is corresponding to load different light application page frames, for example, if VIP (very Important person, honored guest) permission user, then the corresponding simplified version light application-browsing page framework of the entrance is loaded, it is no Then load the corresponding main light application-browsing page framework of the entrance.
User right can be set in the present embodiment, and the light application that can load different mode for the user of different rights is clear It lookes at page framework, enhances the experience of light application user.
S230, it loads the corresponding light application page of the entrance and is connect for light application page load local side ability Mouth library.Wherein, the method for loading local end ability interface storehouse includes:Local end ability interface storehouse is provided for the light application page Link and access authority.Comprising the interface message for the local side ability that can be called in the local end ability interface storehouse, wherein The interface message of local side ability includes:The method name and local end ability interface of local end ability interface corresponding method, In interface can be the interface corresponding method execution code.
By the accessible corresponding local side ability of the local end ability interface information, to realize light application to local side The calling of ability.Call the method for local side ability including as follows according to the interface message of the local side ability in the present embodiment Step:
Firstly, needing the method name for the method called to find corresponding method in local side ability base according to light application The local end ability interface of title;
Later, the local end ability interface found is accessed, realizes the calling of local side ability.
The local end ability interface found is accessed that is, executing the corresponding code of the local end ability interface, is passed through It executes the code and calls corresponding local side ability.
It should be noted that loading corresponding light application page frame and load gently according to user right in the present embodiment The operation of application page has no successive time restriction, may be performed simultaneously.
The method that light application described in the present embodiment calls local side ability plays the corresponding page of entrance in confirmation light application tune In the case of face is light application page, corresponding light application page frame can be loaded according to different user permission, and described in the load Local end ability interface storehouse is loaded for the light application page while entrance corresponding light application page, so that light application can be with Local side ability is called according to the interface message for the local side ability for including in local end ability interface storehouse, the development to light application It improves and advantage is provided.
Based on the same idea of the above method, the embodiment of the present application also provides a kind of dress of light application calling local side ability It sets, is as shown in Figure 3 described device structural schematic diagram, the device mainly includes:
For receiving the unit 300 of light applications invoking and entry requests, hereinafter referred to as request reception unit 300;The request connects It receives unit 300 and receives light applications invoking and entry requests, that is, receive light application page load request, which plays entrance It is identified in request comprising the corresponding URL of light application and light application.
Can wherein determine that the tune plays entry request by upper layer service logic is light applications invoking and entry requests.
For determining that the corresponding page of the entrance is the unit 310 of light application page according to configuration information, hereinafter referred to as Determination unit 310;
The determination unit 310 is for verifying whether the corresponding page of the entrance is light application page.It is one of real Applying the example determination unit may include:
For identifying the subelement 311 for obtaining the configuration information from local or server according to the light application, below Abbreviation configuration information obtains subelement 311, when request reception unit 300 receives light applications invoking and entry requests, for verifying Whether the corresponding page of the entrance is light application page, can obtain subelement 311 by configuration information and obtain corresponding match first Confidence breath, to verify whether the corresponding page of the entrance is light application page according to configuration information.
It includes following operation that a kind of embodiment configuration information of the application, which obtains the method that subelement 311 obtains configuration information,:
First, it is determined that whether local save the configuration information;
Corresponding configuration information is obtained specifically, can identify according to light application, such as in the configuration information locally saved In search whether configuration information corresponding with the light application mark carried in the light applications invoking and entry requests, and if it exists, then Directly the corresponding configuration information is obtained from local.
If the corresponding configuration information is not saved locally, then configuration information obtains subelement 311 and obtains correspondence from server Configuration information.The determination unit 310 can further comprise at this time:
For the configuration information obtained from server to be saved in local subelement 312, can will be obtained from server The configuration information taken is saved in local, so that subsequent configuration acquisition of information subelement 311 can directly be got from local The configuration information.
The determination unit 310 determines that the corresponding page of the entrance is that the method for light application page includes:
If configuration information corresponding with light application mark can be got from local or server, it is determined that unit 310 can determine that the corresponding page of the entrance is light application page.Or
If getting the configuration information from local or server, and indicate that the entrance is corresponding in the configuration information The page is light application page, it is determined that unit 310 determines that the corresponding page of the entrance is light application page.
It is connect for loading the corresponding light application page of the entrance and loading local side ability for the light application page The unit 320 in mouth library, hereinafter referred to as page loading unit 320.
The page loading unit 320 is to verify the corresponding page of the entrance in determination unit 310 as light application page feelings Under condition, light application page is loaded, and can be the light application page while load entrance corresponding light application page Load local end ability interface storehouse.Wherein, the method for the load of page loading unit 320 local end ability interface storehouse includes:For institute It states light application page and the link and access authority of local end ability interface storehouse is provided.Including in the local end ability interface storehouse can quilt The interface message of the local side ability of calling, wherein the interface message of local side ability includes:Local end ability interface counterparty The method name and local end ability interface of method, interface therein can be the execution code of the interface corresponding method.
By the accessible corresponding local side ability of the local end ability interface information, to realize light application to local side The calling of ability.The present embodiment described device may also include lower unit such as and be used for the interface message tune according to the local side ability With local side ability:
For needing the method name for the method called to find corresponding method in local side ability base according to light application The unit of the local end ability interface of title;
For accessing the local end ability interface found, the unit of the calling of local side ability is realized.The unit The local end ability interface found is accessed that is, the corresponding code of the local end ability interface is executed, by executing the generation Code calls corresponding local side ability.
It as shown in Figure 4, is to call the apparatus structure of local side ability to show according to the light application of another embodiment of the present invention It is intended to, as shown in Figure 4, which may also include in addition to comprising above-mentioned each unit:
For identifying the unit 330 of user right, hereinafter referred to as authority recognition unit 330 according to the configuration information;This In configuration information described in embodiment except comprising whether be light application page information in addition to, can also include user right information, The authority recognition unit 330 is i.e. for parsing configuration information, to identify user right.
The unit 340 of corresponding light application page frame, the hereinafter referred to as page are loaded for the user right according to identification Frame loading unit 340.In the embodiment of the present application, page framework loading unit 340 can be loaded for different user rights Different page framework, for example, then entering described in load if VIP (very important person, honored guest) permission user The corresponding simplified version light application-browsing page framework of mouth, otherwise loads the corresponding main light application-browsing page framework of the entrance.
It should be noted that the operation of the page framework loading unit 340 load light application page frame and the page load The operation that unit 330 loads light application page has no existing time restriction, may be performed simultaneously.
User right can be set in the present embodiment, and the light application that can load different mode for the user of different rights is clear It lookes at page framework, enhances the experience of light application user.
In conclusion the method that light application described in the present embodiment calls local side ability, rises in confirmation light application tune It in the case of mouthful corresponding page is light application page, and is described light while loading the entrance corresponding light application page Application page loads local end ability interface storehouse, so that light application can be according to the local side for including in local end ability interface storehouse The interface message of ability calls local side ability, improves to the development of light application and provides advantage.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, software program of the invention can be executed to implement the above steps or functions by processor.Similarly, of the invention Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, some of the steps or functions of the present invention may be implemented in hardware, example Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the invention can be applied to computer program product, such as computer program instructions, when its quilt When computer executes, by the operation of the computer, it can call or provide according to the method for the present invention and/or technical solution. And the program instruction of method of the invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, according to one embodiment of present invention including a device, which includes using Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to When enabling by processor execution, method and/or skill of the device operation based on aforementioned multiple embodiments according to the present invention are triggered Art scheme.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in system claims is multiple Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table Show title, and does not indicate any particular order.

Claims (15)

1. a kind of method that light application calls local side ability, wherein including:
Light applications invoking and entry requests are received, wherein carrying light application mark in the light applications invoking and entry requests;
Configuration information is obtained from local or server according to light application mark;The entrance is determined according to the configuration information The corresponding page is light application page;Then
It loads the corresponding light application page of the entrance and loads local end ability interface storehouse for the light application page, it is described Comprising the interface message for the local side ability that can be called in local end ability interface storehouse, in order to which light application is according to the local The interface message of end ability calls local side ability.
2. if according to the method described in claim 1, wherein obtaining the configuration information from server, the method is also wrapped It includes:
The configuration information obtained from server is saved in local.
3. method according to claim 1 or 2, wherein determining that the corresponding page of the entrance is gently to answer according to configuration information Include with the page:
If getting the configuration information from local or server, and the corresponding page of the entrance is indicated in the configuration information For light application page, it is determined that the corresponding page of the entrance is light application page.
4. method according to claim 1 or 2, wherein before loading the corresponding light application page of the entrance, the method Further include:
User right is identified according to the configuration information;
Corresponding light application page frame is loaded according to the user right of identification.
5. according to the method described in claim 1, wherein load local end ability interface storehouse includes:
The link and access authority of local end ability interface storehouse are provided for the light application page.
6. according to the method described in claim 1, wherein the interface message of local side ability includes:
The method name and local end ability interface of local end ability interface corresponding method.
7. according to the method described in claim 6, wherein calling local side ability according to the interface message of the local side ability Including:
The method name for the method called is needed to find the sheet of corresponding method title in local side ability base according to light application Ground end ability interface;
Access the calling that the local end ability interface found realizes local side ability.
8. the device that a kind of light application calls local side ability, wherein including:
For receiving the unit of light applications invoking and entry requests, wherein carrying light application mark in the light applications invoking and entry requests Know;
For determining that the corresponding page of the entrance is the unit of light application page according to configuration information;Wherein, described to be used for root Determine that the corresponding page of the entrance is that the unit of light application page includes according to configuration information:For being identified according to the light application The subelement of the configuration information is obtained from local or server;
For loading the corresponding light application page of the entrance and loading local end ability interface storehouse for the light application page Unit, comprising the interface message for the local side ability that can be called in the local end ability interface storehouse, in order to light application Local side ability is called according to the interface message of the local side ability.
9. device according to claim 8, wherein for determining that the corresponding page of the entrance is light according to configuration information The unit of application page further includes:
For the configuration information obtained from server to be saved in local subelement.
10. device according to claim 8 or claim 9, wherein for determining the corresponding page of the entrance according to configuration information It is specifically used for for the unit of light application page:
If getting the configuration information from local or server, and the corresponding page of the entrance is indicated in the configuration information For light application page, it is determined that the corresponding page of the entrance is light application page.
11. device according to claim 8 or claim 9, wherein described device further includes:
For identifying the unit of user right according to the configuration information;
The unit of corresponding light application page frame is loaded for the user right according to identification.
12. device according to claim 8, wherein for loading the corresponding light application page of the entrance and being described Light application page load local end ability interface storehouse unit load local end ability interface storehouse method include:
The link and access authority of local end ability interface storehouse are provided for the light application page.
13. device according to claim 8, wherein the interface message of local side ability includes:
The method name and local end ability interface of local end ability interface corresponding method.
14. device according to claim 13, wherein further including:
For needing the method name for the method called to find corresponding method title in local side ability base according to light application Local end ability interface unit;
The unit for realizing the calling of local side ability for accessing the local end ability interface found.
15. a kind of computer equipment, the dress including calling local side ability according to the light application of any of claim 8-14 It sets.
CN201410806989.5A 2014-12-22 2014-12-22 The method, device and equipment of light application calling local side ability Active CN104572278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410806989.5A CN104572278B (en) 2014-12-22 2014-12-22 The method, device and equipment of light application calling local side ability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410806989.5A CN104572278B (en) 2014-12-22 2014-12-22 The method, device and equipment of light application calling local side ability

Publications (2)

Publication Number Publication Date
CN104572278A CN104572278A (en) 2015-04-29
CN104572278B true CN104572278B (en) 2018-11-23

Family

ID=53088425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410806989.5A Active CN104572278B (en) 2014-12-22 2014-12-22 The method, device and equipment of light application calling local side ability

Country Status (1)

Country Link
CN (1) CN104572278B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881308B (en) * 2015-05-18 2019-03-29 百度在线网络技术(北京)有限公司 A kind of processing method and processing device of application program
CN105786567B (en) * 2016-02-25 2019-01-11 四川长虹电器股份有限公司 IOS application submodule dynamic update method and its intermediate system
CN106201582A (en) * 2016-06-28 2016-12-07 安徽科成信息科技有限公司 A kind of data background update system
CN108108369B (en) * 2016-11-24 2021-09-07 腾讯科技(深圳)有限公司 Method and device for processing calling error of common interface library
CN107682238B (en) * 2017-09-15 2020-10-16 阿里巴巴(中国)有限公司 Intelligent household platform equipment and terminal electronic equipment
CN108153848B (en) * 2017-12-20 2021-10-22 阿里巴巴(中国)有限公司 Method and device for searching light application data and electronic device
CN108173846B (en) * 2017-12-27 2021-05-04 北京小米移动软件有限公司 Login method and device
CN108762817A (en) * 2018-05-29 2018-11-06 北京五八信息技术有限公司 Using configuration method, device, equipment and the storage medium adjusted
CN111083093B (en) * 2018-10-22 2022-06-03 中国移动通信集团浙江有限公司 Method and device for calling terminal capability, electronic equipment and storage medium
CN111526111B (en) * 2019-02-02 2021-10-22 腾讯科技(深圳)有限公司 Control method, device and equipment for logging in light application and computer storage medium
CN110909319B (en) * 2019-11-29 2022-03-29 Oppo(重庆)智能科技有限公司 Application processing method and related product
CN111158695B (en) * 2019-12-19 2023-07-25 广州方硅信息技术有限公司 Interface positioning method, device, computer equipment and storage medium
CN111367635B (en) * 2020-02-28 2023-04-25 北京百度网讯科技有限公司 Application interface implementation method, device, equipment and medium in host platform layer
US11698823B2 (en) 2020-02-28 2023-07-11 Beijing Baidu Netcom Science And Technology Co., Ltd. Application interface implementation method in a host platform layer, device, and medium
CN112637116A (en) * 2020-10-30 2021-04-09 彩讯科技股份有限公司 Page-based terminal capability calling method, device, terminal and storage medium
CN112596922B (en) * 2020-12-17 2024-04-05 百度在线网络技术(北京)有限公司 Communication management method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053994A (en) * 2009-11-10 2011-05-11 阿里巴巴集团控股有限公司 Language parser and parsing method using same
CN102647462A (en) * 2012-03-29 2012-08-22 奇智软件(北京)有限公司 Application acquisition and sending method and device
CN103678508A (en) * 2013-11-21 2014-03-26 北京奇虎科技有限公司 Webpage opening method and device
KR101378001B1 (en) * 2012-11-12 2014-03-26 주식회사 아이디시스 Method of driving a smart phone
CN104102537A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Application calling method and user terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8447813B2 (en) * 2010-07-26 2013-05-21 Scott Redmond Mobile multi-network communications device
KR20140077999A (en) * 2012-12-13 2014-06-25 조은총 App(application) integrated management and resale business
CN103809857B (en) * 2014-02-24 2019-05-31 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN103970573A (en) * 2014-05-21 2014-08-06 百度在线网络技术(北京)有限公司 Light application program system for mobile device and program loading system and method thereof
CN104156233B (en) * 2014-07-21 2016-05-18 小米科技有限责任公司 Light application off-line update method, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053994A (en) * 2009-11-10 2011-05-11 阿里巴巴集团控股有限公司 Language parser and parsing method using same
CN102647462A (en) * 2012-03-29 2012-08-22 奇智软件(北京)有限公司 Application acquisition and sending method and device
KR101378001B1 (en) * 2012-11-12 2014-03-26 주식회사 아이디시스 Method of driving a smart phone
CN104102537A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Application calling method and user terminal
CN103678508A (en) * 2013-11-21 2014-03-26 北京奇虎科技有限公司 Webpage opening method and device

Also Published As

Publication number Publication date
CN104572278A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104572278B (en) The method, device and equipment of light application calling local side ability
US11146502B2 (en) Method and apparatus for allocating resource
US9342554B2 (en) Techniques to generate mass push notifications
CN103577207A (en) Loading method and loading device for interface components in custom interface system
KR20150064063A (en) Secure identification of computing device and secure identification methods
CN104756080A (en) Augmenting capabilities of a host device
CN109862100B (en) Method and device for pushing information
CN109582873A (en) Method and apparatus for pushed information
CN110007936B (en) Data processing method and device
US20170237816A1 (en) Method and electronic device for identifying device
CN112153582B (en) Verification code short message display method and device
US20190348034A1 (en) Selectively blacklisting audio to improve digital assistant behavior
CN103095784B (en) A kind of cloud user mapped system and method
CN108600780A (en) Method for pushed information
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
US20170188214A1 (en) Method and electronic device for sharing multimedia information
CN108549586B (en) Information processing method and device
CN103354927A (en) Method and apparatus for managing content in a processing device
CN101977221A (en) Method, device and system for realizing resource sharing
CN104866301B (en) For calling and the method and device of assisted call local side ability
US10511454B2 (en) Methods and systems for implementing differential pricing configurations
CN114327453A (en) Page display method, device, equipment and storage medium
GB2545707A (en) Media content sharing between users having associated content platforms
CN108073638B (en) Data diagnosis method and device
CN113127010B (en) Application management method and device, electronic equipment and storage medium

Legal Events

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