CN102694850A - System integration method based on HttpClient technique - Google Patents

System integration method based on HttpClient technique Download PDF

Info

Publication number
CN102694850A
CN102694850A CN2012101506933A CN201210150693A CN102694850A CN 102694850 A CN102694850 A CN 102694850A CN 2012101506933 A CN2012101506933 A CN 2012101506933A CN 201210150693 A CN201210150693 A CN 201210150693A CN 102694850 A CN102694850 A CN 102694850A
Authority
CN
China
Prior art keywords
request
goal systems
unusual
httpclient
user
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
CN2012101506933A
Other languages
Chinese (zh)
Other versions
CN102694850B (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.)
Inspur Software Technology Co Ltd
Original Assignee
Shandong Inspur Software Co Ltd
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 Shandong Inspur Software Co Ltd filed Critical Shandong Inspur Software Co Ltd
Priority to CN201210150693.3A priority Critical patent/CN102694850B/en
Publication of CN102694850A publication Critical patent/CN102694850A/en
Application granted granted Critical
Publication of CN102694850B publication Critical patent/CN102694850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a system integration method based on the HttpClient technique. The method includes: when a user calls service functions of a target system, monitoring the whole request procedure and remote service responding conditions, providing feedback mechanisms of various states in the monitoring process, and realizing procedure switching, transmitting, interrupting or the like according to feedbacks. When the target system is abnormal such as service anomaly or breakdown, the method further provides a request interception mechanism to avoid a great amount of abnormal requests from blocking and affecting the system performance while a probe detection mechanism is started, and requests are recovered once the target system is normal in access.

Description

A kind of system integration method based on the HttpClient technology
Technical field
The present invention needs to provide in the various systems of the system integration a kind of system integration method based on the HttpClient technology.
Background technology
Along with the continuous development of informatization, enterprise operation system quantity constantly increases, and complexity also more and more is difficult to control, and this just need be integrated into each operation system in the unified element task platform.And common system integration single-sign-on implementation method is utilized the integrated goal systems of IFRAME mode as adopting simulation login URL; All there is following problem based on single-sign-on of the reverse proxy function of Apache HTTP Server server etc.: the setting of detail parameters such as the connection time-out time of the uncontrollable more uncontrollable goal systems of request process of integrated business function or page time for reading; Can't be according to remote system running status control operation flow trend; A large amount of unusual occlusive effects native system performances etc. of asking when goal systems is unavailable.These problems have not only influenced integrated business function quality, and more likely can influence the performance of native system.
Summary of the invention
The purpose of this invention is to provide a kind of system integration method based on the HttpClient technology.
The objective of the invention is to realize by following mode; Utilize Apache Commons Httpclient technology to carry out communication, realize user's login of goal systems, simultaneously the session information of preservation and leading subscriber with server; System is provided with various parameters and comes the access request of remote system is accurately controlled; When the user asks the business function of access destination system, monitor whole request flow process and service response situation, and the feedback of various states in this monitor procedure is provided; According to the practical business demand feedack is comprised the concrete processing of switching, forwarding or the interruption of carrying out flow process then; When goal systems occurs comprising that service is unusual, the machine of delaying unusual the time, the method also provides the request interception mechanism to avoid a large amount of unusual request occlusive effects native system performances, surveys the normal recovery request in time of mechanism goal systems visit in case launch probe simultaneously; Final system request controllable process and the perfect exception handling realized specifically may further comprise the steps:
A. utilize Apache Commons Httpclient technical modelling HTTP client login goal systems, and the user session information after will logining is successfully preserved and management;
B. according to wanting integrated system's setting to comprise to connect overtime, the page to read the various required parameters of overtime, solicited message coded system, response page coded system, come the access request of remote system is accurately controlled through these parameters;
C. when the user asks the business function of access destination system; Monitor whole request flow process and service response situation; And the feedback of various states in this monitor procedure is provided; Comprise that request is rejected, connects overtime, login failed for user, the overtime information of requests for page, carries out handled based on business demand to feedback information then;
D. unusual when the goal systems appearance, comprise that service is unusual, the request interception mechanism is provided when delaying machine, avoid a large amount of occlusive effects of request unusually native system performances;
E. probe mechanism also starts thereupon when the request interception mechanism starts, and probe is constantly surveyed remote system on the backstage, in case goal systems is visited normally then in time proposed recovery request.
The invention has the beneficial effects as follows: the inventive method adopt strategies such as request process is accurately controlled, process status feedback, request interception, probe detection and mechanism innovation property solution each problem of prior art existence.Adopt Apache Commons Httpclient technical modelling HTTP client (like browser) and server to carry out user's login that communication realizes goal systems, the session information of preservation and leading subscriber simultaneously.System can come the visit of remote system is accurately controlled through various required parameters are set; When the user asks the business function of access destination system, monitor whole request flow process and service response situation and the feedback of various states in this monitor procedure is provided; According to the practical business demand feedack is specifically handled, as carried out switching, forwarding or the interruption etc. of flow process.The method also provides the request interception mechanism to avoid a large amount of unusual request occlusive effects native system performances when unusual (as serving unusual, the machine of delaying) appears in goal systems, surveys the normal recovery request in time of mechanism goal systems visit in case launch probe simultaneously.The final controlled and perfect exception handling of request process of realizing.
Description of drawings
Fig. 1 is that required parameter is provided with function diagram in detail;
Fig. 2 is system integration overall flow figure.
Embodiment
Explanation at length below with reference to Figure of description method of the present invention being done.
The invention solves the uncontrollable problem of whole request flow process in the system integration in the past, can turn to according to accurate control request process of the business need of reality or operation flow, this is a quantum jump of system integration problem.The introducing request interception of novelty and probe are surveyed mechanism; Stopped traditional integrated system if appearance might cause the hidden danger of local system collapse when unusual or unavailable; The stability and the fail safe of the system's operation that improves greatly, the degree of coupling between system is lower, and relative independentability is stronger.Can conveniently add new integrated system from exploitation angle this invention, also can be transplanted to easily in other the project and go.
The operating process key step of the inventive method is following:
A. utilize Apache Commons Httpclient technical modelling HTTP client login goal systems, and the user session information after will logining is successfully preserved and management, later user sends when goal systems is sent access request once more in the lump;
B. according to different integrated systems different required parameters is set; As connect time-out time, the page and read time-out time, the maximum frequency of failure, loop detection cycle, loop detection number of times, solicited message coded system, response page coded system, whether launch other detail parameters such as this single-sign-on agency and every main frame maximum number of connections, come the access request of remote system is accurately controlled through these parameters;
C. when the user asks the business function of access destination system, monitor whole request flow process and service response situation and provide feedback such as the request address of various states in this monitor procedure illegal, request is rejected, connects overtime, login failed for user, the overtime inefficacy of user conversation, accession page does not exist or transfer, requests for page are overtime, user's unauthorized access etc.; Based on the practical business demand concrete feedback information is carried out handled respectively then, like simple prompting, the switching of carrying out flow process, forwarding or interruption etc.;
D. the method provides the request interception mechanism when unusual (as serving unusual, the machine of delaying) appears in goal systems.When user access request frequency of failure accumulative total reaches threshold values, then no longer send request to remote system, the request that receives is later on all directly tackled and is avoided a large amount of unusual request occlusive effects native system performances;
E. probe mechanism also starts thereupon when the request interception mechanism starts, and probe is constantly surveyed remote system on the backstage, in case the normal recovery request in time of goal systems visit.
Except that the described technical characterictic of specification, be the known technology of those skilled in the art.

Claims (1)

1. system integration method based on HttpClient technology; It is characterized in that utilizing Apache Commons Httpclient technology to carry out communication, realize user's login of goal systems, simultaneously the session information of preservation and leading subscriber with server; System is provided with various parameters and comes the access request of remote system is accurately controlled; When the user asks the business function of access destination system, monitor whole request flow process and service response situation, and the feedback of various states in this monitor procedure is provided; According to the practical business demand feedack is comprised the concrete processing of switching, forwarding or the interruption of carrying out flow process then; When goal systems occurs comprising that service is unusual, the machine of delaying unusual the time, the method also provides the request interception mechanism to avoid a large amount of unusual request occlusive effects native system performances, surveys the normal recovery request in time of mechanism goal systems visit in case launch probe simultaneously; Final system request controllable process and the perfect exception handling realized specifically may further comprise the steps:
A. utilize Apache Commons Httpclient technical modelling HTTP client login goal systems, and the user session information after will logining is successfully preserved and management;
B. according to wanting integrated system's setting to comprise to connect overtime, the page to read the various required parameters of overtime, solicited message coded system, response page coded system, come the access request of remote system is accurately controlled through these parameters;
C. when the user asks the business function of access destination system; Monitor whole request flow process and service response situation; And the feedback of various states in this monitor procedure is provided; Comprise that request is rejected, connects overtime, login failed for user, the overtime information of requests for page, carries out handled based on business demand to feedback information then;
D. unusual when the goal systems appearance, comprise that service is unusual, the request interception mechanism is provided when delaying machine, avoid a large amount of occlusive effects of request unusually native system performances;
E. probe mechanism also starts thereupon when the request interception mechanism starts, and probe is constantly surveyed remote system on the backstage, in case goal systems is visited normally then in time proposed recovery request.
CN201210150693.3A 2012-05-16 2012-05-16 System integration method based on HttpClient technology Active CN102694850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210150693.3A CN102694850B (en) 2012-05-16 2012-05-16 System integration method based on HttpClient technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210150693.3A CN102694850B (en) 2012-05-16 2012-05-16 System integration method based on HttpClient technology

Publications (2)

Publication Number Publication Date
CN102694850A true CN102694850A (en) 2012-09-26
CN102694850B CN102694850B (en) 2017-04-05

Family

ID=46860133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210150693.3A Active CN102694850B (en) 2012-05-16 2012-05-16 System integration method based on HttpClient technology

Country Status (1)

Country Link
CN (1) CN102694850B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306293A (en) * 2015-10-14 2016-02-03 浪潮软件集团有限公司 Data acquisition method based on virtual login
CN105488002A (en) * 2015-11-23 2016-04-13 浪潮集团有限公司 Data integration method and apparatus
CN105763365A (en) * 2016-01-26 2016-07-13 杭州华三通信技术有限公司 Method and device for processing anomaly
CN106604269A (en) * 2016-11-30 2017-04-26 努比亚技术有限公司 Mobile terminal network communication method and system
CN107948250A (en) * 2017-11-02 2018-04-20 努比亚技术有限公司 A kind of method of adjustment and equipment of user's visit capacity
CN110049119A (en) * 2019-04-12 2019-07-23 苏州浪潮智能科技有限公司 A kind of service request processing method, device and relevant device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215232A (en) * 2011-06-07 2011-10-12 浪潮齐鲁软件产业有限公司 Single sign-on method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215232A (en) * 2011-06-07 2011-10-12 浪潮齐鲁软件产业有限公司 Single sign-on method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306293A (en) * 2015-10-14 2016-02-03 浪潮软件集团有限公司 Data acquisition method based on virtual login
CN105488002A (en) * 2015-11-23 2016-04-13 浪潮集团有限公司 Data integration method and apparatus
CN105763365A (en) * 2016-01-26 2016-07-13 杭州华三通信技术有限公司 Method and device for processing anomaly
CN105763365B (en) * 2016-01-26 2020-05-12 新华三技术有限公司 Exception handling method and device
CN106604269A (en) * 2016-11-30 2017-04-26 努比亚技术有限公司 Mobile terminal network communication method and system
CN107948250A (en) * 2017-11-02 2018-04-20 努比亚技术有限公司 A kind of method of adjustment and equipment of user's visit capacity
CN110049119A (en) * 2019-04-12 2019-07-23 苏州浪潮智能科技有限公司 A kind of service request processing method, device and relevant device

Also Published As

Publication number Publication date
CN102694850B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
EP4026297B1 (en) Honeypots for infrastructure-as-a-service security
US8214451B2 (en) Network service version management
US8467768B2 (en) System and method for remotely securing or recovering a mobile device
US8464219B1 (en) Scalable control system for test execution and monitoring utilizing multiple processors
CN102694850A (en) System integration method based on HttpClient technique
US20140095298A1 (en) System and method for generating effective offers to replace mobile devices
US20230096032A1 (en) Hybrid Approach To Data Governance
CN104348914B (en) A kind of tamper resistant systems file syn chronizing system and its method
US20100042988A1 (en) Installation Management using Virtual Machines
CN110365793A (en) Illegal external connection monitoring method, device, system and storage medium
WO2009026025A2 (en) Remote health monitoring and control
US20080016157A1 (en) Method and system for controlling and monitoring an apparatus from a remote computer using session initiation protocol (sip)
US20130166447A1 (en) Gateway applications for transaction services
JP2007538302A (en) Client-server data execution flow
US20140282046A1 (en) Dashboard notifications on management console during a remote control session
CN102447720A (en) Method for remotely controlling personal computer (PC) by mobile phone
CN108737471B (en) Network access method and device
US20050166198A1 (en) Distributed policy driven software delivery
JP4751379B2 (en) Automated security platform
WO2016070651A1 (en) Software centre system
CN111147583A (en) HTTP redirection rewriting method and device
CN110166547A (en) Terminal remote access control method
CN101557403A (en) Website login method, device and system
WO2016197782A2 (en) Service port management method and apparatus, and computer readable storage medium
CN103475491A (en) Remote maintenance system which is logged in to safely without code and achieving 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
CB02 Change of applicant information

Address after: 250100 Ji'nan science and Technology Development Zone, Shandong Branch Road No. 2877

Applicant after: Inspur Group Co., Ltd.

Address before: 250014 Huayang Road, Ji'nan Development Zone, Shandong, China, 50

Applicant before: Shandong Inspur software Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200615

Address after: 250100 Inspur Science Park, No. 1036, Inspur Road, high tech Zone, Jinan City, Shandong Province

Patentee after: Inspur Software Technology Co.,Ltd.

Address before: 250100 Ji'nan science and Technology Development Zone, Shandong Branch Road No. 2877

Patentee before: INSPUR GROUP Co.,Ltd.