Embodiment
Host program is the carrier of confession under directions plug-in component operation, for example the instant communication software program.User's scene is meant the corresponding scene of user property of ID.Among the application embodiment, service platform possesses the service platform sign, on this service platform, has opened at least one business, and each business possesses a service identification, and service identification is tabulated corresponding to a plug-in unit.Promptly professional corresponding to service platform, so service identification identifies corresponding to a service platform; And plug-in unit tabulation is corresponding to business, be in plug-in unit that each plug-in unit sign in this plug-in unit tabulation identified meet this service identification corresponding service based on the access standard of service platform.And comprise at least one service platform sign in the user property of ID and identify at least one corresponding service identification with this service platform.For example; Suppose to have opened on the service platform A professional X; If comprised the service platform sign of service platform A and the service identification of corresponding service X in the user property of ID, the professional X that this user utilizes its ID can use service platform A to provide be described.Certainly, the user want to utilize this ID use the function of the professional X that service platform A provides need be in advance registration or open on service platform A.
The application's basic ideas are: the at first professional corresponding plug-in unit tabulation of each on the different service platforms of storage in server; Here comprise in the professional pairing plug-in unit tabulation and meet the plug-in unit sign that this service platform inserts standard and is applicable to the user's who opens said business plug-in unit, promptly server according to the business on the adaptive service platform generate the plug-in unit corresponding and tabulate with this professional service identification.The service platform that comprises in the user property according to each ID identifies and identifies with this service platform sign corresponding service; When the user utilizes this ID to use host program; For example login or operation are during host program; Utilize host program to transmit ID to server; Confirm the service platform sign that this ID is corresponding and identify corresponding service to identify according to the user property in the ID with this service platform; The service identification that this basis is determined is confirmed the plug-in unit tabulation that this service identification is corresponding, realizes coming personalizedly to obtain for each user the plug-in unit of the business correspondence that this user maybe the needs use according to user's scene of ID.
Carry out detailed elaboration below in conjunction with each accompanying drawing to the main realization principle of the application embodiment technical scheme, embodiment and to the beneficial effect that should be able to reach.
The plug-in unit that accompanying drawing 1a provides for the application embodiment obtains the sketch map of system, and this plug-in unit obtains system and comprises host program client and the server that is connected through network with client.
Shown in Fig. 1 b, the main realization principle process of the application embodiment is following:
Step 10, host program user end to server are sent the plug-in component download request carry ID, and the user property of said ID comprises the service platform sign and the service identification of the business opened based on the corresponding service platform of service platform sign;
After step 20, server receive the plug-in component download request that carries ID that the host program client sends, from the user property of each ID of storage, search the user property of the ID of carrying in the said plug-in component download request;
Step 30; Server sends to said host program client with the plug-in unit tabulation; The tabulation of said plug-in unit comprises each plug-in unit sign in the corresponding plug-in unit tabulation of at least one service identification that the user property of said ID comprises, the plug-in unit that each plug-in unit identified in the corresponding plug-in unit tabulation of said service identification meet this service identification corresponding service based on the access standard of service platform;
Step 40; The host program client is according to the plug-in unit tabulation download plug-in that receives.
Below will be according to the application's foregoing invention principle, be that example is introduced two embodiment in detail and come the main realization principle of the application's method is carried out detailed elaboration and explanation with the host program for the instant messaging program.Host program can also be email client or the like.
Embodiment one
Please, be the plug-in download process flow diagram of the application embodiment one with reference to accompanying drawing 2.
Step 201, the user imports ID Tom1970 and this ID in instant communication client classification is the ecommerce number of the account, instant communication client sends the plug-in component download request that carries ID Tom1970 to server;
Usually operate for the ease of the user; Instant communication client provides the classification option of several kinds of ID of being supported to supply the user to select through the mode of radio box or pull-down menu to the user, and the classification of ID comprises phone number, email address, ecommerce number of the account etc.;
Preferably; Instant communication client is when server sends ID Tom1970; According to this ID classification of user's input, from sign classification of storing and the corresponding relation that identifies reformulation rule, select the sign classification corresponding identification reformulation rule of input; And according to ID the recombinate processing of the sign reformulation rule of selecting to input; The ID that possesses the reorganization mark that instant communication client will obtain after will recombinating and handling is carried at and sends to server in the plug-in component download request.For example ecommerce number of the account corresponding identification reformulation rule is for increasing prefix " EB_ " before the ID of input, the ID of adding prefix " EB_ " back user Tom so is EB_Tom1970, and EB_Tom1970 is sent to server.Wherein, " EB_ " can regard a reorganization mark as.
After step 202, server receive the plug-in component download request that carries ID that instant communication client sends, from the user property of each ID of storage, search the user property of the ID Tom1970 that carries in the said plug-in component download request;
Preferably; When ID for handle through reorganization obtain possess the ID of reorganization mark the time; Server need be according to this reorganization sign, from the corresponding relation of the reorganization sign of storage and reformulation rule, confirms the reformulation rule of reorganization sign correspondence; And, from sign classification of storing and the corresponding relation that identifies reformulation rule, confirm the corresponding classification that identifies according to the reformulation rule of confirming; And from the user property of each corresponding ID of the different identification classification of storage, search definite pairing user property of sign classification.
For example; Server is ecommerce according to the classification of prefix " EB_ " the judges sign of the ID that receives; From the service platform attribute that the ID of this ecommerce classification of storage possesses, search the service platform attribute that ID Tom1970 possesses again.The user property that each ID of ecommerce classification in the present embodiment possesses is as shown in table 1; Wherein Platform1 is the sign of shopping platform; Platform2 is the sign of payment platform, and S_mobilephone is the sign based on the real name authentication business of payment platform based on the professional sign of the handset binding of shopping platform, S_identify.
The user property that finds ID comprises sign Platform1 that Tom1970 has the shopping platform, based on the sign Platform2 of professional sign of the handset binding of shopping platform and payment platform, based on the sign of the real name authentication business of payment platform.
The user property that each ID of table 1 ecommerce classification possesses
Step 203, server are searched the corresponding respectively plug-in unit tabulation of each service identification in the user property of ID Tom1970 from the corresponding plug-in unit tabulation of each service identification of opening based on the corresponding service platform of service platform sign of storage;
The plug-in unit that each plug-in unit sign is identified in the corresponding plug-in unit tabulation of service identification meet this service identification corresponding service institute based on service platform access standard.The plug-in unit tabulation that each service identification is corresponding in the present embodiment is as shown in table 2.The corresponding plug-in unit tabulation List1 of sign S_mobilephone that whois lookup handset binding to the shopping platform that is designated Platform1 is professional, and the corresponding plug-in unit tabulation List2 of sign S_identify that is designated real name authentication business on the payment platform of Platform2.The plug-in unit that the plug-in unit sign that for example comprises among the plug-in unit tabulation List1 is identified meets the shopping platform and inserts standard, the plug-in unit of the plug-in unit sign Addon_ID3 that plug-in unit, the plug-in unit that the plug-in unit sign Addon_ID2 of user sessions statistical function is provided that the plug-in unit of collection function is designated Addon_ID1 for example are provided, the attention rate ranking function is provided etc.The plug-in unit that the plug-in unit sign that comprises among the plug-in unit tabulation List2 is identified meets payment platform and inserts standard, for example provide the plug-in unit sign Addon_ID11 of monthly expense report plug-in unit, the plug-in unit etc. of the plug-in unit sign Addon_ID12 of prompting function is provided.
Except the corresponding plug-in unit tabulation List1 of the professional sign S_mobilephone of handset binding on the shopping platform that is designated Platform1; And outside the corresponding plug-in unit tabulation List2 of the sign S_identify that is designated real name authentication business on the payment platform of Platform2, comprise also in the table 2 that service identification on the logistics management platform that is designated Platform3 is that service identification is the professional corresponding plug-in unit tabulation of the Very Important Person List4 of S_VIP on corresponding plug-in unit tabulation List3 of the inquiry business of S_query and the shopping platform that is designated Platform1.The plug-in unit that the plug-in unit sign that comprises among the plug-in unit tabulation List3 is identified meets payment platform and inserts standard, for example provide the plug-in unit sign Addon_ID28 of monthly query report plug-in unit, the plug-in unit etc. of the plug-in unit sign Addon_ID29 of prompting function is provided.The plug-in unit that the plug-in unit sign that comprises among the plug-in unit tabulation List4 is identified meets the shopping platform and inserts standard, for example provides the plug-in unit of album function to be designated the plug-in unit of Addon_ID8.
The plug-in unit tabulation that each service identification of table 2 is corresponding
Service identification |
The plug-in unit tabulation |
Platform1-S_mobilephone |
List1={Addon_ID1、Addon_ID2、Addon_ID3} |
Platform1-S_VIP |
List4={Addon_ID8} |
Platform2-S_identify |
List2={Addon_ID11、Addon_ID12} |
Platform3-S_query |
List3={Addon_ID28、Addon_ID29} |
...... |
...... |
Step 204, server sends plug-in unit tabulation List_AV to instant communication client, comprises the plug-in unit sign in the plug-in unit tabulation that each service identification is corresponding in the user property that ID Tom1970 that step 203 finds possesses among the plug-in unit tabulation List_AV;
Be respectively the plug-in unit of Addon_ID1, Addon_ID2, Addon_ID3 owing to comprise the plug-in unit sign among the List1 in the present embodiment; Comprise among the List2 that the plug-in unit sign is respectively the plug-in unit of Addon_ID21, Addon_ID22.Therefore the plug-in unit that comprises among the List_AV is designated List_AV={Addon_ID1, Addon_ID2, Addon_ID3, Addon_ID21, Addon_ID22}.
Step 205, the plug-in unit tabulation List_AV download plug-in that instant communication client is sent according to server.
Preferably, take network transmission resource and local storage resources for fear of repeated downloads, in step 205, the detailed process of the plug-in unit tabulation List_AV download plug-in that instant communication client is sent according to server is shown in accompanying drawing 3:
Step 301, the newly-built content of instant communication client are empty tabulation List_DL to be downloaded;
Step 302, instant communication client, add this plug-in unit sign in the tabulation to be downloaded when not storing the plug-in unit of this plug-in unit sign correspondence in this locality successively to each the plug-in unit sign among the plug-in unit tabulation List_AV; Otherwise, this plug-in unit sign is not added among the tabulation List_DL to be downloaded;
Step 303, instant communication client judge whether the content of tabulation List_DL to be downloaded is empty, if get into step 304, otherwise processing finishes;
Step 304, instant communication client are downloaded the corresponding plug-in unit of each plug-in unit sign among the tabulation List_DL to be downloaded, till last the plug-in unit sign in tabulation List_DL to be downloaded.
Certainly; In the process shown in the accompanying drawing 3, can also comprise the step that supplies the user to select; Promptly show local plug-in unit sign of not storing corresponding plug-in unit in the plug-in unit tabulation, receive the selection instruction of user, and from the plug-in unit sign of corresponding plug-in unit is stored in this locality, do not select the plug-in unit sign according to selection instruction based on the plug-in unit sign input that shows to the user; And the plug-in unit selected sign added in the tabulation to be downloaded execution in step 303~step 304 again.The advantage of doing like this is when comprising a large amount of this locality among plug-in unit that server the is sent tabulation List_AV and do not store the plug-in unit sign of corresponding plug-in unit; For example comprise 1000 this locality and do not store plug-in unit when sign of corresponding plug-in unit; Can select plug-in unit based on self-demand and hobby according to the user; And the plug-in unit that the plug-in unit sign that does not need each this locality among the download plug-in tabulation List_AV not store corresponding plug-in unit is identified, thereby further reduce required network transmission resource that takies of download plug-in and the required local storage resources that takies of memory card.
Preferably, the plug-in unit tabulation that each service identification of storing in the server in the step 203 in the accompanying drawing 2 is corresponding is to obtain through the mode shown in the accompanying drawing 4:
Step 401 receives the plug-in unit plug-in description file corresponding with this plug-in unit; The corresponding plug-in description file of this plug-in unit of enclosing in the lump when add-in developer (comprising service platform provider and third party supplier) is submitted plug-in unit to; Said plug-in unit is described and is comprised service platform sign and service identification; The service platform sign is used to show that this plug-in unit meets the access standard of the corresponding service platform of this service platform sign; Service identification is used to show that this plug-in unit is applicable to the user who opens this service identification corresponding service, and in addition plug-in description file also comprises the additional information such as title, version number, operational mode of this plug-in unit;
Hereinafter has provided the example of a plug-in description file; This plug-in unit is used to provide community's focus function; Wherein the label substance of underscore part shows that this plug-in unit meets the access standard of the service platform that is designated Platform1, promptly is applicable to have opened the professional user of handset binding who is designated S_mobilephone on the service platform that is designated Platform1.
The plug-in description file example:
<?xml?version=″1.0″encoding=″utf-8″?>
<Plugin>
<AppID>6000</AppID>
<name>Community's focus</Name>
<Version>1</Version>
<WWSDK_Version>3400</WWSDK_Version>
<RunMode>1000</RunMode>
<BindSet>
<Bind>Platform1-S_mobilephone</Bind>
</BindSet>
......
</Plugin>
Step 402; According to sign of the service platform in the plug-in description file and service identification; Plug-in unit is sorted out, and the sign corresponding stored of each plug-in unit that the service platform sign that comprises in the plug-in description file with correspondence is identical with service identification is in the corresponding plug-in unit tabulation of this service identification that identifies corresponding service platform based on this service platform.
Be example still with the corresponding plug-in unit tabulation List1 of the professional sign S_mobilephone of handset binding on the shopping platform that is designated Platform1 shown in the table 2; Suppose existing Addon_ID1 among the List1, Addon_ID2, three corresponding plug-in units of plug-in unit sign of Addon_ID3, the List1 after then adding is List1={Addon_ID1, Addon_ID2, Addon_ID3,6000}.
Embodiment two
In order to make instant communication client have higher flexibility when the download plug-in; Server is before sending the plug-in unit tabulation to instant communication client; Can also send to instant communication client by first user property with the ID Tom1970 that carries in the plug-in component download request; From a plurality of service platform signs that user property comprises, select at least one service platform sign wherein by instant communication client; From a plurality of service identifications of opening based on the corresponding service platform of the sign of the service platform of choosing that user property comprises, select at least one service identification again; Service platform sign and the service identification selected according to instant communication client of server then; Send the plug-in unit tabulation to instant communication client, only comprise the plug-in unit sign in the corresponding plug-in unit tabulation of the service identification selected in the plug-in unit tabulation at this moment.Detailed process sees also shown in the accompanying drawing 5:
Step 501, the user imports ID Tom1970 and this ID in instant communication client classification is the ecommerce number of the account, instant communication client sends the plug-in component download request that carries ID Tom1970 to server;
Step 502; After server receives the plug-in component download request that carries ID that instant communication client sends; From table 3, in the user property of each ID of storage, search the user property of the ID Tom1970 that carries in the said plug-in component download request;
Step 503, server is with the user property UserProfile={Platform1-S_mobilephone of the ID Tom1970 that finds; Platform2-S_identify} sends to instant communication client;
Step 504, instant communication client receive the user property UserProfile={Platform1-S_mobilephone of the Tom1970 of server transmission; Behind the Platform2-S_identify}; From the service platform sign that the user property of Tom1970 comprises, select at least one service platform sign, and at least one corresponding service identification of this service platform sign of selecting and select from the service identification that the user property of Tom1970 comprises;
Preferably, instant communication client shows service platform sign Platform1, Platform2 and service identification S_mobilephone, the S_identify that the user property of this ID Tom1970 that receives comprises through display device; Receive the selection instruction of user based on service platform sign that shows and service identification input; At least one service platform sign of from the service platform sign that the user property of this ID comprises, selecting according to selection instruction; At least one service identification of from the service identification that the user property of this ID comprises, selecting is supposed sign Platform1 that has selected the shopping platform here and the professional sign S_mobilephone of handset binding that opens based on the shopping platform.
The professional sign S_mobilephone of the sign Platform1 of the shopping platform that step 505, instant communication client will be selected and handset binding sends to server;
Step 506; Server is selected the corresponding plug-in unit tabulation of the professional sign S_mobilephone of handset binding after receiving the professional sign S_mobilephone of sign Platform1 and the handset binding of the shopping platform that instant communication client sends from the corresponding plug-in unit tabulation of each service identification shown in the table 2;
Comprise plug-in unit sign Addon_ID1, Addon_ID2 and Addon_ID3 among the plug-in unit tabulation List1 of the sign S_mobilephone correspondence that handset binding is professional.
Step 507; Server sends plug-in unit tabulation List_AV1 to instant communication client, comprises the plug-in unit sign Addon_ID1, Addon_ID2 and the Addon_ID3 that comprise among the corresponding plug-in unit tabulation List1 of S_mobilephone that step 506 finds among the plug-in unit tabulation List_AV1;
Step 508, the plug-in unit tabulation List_AV1 download plug-in that instant communication client is sent according to server.
Preferably, in step 508, take network transmission resource and local storage resources, also can adopt to be similar to the concrete download scenarios shown in the accompanying drawing 3 for fear of repeated downloads.
Preferably, in ID Tom1970 access of instant communicating client, the service platform attribute UserProfile={Platform1-S_mobilephone that this ID that server will find in the step 503 possesses; Platform2-S_identify} sends to after the instant communication client; Instant communication client can be stored user property; When the user property of this ID Tom1970 takes place to revise; Server can be through the mode that sends a notification message, and the user property that obtains after revising is carried on sends to instant client in the notification message, and instant client is updated to the user property that obtains after the modification with the user property of storage.The certain situation that user property changes is following:
The user is at other e-commerce platforms that have cooperation to arrange in advance except that shopping platform, payment platform; For example register with ID Tom1970 on the logistics management platform and activate the service; Make and to enjoy the function that logistics management platform provides, will increase the sign Platform3 of logistics management platform in the user property that this moment, this ID possessed and the sign S_query of the inquiry business opened through ID Tom1970; Perhaps the user has opened other business except that the handset binding business on existing shopping platform, and for example Very Important Person is professional, will increase the professional sign Platform1-S_VIP of responsible consumer in the user property that this moment, this ID possessed; Perhaps the user has forever nullified ID Tom1970 on existing shopping platform or payment platform; With the function of no longer enjoying shopping platform or payment platform through ID Tom1970, the sign of deletion shopping platform or payment platform in the user property that this moment, ID Tom1970 possessed; It is professional that perhaps the user has closed the handset binding of having opened on the shopping platform, the professional sign S_mobilephone of deletion handset binding in the user property that this moment, ID Tom1970 possessed.
In order to solve at server after instant communication client sends the service platform attribute that ID possesses, the situation that the attribute that this ID possesses changes, after step 503, server can also execution in step 510,
Step 510; When server changes at the user property of ID Tom1970; Send a notification message to instant communication client, comprise service platform sign and service identification that the user property of amended this ID Tom1970 comprises in this notification message;
Suppose in the present embodiment, receive the user property UserProfile={Platform1-S_mobilephone of the Tom1970 of server transmission at step 504 instant communication client; The user has also opened the inquiry business of ID Tom1970 on the logistics management platform except that shopping platform or payment platform behind the Platform2-S_identify}, and the user property of ID Tom1970 will be modified to and be UserProfile={Platform1-S_mobilephone, Platform2-S_identify, Platform3-S_query} so at this moment.
Step 511; After instant communication client receives notification message; The user property of the Tom1970 that receives in sign that the user property of the amended Tom1970 that relatively comprises in the notification message comprises and the step 504; Being revised as of user property of confirming this Tom1970 increases sign or reduces sign, when this is revised as the increase sign, gets into step 512; When this is revised as the minimizing sign, the output prompting message;
Step 512, instant communication client are confirmed the sign and the service identification that increases service platform simultaneously that be designated of increase, or only increase service identification; If judge sign and the service identification that increases service platform simultaneously, get into step 513, if this is revised as and only increases service identification, get into step 516;
Step 513 sends to server with the service identification S_query of the inquiry business of the sign Platform3 of the logistics management platform that increases and increase;
Step 514; After server received the service identification S_query of sign Platform3 and query function of the logistics platform that instant communication client sends, the sign Platform3 that from the corresponding plug-in unit tabulation of each service identification shown in the table 2, selects logistics management platform went up the corresponding plug-in unit tabulation List3 of service identification S_query of inquiry business;
Step 515, server will comprise the plug-in unit tabulation List_AV2 that the sign Platform3 that selects logistics management platform goes up each plug-in unit sign among the corresponding plug-in unit tabulation List3 of the service identification S_query of query function and send to instant communication client;
Step 516, the plug-in unit tabulation List_AV2 download plug-in that instant communication client is sent according to server in step 515 or the step 518.
In the application embodiment; Server also can only identify the service platform sign that increases to be carried on corresponding business and send to instant communication client in the notification message; Instant communication client is according to service platform sign that increases and corresponding business sign; Upgrade the user property of self storing; And send the service platform sign carry increase and the plug-in component download request of corresponding business sign to server, and the service platform sign of sending according to server and increase and corresponding business identify the corresponding plug-in unit download plug-in of tabulating.The handling process and the above-mentioned steps of server side are similar, repeat no more at this.
Suppose that the user has opened the responsible consumer business of ID Tom1970 on the shopping platform in step 510, the user property of ID Tom1970 will be modified to UserProfile={Platform1-S_mobilephone so at this moment; Platform1-S_VIP; Platform3-S_query}; Then in step 510 server to instant communication client send comprise the notification message of amended user property after; Instant communication client is when execution in step 512; Judge this be revised as only increase service identification after, execution in step 513 '~step 516 ' to substitute above-mentioned steps 513~step 516;
Step 513 ', instant communication client will increase the professional sign S_VIP of Very Important Person, and this Very Important Person business based on the sign Platform1 of shopping platform send to server;
Step 514 '; Server is selected the professional corresponding plug-in unit tabulation List4 of service identification S_VIP of Very Important Person on the shopping platform after receiving the professional sign S_VIP of Very Important Person that instant communication client sends from the corresponding plug-in unit tabulation of each service identification shown in the table 2;
Step 515 ', the plug-in unit tabulation List_AV3 that server will comprise each plug-in unit sign among the corresponding plug-in unit tabulation List4 of the professional service identification S_VIP of Very Important Person on the shopping platform of selecting sends to instant communication client;
The plug-in unit tabulation List_AV3 download plug-in that server is sent in the step 516 ', instant communication client is according to step 515 '.
Preferably, in step 516 and step 516 ' in, taking network transmission resource and local storage resources for fear of repeated downloads, also can adopt to be similar to the concrete download scenarios shown in the accompanying drawing 3.
Preferably; In above-mentioned steps 504; When selecting on the service platform of at least one service platform sign and this service platform of selecting sign correspondence at least one service identification the service platform sign that instant communication client comprises from the user property of Tom1970 and the service identification respectively; Can also from alternative logical relation sign, select a logical relation sign; Logical relation sign comprise " with ", " or ", the sign of logical relation such as " non-", for example when user property be UserProfile={Platform1-S_mobilephone; Platform1-S_VIP; During Platform2-S_identify}; If the user selected Platform1-S_mobilephone, Platform1-S_VIP and logical relation " with " sign; Server will select to be applicable to simultaneously that the S_mobilephone corresponding mobile phone is bound the professional plug-in unit of Very Important Person professional and that S_VIP is corresponding on the shopping platform that is designated Platform1 so; Promptly be present in simultaneously among the corresponding plug-in unit tabulation List1 of S_mobilephone with the corresponding plug-in unit tabulation List4 of S_VIP in plug-in unit, even and the plug-in unit tabulation that will comprise the plug-in unit of selecting send to communication customer end; If the user selected Platform1-S_mobilephone, Platform1-S_VIP and logical relation " or " sign; Server is the corresponding plug-in unit tabulation List1 plug-in unit tabulation List4 corresponding with S_VIP of S_mobilephone on the shopping platform of selecting to be designated Platform1 so, even and will comprise among the List1 that selects and the List4 plug-in unit of each plug-in unit and tabulate and send to communication customer end; The situation of other logical relation signs is also similar, here enumerates no longer one by one.
Server stores has each ID to possess among the application embodiment user property and each service platform identify the corresponding plug-in unit tabulation of each professional service identification of opening on the corresponding service platform; When the user imported ID in the host program client, the host program user end to server sent the plug-in component download request that carries ID; The user property that ID in the whois lookup plug-in component download request possesses; And search the plug-in unit tabulation that each service identification is corresponding in the user property that ID possesses; Send the plug-in unit tabulation to host program; Comprise the plug-in unit sign in the corresponding plug-in unit tabulation of service identification that user property that the ID of carrying in the plug-in component download request possesses comprises in the plug-in unit tabulation, the plug-in unit that the plug-in unit sign that comprises in the corresponding plug-in unit tabulation of said service identification is identified meet this service identification corresponding service based on the access standard of service platform.Thereby a kind of scheme of utilizing host program to come download plug-in is provided, and this scheme user need not to install the installation kit that comprises all plug-in units, is fit to service platform open, that plug-in unit is more; Need not the user simultaneously and grasp professional knowledge and select suitable plug-in unit, the plug-in unit that adapts can be provided for the ID that possesses different service platform attributes easily.
Correspondingly, the application embodiment also provides a kind of host program client, and the concrete structure sketch map of this client is as shown in Figure 6, comprises following functional unit:
First transmitting element 61 is used for sending the plug-in component download request that carries ID to server, comprises the service identification of service platform sign and corresponding with service platform sign in the user property of ID;
Plug-in unit tabulation receiving element 62; Be used for service platform sign and the corresponding plug-in unit tabulation of service identification that reception server user properties that send and said ID 61 transmissions of first transmitting element comprise, comprise at least one plug-in unit sign in the plug-in unit tabulation;
First download unit 63 is used for the plug-in unit tabulation download plug-in that receives according to plug-in unit tabulation receiving element 62.
In a preferred embodiment, first transmitting element 61 specifically can be divided into following functional module, sends to server after with realization ID being recombinated.One of purpose of sign reorganization is can confirm corresponding sign classification according to the reorganization mark of ID for server.Particularly, those functional modules comprise:
The input information receiver module is used to receive the sign classification and the ID of input; The reformulation rule determination module is used for the sign classification according to the reception of input information receiver module, from sign classification of storing and the corresponding relation that identifies reformulation rule, confirms the sign classification corresponding identification reformulation rule of importing; Reorganization processing execution module is used for the sign reformulation rule confirmed according to the reformulation rule determination module, the ID that the input information receiver module the is received processing of recombinating; Sending module is used for that the ID that possesses the reorganization mark that reorganization processing execution module obtains is carried at plug-in component download request and sends to server.
In a preferred embodiment, plug-in unit tabulation receiving element 62 can be divided into following functional module, can realize choosing neatly corresponding service platform or the business of plug-in unit that desire is selected according to the actual requirements to realize the host program client:
The user property receiver module is used for that reception server is confirmed based on the ID of plug-in component download request and the user property of this ID of sending; Sign is selected module; Be used for from the service platform sign that this user property that the user property receiver module receives comprises; Select at least one service platform sign; And in the service identification that from this user property that receives, comprises, select and at least one corresponding service identification of said service platform sign of selecting; The sign sending module is used for service platform sign and service identification that sign selects module to select are sent to server; Plug-in unit tabulation receiver module is used for the said service platform sign with the sign sending module sends that reception server sends and tabulates with the corresponding plug-in unit of said service identification.
In a preferred embodiment, plug-in unit tabulation receiving element 62 can also be divided into following functional module, to realize that indicating server to identify according to the logical relation between the different business sign neatly selects the corresponding insert tabulation:
The user property receiver module is used for the user property that reception server possesses based on the ID of plug-in component download request this ID definite and that send; Sign is selected module; Be used for from the service platform sign that this user property that the user property receiver module receives comprises; Select at least one service platform sign; And in the service identification that from this user property of sending, comprises, select and at least one corresponding service identification of said service platform sign of selecting; The logical relation sign is selected module, is used to the logical relation sign of selecting one to be used to indicate logical relation between the different business sign of selecting; Sending module is used for the logical relation sign that service platform sign, service identification and logical relation sign that sign selects module to select select module to select is sent to server; Plug-in unit tabulation receiver module, the corresponding plug-in unit of service platform sign, service identification and logical relation sign with sending module sends out that is used for the reception server transmission is tabulated.
Preferably, the above-mentioned client that the application embodiment provides can further include: memory cell is used to store the user property that the user property receiver module receives; The notification message receiving element is used for the notification message that said user property increase service platform identifies and corresponding business identifies that reception server is sent, and comprises the service platform sign and the corresponding business sign of increase in the said notification message; Updating block is used for service platform sign and corresponding business sign according to the increase of notification message receiving element reception, the user property of updated stored unit storage; Second transmitting element is used for sending to server and carries the plug-in component download request that service platform sign that updating block upgrades the said increase that the user property that obtains comprises and corresponding business identify; Second download unit, the service platform sign of the said increase of sending with second transmitting element that is used for sending and the corresponding plug-in unit of the corresponding said service identification download plug-in of tabulating according to server.Through those unit, the above-mentioned client that the application embodiment provides can realize the download to the plug-in unit of corresponding increase under the situation that user property changes.
In a preferred embodiment, first download unit 63 specifically can be divided into following functional module, in order to avoid the situation of repeated downloads plug-in unit:
Download list is created module, is used to create a content and is empty tabulation to be downloaded; Plug-in unit sign determination module, the plug-in unit that is used for the plug-in unit of definite local storage identifies, and from the plug-in unit tabulation that receives, the marking matched inconsistent plug-in unit sign of definite plug-in unit with the local plug-in unit of storing; The plug-in unit sign adds module, is used for plug-in unit is identified the coupling inconsistent plug-in unit sign adding tabulation to be downloaded that determination module is confirmed; The plug-in download module is used for when the tabulation to be downloaded of download list establishment module creation is not sky, downloads in the tabulation to be downloaded and identifying the plug-in unit that each plug-in unit that adds the module adding identifies correspondence by plug-in unit.
Correspondingly, the application embodiment also provides a kind of server as shown in Figure 7, and this server comprises following functional unit:
First receiving element 71 is used to receive the plug-in component download request that carries ID that the host program client is sent;
User property is searched unit 72, is used for from the user property of each ID of storage, searches the user property of the ID of carrying in the plug-in component download request of first receiving element, 71 receptions;
Sign is confirmed unit 73, is used for confirming that user property searches the service identification that service platform sign that user property that unit 72 finds comprises and corresponding with service platform identify;
Unit 74 is searched in the tabulation of first plug-in unit; Be used for confirming that according to sign the service platform that unit 73 is confirmed identifies and service identification; Search corresponding plug-in unit tabulation, wherein, plug-in unit tabulation and the sign that finds confirms that at least one service identification of confirming unit 73 is corresponding; And, comprise at least one plug-in unit sign in the plug-in unit tabulation;
First plug-in unit tabulation transmitting element 75, the plug-in unit tabulation that is used for the tabulation of first plug-in unit is searched the correspondence that unit 74 finds sends to the host program client.
In a preferred embodiment, user property is searched unit 72, and can be divided into the ID that following functional module carries in the plug-in component download request with reply be the situation that possesses the ID of reorganization mark:
The reformulation rule determination module, the reorganization mark of the ID that is used for carrying according to plug-in component download request, from the corresponding relation of the reorganization mark of storage and sign reformulation rule, confirming should reorganization mark corresponding identification reformulation rule; Sign classification determination module is used for the sign reformulation rule definite according to the reformulation rule determination module, from sign classification of storing and the corresponding relation that identifies reformulation rule, confirms to identify accordingly classification; User property is searched module, is used for the ID of carrying according to plug-in component download request, from the user property of each corresponding ID of the different identification classification of storage, searches the corresponding user property of sign classification that sign classification determination module is confirmed.
In a preferred embodiment; Can choose corresponding service platform sign and the service identification of plug-in unit that desire is downloaded neatly in order to make the host program client; First plug-in unit tabulation is searched unit 74 and can be divided into following functional module: the user property sending module is used for that user property is searched the user property that unit 72 finds and sends to the host program client; The sign receiver module; Be used for receiving service platform sign and service identification that user property that the host program client sends according to the user property sending module comprises, select and at least one service platform sign of sending and at least one service identification that should the service platform sign; Module is searched in the plug-in unit tabulation, is used for identifying and service identification according to the service platform that the sign receiver module receives, and searches corresponding plug-in unit tabulation.
In a preferred embodiment, in order to make the place
The main program client can in time be downloaded increases service platform sign and the corresponding pairing plug-in unit of service identification; The above-mentioned server that the application embodiment provides can also comprise: the notification message transmitting element; Be used for after the user property sending module sends to the host program client with user property; When service platform sign that in user property, comprises or service identification increase; Send a notification message to said host program client, comprise the service platform sign and the corresponding business sign of increase in the said notification message; Second receiving element is used to receive the plug-in component download request that service platform sign that said host program client sends comprises the increase that the notification message transmitting element sends and corresponding business identify; The unit is searched in second plug-in unit tabulation, and the service platform sign that is used to search the increase that second receiving element receives is tabulated with the corresponding plug-in unit of corresponding business sign; Second plug-in unit tabulation transmitting element is used for that the plug-in unit tabulation that the unit finds is searched in the tabulation of second plug-in unit and sends to said host program client.
In addition; This server that the application embodiment provides can also comprise: the plug-in description file receiving element; Be used for before the first receiving element plug-in component download request, receive the plug-in description file of submitting to, said plug-in description file comprises service platform sign, service identification and plug-in unit sign; The corresponding stored unit, the service platform sign, service identification and the plug-in unit sign corresponding stored that are used for the plug-in description file that the plug-in description file receiving element receives is comprised are in the plug-in unit tabulation.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; This program can be stored in the computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and the scope that do not break away from the application to the application.Like this, belong within the scope of the application's claim and equivalent technologies thereof if these of the application are revised with modification, then the application also is intended to comprise these changes and modification interior.