CN1946066A - Method for providing and using WEB service on instant communication platform - Google Patents

Method for providing and using WEB service on instant communication platform Download PDF

Info

Publication number
CN1946066A
CN1946066A CN 200610096421 CN200610096421A CN1946066A CN 1946066 A CN1946066 A CN 1946066A CN 200610096421 CN200610096421 CN 200610096421 CN 200610096421 A CN200610096421 A CN 200610096421A CN 1946066 A CN1946066 A CN 1946066A
Authority
CN
China
Prior art keywords
web service
instant communication
service
user
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200610096421
Other languages
Chinese (zh)
Other versions
CN100505706C (en
Inventor
钱晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CNB2006100964214A priority Critical patent/CN100505706C/en
Publication of CN1946066A publication Critical patent/CN1946066A/en
Application granted granted Critical
Publication of CN100505706C publication Critical patent/CN100505706C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses a method for providing and using WEB service on a prompt communication platform, in which, a user providing the WEB service registers on a prompt communication server and the server generates a virtual WEB service and provides it to a prompt communication customer end, the user sends a request to the server when using, which verifies the user identity and tests the operation attribute and parameter value to set operation attribute and generate the PROXY kind for dispatching WEB service timely to send a request to the path of the actual WEB service and feeds back service data after getting response and the customer end displays or uses it.

Description

A kind of method that provides and use the WEB service at immediate communication platform
One, technical field
The present invention relates to providing and using of the service of WEB in the network communication field, particularly a kind of method that provides and use the WEB service at immediate communication platform.
Two, background technology
Numerous enterprises and website provide miscellaneous online service for the user, for example ecommerce, and online transaction, information provides etc.User's different demands have not only been satisfied in these online services greatly, also for enterprise saves cost, bring direct economic benefit.Yet for these online services, can there be following problem in the user in use usually, and these problems have limited the use of online service to a certain extent, promotes and the keeping and enlarge of actual user group:
(1) user can not remember network address or user name corresponding and password.
(2) user can not set the automatic operation of service and obtain the service data of immediate updating.
(3) user must active website login could obtain the up-to-date information of service.
(4) user must the spended time removal search and is registered required service.
(5) user holds suspection to the confidence level of service.
Instant messaging (Instant Messenger, abbreviation IM) platform is the online at present communication intercommunion platform that generally uses, and functions such as text chat, voice-enabled chat, Video chat are not only arranged, and can also send out e-mail and note, provide exchange files, functions such as net fun.Immediate communication platform has its huge customer group, powerful instant communication function and very high frequency of utilization.At present, the application of instant messaging also only rests on chat, and exchange files on the functions such as resource sharing and net fun, is not also utilized its distinctive advantage, and the function of service-oriented (Service-Oriented is called for short SO) is provided.One " service " comprises an application, this application definition one or one group of function, can on network, the operation by the user carry out, and return execution result.Enterprise can provide business information or business operation to satisfy the business demand of oneself to the user by service.The personal user can provide more diversified information to other users by service.Provide and use service at immediate communication platform, have the unexistent advantage of other platform.
If provide service at immediate communication platform, and add according to demand oneself service list by instant communication user, the use of service is direct convenience more, and the user will strengthen greatly to the viscosity of service.The user is as long as a log-in instant communication platform will be recognized last state and the relevant information of service immediately.The mutual recommendation service of instant messaging good friend, meeting is so that the confidence level of service increases greatly, and the customer group of service also can continue to enlarge.Instant communication user can provide information or carry out the demand service operation to the chat object, thereby make that online interchange is more valuable when chat by service.Instant communication user can be set the automatic operation of service, to obtain the service data of immediate updating.Service in immediate communication platform use enterprise, the energy Help Enterprises is the demand of response service quickly, and realizes the Real-Time Enterprise target of (Real-Time Enterprise is called for short RTE).Provide and use service at immediate communication platform, not only solved the problem that the user uses existing online service to run into, also further improved the degree of depth, range and the flexibility ratio of service.
The WEB service is based on international open standard, and loosely-coupled network application system member can be used for encapsulating the required hardware of user, software and data resource, and it is a kind of technology of Enterprise SOA, is used for swap data between application and the application.WEB service can make operation on the different platforms that are applied in separately and can operate each other.So, serve by WEB, the user can call the service that other platform moves and accept the data that service is returned at immediate communication platform, and need not understand detail and the operation of serving the place platform, simultaneously service also utilizes the advantage of immediate communication platform to satisfy better user's demand, brings more benefit to service provider.If the form with the WEB service provides and uses service at immediate communication platform, can break through the existing use pattern of immediate communication platform, so that it is not only the communication tool that chat exchanges, or a powerful service-oriented platform.
Three, summary of the invention
The present invention has overcome the deficiencies in the prior art, and a kind of method that provides and use WEB to serve at immediate communication platform has been provided, has namely proposed a kind of form with the WEB service provided and used service at immediate communication platform solution.
A kind of WEB service method that on immediate communication platform, provides and use of the present invention, its concrete steps are:
101, provide the instant communication user of WEB service in the path of instant communication server registration WEB service, service, method, parameter, the object choice benchmark is used in operation attribute and WEB service;
102, instant communication server generates corresponding virtual WEB service according to the log-on message of WEB service, and offers instant communication client;
103, import virtual WEB service parameter when instant communication user uses the WEB service, and send virtual WEB service request; This instant communication user both can be the user of instant communication client, also can provide the communication user of WEB service.
104, instant communication server after receiving virtual WEB service request, according to the log-on message of actual WEB service, the operation attribute of identifying user identity and check WEB service and the parameter value of virtual WEB service.After obtaining affirmation, service data is set, and generates the PROXY class of calling the WEB service in real time, send the WEB service request to the path of actual WEB service.Obtaining to return service data after the response;
105, the service data that instant communication client shows or use is returned by instant communication server.In the step 101, provide the user of WEB service at first on instant communication server, to register the necessary path of WEB service call, service, method, information such as parameter.The user can obtain the pathname of WEB service, Service name, method name, input parameter name and data type thereof, and the data type of return parameters by the WSDL (WEB service description language (sdl)) that calls the WEB service.The user also can manually import these information of WEB service, but must be defined consistent with the WSDL of WEB service.The Service name of WEB service, method name and parameter name are that the programmer sets according to the programming custom of oneself when establishment WEB service, have the feature of program language.If it is directly presented to the user, the use meeting of WEB service is very unfriendly.So step 101 is when registration WEB service, the WEB ISP can add Service name, the specific descriptions of method name and parameter name, and work should be described
Be the Service name of respective virtual WEB service, method name and parameter name offer the user.Such as in weather forecast WEB service, the description of parameter name " city " can be made as " name that please import the city, place ".Of this sort description is so that the use of WEB service is more friendly understandable.Step 101 is with the Service name of WEB service, and the default description of method name and input parameter name is made as title separately.
In the step 101, instant communication user can be set the default value of input parameter in registration WEB when service, or sets one group of alternative numerical value for input parameter.In the step 103, instant communication user can directly utilize the default value of parameter to send virtual WEB service request when the virtual WEB service parameter of input.
A WEB service may be used by different platforms, and this causes some parameter of WEB service can not be exposed to the user of all platforms owing to security.The WEB ISP can be for each Platform Designing different parameters but the same a plurality of WEB services of function, but this will bring certain difficulty to management and the control of WEB service, and has increased the development cost of WEB service.In addition, the WEB ISP does not allow the user to import some parameter when using the WEB service for the function that limits the WEB service.For these situations, the user can be made as recessive parameter with specific input parameter, and establish default value for it when step 101 registration WEB service.Recessive input parameter will can not appear at and be exposed to the user in the virtual WEB service that step 102 generates.Step 104 is when calling the WEB service, and the default value that can utilize recessive input parameter to preset calls.
In the step 101, instant communication user can be set its display properties according to the feature of return parameters in registration WEB when service, font for example, color etc.Step 105 can show the service data that the WEB service is returned according to display properties.
In the step 101, instant communication user can be set the operation attribute of WEB service when registration WEB service, comprise the time restriction of WEB service, the restrictive condition of access times, and interchangeable WEB service path.In the step 104, instant communication server can be controlled according to the operation attribute of setting the method for operation of WEB service.If the user does not use the WEB service in meeting the time restriction that WEB service sets, instant communication server will be refused its virtual WEB service request.If the WEB service surpasses access times under the condition of setting, instant communication server also will be refused its virtual WEB service request.If instant communication server can not get response after sending the WEB service request, the replacement path that can attempt the request of again sending or its setting that alters course sends request.The use that is arranged so that the WEB service in replacement path is flexibility and reliability more.The setting of WEB service operation attribute is so that the management of WEB service and control are easier.But the user is other operation attribute of expanded definition in step 101.
In the step 101, instant communication user is when registration WEB service, and the use object that can set the WEB service is all instant communication users or some specific users.To the specific user, the WEB ISP can set and use the object choice benchmark.Use the selection reference of object to be used at step 104 identifying user identity by instant communication server.The user is not as meeting the use Object Selection benchmark that sets, and instant communication server will be refused its virtual WEB service request.By different use Object Selection benchmark and setting (such as the different choice scope of parameter value, different set of recessive parameter etc.), the WEB ISP can be with same WEB service registry repeatedly and offer different customer groups, thereby realize that WEB serves multi-level OO use.
The WEB information on services that step 101 is registered is stored in the database of instant communication server end.The user can revise its log-on message after registration WEB service.In a single day the log-on message of WEB service is modified, and instant communication server will immediately generate new virtual WEB service and offer instant communication client.But the virtual WEB that user's IMU is excessively new serves to use amended WEB service.
The WEB information on services that step 102 is registered according to step 101 generates a virtual WEB service and offers instant communication client.This virtual WEB service has comprised the Service name description of actual WEB service, and the method name is described, and non-recessive input parameter tabulation.Non-recessive input parameter tabulation has further comprised parameter name description, supplemental characteristic type and parameter default value.Virtual WEB service shows Service name at the instant communication client page, method name, input parameter tabulation, and virtual WEB service request button.Virtual WEB service can show the pattern of the input that it is fit to according to data type and the default value thereof of parameter when showing input parameter.The user serves to instant communication server Transfer Parameters value by virtual WEB, and by instant communication server return service data.Virtual WEB service is not exposed to the user with routing information and the recessive parameter of actual WEB service, thereby has improved the security of WEB service.The WEB ISP is the security that further improves the WEB service, also can on the server of WEB service, instant communication server IP address be added in its IP scope that allows to call.
The user imports the parameter of respective virtual WEB service when using the WEB service, and sends virtual WEB service request to instant communication server.In the step 104, after instant communication server is received virtual WEB service request, will carry out following steps:
201, whether the instant communication server identifying user identity meets the use Object Selection benchmark that sets, as meets, and just carries out following step, otherwise just refuses virtual WEB service request;
202, whether instant communication server check WEB service meets the operation attribute (time restriction of WEB service and the restriction of access times) that sets, as meets, and just carries out following step, otherwise just refuses virtual WEB service request;
203, instant communication server checks virtual WEB to serve the parameter value that transmits according to the log-on message of WEB service.Wrong such as parameter value, instant communication server will be refused virtual WEB service request.Errorless such as all parameters, instant communication server forms the argument sequence of actual WEB service with parameter and other recessive parameter of virtual WEB service, and Service name and the method name of calling actual WEB service is set;
204, instant communication server generates the PROXY class of calling the WEB service according to the WSDL of WEB service in real time by program code;
205, instant communication server sends request by the described PROXY class of step 204 to the path of WEB service;
206, do not meet with a response such as step 205, instant communication server can attempt again sending request, or sends request to the replacement path that sets;
207, instant communication server returns service data after obtaining the WEB service response.
Between the client of WEB service and the server by the request of transmitting of PROXY class and return information.Usually, client software all is to use some known WEB services according to the demand of oneself, and its PROXY class just was generated in the development phase.Each WEB service changes in the time of maybe need adding new WEB service, and client is just out of service and regenerate new PROXY class, and revises the program code that it calls the WEB service.This situation also is not suitable for immediate communication platform, because what instant communication server was faced is unpredictable WEB service, it can not will be out of service when being registered and remove the update routine code in each new WEB service, so that can call new WEB service.So, in the step 204, instant communication server generates the PROXY class of calling the WEB service according to the WSDL of WEB service in real time by program code, need not change any program code of instant communication server so that the WEB service can promptly be registered i.e. use on instant communication server.
The instant communication user that uses WEB to serve can be set the shortcut (Shortcut) of WEB service call.Its concrete grammar is: instant communication user at first configures all input parameter values of virtual WEB service, and generates a connection at instant communication client in view of the above.The user need only click corresponding connection and get final product when calling the WEB service at every turn.By different input parameter values is set, the user can set a plurality of shortcuts of same WEB service.The foundation of shortcut is so that the use of WEB service direct convenience more.The user can regularly call by setting certain time cycle the shortcut of WEB service, thus the service data that acquisition upgrades in time.The WEB service of similar stock market just can be used by this form.The user also can call the shortcut of a plurality of different WEB services simultaneously, and all results are presented at the same page of instant communication client, so that the comparison of data result.The WEB service of similar products quotation just can be used in this way.
Instant communication user can provide information to the chatting object by employed WEB service, so that the interchange of information is more diversified when chat.Instant communication user also can carry out some demand service operations with the chatting object by employed WEB service, and this will improve the professional efficient of enterprise, the quickly demand of response service greatly.
When the present invention is applied to can make up a kind of system that provides and use the WEB service on the existing immediate communication platform on immediate communication platform, this system comprises: WEB service registry management system, virtual WEB service generates and display system, and WEB service calling system and WEB service data show and using system.WEB service registry management system mainly is responsible for the registration and the management of WEB service.By this system, the WEB ISP can provide at immediate communication platform effectively easily, the WEB service of managing and drawing oneself up.Virtual WEB service creation and display system mainly are responsible for generation and the virtual WEB service of virtual WEB service and are called in the demonstration of instant communication client.The WEB service calling system mainly is responsible for accepting the request of virtual WEB service, the operation attribute of identifying user identity and check WEB service and the parameter value of virtual WEB service, the service data of WEB service is called in setting, generate the PROXY class of calling the WEB service in real time, send the WEB service request, and service data is returned to instant communication client.How in a different manner the WEB service data shows and the use system mainly is responsible for how presenting WEB service return data at instant communication client, reach user's search, uses the WEB service.
The present invention proposes a kind of form with the WEB service provides and uses the solution of service at immediate communication platform.The realization of this scheme will break through the existing use pattern of immediate communication platform, so that it is not only the communication tool that chat exchanges, or a powerful service-oriented platform, its cost is low, and is easy to use, and the realization technology is uncomplicated, and uses wide.
Four, description of drawings
Fig. 1 is the schematic diagram of one embodiment of the present of invention;
Fig. 2 is the example that virtual WEB service shows at instant communication client among Fig. 1;
Fig. 3 is that how instant communication server calls the flow example that WEB serves after receiving virtual WEB service request among Fig. 1;
Fig. 4 is system pattern figure of the present invention;
Fig. 5 is with same WEB service registry repeatedly and offer different user group's a example;
Fig. 6 is an example utilizing the WEB service provision information in the instant chat.
Five, embodiment
Fig. 1 has provided one embodiment of the present of invention, shows how to arrive step 105 by step 101 mentioned above, provides and use the WEB service at immediate communication platform.As shown in Figure 1, instant communication user A is in order to provide WEB service on immediate communication platform, at first the WSDL by the WEB service registers the pathname of WEB service on instant communication server in step 101-a, Service name, the method name, input parameter name and data type thereof, and the data type of return parameters.For close friend's use of WEB service, user A has added the description " service ABC " of Service name " S01 ", the description " function ABC " of method name " M01 ", and the description of each parameter name, and as " parameter 1 ", " parameter 2 ", and " parameter 4 ".Parameter P03 is set as recessive parameter in order not to be exposed to the user, and its default value is " D ".The default value of parameter P01 is " 1 ", and the optional numerical value of parameter P02 is " A " " B " " C ".Instant communication server deposits the log-on message of WEB service in database in step 101-b.Instant communication server generates corresponding virtual WEB service in step 102.Shown in the information of virtual WEB service, the Service name in the virtual WEB service, the description separately by name of method name and parameter.The default value of non-recessive parameter is also included within wherein.Virtual WEB service does not comprise the routing information of recessive parameter P03 and actual WEB service, and this has improved the security of WEB service call to a certain extent.If the user revises the log-on message of WEB service, corresponding virtual WEB service can regenerate and offer instant communication client.
When instant communication user B uses the WEB service, in step 103-a, import the parameter of virtual WEB service, and send the virtual WEB service request of step 103-b.WEB service call program among Fig. 1 is after the request of receiving virtual WEB service, call in WEB service registry information by step 104-a, and enforcement flow operations as shown in Figure 3, comprising identifying user identity, the parameter value that check operation attribute and virtual WEB service are transmitted, WEB service operation data are set, and generate the PROXY class of calling the WEB service in real time, and send the WEB service request of step 104-c by step 104-b.After meeting with a response, by step 104-d, 104-e and 104-f return service data are given instant communication client, and in step 105, by functional block demonstration or the use of " the showing and the use service data " shown in Fig. 1.System's formation and the operating process that provides on the immediate communication platform and use the WEB service has been provided the example of Fig. 1.
Fig. 2 has provided the example that the virtual WEB service among Fig. 1 shows at instant communication client.As shown in Figure 2, virtual WEB service shows the pattern of the input that it is fit to according to the parameter attribute of WEB service.Such as wherein " parameter 2 " one group of optional numerical value is arranged, the pattern of the input of List Box is just set in virtual WEB service to it, and adds optional numerical value that all are preset.In other cases, data type as parameter is the date, virtual WEB service must add the date selector button and the date is selected window, needs user-in file as parameter, and virtual WEB service also must add the file selector button and corresponding file is selected window or the like.As shown in Figure 2, " parameter 1 " default default value " 1 " is directly shown, and virtual WEB service is its result after calling show under the same page.Before sending virtual WEB service request, instant communication client can check each parameter value whether to meet its data type, to guarantee correctly calling of follow-up WEB service.For the user, the use of WEB service similarly is to use one of them function in MSN, what they needn't understand be virtual WEB service with and all operations behind, this is so that the use of WEB service is easier is accepted by the user.
Fig. 3 has provided how instant communication server calls the idiographic flow example of WEB service among Fig. 1 after receiving virtual WEB service request, comprised that instant communication server judges at first whether user's identity meets the use Object Selection benchmark that had before set, as meet and just carry out following step, otherwise refuse its virtual WEB service request.Behind the user identification confirmation, just check the operation attribute of WEB service whether to meet the requirements, comprising the check of time restriction and access times, as meet and just carry out following step, otherwise refuse its virtual WEB service request.After the parameter value of confirming virtual WEB service transmission was correct, instant communication server just arranged service data, generated in real time the PROXY class of calling the WEB service, and sent the WEB service request.Service can not get response as WEB, and instant communication server just judges whether re-send request may, or sends request to replacing the path.At last, WEB serves after meeting with a response, the return service data.
Fig. 4 has provided system pattern figure of the present invention.Comprising WEB service registry management system, virtual WEB service creation and display system, WEB service calling system and WEB service data show and the use system.As shown in Figure 4, provide the instant communication user of WEB service by the WEB service of WEB service registry management system in immediate communication platform registration and management oneself.Virtual WEB service generates and display system generation WEB serves corresponding virtual WEB service and be presented at instant communication client.Instant communication user sends virtual WEB service request by this system, and calls actual WEB service by the WEB service calling system, shows and the use system for the WEB service data service data delivery of returning.The user can utilize the WEB service data to show and using system is set the different occupation mode of WEB service, as shortcut, and sends service request by this system to virtual WEB service generation and display system.Fig. 4 has provided the relation between each system.
Fig. 5 has provided with same WEB service registry repeatedly and offer different user group's a example.WEB service A by different settings (such as the setting of Service name and the description of method name, the setting of recessive parameter, setting of the optional value of parameter etc.) and accordingly use the Object Selection benchmark, be registered into three WEB services, and offer three groups of different instant communication user groups.Such way has realized the target of the multi-level object-oriented service of WEB service A.
Fig. 6 has provided an example utilizing the WEB service provision information in the instant chat.In this example, the weather condition in instant communication user B inquiry Shanghai, city, instant communication user A place when chat.Instant communication user A chooses weather forecast service at chat window immediately from the service list of oneself, and the input city name, clicks and sends button, sends the virtual WEB service request of weather forecast.Instant communication server is carried out as the operating process among Fig. 3 after receiving this request, at last the Weather information data is returned to the client of instant communication user A, and is presented in its chat window, simultaneously information is sent to the chat window of instant communication user B.This example has provided the practical application of WEB service in instant chat.
Purpose for example and description to the description of each side of the present invention above, do not want limit of the present invention in be confined to disclosed precise forms, and obviously many remodeling and variation may be arranged.Such remodeling and variation comprise technical scheme and realize all belonging to the defined protection domain of claim of the present invention.

Claims (10)

1, a kind ofly on immediate communication platform, provide and use the WEB service method, it is characterized in that it may further comprise the steps:
101, provide the instant communication user of WEB service in the path of instant communication server registration WEB service, service, method, parameter, the object choice benchmark is used in operation attribute and WEB service;
102, instant communication server generates corresponding virtual WEB service according to the log-on message of WEB service, and offers instant communication client;
103, when instant communication user uses the WEB service, import virtual WEB service parameter, and send virtual WEB service request;
104, instant communication server after receiving virtual WEB service request, according to the log-on message of actual WEB service, the operation attribute of identifying user identity and check WEB service and the parameter value of virtual WEB service; After obtaining affirmation, service data is set, and generates the PROXY class of calling the WEB service in real time, send request to the path of actual WEB service; Return service data after obtaining response;
105, the service data that instant communication client shows or use is returned by instant communication server.
2, a kind of method that provides and use WEB to serve at immediate communication platform according to claim 1 is characterized in that, in the step 101, instant communication user can add to Service name the description of method name and input parameter name when registration WEB service; Service name, the default title that is described as separately of method name and input parameter name; Step 102 will be described Service name, method name and the input parameter name of serving as respective virtual WEB with this.
3, a kind of method that provides and use the WEB service at immediate communication platform according to claim 1, it is characterized in that in the step 101, instant communication user is when registration WEB service, can set the default value of input parameter, or set one group of alternative numerical value for input parameter; In the step 103, the user can directly utilize the default value of input parameter to send virtual WEB service request when using the WEB service.
4, according to claim 1ly a kind ofly on immediate communication platform, provide and use the WEB service method, it is characterized in that in the step 101, instant communication user can be made as input parameter recessive parameter when registration WEB service; Recessive input parameter will not be present in the virtual WEB service of step 102 generation; Step 101 is necessary for recessive input parameter and sets default value; Step 104 will utilize this default value to send the WEB service request as the parameter value of recessive input parameter.
5, according to claim 1ly a kind ofly on immediate communication platform, provide and use the WEB service method, it is characterized in that in the step 101, instant communication user can be set the display properties of return parameters when registration WEB service; In the step 105, instant communication client can present the service data of returning in conjunction with display properties.
6, a kind of WEB service method that on immediate communication platform, provides and use according to claim 1, it is characterized in that, in the step 101, instant communication user is in registration WEB when service, and the use object that can set the WEB service is all instant communication users or user that some are specific; For the specific user, the WEB ISP can set the selection reference that uses object; In the step 104, instant communication server will judge whether the user meets the use Object Selection benchmark that sets, as not meet that instant communication server will be refused its virtual WEB service request when identifying user identity; The user can be according to different setting and is used the Object Selection benchmark accordingly, with same WEB service registry repeatedly, and to offer different customer groups.
7, a kind of method that provides and use the WEB service at immediate communication platform according to claim 1, it is characterized in that, in the step 101, instant communication user is when registration WEB service, can set as required the operation attribute of WEB service, the time restriction that comprises the WEB service, the restriction of access times, and interchangeable WEB service path; The user can expanded definition other operation attribute; In the step 104, instant communication server can be controlled according to the operation attribute of setting the method for operation of WEB service;
If the user does not use the WEB service in meeting the time restriction that WEB service sets, instant communication server will be refused its virtual WEB service request;
If the WEB service surpasses access times under the condition of setting, instant communication server will be refused virtual WEB service request;
If the WEB service can not get the request response under the path of appointment, instant communication server can send the WEB service request to its replacement path.
8, a kind of method that provides and use the WEB service at immediate communication platform according to claim 1, it is characterized in that, in the step 102, the WEB information on services that instant communication server is registered according to step 101 generates a virtual WEB service and offers instant communication client; This virtual WEB service has comprised the Service name description of actual WEB service, and the method name is described, and non-recessive input parameter tabulation; Non-recessive input parameter tabulation has further comprised parameter name description, supplemental characteristic type and parameter default value; Virtual WEB service can show its pattern of the input according to data type and the default value of parameter when instant communication client shows input parameter.
9, describedly a kind ofly on immediate communication platform, provide and use the WEB service method according to claim 1,6 or 7, it is characterized in that, in the step 104, after instant communication server is received virtual WEB service request, will carry out following steps:
201, whether the instant communication server identifying user identity meets is used the Object Selection benchmark, as meets, and just carries out following step, otherwise just refuses virtual WEB service request;
202, whether instant communication server check WEB service meets the operation attribute, as meets, and just carries out following step, otherwise just refuses virtual WEB service request;
203, instant communication server checks virtual WEB to serve the parameter value that transmits according to the log-on message of WEB service; Wrong such as parameter value, instant communication server will be refused virtual WEB service request; Errorless such as all parameters, instant communication server forms the argument sequence of actual WEB service with parameter and other recessive parameter of virtual WEB service, and active service name and the method name of calling the WEB service is set;
204, instant communication server generates the PROXY class of calling the WEB service according to the WSDL of WEB service in real time by program code;
205, instant communication server sends request by the described PROXY class of step 204 to the path of WEB service;
206, do not meet with a response as step 205, instant communication server can attempt sending again request, or sends request to replacing the path;
207, instant communication server returns service data after obtaining the WEB service response.
10, a kind of WEB service method that on immediate communication platform, provides and use according to claim 1, it is characterized in that, the instant communication user that uses WEB to serve can be set the shortcut of WEB service call, its concrete grammar is: instant communication user at first configures all input parameter values of virtual WEB service, and generates a connection at instant communication client in view of the above; When the user calls the WEB service at every turn, need only click corresponding connection and get final product; Instant communication user can be set a plurality of shortcuts of same WEB service according to different input parameter values; Instant communication user can call the shortcut of a plurality of WEB services simultaneously, and the service data that all return is presented at the same page; Instant communication user can be set certain time cycle and regularly call the shortcut of WEB service, so that the WEB service data that obtains upgrading in time.
CNB2006100964214A 2006-09-25 2006-09-25 Method for providing and using WEB service on instant communication platform Expired - Fee Related CN100505706C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100964214A CN100505706C (en) 2006-09-25 2006-09-25 Method for providing and using WEB service on instant communication platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100964214A CN100505706C (en) 2006-09-25 2006-09-25 Method for providing and using WEB service on instant communication platform

Publications (2)

Publication Number Publication Date
CN1946066A true CN1946066A (en) 2007-04-11
CN100505706C CN100505706C (en) 2009-06-24

Family

ID=38045283

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100964214A Expired - Fee Related CN100505706C (en) 2006-09-25 2006-09-25 Method for providing and using WEB service on instant communication platform

Country Status (1)

Country Link
CN (1) CN100505706C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888391A (en) * 2009-05-13 2010-11-17 上海即略网络信息科技有限公司 Method for network interacting activity
CN102279758A (en) * 2010-06-08 2011-12-14 夏普株式会社 Software distribution method, information processing apparatus, and information processing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6807565B1 (en) * 1999-09-03 2004-10-19 Cisco Technology, Inc. Instant messaging system using voice enabled web based application server
CN100372282C (en) * 2004-06-17 2008-02-27 腾讯科技(深圳)有限公司 Information interaction system and method
CN100371888C (en) * 2004-07-08 2008-02-27 腾讯科技(深圳)有限公司 Method of making network page picture directly apply to instant communication tool

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888391A (en) * 2009-05-13 2010-11-17 上海即略网络信息科技有限公司 Method for network interacting activity
CN102279758A (en) * 2010-06-08 2011-12-14 夏普株式会社 Software distribution method, information processing apparatus, and information processing system

Also Published As

Publication number Publication date
CN100505706C (en) 2009-06-24

Similar Documents

Publication Publication Date Title
US9294588B2 (en) Account administration for hosted services
CN1315292C (en) Method for implementing network communication by identifying one user group with one number
CN1842063A (en) Instant communication method
CN1509443A (en) User's alias in communiction system
US8082296B2 (en) Bus system
CN101427556A (en) Accessing a calendar server to facilitate initiation of a scheduled call
CN1636200A (en) System and method for facilitating access to network based services
KR20110106869A (en) Pervasive realtime framework
CN1968115A (en) Leveraging presence service system and method for distributed web service delivery and deployment
CN1606312B (en) Service providing system cooperative with sip and web systems and a method therefor
CN103179099A (en) Unified certification method for accessing to open website platforms and website platform
US7912930B1 (en) System and method for resource provisioning
CN103685535A (en) Interface design of cloud database system for large-scale distributed heterogeneous data treatment
US20060020948A1 (en) Real-time multi-modal business transformation interaction
KR100695093B1 (en) System for Mobile Customer Center Service Using VM Application and Mobile Communication Terminal Having VM Application for Mobile Customer Center Service
CN1867907A (en) System and method for automatically learning mailbox configuration conventions
CN1645801A (en) Method for automatic mobile customer terminal downloading or updating software by WAP PUSH short message
David et al. The ISDN Bandwagon is coming, but who will be there to climb aboard?: Quandaries in the economics of data communication networks
KR100687719B1 (en) System form providing electronic businesscard service using open service interface
CN1946066A (en) Method for providing and using WEB service on instant communication platform
CN1744582A (en) Network instant communication system and method for providing instant message subscribing
CN100391149C (en) Application managing sub-system in multi-node intelligent network application service system and method
CN102480417A (en) Dynamic message routing method and device for enterprise service bus
CN1771713A (en) Method and arrangement for configuring a device in a data network
CN101499977A (en) Instant communication system and implementing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090624

Termination date: 20140925

EXPY Termination of patent right or utility model