CN104216788B - The implementation method and device of function treatment - Google Patents

The implementation method and device of function treatment Download PDF

Info

Publication number
CN104216788B
CN104216788B CN201410448920.XA CN201410448920A CN104216788B CN 104216788 B CN104216788 B CN 104216788B CN 201410448920 A CN201410448920 A CN 201410448920A CN 104216788 B CN104216788 B CN 104216788B
Authority
CN
China
Prior art keywords
function
local client
application end
function treatment
request
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
CN201410448920.XA
Other languages
Chinese (zh)
Other versions
CN104216788A (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 CN201410448920.XA priority Critical patent/CN104216788B/en
Publication of CN104216788A publication Critical patent/CN104216788A/en
Application granted granted Critical
Publication of CN104216788B publication Critical patent/CN104216788B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of implementation method of function treatment and devices.The method includes:Application end in intelligent terminal obtains the request of the first function treatment;The application end determines the local client in the intelligent terminal according to first function treatment request;The application end asks to send the request of the second function treatment to the local client according to first function treatment, to indicate that the local client carries out function treatment.The present invention solves the technical issues of demand that the single service that traditional application software provides can no longer meet personalization, facilitation that people are increasingly enhanced, realize the interactive interface established according to application end and local client, after application end receives user's request of setting, it can indicate that local client completes the technique effect of the processing function of setting, greatly reduce the manual operation of user, the execution efficiency for improving function, improves user experience.

Description

The implementation method and device of function treatment
Technical field
The present embodiments relate to computer technology more particularly to the implementation methods and device of a kind of function treatment.
Background technology
With the continuous development of computer technology and software technology, demand of the people to various network application softwares is increasingly Extensively, correspondingly, various different types of softwares are also increasingly developed and apply, life that is greatly abundant and facilitating people It is living.
Existing application software provides a user service primarily directed to a certain specific demand of user.For example, navigation Class application software (for example, Baidu's navigation or the navigation of high moral etc.) is mainly used to provide service for navigation user, is inputted eventually in user After client information destination navigation is carried out for user;Information offer class application software (such as love hires a car, likes that carwash or glutinous rice purchase by group Deng) mainly provide specific information service to the user, it is expected the specific information understood (for example, place of hiring a car, carwash user Point currently participates in the information such as the dining room purchased by group) it is supplied to user.Certain can be provided by being not only the client of application software form Kind function services, embedded plug-in unit in the client can also provide its corresponding function services, stated to simplify, provide certain The program of function services can be collectively referred to as application end.
But the progress of technology, but also requirement of the people for application software becomes higher, traditional application software carries The service of the single type of confession can no longer meet the personalization that people are increasingly enhanced, the demand of facilitation.
Invention content
The present invention provides a kind of implementation method and device of function treatment, to extend existing application software service, meets The demand of people's personalization growing to application software service, facilitation.
In a first aspect, an embodiment of the present invention provides a kind of implementation methods of function treatment, including:
Application end in intelligent terminal obtains the request of the first function treatment;
The application end determines the local client in the intelligent terminal according to first function treatment request;
The application end asks to ask to the second function treatment of local client transmission according to first function treatment It asks, to indicate that the local client carries out function treatment.
Second aspect, an embodiment of the present invention provides a kind of realization devices of function treatment, are configured in intelligent terminal In application end, including:
First function treatment acquisition request unit, for obtaining the request of the first function treatment;
Local client determination unit, for determining the sheet in the intelligent terminal according to first function treatment request Ground client;
Second function treatment request transmitting unit, for being asked to the local client according to first function treatment The request of the second function treatment is sent, to indicate that the local client carries out function treatment.
The embodiment of the present invention obtains the request of the first function treatment by the application end in intelligent terminal;The application end according to The first function treatment request determines the local client in the intelligent terminal;The application end is according to first function Processing request sends the request of the second function treatment to the local client, to indicate that the local client carries out function treatment Technological means, the service for solving the single type that traditional application software provides can no longer meet what people were increasingly enhanced The technical issues of personalized, facilitation demand, realizes the interaction that application end is established with local client in intelligent terminal Interface can indicate that local client completes the skill of the processing function of setting after application end receives user's request of setting Art effect improves the execution efficiency of function, can also improve user experience.
Description of the drawings
Fig. 1 is a kind of flow chart of the implementation method of function treatment of first embodiment of the invention;
Fig. 2 is a kind of flow chart of the implementation method of function treatment of second embodiment of the invention;
Fig. 3 is a kind of flow chart of the implementation method of function treatment of third embodiment of the invention;
Fig. 4 is a kind of flow chart of the implementation method of function treatment of fourth embodiment of the invention;
Fig. 5 a are a kind of human-computer interaction schematic diagrames for application scenarios that the embodiment of the present invention is applicable in;
Fig. 5 b are a kind of human-computer interaction schematic diagrames for application scenarios that the embodiment of the present invention is applicable in;
Fig. 5 c are a kind of human-computer interaction schematic diagrames for application scenarios that the embodiment of the present invention is applicable in;
Fig. 5 d are a kind of human-computer interaction schematic diagrames for application scenarios that the embodiment of the present invention is applicable in;
Fig. 6 is a kind of structure chart of the realization device of function treatment of fifth embodiment of the invention.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
First embodiment
Fig. 1 is a kind of flow chart of the implementation method for function treatment that first embodiment of the invention provides, the present embodiment Method can be executed by the realization device of function treatment, which can be realized by way of hardware and/or software, and general It can be integrated in the application end in intelligent terminal, be used cooperatively with the local client being equally integrated in the intelligent terminal.
Wherein, application end can be some client being embedded in intelligent terminal plug-in unit (for example, H5 (HTML5.0, Hyper-Text Markup Language 5.0 editions) plug-in unit), or the plug-in unit of the operating system of the intelligent terminal can also be the intelligence An independent client in energy terminal, is not limited this.
The method of the present embodiment specifically includes following operation:
110, the application end in intelligent terminal obtains the request of the first function treatment.
In the present embodiment, application end is specifically as follows the application services for providing set-up function.
Wherein, application end can be the plug-in unit of the operating system of intelligent terminal, be added for intelligent terminal operation system specific Function, for example, CommandSpot plug-in units in IOS systems can provide the quick of the system operatio of setting for operation user Mode;Application end may be the plug-in unit of mounted client in intelligent terminal, and specific function, example are added for the client Such as, the translation plug-in in web browser can carry out the full text translation of setting voice to currently showing the page;Application end may be used also Think that a separate customer end is installed in intelligent terminal, the present embodiment is to the existence form of application end and is not limited.
In the present embodiment, application end obtain the first function treatment request be specifically as follows operation user by click or The tactile mode of person's point triggers SNability request message caused by the correlation function control of application end.
Wherein, function type is can specifically include in first SNability request message, can also includes functional parameter, also Can include function type and functional parameter etc. simultaneously, for determining that the first function treatment asks the information for the function of being executed, The function can be translation, navigation etc..
Preferably, the function type that the first function solicited message includes can pass through the information of the first function solicited message Format embodies.For example, being asked if it is searching class function, the information header of the first function solicited message includes keyword “Search”;It is asked if it is navigation type function, the information header of the first function solicited message includes keyword " Navigate " Deng.
In the present embodiment, the information format of the first function solicited message can be preset according to actual conditions, to this It is not limited.
In a specific example, when the user clicks in client " Baidu's navigation " plug-in unit " love is hired a car " " starting to navigate " When control, plug-in unit " love is hired a car " is used as an application end, can trigger the first function solicited message for generating corresponding format, wherein Encapsulate the starting point and destination information of navigation simultaneously in the first function solicited message.
120, the application end determines the local client in the intelligent terminal according to first function treatment request.
In general, the emphasis of the function for the application that different software suppliers is provided is had nothing in common with each other, for example, " love Hire a car " application can mainly provide each position of hiring a car in each city to the user.And " Baidu's navigation " can be then to use Family provides destination navigation service.But the demand of user is typically continuous, for example, user is by hiring a car using acquisition It hires a car behind a position, can be desired to navigate through with prodigious probability using the navigation routine for being capable of providing the position.Existing skill In art, hires a car and do not have any interactive interface using with navigation application, user hires a car a position in application is hired a car in acquisition Title after, need that the title is input in navigation application manually, cumbersome, efficiency is low.
In the present embodiment, application end can preset the local client with function association according to functional dependency Between mapping relations, and provide the operational controls of setting to the user simultaneously.When the user clicks or point touch the setting operation When control, application end can determine the intelligence according to the request of the first function treatment and above-mentioned mapping relations that triggering generates In terminal, the local client of the function corresponding with the request of the first function treatment can be completed.
For example, the mapping relations between the navigation feature in hiring a car application end and " Baidu's navigation " client can be established, And the shops in application end of hiring a car is discussed in detail in page, provides the functionality controls of " shops's navigation " to the user, if user's point After hitting the functionality controls, which asks according to the first function treatment that triggering generates, and determines to complete to navigate " Baidu's navigation " client of function.
In another example reflecting between the web search function that can be established in e-book application end and " Baidu search " client Relationship is penetrated, and in the e-book reading page, provides the functionality controls of " web search " to the user, if user clicks the function After control, which asks according to the first function treatment that triggering generates, and determines that web search work(can be completed " Baidu search " client of energy.
In the present embodiment, when client or the application end can be installed in intelligent terminal, remember in registration table Mapping relations between recording function and client;Can also be previously written in the configuration file of application end function and client it Between mapping relations, the present embodiment is not limited this.
130, the application end asks to send at the second function to the local client according to first function treatment Reason request, to indicate that the local client carries out function treatment.
In the present embodiment, application end is determined to need to execute using the local client according to the first processing request After corresponding function treatment, local client can be triggered and can identify the second work(by needing to be converted to the request of the first function treatment Request can be handled, corresponding function treatment is executed to trigger the local client.
Preferably, the protocol interface of external call can be carried out by the application end by being preset in local client, when After the function type and/or functional parameter of agreement is written to local client by the protocol interface in application end, this can be triggered The corresponding function of ground client executing.
The technical solution of the embodiment of the present invention solves the service that traditional application software provides and can no longer meet people The personalization that is increasingly enhanced, facilitation demand the technical issues of, realize the friendship established according to application end and local client Mutual interface can indicate that local client completes certain processing function after application end receives user's request of setting Technique effect greatly reduces the manual operation of user, improves the execution efficiency of function, improves user experience.
Although in addition, at present in some local clients can built-in third side plug, to realize corresponding pin function. But local client is that the web page interlinkage of third side plug is added in corresponding program code, user inserts third party The operation of part is totally independent of local client, and third side plug can not directly share the correlation function of host's client.Relatively It answers, the method for the present embodiment has then filled up the blind area that third side plug is not interacted with host's client depth, greatly improves User experience and operating efficiency.
Second embodiment
Fig. 2 is a kind of flow chart of the implementation method of function treatment of second embodiment of the invention.The present embodiment is with above-mentioned It is optimized based on embodiment, in the present embodiment, will preferably operate the application end according to first function treatment It asks to send the request of the second function treatment to the local client, to indicate that the local client carries out function treatment optimization For:Application end parsing from first function treatment request obtains function type and/or functional parameter;The application end The function type and/or the functional parameter are subjected to protocol conversion, to generate be adapted with the local client the Two function treatments are asked, and are sent to local client.
Correspondingly, the method for the present embodiment includes following operation:
210, the application end in intelligent terminal obtains the request of the first function treatment.
In the present embodiment, the request of the first function treatment is specially the request message of uniform resource locator form.
Such as:By taking an application end calls the correlation function of " Baidu's navigation " client as an example.Assuming that user passes through application After end obtains the relevant information in Guangzhou railway station, it is desirable to be able to obtain the navigation routine for reaching Guangzhou railway station.User is in point After hitting the correlation function control (for example, " navigating to this to go ") provided in application end, application end can generate corresponding One function treatment is asked.
Wherein, corresponding function type is encapsulated in the request of the first function treatment of the uniform resource locator form And/or functional parameter.
220, the application end determines the local client in the intelligent terminal according to first function treatment request.
In the present embodiment, applications client can be determined according to function in registration table and the mapping relations of local client Local client can also determine local client according to the local profile of its storage, can also be directly according to first The protocol header type of function treatment request determines that local client, the present embodiment are not limited this.
230, application end parsing from first function treatment request obtains function type and/or functional parameter.
In the present embodiment, application end is in order to enable " Baidu's navigation " client is able to carry out and the request of the first function treatment Corresponding processing function needs function type, functional parameter or function type and functional parameter in asking the first function Combination be supplied to the setting protocol interface of local client.
Therefore, applications client need first from first function treatment request in parsing obtain function type and/or Functional parameter.
Can also only include that function is joined it is understood that can only include function type in the request of the first function treatment Number, can also include simultaneously function type and functional parameter, be not limited to this.
Specifically, corresponding function type and/or functional parameter can be parsed by way of Keywords matching.
240, by the function type, the functional parameter carries out protocol conversion to the application end accordingly, with generation and institute Adaptable the second function treatment request of local client is stated, and is sent to local client.
In the present embodiment, application end is carried according to the function type and/or functional parameter that parse according to local client After the parsing interface of confession carries out protocol conversion, generates the second function treatment being adapted with the local client and ask, concurrently Give local client.
For example, local client is that different function types defines different functional function interfaces, and application end exists After obtaining function type, the parameter value of functional parameter can be transferred to corresponding functional function interface according to the function type In, to generate second function treatment request.
The technical solution of the embodiment of the present invention solves the service that traditional application software provides and can no longer meet people The personalization that is increasingly enhanced, facilitation demand the technical issues of, realize the friendship established according to application end and local client Mutual interface can indicate that local client completes certain processing function after application end receives user's request of setting Technique effect greatly reduces the manual operation of user, improves the execution efficiency of function, improves user experience.
On the basis of the various embodiments described above, for different functions, multiple functions type can be set, and correspondence is set Various functions parameter is set, or functional parameter can be not provided with, such as:
The function type is:Route planning;Then the corresponding functional parameter includes at least one of following:Starting point, Transit point, mesh place and route planning strategy;
The function type is:Place name is searched for;Then the corresponding functional parameter specifically includes:Place name keyword;
The function type is:Periphery place is searched for;Then the corresponding functional parameter includes at least one of following:Place Type, search radius and central point;
The function type includes:Start navigation client, off-line data management, navigating back sets place or position me Position.
In the preferred embodiment, the function that application end triggering local client executes specifically includes:Navigation routine Planning function.
Wherein, application end generally requires current location being supplied to use before the navigation feature using local client In the local client of navigation.Preferably, the protocol interaction interface that application end can be provided first by local client triggers Local client obtains current location, is packaged in the request of the second function treatment using current location as functional parameter later, sends To local client.
3rd embodiment
Fig. 3 is a kind of flow chart of the implementation method of function treatment of third embodiment of the invention.The present embodiment is with above-mentioned It is optimized based on embodiment, in the present embodiment, it is preferred that the function type and the functional parameter are subjected to agreement Conversion is asked with generating the second function treatment being adapted with the local client, and is sent to local client and is optimized for: According to the function type, obtaining the function treatment being adapted with the local client please seek template the application end;It is described Application end inserts the functional parameter in the setting position that the function treatment please seek template, to generate and the native client Adaptable the second function treatment request in end;Second function treatment request is sent to local client by the application end.
Correspondingly, the method for the present embodiment includes following operation:
310, the application end in intelligent terminal obtains the request of the first function treatment.
320, the application end determines the local client in the intelligent terminal according to first function treatment request.
330, application end parsing from first function treatment request obtains function type and/or functional parameter.
340, the application end obtains the function treatment being adapted with the local client and asks according to the function type It seeks template.
In the present embodiment, it is specially URI (Uniform that local client, which is the protocol interface that application end provides, Resource Identifier, universal resource identifier) form interface.Namely:Local client correlation function can be triggered The second function treatment request be URI forms request message.
Preferably, local client is different function type, and providing different function treatments please seek template, to generate phase The the second function treatment request answered.
350, the application end inserts the functional parameter in the setting position that the function treatment please seek template, with production Raw the second function treatment being adapted with the local client is asked.
For example, after application end is by parsing the first function treatment request that user triggers, determination needs local client can (for " route planning ", destination functional parameter is function type navigation routine with offer from current location to Guangzhou railway station " Guangzhou railway station ").
Application end first according to the function type that parses determine the second function treatment please seek template for:
bdnavi://planCoordType=wgs84ll&src=yourAppIdentifier&dest=.
Later, application end inserts the functional parameter in the setting position that the function treatment please seek template, and generates the Two functions are asked:
bdnavi://planCoordType=wgs84ll&src=yourAppIdentifier&dest= 23.151433 113.252300, Guangzhou railway station.
Wherein, " 23.151433,113.252300 " be the latitude and longitude information in Guangzhou railway station.
360, second function treatment request is sent to local client by the application end.
It is corresponding to carry out according to corresponding function processing method after local client receives the request of the second function treatment Function treatment.
The technical solution of the embodiment of the present invention solves the service that traditional application software provides and can no longer meet people The personalization that is increasingly enhanced, facilitation demand the technical issues of, realize the friendship established according to application end and local client Mutual interface can indicate that local client completes certain processing function after application end receives user's request of setting Technique effect greatly reduces the manual operation of user, improves the execution efficiency of function, improves user experience.
In embodiments of the present invention, local client is that a kind of preferred protocol interface that application end provides is defined as follows:
1, suitable environment
Browser end on IOS and Android platform is applied and third-party application can play hundred according to this protocol form tune Navigation client is spent, and uses corresponding function services.
2, protocol form
bdnavi://serviceTypeParameter declaration under the queryParameters protocol forms is as shown in table 1.
Table 1
3, specific example
(1) route planning
Table 2
Call URI (Uniform Resource Identifier, universal resource identifier) example:bdnavi:// planCoordType=wgs84ll&src=yourAppIdentifier&dest=23.151433,113.252300, extensively State Huo Chezhan &strategy=10&via=22.543952,114.057814, shenzhen library:22.529841, 114.069315, Union Square:22.553782 114.091545, permanently happy garden.
Wherein, this example be by external call start Baidu navigate app, and plan from system current location pass through by way of Point 1 (22.543952,114.057814, shenzhen library), transit point 2 (22.529841,114.069315, Union Square) and Approach point 3 (22.553782,114.091545, permanently happy garden) arrive at (23.151433,113.252300, Guangzhou fire Station) route.
It is as shown in table 2 to this exemplary parameter declaration.
(2) place name is searched for
Call URI examples:bdnavi://queryThe Shenzhen name=Jin Xiuzhonghua &src=yourAppIdentifier, It is as shown in table 3 to this exemplary parameter declaration.
Table 3
Parameter name Explanation Whether must fill out Remarks
query Place name search service It is
name Place name keyword It is Place name description is more accurate, and searching results are more accurate
src Call source It is no
(3) start application
Call URI examples:bdnavi://launchSrc=yourAppIdentifier, to this exemplary parameter declaration As shown in table 4.
Table 4
Parameter name Explanation Whether must fill out Remarks
launch Start Baidu's navigation application It is
src Call source It is no
(4) off-line data management
Call URI examples:bdnavi://dataSrc=yourAppIdentifier, such as to this exemplary parameter declaration Shown in table 5.
Table 5
Parameter name Explanation Whether must fill out Remarks
data Off-line data management service It is
src Call source It is no
(5) it goes home
Call URI examples:bdnavi://gohomeSrc=yourAppIdentifier, to this exemplary parameter declaration As shown in table 6.
Table 6
Parameter name Explanation Whether must fill out Remarks
gohome Navigation goes home to service It is
src Call source It is no
(6) company is gone back to
Call URI examples:
bdnavi://gocompanySrc=yourAppIdentifier, to this exemplary parameter declaration such as 7 institute of table Show.
Table 7
Parameter name Explanation Whether must fill out Remarks
gocompany Navigate back company service It is
src Call source It is no
(7) my position
Call URI examples:bdnavi://whereSrc=yourAppIdentifier, to this exemplary parameter declaration As shown in table 8.
Table 8
(8) ambient services place is searched for
Call URI examples:bdnavi://nearbyId=1&radius=5000&loc=23.0999442125, 113.2910156250&src=yourAppIdentifier as shown in table 9 to this exemplary parameter declaration.
Table 9
Fourth embodiment
Fig. 4 is a kind of flow chart of the implementation method of function treatment of fourth embodiment of the invention.The present embodiment is with above-mentioned It is optimized based on embodiment, in the present embodiment, will preferably operate the application end according to first function treatment Request determines that the local client in the intelligent terminal is optimized for:The application end is asked according to first function treatment, The mapping relations between corresponding function and client are searched, the intelligence is installed on eventually be determined to handle the function Local client in end.
Correspondingly, the method for the present embodiment includes following operation:
410, the application end in intelligent terminal obtains the request of the first function treatment.
420, the application end is asked according to first function treatment, searches reflecting between corresponding function and client Relationship is penetrated, to be determined to handle the local client of the function being installed in the intelligent terminal.
In the present embodiment, application end is asked according to first function treatment, in registration table or local profile Mapping relations between middle locating function and client, can also according to function type intelligent terminal installation software matrix In correspondence in each client in mount message between locating function and client, this is not limited.
Wherein, if mapping relations of the application end in registration table between locating function and client, the side of the present embodiment Method can also include:
When client or the application end are installed in the intelligent terminal, writing function and client in registration table Between mapping relations.
430, application end parsing from first function treatment request obtains function type and/or functional parameter.
440, the function type and/or the functional parameter are carried out protocol conversion by the application end, with generation and institute Adaptable the second function treatment request of local client is stated, and is sent to local client.
The technical solution of the embodiment of the present invention solves the service that traditional application software provides and can no longer meet people The personalization that is increasingly enhanced, facilitation demand the technical issues of, realize the friendship established according to application end and local client Mutual interface can indicate that local client completes certain processing function after application end receives user's request of setting Technique effect greatly reduces the manual operation of user, improves the execution efficiency of function, improves user experience.
It is preferred that application scenarios
A kind of schematic diagram of preferred application scenarios of the embodiment of the present invention is shown in Fig. 5 a- Fig. 5 d.As shown in Figure 5 a: It is mounted with local client " Baidu's navigation " in intelligent terminal, and has embedded " love is hired a car " in " Baidu's navigation " client and has inserted Part.While the correlation function that user uses " Baidu's navigation " to provide, each rent of " love is hired a car " plugin lookup can also be passed through Vehicle point position;
As shown in Figure 5 b, when user is postponed by " love is hired a car " plugin lookup to demand point of hiring a car, click can be passed through Functionality controls " shops's navigation " thereon, to obtain from current location to the navigation routine a little of hiring a car.Wherein, when the user clicks After " shops's navigation " control, " love is hired a car " plug-in unit can be triggered and generate the request of the first function treatment, later, " love is hired a car " plug-in unit should After the request of first function treatment is converted into the request of the second function treatment, it is sent to " Baidu's navigation " client.
Such as Fig. 5 c, shown in Fig. 5 d, " Baidu's navigation " client is asked according to the second function treatment received, and triggering is corresponding Route planning function, provide navigation routine to the user.
" Baidu's navigation " client can pass through the backstage with " Baidu's navigation " after getting the request of the second function treatment Server interacts, and to realize route planning function, then receives the navigation results of return, and " Baidu's navigation " client can be straight It connects and the navigation results is presented.
For realizing that the process of other functions, local client can handle this function based on its existing implementation procedure and ask It asks, the result of return can be directly presented by local client, can also return to application end.
In the preferred embodiment, the interaction between " love is hired a car " plug-in unit and " Baidu's navigation " client is without after passing through Platform server is completed, and is manually entered navigation terminal without user, execution efficiency is high, and user experience is good.
5th embodiment
A kind of structure chart of the realization device of function treatment of fifth embodiment of the invention, the work(is shown in FIG. 6 The realization device that can be handled is configured in the application end in intelligent terminal.As shown in fig. 6, described device includes:
First function treatment acquisition request unit 61, for obtaining the request of the first function treatment.
Local client determination unit 62, for being determined in the intelligent terminal according to first function treatment request Local client.
Second function treatment request transmitting unit 63, for being asked to the native client according to first function treatment End sends the request of the second function treatment, to indicate that the local client carries out function treatment.
The embodiment of the present invention obtains the request of the first function treatment by the application end in intelligent terminal;The application end according to The first function treatment request determines the local client in the intelligent terminal;The application end is according to first function Processing request sends the request of the second function treatment to the local client, to indicate that the local client carries out function treatment Technological means, solve the single service that traditional application software provides and can no longer meet the individual character that people are increasingly enhanced Change, the demand of facilitation the technical issues of, the interactive interface established according to application end and local client is realized, in application end After the user's request for receiving setting, it can indicate that local client completes the technique effect of the processing function of setting, subtract significantly The manual operation for having lacked user improves the execution efficiency of function, improves user experience.
On the basis of the various embodiments described above, the second function treatment request transmitting unit can specifically include:
Parameter analysis of electrochemical subelement, for parsing acquisition function type and/or function from first function treatment request Parameter;
Protocol conversion subelement, for the function type, the functional parameter carries out protocol conversion accordingly, to generate It is asked with the second function treatment that the local client is adapted, and is sent to local client.
On the basis of the various embodiments described above, protocol conversion subelement specifically can be used for:
According to the function type, obtaining the function treatment being adapted with the local client please seek template;
The functional parameter is inserted in the setting position that the function treatment please seek template, to generate and the local visitor Adaptable the second function treatment request in family end;
Second function treatment request is sent to local client.
On the basis of the various embodiments described above, the function type is:Route planning;The then corresponding functional parameter packet It includes at least one of following:Starting point, transit point, mesh place and route planning strategy;
The function type is:Place name is searched for;Then the corresponding functional parameter specifically includes:Place name keyword;
The function type is:Periphery place is searched for;Then the corresponding functional parameter includes at least one of following:Place Type, search radius and central point;
The function type includes:Start navigation client, off-line data management, navigating back sets place or position me Position.
On the basis of the various embodiments described above, local client determination unit specifically can be used for:
It is asked according to first function treatment, the mapping relations between corresponding function and client is searched, with determination The local client of the function being installed in the intelligent terminal can be handled.
On the basis of the various embodiments described above, can also include:
Mapping relations recording unit is being noted when for installing client or the application end in the intelligent terminal Mapping relations in volume table between writing function and client.
On the basis of the various embodiments described above, the application end is to be embedded in the local client or the intelligence eventually Other clients in end or the plug-in unit in the operating system of the intelligent terminal, or, the application end is the intelligent terminal In other clients.
The realization device for the function treatment that the embodiment of the present invention is provided can be used for executing any embodiment of the present invention and provide Function treatment implementation method, have corresponding function module, realize identical advantageous effect.
Obviously, it will be understood by those skilled in the art that each module of the above invention or each step can be by as above The application end and local client cooperation are implemented.Optionally, the embodiment of the present invention can be can perform with computer installation Program realizes that be executed by a processor so as to be stored in storage device, the program can be stored in In a kind of computer readable storage medium, storage medium mentioned above can be read-only memory, disk or CD etc.;Or They are fabricated to each integrated circuit modules, or by them multiple modules or step be fabricated to single integrated electricity Road module is realized.In this way, the present invention is not limited to the combinations of any specific hardware and software.
The foregoing is merely the preferred embodiment of the present invention, are not intended to restrict the invention, for those skilled in the art For, the present invention can have various modifications and changes.It is all within spirit and principles of the present invention made by any modification, equivalent Replace, improve etc., it should all be included in the protection scope of the present invention.

Claims (11)

1. a kind of implementation method of function treatment, which is characterized in that including:
Application end in intelligent terminal obtains the request of the first function treatment;
The application end determines the local client in the intelligent terminal according to first function treatment request;
The application end asks to send the request of the second function treatment to the local client according to first function treatment, with Indicate that the local client carries out function treatment;
Wherein, the application end asks to ask to the second function treatment of local client transmission according to first function treatment It asks, is specifically included with indicating that the local client carries out function treatment:
Application end parsing from first function treatment request obtains function type and functional parameter;
The function type and the functional parameter are carried out protocol conversion by the application end, to generate and the local client Adaptable the second function treatment request, and it is sent to local client;
The function type and the functional parameter are subjected to protocol conversion, to generate be adapted with the local client the Two function treatments are asked, and are sent to local client and are specifically included:
According to the function type, obtaining the function treatment being adapted with the local client please seek template the application end;
The application end inserts the functional parameter in the setting position that the function treatment please seek template, with generate with it is described Adaptable the second function treatment request of local client;
Second function treatment request is sent to local client by the application end.
2. according to the method described in claim 1, it is characterized in that, second function treatment request is universal resource identifier The request message of form.
3. according to the method described in claim 1, it is characterized in that:
The function type is:Route planning;Then the corresponding functional parameter includes at least one of following:Starting point, by way of Point, mesh place and route planning strategy;
Alternatively, the function type is:Place name is searched for;Then the corresponding functional parameter specifically includes:Place name keyword;
Alternatively, the function type is:Periphery place is searched for;Then the corresponding functional parameter includes at least one of following: Institute's type, search radius and central point;
Alternatively, the function type includes:Start navigation client, off-line data management, navigating back sets place or position me Position.
4. according to the method described in claim 1, it is characterized in that, the application end is asked really according to first function treatment The local client in the intelligent terminal includes calmly:
The application end is asked according to first function treatment, searches the mapping relations between corresponding function and client, To be determined to handle the local client of the function being installed in the intelligent terminal.
5. according to the method described in claim 4, it is characterized in that, further including:
When client or the application end are installed in the intelligent terminal, in registration table between writing function and client Mapping relations.
6. according to the method described in claim 1, it is characterized in that:
The application end is the plug-in unit being embedded in the local client or the application end is to be embedded in the intelligent terminal In other clients in plug-in unit or the application end be the plug-in unit being embedded in the operating system of the intelligent terminal;Or
The application end is the client in the intelligent terminal.
7. a kind of realization device of function treatment, is configured in the application end in intelligent terminal, which is characterized in that including:
First function treatment acquisition request unit, for obtaining the request of the first function treatment;
Local client determination unit, for determining the local visitor in the intelligent terminal according to first function treatment request Family end;
Second function treatment request transmitting unit, for asking to send to the local client according to first function treatment Second function treatment is asked, to indicate that the local client carries out function treatment;
Wherein, the second function treatment request transmitting unit specifically includes:
Parameter analysis of electrochemical subelement, for parsing acquisition function type and functional parameter from first function treatment request;
Protocol conversion subelement carries out protocol conversion for the function type and the functional parameter, to generate and described Adaptable the second function treatment request of ground client, and it is sent to local client;
Protocol conversion subelement is specifically used for:
According to the function type, obtaining the function treatment being adapted with the local client please seek template;
The functional parameter is inserted in the setting position that the function treatment please seek template, to generate and the local client Adaptable the second function treatment request;
Second function treatment request is sent to local client.
8. device according to claim 7, it is characterised in that:
The function type is:Route planning;Then the corresponding functional parameter includes at least one of following:Starting point, by way of Point, mesh place and route planning strategy;
Alternatively, the function type is:Place name is searched for;Then the corresponding functional parameter specifically includes:Place name keyword;
Alternatively, the function type is:Periphery place is searched for;Then the corresponding functional parameter includes at least one of following: Institute's type, search radius and central point;
Alternatively, the function type includes:Start navigation client, off-line data management, navigating back sets place or position me Position.
9. device according to claim 7, which is characterized in that local client determination unit is specifically used for:
It is asked according to first function treatment, the mapping relations between corresponding function and client is searched, to be determined to Handle the local client of the function being installed in the intelligent terminal.
10. device according to claim 9, which is characterized in that further include:
Mapping relations recording unit, when for installing client or the application end in the intelligent terminal, in registration table Mapping relations between middle writing function and client.
11. device according to claim 7, it is characterised in that:
The application end is the plug-in unit being embedded in the local client or the application end is to be embedded in the intelligent terminal In other clients in plug-in unit or the application end be the plug-in unit being embedded in the operating system of the intelligent terminal;Or
The application end is the client in the intelligent terminal.
CN201410448920.XA 2014-09-04 2014-09-04 The implementation method and device of function treatment Active CN104216788B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410448920.XA CN104216788B (en) 2014-09-04 2014-09-04 The implementation method and device of function treatment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410448920.XA CN104216788B (en) 2014-09-04 2014-09-04 The implementation method and device of function treatment

Publications (2)

Publication Number Publication Date
CN104216788A CN104216788A (en) 2014-12-17
CN104216788B true CN104216788B (en) 2018-09-07

Family

ID=52098309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410448920.XA Active CN104216788B (en) 2014-09-04 2014-09-04 The implementation method and device of function treatment

Country Status (1)

Country Link
CN (1) CN104216788B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6499062B1 (en) * 1998-12-17 2002-12-24 Koninklijke Philips Electronics N.V. Synchronizing property changes to enable multiple control options
CN102053828A (en) * 2009-10-30 2011-05-11 株式会社东芝 Information processing device, information processing system and information processing method
CN103279375A (en) * 2013-06-19 2013-09-04 百度在线网络技术(北京)有限公司 Method and device for running application programs in browser
CN103426306A (en) * 2013-08-07 2013-12-04 合肥迈腾信息科技有限公司 Cloud service based taxi hire system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5635760B2 (en) * 2009-10-16 2014-12-03 キヤノン株式会社 Information processing system, information processing method, and computer program
US8825748B2 (en) * 2011-07-06 2014-09-02 Sharp Laboratories Of America, Inc. Sandboxed daemon process invocation through HTTP
JP2013101632A (en) * 2012-12-11 2013-05-23 Ricoh Co Ltd Information processing apparatus, image forming apparatus, information processing method, and system
CN103425494A (en) * 2013-08-06 2013-12-04 惠州华阳通用电子有限公司 Information interaction system of vehicle-mounted terminal and smart mobile terminal
CN103440170A (en) * 2013-08-29 2013-12-11 惠州华阳通用电子有限公司 Method for preferentially calling application program of smart mobile terminal in double-computer interactive mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6499062B1 (en) * 1998-12-17 2002-12-24 Koninklijke Philips Electronics N.V. Synchronizing property changes to enable multiple control options
CN102053828A (en) * 2009-10-30 2011-05-11 株式会社东芝 Information processing device, information processing system and information processing method
CN103279375A (en) * 2013-06-19 2013-09-04 百度在线网络技术(北京)有限公司 Method and device for running application programs in browser
CN103426306A (en) * 2013-08-07 2013-12-04 合肥迈腾信息科技有限公司 Cloud service based taxi hire system and method

Also Published As

Publication number Publication date
CN104216788A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
US9031579B2 (en) Method and system for providing location services
CN110365721A (en) A kind of method, terminal device and system based on the triggering service of user's scene perception
CN108519967A (en) Chart method for visualizing, device, terminal and storage medium
KR20190099353A (en) Data structure pooling of voice activated data packets
CN106302842A (en) A kind of domain name analytic method, Apparatus and system
CN105760159A (en) Website developing method and system
CN103036954A (en) Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS
CN102939579A (en) Method and apparatus for binding user interface elements and granular reflective processing
US20150120772A1 (en) Method and system for information push
KR20130097006A (en) Device for do it yourself m2m platform and, m2m service method thereof
CN103997452A (en) Information sharing method and apparatus among multiple platforms
US8977642B2 (en) Recommending relevant and personalized content accessing keywords for users of a text messaging service based global textsite platform
US10372512B2 (en) Method and apparatus for automatic processing of service requests on an electronic device
CN110704476A (en) Data processing method, device, equipment and storage medium
JP2012014652A (en) Content distribution system and content distribution method
WO2017036271A1 (en) System and method for providing data as a service (daas) in real-time
CN111310230A (en) Spatial data processing method, device, equipment and medium
CN102546737B (en) Wireless Internet gateway access system and method
US9319374B2 (en) Personalized bookmarking of textsite applications via a text message
CN103379022B (en) A kind of instant communication method based on Internet map search and system
CN105516269A (en) Application configuration method and application configuration device
CN105095487A (en) E-commerce website information control method
US20130143611A1 (en) Mobile application using text messaging service protocol or other network protocol requiring a data plan
CN104216788B (en) The implementation method and device of function treatment
CN105009122A (en) System and method to allow a domain name server to process a natural language query and determine context

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