CN103024058A - Method and system for invoking web services - Google Patents

Method and system for invoking web services Download PDF

Info

Publication number
CN103024058A
CN103024058A CN2012105557135A CN201210555713A CN103024058A CN 103024058 A CN103024058 A CN 103024058A CN 2012105557135 A CN2012105557135 A CN 2012105557135A CN 201210555713 A CN201210555713 A CN 201210555713A CN 103024058 A CN103024058 A CN 103024058A
Authority
CN
China
Prior art keywords
module
service
backup services
available
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105557135A
Other languages
Chinese (zh)
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.)
CETC 15 Research Institute
Original Assignee
CETC 15 Research Institute
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 CETC 15 Research Institute filed Critical CETC 15 Research Institute
Priority to CN2012105557135A priority Critical patent/CN103024058A/en
Publication of CN103024058A publication Critical patent/CN103024058A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a system for invoking web services. The method includes: A, receiving a requirement; B, judging if a master service is available or not, if yes, invoking the master service to process the requirement and feeding back a processing result, and if not, executing step C; and C, invoking an available backup service to process the requirement and feeding back the processing result. The invention further provides a system for invoking the web services. Reliability of the web services is guaranteed by adopting the method and the system.

Description

WEB service calling method and system
Technical field
The present invention relates to computer network field, particularly a kind of WEB service calling method and WEB service calling system.
Background technology
The advantages such as the WEB service is cross-platform owing to it, interoperability manipulation obtain using more and more widely.The reason such as the WEB service that causes owing to network problem can't be accessed or the WEB service self makes mistakes all can directly cause called side to call the WEB serv-fail but in actual use.
In order to improve the WEB reliability of service, usually adopt load-balancing technique to alleviate the service load technology.The principle of load-balancing technique is: client-access is the WEB service URL address of issue externally, the load balancing service end after receiving client-requested is processed its of distributing in inner a plurality of service, and the result that the load balancing service end returns internal services returns to client by external URL; This technical characterstic has determined that external this WEB service URL address is unique, in case this URL address can not be accessed, then this WEB service just can not have been used by the user, even if there are many again services on the backstage, the user can't use.Certainly, the URL address that the user also can serve by other WEB of access issue is to utilize the internal services on backstage, but so just need the manually available Web service URL address of change of user, therefore, although this load-balancing technique can reduce the probability that service fault occurs, but can not guarantee reliably calling of WEB service fully, be still waiting further improvement.
Summary of the invention
The invention provides a kind of WEB service calling method and system, with so that project or application be achieved.
According to an aspect of the present invention, provide a kind of WEB service calling method, the method can guarantee the WEB reliability of service.
According to an aspect of the present invention, provide a kind of WEB service calling system, this system can guarantee the WEB reliability of service.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of WEB service calling method, the method comprises:
A, reception request;
B, judge whether main service is available, if available, then calls main service processing described request and feedback processing result, if unavailable, execution in step C then;
C, call available backup services processes said request and feedback processing result.
Preferably, also comprise after the described step B: but monitor main service recovery to the time spent, switch to available main service.
In the said method, step B is described to judge main service available comprising whether:
The parameter of carrying in the described request is sent to described main service, whether receive the result of described main service feedback in judging within the default very first time, if so, determine that then described main service is available, otherwise determine that described main service is unavailable.
In the said method, described step C comprises:
C1, the parameter of carrying in the described request is sent to a backup services, whether judgement receives the result of described backup services feedback within the second default time, if so, then definite described backup services can be used, execution in step C2, otherwise execution in step C1;
The result of C2, the described feedback of output.
Preferably, also comprise before the described steps A:
Utilize a main service of proxy class encapsulation and at least one backup services;
Call described proxy class, carry out described steps A to described step C to trigger.
Preferably, described calling also comprises before the described proxy class: proxy class is compiled as a dynamic link file;
Describedly call described proxy class and call described proxy class for described by reference dynamic link file.
Preferably, the method also comprises: from configuration file, obtain main service and backup services,
Perhaps from configuration file, obtain main service and backup services, and utilize the backup services of calling or return to available main service and upgrade described configuration file.
In the said method, described main service is for providing the WEB first-selected URL of service;
Described backup services is for providing the WEB URL for subsequent use of service.
The invention provides a kind of WEB service calling system, this system comprises: service calling module, primary service module and at least one backup services module;
Described service calling module receives the request from client, monitor described primary service module, determine that described primary service module can use, then call described primary service module processes said request, determine that described primary service module is unavailable, then call available backup services resume module described request;
The result of described primary service module feedback described request, or described available backup services module is fed back the result of described request.
Preferably, described service calling module also monitor disabled primary service module return to available after, switch to available primary service module by available backup services module.
In the said system, described service calling module comprises monitoring means and the first timing unit;
Described monitoring means sends to described primary service module with the parameter of carrying in the described request, start the first timing unit, whether judgement received the result of primary service module feedback before the triggering that receives the first timing unit, if, then definite described primary service module can be used, trigger the first timing unit and stop timing, otherwise determine that described primary service module is unavailable, the parameter of carrying in the described request is sent to the backup services module, until obtain the result of described request from a backup services module;
After starting, described the first timing unit triggers described monitoring means according to the default very first time.
In the said system, described service calling module comprises monitoring means, the first timing unit and the second timing unit;
Described monitoring means sends to described primary service module with the parameter of carrying in the described request, start the first timing unit, whether judgement received the result of primary service module feedback before the triggering that receives the first timing unit, if, then definite described primary service module can be used, trigger the first timing unit and stop timing, otherwise determine that described primary service module is unavailable, start described the second timing unit;
Described monitoring means sends to the backup services module with the parameter of carrying in the described request, until obtain the result of described request from a backup services module, triggering according to the second timing unit, it is available to determine that disabled primary service module returns to, and triggers described the second timing unit and stops timing;
After starting, described the first timing unit triggers described monitoring means according to the default very first time;
The state of the disabled primary service module of monitoring after described the second timing unit starts, but return to the time spent at definite disabled primary service module, trigger described monitoring modular.
Preferably, described primary service module be connected the backup services module and also connect described service calling module by an interface;
Described primary service module is for providing the WEB first-selected URL of service;
Described backup services module is for providing the WEB URL for subsequent use of service.
Preferably, this system also comprises the configuration module of the information of the information that stores primary service module and backup services module;
Described service calling module is obtained the information of primary service module and the information of backup services module from described configuration module,
Perhaps described service calling module is obtained the information of primary service module and the information of backup services module from described configuration module, utilizes the information of the backup services module call or returns to canned data in the described configuration module of information updating of available primary service module.
As seen from the above technical solutions, the invention provides a kind of WEB service calling method and system, in the method, receive request, judge whether main service is available, if available, then calls main service processing request and feedback processing result, if unavailable, then call available backup services and process request and feedback processing result.Adopt method and system of the present invention, can guarantee the WEB reliability of service.
Description of drawings
Fig. 1 is the flow chart of WEB service calling method embodiment one of the present invention;
Fig. 2 is the flow chart of WEB service calling method embodiment two of the present invention;
Fig. 3 is the structural representation of WEB service calling system embodiment one of the present invention;
Fig. 4 is the structural representation of WEB service calling system embodiment two of the present invention.
Embodiment
Because the URL that serves as first-selected WEB in the prior art hinders in the time of can't being used for some reason, need to manually reset provides the WEB URL of service, and in the WEB service calling method provided by the invention, need not manually to reset the URL that provides WEB to serve, main service as first-selected WEB service is monitored, if it is unavailable, then automatically switching to provides the WEB backup services of service, call backup services the WEB service is provided, guaranteed the WEB reliability of service.
For sake of clarity, first special term of the present invention is described, specific as follows: main service is for providing the WEB first-selected URL of service, and backup services is for providing the WEB URL for subsequent use of service; The main service that the present invention mentions or the result of backup services feedback are considered as not receiving corresponding result for can connect the information of corresponding URL or successful connection if can't connect the information of corresponding URL or connection failure.
Fig. 1 is the flow chart of WEB service calling method embodiment one of the present invention.Now in conjunction with Fig. 1, the WEB service calling method of the embodiment of the invention one is described, specific as follows:
Step 10: receive the request from client;
This step can receive the request that client sends by an interface.Wherein, the software program that provides WEB to serve that operates on the terminal as computer is provided client; Comprise terminal in the request of mentioning in this step and obtain the required parameter of WEB service.Among the present invention, parameter can be any type, and quantity also can have a plurality of.Concrete parameter depends on concrete service, depends on that the publisher is for the definition of service.For example, for the Web service of evaluation sum, parameter is a plurality of numerical value, so number of parameters is a plurality of.Again for example, for a service of obtaining resident identification card information, parameter is personal identification number, then only has a parameter.Therefore, the parameter of Web service is according to real needs flexible customization or configuration.
Step 11: judge whether main service is available, if available, then execution in step 12, otherwise execution in step 13;
This step comprises: the parameter of carrying in will asking sends to main service, whether receives the result of main service feedback in judging within the default very first time, if, determine that then main service is available, execution in step 12, otherwise determine that main service is unavailable, execution in step 13.
To adopt the request of transmission to main service in the present embodiment, judge whether to obtain result whether main service is available, also can adopt existing other to detect whether available method of main service, such as in order to detect with main service between the ping order that whether is communicated with of link, no longer other are detected mainly serve whether available method is illustrated at this.
Step 12: call main service processing request and feedback processing result, execution in step 14 afterwards;
This step comprises: the parameter of carrying in will asking sends to main service, from information or the data of main service acquisition successful connection, and information or the data of successful connection are fed back to the request of transmission as result client.
Step 13: call available backup services and process request and feedback processing result;
This step comprises: the parameter of carrying in will asking sends to a backup services, whether judgement receives the result of backup services feedback within the second default time, if, then definite backup services can be used, the result of output feedback, otherwise continue to carry out the step that the parameter of carrying in will asking sends to a backup services, until till receiving result from a backup services.
Perhaps this step comprises: the parameter of carrying in will asking sends to a plurality of backup services, judge whether to receive the result of a plurality of backup services feedbacks, if, then the backup services that the feedback processing result is the fastest is as available backup services, feed back the result of its transmission, otherwise judge whether to receive the result of a backup services feedback, if, then with this backup services as available backup services, feed back the result of its transmission, otherwise the parameter that execution will be carried in will asking sends to the step of a plurality of backup services.
This step is that inner loop is processed, and the parameter that is about to carry in the request sends to backup services, until obtain result from a backup services, determines that this backup services can use, and provides the WEB first-selection service of service with it as this.
Step 14: finish.
Access easily main service and a plurality of backup services for the ease of client by same interface, also can comprise before the step 10: utilize a main service of proxy class encapsulation and at least one backup services, by calling proxy class, trigger execution in step 10 to the flow process of step 14.
Preferably, also comprise before before the above-mentioned step of calling proxy class: proxy class is compiled as a dynamic link file; The step of then calling proxy class is called proxy class for dynamic link file by reference.
Preferably, also comprise after step 13: do not receive the result of any one backup services feedback within the 3rd default time, then output extremely sends the client of request without the result of available WEB service.
In order to increase work efficiency, be convenient to realize the service switching of plug and play, the method also comprises: obtaining main service and backup services from configuration file, after calling available backup services, can be the information of the backup services called with the information updating that first-selected WEB service is provided in the configuration file.In addition, after available, also further providing the information updating of first-selected WEB service in the configuration file is the information that returns to available main service at disabled main service recovery.
Fig. 2 is the flow chart of WEB service calling method embodiment two of the present invention.Now in conjunction with Fig. 2, the WEB service calling method of the embodiment of the invention two is described, specific as follows:
Step 20: receive the request from client;
This step can receive the request that client sends by an interface.Wherein, the software program that provides WEB to serve that operates on the terminal as computer is provided client; Comprise terminal in the request of mentioning in this step and obtain the required parameter of WEB service; Described parameter as previously mentioned.
Step 21: judge whether main service is available, if available, then execution in step 22, otherwise execution in step 23;
This step comprises: the parameter of carrying in will asking sends to main service, whether receives the result of main service feedback in judging within the default very first time, if, determine that then main service is available, execution in step 22, otherwise determine that main service is unavailable, execution in step 23.
To adopt the request of transmission to main service in the present embodiment, judge whether to obtain result whether main service is available, also can adopt existing other to detect whether available method of main service, such as in order to detect with main service between the ping order that whether is communicated with of link, no longer other are detected mainly serve whether available method is illustrated at this.
Step 22: call main service processing request and feedback processing result, execution in step 26 afterwards;
This step comprises: the parameter of carrying in will asking sends to main service, from information or the data of main service acquisition successful connection, and information or the data of successful connection are fed back to the request of transmission as result client.
Step 23: call available backup services and process request and feedback processing result;
This step comprises: the parameter of carrying in will asking sends to a backup services, whether judgement receives the result of backup services feedback within the second default time, if, then definite backup services can be used, the result of output feedback, otherwise continue to carry out the step that the parameter of carrying in will asking sends to a backup services, until till receiving result from a backup services.
Perhaps this step comprises: the parameter of carrying in will asking sends to a plurality of backup services, judge whether to receive the result of a plurality of backup services feedbacks, if, then the backup services that the feedback processing result is the fastest is as available backup services, feed back the result of its transmission, otherwise judge whether to receive the result of a backup services feedback, if, then with this backup services as available backup services, feed back the result of its transmission, otherwise the parameter that execution will be carried in will asking sends to the step of a plurality of backup services.
This step is that inner loop is processed, and the parameter that is about to carry in the request sends to backup services, until obtain result from a backup services, determines that this backup services can use, and provides the WEB first-selection service of service with it as this.
Step 24: it is available to judge whether disabled main service returns to, and if so, then execution in step 25, otherwise execution in step 24;
This step comprises: the extremely disabled main service of parameter of carrying by sending request, detect the result that whether receives main service feedback, judge whether disabled main service recovers available, if receive the result of main service feedback, determine that then disabled main service recovery is to available, execution in step 25, otherwise execution sends the extremely disabled main step of serving of parameter that request is carried.
It is available whether this step also can adopt the disabled main service of ping command determination to return to, and no longer other feasible detection method illustrated one by one at this.
Step 25: will return to available main service configuration is first-selected WEB service;
This step comprises: switch to the available main service that returns to by available backup services, be made as first-selected WEB service with returning to available main service.
Step 26: finish.
Access easily main service and a plurality of backup services for the ease of client by same interface, also can comprise before the step 20: utilize a main service of proxy class encapsulation and at least one backup services, by calling proxy class, trigger execution in step 20 to the flow process of step 24.
Preferably, also comprise before before the above-mentioned step of calling proxy class: proxy class is compiled as a dynamic link file; The step of then calling proxy class is called proxy class for dynamic link file by reference.
Preferably, also comprise after step 23: do not receive the result of any one backup services feedback within the 3rd default time, then output extremely sends the client of request without the result of available WEB service.
In order to increase work efficiency, be convenient to realize the service switching of plug and play, the method also comprises: obtaining main service and backup services from configuration file, after calling available backup services, can be the information of the backup services called with the information updating that first-selected WEB service is provided in the configuration file.In addition, after available, also further providing the information updating of first-selected WEB service in the configuration file is the information that returns to available main service at disabled main service recovery.
Fig. 3 is the structural representation of WEB service calling system embodiment one of the present invention.Now in conjunction with Fig. 3, the structure of the WEB service calling system of the embodiment of the invention one is described, specific as follows:
The WEB service calling system of present embodiment comprises: service calling module 30, primary service module 31 and at least one backup services module 32.
Service calling module 30 receives the request from client, and monitoring primary service module 31 determines that primary service module 31 can use, and then calls primary service module 31 and processes request, determines that primary service module 31 is unavailable, then calls available backup services module 32 and processes request.
Primary service module 31 receives request, and the result of feedback request is to service calling module 30,
Perhaps backup services module 32 receives request, and the result of feedback request is to service calling module 30.
In addition, primary service module 31 and backup services module 32 so that by an interface interchange related service, realize that the service of plug and play is switched also by an interface (not shown among Fig. 3) Connection Service calling module 30.
In order to increase work efficiency, this system also comprises the configuration module 33 of the information of the information that stores primary service module 31 and backup services module 32.Wherein, service calling module 30 is obtained the information of primary service module 31 and the information of backup services module 32 from configuration module 33; Service calling module 30 will be updated to the information of the backup services module 32 of calling as the module information of first-selected WEB service in the configuration module 33 after calling backup services module 32.
Wherein, service calling module 30 comprises monitoring means 301 and the first timing unit 302.
The parameter that monitoring means 301 will carry in will asking sends to primary service module 31, start the first timing unit 302, whether judgement received the result of primary service module 31 feedbacks before the triggering that receives the first timing unit 302, if, then definite primary service module 31 can be used, trigger the first timing unit 302 and stop timing, otherwise determine that primary service module 31 is unavailable, the parameter of carrying in the request is sent to backup services module 32, until obtain the result of request from a backup services module 32.
In addition, monitoring means 301 does not receive the result of any backup services module 32 feedbacks within the 3rd default time, and then output extremely sends a side of request without the information of available WEB service.
After starting, the first timing unit 302 triggers monitoring means 301 according to the default very first time.
Fig. 4 is the structural representation of WEB service calling system embodiment two of the present invention.Now in conjunction with Fig. 4, the structure of the WEB service calling system of the embodiment of the invention two is described, specific as follows:
The WEB service calling system of present embodiment comprises: service calling module 40, primary service module 41 and at least one backup services module 42.
Service calling module 40 receives the request from client, and monitoring primary service module 41 determines that primary service module 41 can use, and then calls primary service module 41 and processes request, determines that primary service module 41 is unavailable, then calls available backup services module 42 and processes request; Service calling module 40 monitor disabled primary service module 41 return to available after, switch to available primary service module 41 by available backup services module 42.
Primary service module 41 receives request, and the result of feedback request is to service calling module 40,
Perhaps backup services module 42 receives request, and the result of feedback request is to service calling module 40.
In addition, primary service module 41 and backup services module 42 so that by an interface interchange related service, realize that the service of plug and play is switched also by an interface (not shown among Fig. 4) Connection Service calling module 40.
In order to increase work efficiency, this system also comprises the configuration module 43 of the information of the information that stores primary service module 41 and backup services module 42.Wherein, service calling module 40 is obtained the information of primary service module 41 and the information of backup services module 42 from configuration module 43; Service calling module 40 will be updated to the information of the backup services module 42 of calling as the module information of first-selected WEB service in the configuration module 43 after calling backup services module 42; Service calling module 40 disabled primary service module 412 return to available after, the module information as first-selected WEB service in the configuration module 43 is updated to the information that returns to available primary service module 41.
Wherein, service calling module 40 comprises monitoring means 401, the first timing unit 402 and the second timing unit 403.
The parameter that monitoring means 401 will carry in will asking sends to primary service module 41, start the first timing unit 402, whether judgement received the result of primary service module 41 feedbacks before the triggering that receives the first timing unit 402, if, then definite primary service module 41 can be used, trigger the first timing unit 402 and stop timing, otherwise determine that primary service module 41 is unavailable, start the second timing unit 403.
The parameter that monitoring means 401 will carry in will asking sends to backup services module 42, until obtain the result of request from a backup services module 42, triggering according to the second timing unit 403, it is available to determine that disabled primary service module 41 returns to, and triggers the second timing unit 403 and stops timing.
In addition, monitoring means 401 does not receive the result of any backup services module 42 feedbacks within the 3rd default time, and then output extremely sends a side of request without the information of available WEB service.
After starting, the first timing unit 402 triggers monitoring means 401 according to the default very first time.
The state of the disabled primary service module 41 of monitoring after the second timing unit 403 starts, but return to the time spent at definite disabled primary service module 41, trigger monitoring modular 401.
In the above-mentioned preferred embodiment of the present invention, propose to use a kind of WEB service calling method with the automatic fault shielding based on agency mechanism, finish the management to the WEB service reliability, serve at some WEB and to realize when unavailable automaticallying switch, a kind of cheaply reliable WEB service calling method is provided.In addition, but the present invention is by the information of configuration file Real-time Obtaining master service and backup services, can be in the situation of not restarting program, add at any time or delete Web service information in the configuration file, and between main service and backup services, also need not to switch in the handoff procedure, the service that realizes plug and play is switched, and has improved operating efficiency.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, this program can be stored in the computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (14)

1. WEB service calling method is characterized in that the method comprises:
A, reception request;
B, judge whether main service is available, if available, then calls main service processing described request and feedback processing result, if unavailable, execution in step C then;
C, call available backup services processes said request and feedback processing result.
2. method according to claim 1 is characterized in that, also comprises after the described step B: but monitor main service recovery to the time spent, switch to available main service.
3. method according to claim 1 and 2 is characterized in that, step B is described to judge main service available comprising whether:
The parameter of carrying in the described request is sent to described main service, whether receive the result of described main service feedback in judging within the default very first time, if so, determine that then described main service is available, otherwise determine that described main service is unavailable.
4. method according to claim 1 and 2 is characterized in that, described step C comprises:
C1, the parameter of carrying in the described request is sent to a backup services, whether judgement receives the result of described backup services feedback within the second default time, if so, then definite described backup services can be used, execution in step C2, otherwise execution in step C1;
The result of C2, the described feedback of output.
5. method according to claim 1 and 2 is characterized in that, also comprises before the described steps A:
Utilize a main service of proxy class encapsulation and at least one backup services;
Call described proxy class, carry out described steps A to described step C to trigger.
6. method according to claim 5 is characterized in that, described calling also comprises before the described proxy class: proxy class is compiled as a dynamic link file;
Describedly call described proxy class and call described proxy class for described by reference dynamic link file.
7. method according to claim 1 and 2 is characterized in that, the method also comprises: from configuration file, obtain main service and backup services,
Perhaps from configuration file, obtain main service and backup services, and utilize the backup services of calling or return to available main service and upgrade described configuration file.
8. method according to claim 1 and 2 is characterized in that, described main service is for providing the WEB first-selected URL of service;
Described backup services is for providing the WEB URL for subsequent use of service.
9. a WEB service calling system is characterized in that, this system comprises: service calling module, primary service module and at least one backup services module;
Described service calling module receives the request from client, monitor described primary service module, determine that described primary service module can use, then call described primary service module processes said request, determine that described primary service module is unavailable, then call available backup services resume module described request;
The result of described primary service module feedback described request, or described available backup services module is fed back the result of described request.
10. system according to claim 9 is characterized in that, described service calling module also monitor disabled primary service module return to available after, switch to available primary service module by available backup services module.
11. system according to claim 9 is characterized in that, described service calling module comprises monitoring means and the first timing unit;
Described monitoring means sends to described primary service module with the parameter of carrying in the described request, start the first timing unit, whether judgement received the result of primary service module feedback before the triggering that receives the first timing unit, if, then definite described primary service module can be used, trigger the first timing unit and stop timing, otherwise determine that described primary service module is unavailable, the parameter of carrying in the described request is sent to the backup services module, until obtain the result of described request from a backup services module;
After starting, described the first timing unit triggers described monitoring means according to the default very first time.
12. system according to claim 10 is characterized in that, described service calling module comprises monitoring means, the first timing unit and the second timing unit;
Described monitoring means sends to described primary service module with the parameter of carrying in the described request, start the first timing unit, whether judgement received the result of primary service module feedback before the triggering that receives the first timing unit, if, then definite described primary service module can be used, trigger the first timing unit and stop timing, otherwise determine that described primary service module is unavailable, start described the second timing unit;
Described monitoring means sends to the backup services module with the parameter of carrying in the described request, until obtain the result of described request from a backup services module, triggering according to the second timing unit, it is available to determine that disabled primary service module returns to, and triggers described the second timing unit and stops timing;
After starting, described the first timing unit triggers described monitoring means according to the default very first time;
The state of the disabled primary service module of monitoring after described the second timing unit starts, but return to the time spent at definite disabled primary service module, trigger described monitoring modular.
13. to 12 each described systems, it is characterized in that according to claim 9, described primary service module be connected the backup services module and also connect described service calling module by an interface;
Described primary service module is for providing the WEB first-selected URL of service;
Described backup services module is for providing the WEB URL for subsequent use of service.
14. to 12 each described systems, it is characterized in that according to claim 9 this system also comprises the configuration module of the information of the information that stores primary service module and backup services module;
Described service calling module is obtained the information of primary service module and the information of backup services module from described configuration module,
Perhaps described service calling module is obtained the information of primary service module and the information of backup services module from described configuration module, utilizes the information of the backup services module call or returns to canned data in the described configuration module of information updating of available primary service module.
CN2012105557135A 2012-12-19 2012-12-19 Method and system for invoking web services Pending CN103024058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105557135A CN103024058A (en) 2012-12-19 2012-12-19 Method and system for invoking web services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105557135A CN103024058A (en) 2012-12-19 2012-12-19 Method and system for invoking web services

Publications (1)

Publication Number Publication Date
CN103024058A true CN103024058A (en) 2013-04-03

Family

ID=47972182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105557135A Pending CN103024058A (en) 2012-12-19 2012-12-19 Method and system for invoking web services

Country Status (1)

Country Link
CN (1) CN103024058A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905551A (en) * 2014-04-02 2014-07-02 北京中交兴路车联网科技有限公司 Method and device for calling service
CN105391683A (en) * 2015-09-30 2016-03-09 小米科技有限责任公司 Remote method invocation method, device and system
CN105610986A (en) * 2016-03-14 2016-05-25 浪潮通用软件有限公司 Service scheduling method, load balancing server and service scheduling system
CN106059795A (en) * 2016-05-16 2016-10-26 乐视控股(北京)有限公司 Web system service monitoring and switching method and apparatus
CN106294073A (en) * 2016-08-15 2017-01-04 合智能科技(深圳)有限公司 Service calling method and device
CN106416384A (en) * 2014-05-05 2017-02-15 高通股份有限公司 Maximum away duration
CN112261100A (en) * 2020-10-15 2021-01-22 浪潮商用机器有限公司 Method, device and equipment for recovering WEB service and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040123140A1 (en) * 2002-12-18 2004-06-24 Toomey Christopher Newell Optimizing authentication service availability and responsiveness via client-side routing
CN1549978A (en) * 2001-07-16 2004-11-24 BEAϵͳ��˾ Method and apparatus for session replication and failover
CN1613241A (en) * 2001-12-31 2005-05-04 思科技术公司 A system and method for providing reliable telephony web-based features
CN101312463A (en) * 2008-06-20 2008-11-26 北京大学 Service redundant method
CN102387211A (en) * 2011-10-24 2012-03-21 浪潮(北京)电子信息产业有限公司 Method and system for realizing web service use of network application software

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549978A (en) * 2001-07-16 2004-11-24 BEAϵͳ��˾ Method and apparatus for session replication and failover
CN1613241A (en) * 2001-12-31 2005-05-04 思科技术公司 A system and method for providing reliable telephony web-based features
US20040123140A1 (en) * 2002-12-18 2004-06-24 Toomey Christopher Newell Optimizing authentication service availability and responsiveness via client-side routing
CN101312463A (en) * 2008-06-20 2008-11-26 北京大学 Service redundant method
CN102387211A (en) * 2011-10-24 2012-03-21 浪潮(北京)电子信息产业有限公司 Method and system for realizing web service use of network application software

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐彰杰: "基于BPEL的Web服务组合异常处理方法研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905551A (en) * 2014-04-02 2014-07-02 北京中交兴路车联网科技有限公司 Method and device for calling service
CN103905551B (en) * 2014-04-02 2018-07-24 北京中交兴路车联网科技有限公司 A kind of service calling method and device
CN106416384A (en) * 2014-05-05 2017-02-15 高通股份有限公司 Maximum away duration
CN105391683A (en) * 2015-09-30 2016-03-09 小米科技有限责任公司 Remote method invocation method, device and system
CN105610986A (en) * 2016-03-14 2016-05-25 浪潮通用软件有限公司 Service scheduling method, load balancing server and service scheduling system
CN106059795A (en) * 2016-05-16 2016-10-26 乐视控股(北京)有限公司 Web system service monitoring and switching method and apparatus
CN106294073A (en) * 2016-08-15 2017-01-04 合智能科技(深圳)有限公司 Service calling method and device
CN106294073B (en) * 2016-08-15 2019-03-12 合一智能科技(深圳)有限公司 Service calling method and device
CN112261100A (en) * 2020-10-15 2021-01-22 浪潮商用机器有限公司 Method, device and equipment for recovering WEB service and readable storage medium

Similar Documents

Publication Publication Date Title
CN103024058A (en) Method and system for invoking web services
CN108289060A (en) A kind of data processing method and device based on RPC service
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN105610972A (en) Clustered task dispatching system
CN102316160A (en) Website system and communication method thereof
CN101262369B (en) Master/slave realization method for dispatching server and dispatching server
KR20130108613A (en) Method and device for interprocess communication and computer storage medium
CN107688512A (en) One kind optimization virtual-machine data backup method and system
CN109213507A (en) A kind of upgrade method and server
CN108924043A (en) System monitoring method, gateway communication, gateway apparatus, service processing equipment
CN117130730A (en) Metadata management method for federal Kubernetes cluster
CN106997313B (en) Signal processing method and system of application program and terminal equipment
JP4517923B2 (en) Object relief system and method
RU2512111C2 (en) Communication device and method
CN108241616B (en) Message pushing method and device
CN109670952B (en) Collecting and paying transaction platform
CN109257235B (en) Network anomaly recovery method, device, equipment and computer readable storage medium
JP2006285453A (en) Information processor, information processing method, and information processing program
CN106685697B (en) Method and system for recovering and processing abnormal marginal message data
JP7395908B2 (en) information processing system
CN104040513A (en) Display device management system, server apparatus therefor, programmable display device, and operation control method
CN114225384B (en) Communication method, system, equipment and storage medium based on combinable GM instruction
CN114510282B (en) Method, device, equipment and storage medium for running automation application
CN113157615B (en) Service bus communication method, electronic equipment and computer storage medium
CN110022220A (en) Routing Activiation method and system in business card recognition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403