Method, apparatus, and system for enhancing application reliability of a script-based service
First Claim
1. A method for enhancing application reliability of a script-based service comprising:
- analyzing data source information of the script-based service;
obtaining current state information of a data source of the script-based service according to the analysis result;
determining an availability state of the script-based service according to the obtained current state information;
storing the availability state of the script-based service;
marking the availability state of the script-based service as available when the availability state of the script-based service is determined to be available;
marking the availability state of the script-based service as unavailable when the availability state of the script-based service is determined to be unavailable and a state information conversion rule reported by a service access management fails to be received;
performing conversion matching on the obtained current state information of the script-based service according to the state information conversion rule when the availability state of the script-based service is determined to be unavailable and the state information conversion rule reported by the service access management is received;
marking the availability state of the script-based service as available when the conversion matching succeeds; and
marking the availability state of the script-based service as unavailable when the conversion matching fails.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, an apparatus, and a system for enhancing application reliability of a script-based service are disclosed. The method includes: analyzing data source information of a script-based service; obtaining current state information of the data source of the script-based service according to the analysis result; and judging the availability state of the script-based service according to the obtained current state information. With the technical solution of the present invention, a related analysis function is added to a script-based service server to analyze related data source information in the script-based service logic and mark the script-based service. In this way, a user can know the state of the script-based service when requesting a service, thus avoiding unnecessary service trials, saving system resources, and improving the user experience.
13 Citations
15 Claims
-
1. A method for enhancing application reliability of a script-based service comprising:
-
analyzing data source information of the script-based service; obtaining current state information of a data source of the script-based service according to the analysis result; determining an availability state of the script-based service according to the obtained current state information; storing the availability state of the script-based service; marking the availability state of the script-based service as available when the availability state of the script-based service is determined to be available; marking the availability state of the script-based service as unavailable when the availability state of the script-based service is determined to be unavailable and a state information conversion rule reported by a service access management fails to be received; performing conversion matching on the obtained current state information of the script-based service according to the state information conversion rule when the availability state of the script-based service is determined to be unavailable and the state information conversion rule reported by the service access management is received; marking the availability state of the script-based service as available when the conversion matching succeeds; and marking the availability state of the script-based service as unavailable when the conversion matching fails. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A script-based service server comprising:
a processor configured to; analyze data source information of a script-based service; obtain current state information of a data source of the script-based service according to the analysis result; judge an availability state of the script-based service according to the current state information; and perform conversion matching on the current state information of the script-based service according to a state information conversion rule when the availability state of the script-based service is determined to be unavailable and the state information conversion rule reported by a service access management system is received. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A script-based service server comprising:
a processor configured to; analyze data source information of a script-based service; obtain current state information of a data source of the script-based service according to the analysis result; judge an availability state of the script-based service according to the current state information; receive a request for executing the script-based service from a user; generate a request for detecting the availability state of the script-based service according to the request for executing the script-based service received from the user; identify the availability state of the script-based service; judge whether to detect the availability state of the script-based service when the current availability state of the script-based service is determined to be unavailable; and generate the request for detecting the availability state of the script-based service when the judgment result indicates that the availability state of the script-based service needs to be detected.
Specification