Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
It please refers to Fig.1, it illustrates the method flow diagram of function activating method provided by one embodiment of the present invention, the work(
Method can be started to can be applied in client.The function activating method, including:
Step 101, the communication information that other clients are sent is received;
Communication information is the message that other clients are sent to client, can include word message, image information, audio
Message and video messaging etc., the present embodiment is not construed as limiting communication information.
Step 102, whether detection communication information includes the startup link for starting predetermined function, and startup link includes
Module id field, module id field start the function module of predetermined function for identifying;
Predetermined function refers to the function that other clients are recommended to client, can be some where other clients
Some game that channel or other clients are being played etc., the present embodiment is not construed as limiting predetermined function.In the present embodiment, in advance
Determining function must be started by corresponding function module, if for example, predetermined function is some channel, function module can be frequency
Road module;If predetermined function is some game, function module can be game module.
In order to which client is enable directly to start predetermined function by function module, without client to other clients
The text information of transmission is retrieved, and calling functional modules start the function, other clients after corresponding function is retrieved
Can be with generation module identification field, and client will be sent to including the startup of module id field link.Wherein, module id
Field includes the module id of function module.For example, function module is channel module, then module id field can be " channel "
Pinyin abbreviation pd;Function module is game module, then module id field can be the Pinyin abbreviation yxdt of " Games Lobby ".
Due to whether including starting link in client and the uncertain communication information received, client needs
Communication information is detected.If communication information includes starting link, client can be opened directly according to startup link
Dynamic predetermined function, that is, perform step 103;If not including starting link in communication information, client can be to the communication information
It is shown.
Step 103, if testing result includes the startup link for starting predetermined function for communication information, by described
Function module starts the predetermined function.
Client can parse module id field from starting in link, and function mould is determined according to module id field
Block, so as to start predetermined function according to function module.
In conclusion function activating method provided in an embodiment of the present invention, the communication sent by receiving other clients
Message;Whether detection communication information includes the startup link for starting predetermined function, and startup link includes module id word
Section, module id field start the function module of predetermined function for identifying;If testing result includes opening for communication information
The startup link of dynamic predetermined function, then start predetermined function by function module, can be directly from the communication information received
The startup link for starting predetermined function is obtained, and predetermined work(is directly initiated according to the determining function module of startup link
Can, solving client needs to receive retrieval information input by user, is adjusted after going out corresponding function further according to retrieval information retrieval
The problem of being started this function with function module, affected the starting efficiency of function has reached and has carried H.D starting efficiency
Effect.
A is please referred to Fig.2, it illustrates the method flow diagrams for the function activating method that another embodiment of the present invention provides, should
Function activating method can be applied in client.The function activating method, including:
Step 201, the communication information that other clients are sent is received;
Communication information is the message that other clients are sent to client, can include word message, image information, audio
Message and video messaging etc., the present embodiment is not construed as limiting communication information.
Further, client is received there are many kinds of the modes of communication information, for example, client can pass through chat panel
The communication information that good friend is sent by other clients is received, client can also be passed through by the other users in the channel of place
Communication information that other clients are sent etc., the present embodiment is not construed as limiting.
Step 202, whether detection communication information includes the startup link for starting predetermined function, and startup link includes
Module id field, module id field start the function module of predetermined function for identifying;
Predetermined function refers to the function that other clients are recommended to client, can be some where other clients
Some game that channel or other clients are being played etc., the present embodiment is not construed as limiting predetermined function.In the present embodiment, in advance
Determining function must be started by corresponding function module, if for example, predetermined function is some channel, function module can be frequency
Road module;If predetermined function is some game, function module can be game module.
In order to which client is enable directly to start predetermined function by function module, without client to other clients
The text information of transmission is retrieved, and calling functional modules start the function, other clients after corresponding function is retrieved
Can be with generation module identification field, and client will be sent to including the startup of module id field link.Wherein, module id
Field includes the module id of function module.For example, function module is channel module, then module id field can be " channel "
Pinyin abbreviation pd;Function module is game module, then module id field can be the Pinyin abbreviation yxdt of " Games Lobby ".
Due to whether including starting link in client and the uncertain communication information received, client needs
Communication information is detected.If communication information includes starting link, client can be opened directly according to startup link
Dynamic predetermined function, that is, perform step 203;If not including starting link in communication information, client can be to the communication information
It is shown.
Specifically, whether detection communication information includes the startup link for starting predetermined function, including:
1) whether detection communication information includes predetermined protocol head;
If 2) testing result includes predetermined protocol head for communication information, detect whether the content after predetermined protocol head wraps
Include module id field;
3) if testing result includes module id field for the content after predetermined protocol head, it is determined that communication information includes
For starting the startup of predetermined function link.
Include predetermined protocol head and module id field due to starting link, client can be communicated by detecting
Whether whether message include starting link in communication information including predetermined protocol head and module id field to detect.It is for example, logical
Believe that message is " please to try out lower y://pd ", then client " y is determined by regular expression:// " it is predetermined protocol head, then lead to
It crosses regular expression and determines that " pd " is module id field, then client determines the " y in communication information://pd " is to start chain
It connects.
Step 203, if testing result includes the startup link for starting predetermined function for communication information, to starting chain
It connects and is shown;If receiving to trigger the trigger signal for starting link, trigger and perform step 204;
In the present embodiment, client can include starting link automatic startup later and start detecting communication information
Corresponding predetermined function is linked, can also be included opening up to starting link after starting link detecting communication information
Show, and start when user triggers the startup link of displaying and link corresponding predetermined function with starting.
Wherein, it is shown to starting link, including:
1) acquisition module identification field;
2) it determines to open from the correspondence and module id field of different displaying templates according to disparate modules identification field
The displaying template of dynamic link;
3) displaying template is shown.
Wherein, all startup links can be shown by client in the form of hyperlink.For example, please refer to Fig.2 B
Shown startup links the application schematic diagram of exhibition method, and will start link in Fig. 2 B (1) is shown as " y://pd ", when movement refers to
Pointer becomes the shape of finger when on needle to the hyperlink, and gives the prompting that can be clicked.Or,
In order to embody the diversity of function, different displaying templates can also be set for different function modules, then client
End get module id field after, can according to disparate modules identification field with it is different show templates correspondences and
Module id field determines displaying template, and the displaying template is shown.It, can be with for example, when function module is channel
Displaying includes the bill in " room ";When function module is game module, bill including " game paddle " etc. can be shown.Please
With reference to figure 2B (2), the present embodiment is illustrated for showing the bill including " room ".
Since function module can may only start a function, start only needs to include module id in link
Field can determine predetermined function;If function module can start at least two functions, start link and also need to include function
Identification field, so that function module determines institute's predetermined function to be started according to Function Identification field.Wherein, Function Identification field
Function Identification including predetermined function.For example, function module is channel module, then Function Identification can be the mark of channel 123
“123”;When function module is game module, then Function Identification can be the mark " 10 " of game 10.Or,
Start link and can also include for functional circuit information that function is described, which can be with
At least one of character introduction including function, picture introduction, audio introduction and introductory video.Character introduction can include name
Title and popularity etc..
It, can also be by Function Identification field when startup link includes Function Identification field and/or function description field
And/or function description field be added to displaying template in be shown.Specifically, displaying template is shown, including:
If 1) starting link further includes Function Identification field, Function Identification field is added in displaying template and is opened up
Show, Function Identification field is used to identify a function at least one function of providing in function module;And/or
If 2) starting link further includes function description field, function description field is added in displaying template and is opened up
Show, function description field is used to that function to be described.
1) assume to start to be linked as y://pd- [sid=123], then Function Identification is " 123 ", then Fig. 2 B (2) are including
" 123 " are illustrated in the bill in " room ", that is, it is channel 123 to identify predetermined function.
2) it illustrates, is then shown after Function Identification field so that function description field is function title and popularity as an example
" half cigarette, half rain (134) " identifies entitled " half cigarette, half rain ", the popularity 134 of predetermined function.
Further, function description field is added in displaying template and be shown, including:
If 1) function description field includes picture address, picture is obtained according to picture address, picture address is by other
Client is converted to picture;
2) picture is added in displaying template and be shown.
If further including picture address in function description field, client can be in a network or objective according to the picture address
Picture is obtained in the installation kit at family end, and the picture is added in displaying template and is shown.Since other clients will be schemed
Piece is converted to that picture address is sent to client and picture flow is far longer than word flow, therefore, can save client
Flow also saves transfer resource.
Step 204, predetermined function is started by function module.
Client can parse module id field from starting in link, and function mould is determined according to module id field
Block, so as to start predetermined function according to function module.
Specifically, predetermined function is started by function module, including:
1) if starting link only includes module id field, acquisition module identification field passes through module id field mark
The function module of knowledge starts predetermined function;
2) if starting link includes module id field and Function Identification field, acquisition module identification field and function mark
Character learning section determines to start the function module of predetermined function according to module id field, passes through function module startup function identifier word
The predetermined function of segment identification.
First, when function module only can start a function, client can be started predetermined by the function module
Function.
Since function module can be contained in the build-in function module of client and be not included in the external of client
Function module, and the method that client starts predetermined function by build-in function module with external function module is different, therefore, leads to
The function module for crossing module id field identification starts predetermined function, including:
1) function module of judgment module identification field mark is contained within the build-in function module of client and does not still wrap
External function module contained in client;
2) if judging result is contained within the build-in function module of client for function module, pass through build-in function module
Start predetermined function;
3) if judging result is to be not included in the external function module of client for function module, external function mould is obtained
The interface that block provides, external function module is sent to by interface by module id field, so that external function module starts in advance
Determine function.
After judging that function module is build-in function module, since client can directly invoke build-in function mould
Block, therefore, client can call build-in function module to start predetermined function.Judging that function module is external function module
Later, the interfaces of data is used for transmission since external function module is only provided to client, client can be by connecing
Module id field is sent to external function module by mouth, and external function module starts predetermined work(after receiving module id field
Energy.
Second, when client can start at least two functions, client can pass through function module startup function mark
Know the predetermined function that module is identified.
Since function module can be contained in the build-in function module of client and be not included in the external of client
Function module, and the method that client starts predetermined function by build-in function module with external function module is different, therefore, leads to
The predetermined function of function module startup function identification field mark is crossed, including:
1) function module of judgment module identification field mark is contained within the build-in function module of client and does not still wrap
External function module contained in client;
2) if judging result is contained within the build-in function module of client for function module, pass through build-in function module
The predetermined function of startup function identification field mark;
3) if judging result is to be not included in the external function module of client for function module, external function mould is obtained
The interface that block provides, is sent to external function module, so as to external by interface by module id field and Function Identification field
Function module starts predetermined function.
After judging that function module is build-in function module, since client can directly invoke build-in function mould
Block, therefore, client can call the predetermined function that build-in function module startup function mark module is identified.Judging work(
The interfaces of data can be used for transmission since external function module is only provided to client after module is external function module,
Therefore, module id field and Function Identification field can be sent to external function module, external work(by client by interface
Can module receive the predetermined function that startup function mark module after module id field and Function Identification field is identified.
In conclusion function activating method provided in an embodiment of the present invention, the communication sent by receiving other clients
Message;Whether detection communication information includes the startup link for starting predetermined function, and startup link includes module id word
Section, module id field start the function module of predetermined function for identifying;If testing result includes opening for communication information
The startup link of dynamic predetermined function, then start predetermined function by function module, can be directly from the communication information received
The startup link for starting predetermined function is obtained, and predetermined work(is directly initiated according to the determining function module of startup link
Can, solving client needs to receive retrieval information input by user, is adjusted after going out corresponding function further according to retrieval information retrieval
The problem of being started this function with function module, affected the starting efficiency of function has reached and has carried H.D starting efficiency
Effect.In addition, by obtaining picture according to picture address, picture is added in displaying template and is shown, it can be by picture
It is converted to word to be transmitted, saves the flow of client, also save transfer resource.
For example, the user A using A clients and the user B using B clients are chatting, if user A wants to push away to user B
It recommends " game 10 ", user A can send a communication information by A clients to B clients.Assuming that the communication information be " Hi,
Y is played together://yxdt- [10] ", then B clients detect the y in communication information://yxdt- [10] is a startup chain
It connects, by y://yxdt- [10] is shown in the form of hyperlink or bill.If user B clicks the startup link of displaying,
B clients are directly initiated " game 10 " by starting " yxdt " is identified in link " game module ".
It please refers to Fig.3, it illustrates the method flow diagram of function activating method provided by one embodiment of the present invention, the work(
Method can be started to can be applied in client.The function activating method, including:
Step 301, it obtains to start opening for the predetermined function recommended to other clients from the input frame of client
Dynamic link, startup link include module id field, and module id field starts the function module of predetermined function for identifying;
Predetermined function refers to the function that client is recommended to other clients, can be some channel where client
Or client playing some game etc., the present embodiment is not construed as limiting predetermined function.In the present embodiment, predetermined function must
It must be started by corresponding function module, if for example, predetermined function is some channel, function module can be channel module;
If predetermined function is some game, function module can be game module.
In order to which other clients is enable directly to start predetermined function by function module, without other clients to visitor
The text information that family end is sent is retrieved, and calling functional modules start the function, client after corresponding function is retrieved
Can be with generation module identification field, and other clients will be sent to including the startup of module id field link.Wherein, module
Identification field includes the module id of function module.For example, function module is channel module, then module id field can be
The Pinyin abbreviation pd of " channel ";Function module is game module, then module id field can be the phonetic contracting of " Games Lobby "
Write yxdt.
Step 302, link will be started and is sent to other clients, so that other clients pass through module id field identification
Function module start predetermined function.
Client can will start link and be transmitted directly to other clients as communication information, can also be linked starting
It is added in communication information, and other word messages, image information, audio message and video messaging is added in communication information
Deng, the communication information after addition is sent to other clients, it, can be logical according to this after other clients receive communication information
Believe that the startup link in message starts predetermined function.
In conclusion function activating method provided in an embodiment of the present invention, obtains to open from the input frame of client
The startup of the predetermined function link that the other clients of trend are recommended, starts link and includes module id field, module id field
For identifying the function module for starting predetermined function;Link will be started and be sent to other clients so that other clients can be with
The startup link for starting predetermined function is directly received, and is directly initiated according to the determining function module of startup link predetermined
Function, solving other clients needs to receive retrieval information input by user, goes out corresponding work(further according to retrieval information retrieval
Calling functional modules start this function after energy, the problem of affecting the starting efficiency of function, have reached and have proposed H.D startup
The effect of efficiency.
A is please referred to Fig.4, it illustrates the method flow diagrams for the function activating method that another embodiment of the present invention provides, should
Function activating method can be applied in client.The function activating method, including:
Step 401, it obtains to start opening for the predetermined function recommended to other clients from the input frame of client
Dynamic link, startup link include module id field, and module id field starts the function module of predetermined function for identifying,
Startup link is obtained by input operation or paste operation;
Predetermined function refers to the function that client is recommended to other clients, can be some channel where client
Or client playing some game etc., the present embodiment is not construed as limiting predetermined function.In the present embodiment, predetermined function must
It must be started by corresponding function module, if for example, predetermined function is some channel, function module can be channel module;
If predetermined function is some game, function module can be game module.
In order to which other clients is enable directly to start predetermined function by function module, without other clients to visitor
The text information that family end is sent is retrieved, and calling functional modules start the function, client after corresponding function is retrieved
Can be with generation module identification field, and other clients will be sent to including the startup of module id field link.Wherein, module
Identification field includes the module id of function module.For example, function module is channel module, then module id field can be
The Pinyin abbreviation pd of " channel ";Function module is game module, then module id field can be the phonetic contracting of " Games Lobby "
Write yxdt.
In the present embodiment, client can be obtained in input frame startup link, the input frame can be with good friend chat
Input frame of channel etc. where input frame or client in its panel, the present embodiment is not construed as limiting.Wherein, start
Link can be operated by the input of user and at least one of paste operation obtains.
First, it is obtained if starting link by input operation, obtains to start to other from the input frame of client
The startup link for the predetermined function that client is recommended, including:
1) at least one of input frame keyword is obtained;
2) detect whether at least one keyword matches with predetermined protocol head;
If 3) testing result is matched at least one keyword with predetermined protocol head, displaying starts link for generating
Each Field Template, Field Template include module id field;
4) completion is carried out at least one keyword according to selection Field Template, obtains starting link.
Since startup link includes the module corresponding to predetermined protocol head and module id field and different function modules
Identification field is different, therefore, user's not only easy input error when input starts link so that other clients can not root
Start predetermined function according to starting to link, the input time for being also easy to cause to start link is longer, affects the efficiency of function startup.
Therefore, client can be pre-configured with Field Template, each Field Template corresponds to a module id field,
Then when at least one keyword inputted during client detects input frame is matched with predetermined protocol head, it is defeated to determine that user needs
Enter to start link, each Field Template of configuration can be shown at this time, so that user is in each Field Template of displaying
The Field Template that user selects carries out keyword completion by one Field Template of middle selection, client, and generation starts link.
For example, please refer to Fig.4 the generation schematic diagram of the startup link shown in B, the Field Template in Fig. 4 B include " pd " and
" yxdt ", it assumes that the keyword that user inputs in input frame is " y:// ", client detect the keyword of input with it is pre-
Determine protocol header " y:// " matching, then Field Template " pd " and " yxdt " is shown in drop-down list, if user has selected " pd ",
" y can be generated:The startup link of //pd ".
Since function module can may only start a function, start only needs to include module id in link
Field can determine predetermined function;If function module can start at least two functions, start link and also need to include function
Identification field, so that function module determines institute's predetermined function to be started according to Function Identification field.Wherein, Function Identification field
Function Identification including predetermined function.For example, function module is channel module, then Function Identification can be the mark of channel 123
“123”;When function module is game module, then Function Identification can be the mark " 10 " of game 10.Or,
Start link and can also include for functional circuit information that function is described, which can be with
At least one of character introduction including function, picture introduction, audio introduction and introductory video.Character introduction can include name
Title and popularity etc..
It, can also be according to Function Identification word when startup link includes Function Identification field and/or function description field
Section and/or the generation of function description field start link.Then at least one keyword is carried out according to selection Field Template
After completion, further include:
If 1) Field Template further includes the Function Identification field for lacking Function Identification, the function mark of predetermined function is obtained
Know, Function Identification is added in Function Identification field, Function Identification field is used at least one work(provided in function module
A function is identified in energy;And/or
2) systematic function description field, after function description field is added to Field Template, function description field for pair
Function is described.
1) if Field Template includes module id field and lacks the Function Identification field of Function Identification, still with module
Identification field is illustrates for " pd ", then Field Template can be pd- [sid=], wherein, it is used to add work(after "="
It can mark.Assuming that Function Identification is " 123 ", then " 123 " are added to the startup link obtained after Function Identification field is
y://pd- [sid=123].
2) it is illustrated so that function description field is function title and popularity as an example, then it can be after Function Identification field
It adds " half cigarette, half rain (134) ", that is, identifies entitled " half cigarette, half rain ", the popularity 134 of predetermined function.
Further, systematic function description field, including:
1) predetermined function is if desired described by picture, then obtains the picture address of picture;
2) picture address is added in function description field.
If further including picture address in function description field, client can obtain the picture in a network or client
Installation kit in picture address, and the picture address is added in function description field.Since client converts picture
Other clients are sent to for picture address and picture flow is far longer than word flow, therefore, can save the stream of client
Amount, also saves transfer resource.
Second, it obtains to start the startup chain of predetermined function recommended to other clients from the input frame of client
It connects, including:
It is obtained by the paste operation carried out in input frame and starts link, start link by the shortcut key to showing in advance
Carry out triggering generation.
In the present embodiment, client can also show the shortcut key for starting the predetermined function in the predetermined function of startup,
If user triggers the shortcut key, client obtains the startup link of the predetermined function, and passes through paste operation and will start chain
It connects and pastes in input frame.Since user only needs to perform simple duplication operation and paste operation, user's input can be saved
Start the time of link, further improve the efficiency of function startup.
For example, client illustrates " starting link shortcut key " in channel 123, if user, which clicks, " it is fast to start link
Startup link " the y of prompt key ", then client acquisition channel 123://pd- [sid=123] ", and show that " one-key duplication starts
The prompt message of link ", client can will start link after prompt message is seen and be pasted onto in the input frame of client.
Step 402, link will be started and is sent to other clients, so that other clients pass through module id field identification
Function module start predetermined function.
Client can will start link and be transmitted directly to other clients as communication information, can also be linked starting
It is added in communication information, and other word messages, image information, audio message and video messaging is added in communication information
Deng, the communication information after addition is sent to other clients, it, can be logical according to this after other clients receive communication information
Believe that the startup link in message starts predetermined function.
In conclusion function activating method provided in an embodiment of the present invention, obtains to open from the input frame of client
The startup of the predetermined function link that the other clients of trend are recommended, starts link and includes module id field, module id field
For identifying the function module for starting predetermined function;Link will be started and be sent to other clients so that other clients can be with
The startup link for starting predetermined function is directly received, and is directly initiated according to the determining function module of startup link predetermined
Function, solving other clients needs to receive retrieval information input by user, goes out corresponding work(further according to retrieval information retrieval
Calling functional modules start this function after energy, the problem of affecting the starting efficiency of function, have reached and have proposed H.D startup
The effect of efficiency.In addition, the picture address by obtaining picture;Picture address is added in function description field, can be incited somebody to action
Picture is converted to word and is transmitted, and saves the flow of client, also saves transfer resource.
For example, the user A using A clients and the user B using B clients are chatting, if user A wants to push away to user B
" game 10 " is recommended, then can be recommended " game 10 " to user B by inputting operation or paste operation.
If user A recommends " game 10 " by inputting operation to user B, user A can be in the input frame of A clients
At least one keyword is inputted, A clients are detecting at least one keyword of user A inputs and predetermined protocol head " y://”
During matching, the Field Template of " yxdt- [] " and " pd- [sid=] ", user A selections " yxdt- [] " are shown in drop-down list
Field Template, then A clients " yxdt- [] " is used to carry out completion to the keyword of input, " y is shown in input frame://
Yxdt- [] ", user A is in " y:The Function Identification " 10 " of addition " game 10 ", obtains " y in //yxdt- [] "://yxdt-
Obtained startup link is sent to B clients by startup link [10] ", A clients.
If user A is recommended " game 10 " by paste operation to user B, user A can open " game 10 ", click on
" start link shortcut key " shown in " game 10 ", A clients replicate the startup of " game 10 " according to the clicking operation of user A
Link " y://yxdt- [10] ", and to the prompt message of user A promptings " one-key duplication start link ", user A are carried seeing
Show " the y for duplication being obtained after information://yxdt- [10] " is pasted in input frame, obtains starting link.A clients are incited somebody to action
To startup link be sent to B clients.Wherein, the form of plane ticket can be shown as by " starting link shortcut key ", with characterization
Function starts efficient.
Fig. 5 is please referred to, it illustrates the structural framing figure of function activating apparatus provided by one embodiment of the present invention, the work(
Energy starter can be applied in client.The function activating apparatus, including:
Message reception module 501, for receiving the communication information that other clients are sent;
Message-detection 502, for detecting whether the communication information that message reception module 501 receives includes opening
The startup link of dynamic predetermined function starts link and includes module id field, and module id field starts predetermined work(for identifying
The function module of energy;
Function activation module 503, the result for being detected in message-detection 502 include starting for communication information
During the startup link of predetermined function, predetermined function is started by function module.
In conclusion function activating apparatus provided in an embodiment of the present invention, the communication sent by receiving other clients
Message;Whether detection communication information includes the startup link for starting predetermined function, and startup link includes module id word
Section, module id field start the function module of predetermined function for identifying;If testing result includes opening for communication information
The startup link of dynamic predetermined function, then start predetermined function by function module, can be directly from the communication information received
The startup link for starting predetermined function is obtained, and predetermined work(is directly initiated according to the determining function module of startup link
Can, solving client needs to receive retrieval information input by user, is adjusted after going out corresponding function further according to retrieval information retrieval
The problem of being started this function with function module, affected the starting efficiency of function has reached and has carried H.D starting efficiency
Effect.
Fig. 6 is please referred to, it illustrates the structural framing figure for the function activating apparatus that yet another embodiment of the invention provides, the work(
Energy starter can be applied in client.The function activating apparatus, including:Message reception module 501, message-detection
502 and function activation module 503.
Message reception module 501, for receiving the communication information that other clients are sent;
Message-detection 502, for detecting whether the communication information that message reception module 501 receives includes opening
The startup link of dynamic predetermined function starts link and includes module id field, and module id field starts predetermined work(for identifying
The function module of energy;
Function activation module 503, the result for being detected in message-detection 502 include starting for communication information
During the startup link of predetermined function, predetermined function is started by function module.
Optionally, function activation module 503, including:
First start unit 5031, if only including module id field for starting to link, acquisition module identification field,
Predetermined function is started by the function module of module id field identification;
Second start unit 5032 if including module id field and Function Identification field for starting link, obtains
Module id field and Function Identification field determine to start the function module of predetermined function according to module id field, pass through work(
The predetermined function of energy module startup function identification field mark.
Optionally, the first start unit 5031, including:
First judgment sub-unit 50311, the function module for judgment module identification field mark are contained within client
Build-in function module be still not included in the external function module of client;
First promoter unit 50312 as function module is packet for the result that judges in the first judgment sub-unit 50311
During build-in function module contained in client, pass through build-in function module and start predetermined function;
Second promoter unit 50313 as function module is not for the result that judges in the first judgment sub-unit 50311
When being contained in the external function module of client, the interface that external function module provides is obtained, by interface by module id word
Section is sent to external function module, so that external function module starts predetermined function.
Optionally, the second start unit 5032, including:
Second judgment sub-unit 50321, the function module for judgment module identification field mark are contained within client
Build-in function module be still not included in the external function module of client;
Third promoter unit 50322 as function module is packet for the result that judges in the second judgment sub-unit 50321
During build-in function module contained in client, pass through the predetermined function that build-in function module startup function identification field identifies;
4th promoter unit 50323 as function module is not for the result that judges in the second judgment sub-unit 50321
When being contained in the external function module of client, the interface that external function module provides is obtained, by interface by module id word
Section and Function Identification field are sent to external function module, so that external function module starts predetermined function.
Optionally, device further includes:
Display module 504 is linked, before starting predetermined function by function module for function activation module 503, to opening
Dynamic link is shown;
Step trigger module 505, if for receiving the tactile of the startup link shown for triggering link display module 504
It signals, then triggers the step of execution starts predetermined function by function module.
Optionally, display module 504 is linked, including:
Field acquiring unit 5041, for acquisition module identification field;
Template determination unit 5042, for according to disparate modules identification field from it is different displaying templates correspondences and
The module id field that field acquiring unit 5041 is got determines to start the displaying template of link;
Template display unit 5043, the displaying template for being determined to template determination unit 5042 are shown.
Optionally, template display unit 5043, including:
First displaying subelement 50431, if Function Identification field is further included for starting link, by Function Identification field
It is added in displaying template and is shown, Function Identification field is used to identify one at least one function of providing in function module
Item function;And/or
Second displaying subelement 50432, if function description field is further included for starting link, by function description field
It is added in displaying template and is shown, function description field is used to that function to be described.
Optionally, the second displaying subelement 50432, if including picture address, root specifically for function description field
Picture is obtained according to picture address, picture address is converted to picture by other clients;Picture is added to displaying mould
It is shown in plate.
Optionally, link detection module 502, including:
Protocol detection unit 5021, for detecting whether communication information includes predetermined protocol head;
Field detection unit 5022, the result for being detected in protocol detection unit 5021 include predetermined association for communication information
When discussing head, whether the content after detection predetermined protocol head includes module id field;
Link determination unit 5023, for the result that detect in field detection unit 5022 be after predetermined protocol head in
When appearance includes module id field, determine that communication information includes the startup link for starting predetermined function.
In conclusion function activating apparatus provided in an embodiment of the present invention, the communication sent by receiving other clients
Message;Whether detection communication information includes the startup link for starting predetermined function, and startup link includes module id word
Section, module id field start the function module of predetermined function for identifying;If testing result includes opening for communication information
The startup link of dynamic predetermined function, then start predetermined function by function module, can be directly from the communication information received
The startup link for starting predetermined function is obtained, and predetermined work(is directly initiated according to the determining function module of startup link
Can, solving client needs to receive retrieval information input by user, is adjusted after going out corresponding function further according to retrieval information retrieval
The problem of being started this function with function module, affected the starting efficiency of function has reached and has carried H.D starting efficiency
Effect.In addition, by obtaining picture according to picture address, picture is added in displaying template and is shown, it can be by picture
It is converted to word to be transmitted, saves the flow of client, also save transfer resource.
Fig. 7 is please referred to, it illustrates the structural framing figure of function activating apparatus provided by one embodiment of the present invention, the work(
Energy starter can be applied in client.The function activating apparatus, including:
Acquisition module 701 is linked, for obtaining to start what is to other clients recommended from the input frame of client
The startup link of predetermined function starts link and includes module id field, and module id field starts predetermined function for identifying
Function module;
Sending module 702 is linked, the startup link for link acquisition module 701 to be got is sent to other clients
End, so that other clients start predetermined function by the function module of module id field identification.
In conclusion function activating apparatus provided in an embodiment of the present invention, obtains to open from the input frame of client
The startup of the predetermined function link that the other clients of trend are recommended, starts link and includes module id field, module id field
For identifying the function module for starting predetermined function;Link will be started and be sent to other clients so that other clients can be with
The startup link for starting predetermined function is directly received, and is directly initiated according to the determining function module of startup link predetermined
Function, solving other clients needs to receive retrieval information input by user, goes out corresponding work(further according to retrieval information retrieval
Calling functional modules start this function after energy, the problem of affecting the starting efficiency of function, have reached and have proposed H.D startup
The effect of efficiency.
Fig. 8 is please referred to, it illustrates the structural framing figure for the function activating apparatus that yet another embodiment of the invention provides, the work(
Energy starter can be applied in client.The function activating apparatus, including:Link acquisition module 701 and chain receive and send mould
Block 702.
Acquisition module 701 is linked, for obtaining to start what is to other clients recommended from the input frame of client
The startup link of predetermined function starts link and includes module id field, and module id field starts predetermined function for identifying
Function module;
Sending module 702 is linked, the startup link for link acquisition module 701 to be got is sent to other clients
End, so that other clients start predetermined function by the function module of module id field identification.
Optionally, it is obtained if starting link by input operation, links acquisition module 701, including:
Word acquiring unit 7011, for obtaining at least one of input frame keyword;
Text detection unit 7012, for detect at least one keyword that word acquiring unit 7011 gets whether with
Predetermined protocol head matches;
Template display unit 7013, for the result that is detected in text detection unit 7012 at least one keyword with it is pre-
When determining protocol header matching, displaying starts each Field Template of link for generating, and Field Template includes module id field;
Word completion unit 7014, for according to selection a template display unit 7013 displaying Field Template to extremely
A few keyword carries out completion, obtains starting link.
Optionally, acquisition module 701 is linked, is further included:
First adding device 7015, for word completion unit 7014 according to a Field Template of selection at least one
After keyword carries out completion, if Field Template further includes the Function Identification field for lacking Function Identification, predetermined function is obtained
Function Identification, Function Identification is added in Function Identification field, Function Identification field be used for function module provide extremely
A function is identified in one item missing function;And/or
Second adding device 7016, for word completion unit 7014 according to a Field Template of selection at least one
After keyword carries out completion, systematic function description field, after function description field is added to Field Template, function describing word
Section is used to that function to be described.
Optionally, the second adding device 7016 specifically for if desired describing predetermined function by picture, then obtains figure
The picture address of piece;Picture address is added in function description field.
Optionally, acquisition module 701 is linked, including:
Acquiring unit 7017 is linked, starts link for being obtained by the paste operation carried out in input frame, starts chain
It connects by carrying out triggering generation to the shortcut key shown in advance.
In conclusion function activating apparatus provided in an embodiment of the present invention, obtains to open from the input frame of client
The startup of the predetermined function link that the other clients of trend are recommended, starts link and includes module id field, module id field
For identifying the function module for starting predetermined function;Link will be started and be sent to other clients so that other clients can be with
The startup link for starting predetermined function is directly received, and is directly initiated according to the determining function module of startup link predetermined
Function, solving other clients needs to receive retrieval information input by user, goes out corresponding work(further according to retrieval information retrieval
Calling functional modules start this function after energy, the problem of affecting the starting efficiency of function, have reached and have proposed H.D startup
The effect of efficiency.In addition, the picture address by obtaining picture;Picture address is added in function description field, can be incited somebody to action
Picture is converted to word and is transmitted, and saves the flow of client, also saves transfer resource.
It should be noted that:The function activating apparatus that above-described embodiment provides is when carrying out function startup, only with above-mentioned each
The division progress of function module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application
Energy module is completed, i.e., the internal structure of function activating apparatus is divided into different function modules, described above complete to complete
Portion or partial function.In addition, the function activating apparatus that above-described embodiment provides belongs to same with function activating method embodiment
Design, specific implementation process refer to embodiment of the method, and which is not described herein again.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.