CN103297480A - System and method for automatically detecting application service - Google Patents

System and method for automatically detecting application service Download PDF

Info

Publication number
CN103297480A
CN103297480A CN2012100547885A CN201210054788A CN103297480A CN 103297480 A CN103297480 A CN 103297480A CN 2012100547885 A CN2012100547885 A CN 2012100547885A CN 201210054788 A CN201210054788 A CN 201210054788A CN 103297480 A CN103297480 A CN 103297480A
Authority
CN
China
Prior art keywords
unit
party
applying unit
open platform
state
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
CN2012100547885A
Other languages
Chinese (zh)
Other versions
CN103297480B (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.)
Shenzhen Tenpay Technology Co Ltd
Original Assignee
Shenzhen Tenpay Technology 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 Shenzhen Tenpay Technology Co Ltd filed Critical Shenzhen Tenpay Technology Co Ltd
Priority to CN201210054788.5A priority Critical patent/CN103297480B/en
Publication of CN103297480A publication Critical patent/CN103297480A/en
Application granted granted Critical
Publication of CN103297480B publication Critical patent/CN103297480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a detection system and method for automatically detecting an application service. The system comprises an opening platform unit, a third-side application unit and a detection unit. The third-side application unit is arranged in the opening platform unit, and the detection unit is arranged at the cloud end. The detection unit is used for being connected into the opening platform unit and detecting the working state of the third-side application unit, the opening platform unit is used for setting the state of the third-side application unit to be unavailable when the detection unit confirms that the working state of the third-side application unit is not normal. Therefore, after the execution mode of the system is applied, the detection unit arranged at the cloud end can simulate a user to visit the opening platform unit and detect whether working of application units in the opening platform unit is normal, and therefore automatic detection on the various application units in the opening platform unit is achieved.

Description

A kind of application service automatic checkout system and method
Technical field
Embodiment of the present invention relates to technical field of internet application, more specifically, relates to a kind of application service automatic checkout system and method.
Background technology
Along with computer technology and rapid development of network technology, the effect that the Internet (Internet) brings into play in daily life, study and work is also increasing.
The Internet era, become the service encapsulates of website the data-interface opening easy to identify of series of computation machine to go out, use for third party developer, this behavior is called open applications programming interface (Open API), provides the platform of opening API itself just to be called as open platform.
By open platform, the website can not only provide the easy access to the Web webpage, can also carry out complicated data interaction, and their Web website is converted to development platform with the operating system equivalence.That third party developer can exist based on these, disclosed Web website and develop colourful application (application).
Number of applications and kind are very huge numerous and diverse in the open platform, lose efficacy if cause for a certain reason to use, and open platform need be made timely the application of losing efficacy and handling.Yet, in existing open platform, to using not automatic detecting machine system.Lost efficacy if use, and can only be learnt by the visit failure by the user under the situation mostly, and then via customer complaint, do artificial processing by the staff.The hysteresis quality of this non-automaticization flow process causes taking place when unusual when the third party uses, and open platform itself can not initiatively be pinpointed the problems, thereby it is relatively poor to have caused whole open platform product to experience.
Summary of the invention
Embodiment of the present invention proposes a kind of application service automatic checkout system, to realize the automatic detection to using in the open platform.
Embodiment of the present invention has also proposed a kind of application service automatic testing method, to realize the automatic detection to using in the open platform.
The concrete scheme of embodiment of the present invention is as follows:
A kind of application service automatic checkout system, this system comprise the open platform unit, be arranged in third party's applying unit of described open platform unit and be positioned at the detecting unit in high in the clouds; Wherein:
Described detecting unit is used for inserting described open platform unit, and detects the operating state of described third party's applying unit;
Described open platform unit is used for when detecting unit is determined the working state abnormal of third party's applying unit, and the state of described third party's applying unit is set to unavailable.
A kind of application service automatic testing method, this method comprises:
The detecting unit that is positioned at high in the clouds inserts the open platform unit, and detects the operating state of the third party's applying unit in the described open platform unit;
When detecting unit was determined the working state abnormal of third party's applying unit, the state of described third party's applying unit was set to unavailable.
From technique scheme as can be seen, in embodiment of the present invention, this system comprises the open platform unit, be arranged in third party's applying unit of open platform unit and be positioned at the detecting unit in high in the clouds.Detecting unit is used for inserting the open platform unit, and detects the operating state of third party's applying unit; The open platform unit is used for when detecting unit is determined the working state abnormal of third party's applying unit, and the state of third party's applying unit is set to unavailable.This shows, use after the embodiment of the present invention, the detecting unit that is positioned at high in the clouds can analog subscriber access open platform unit, and whether the applying unit that detects in the open platform is working properly, realized the automatic detection to each application in the open platform thus.
Description of drawings
Fig. 1 is the application service automatic checkout system structure chart according to embodiment of the present invention;
Fig. 2 is the application service automatic testing method flow chart according to embodiment of the present invention;
Fig. 3 is the application service automatic testing method exemplary flow chart according to embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
In embodiment of the present invention, by being positioned at the trace routine analog subscriber access open platform in high in the clouds, and whether the application in timing scan and the detection open platform is normal.Use the open platform application state that to automatically switch when undesired when detecting, in the application shop, be set to this unusual state of using unavailable, concurrent alarm information noticing related work personnel, the user will visit less than this application then, experience thereby improve the open platform product.
Fig. 1 is the application service automatic checkout system structure chart according to embodiment of the present invention.
As shown in Figure 1, this system comprises: open platform unit 101, be arranged in a plurality of third party's applying units 102 of open platform unit 101 and be positioned at the detecting unit 103 in high in the clouds.
Wherein, detecting unit 103 is used for inserting open platform unit 101, and detects the operating state of each third party's applying unit 102 in the open platform unit 101;
Open platform unit 101, when being used for the working state abnormal when definite certain or some the third party's applying unit 102 of detecting unit 103, this certain or the state of those third party's applying units 102 be set to unavailable.
In one embodiment, can set in advance the account number of a plurality of login open platforms unit 101 at the detecting unit 103 that is arranged in high in the clouds, and regularly or according to random time switch these account numbers access open platform unit 101 of use, perceive the testing process that detecting unit 103 to avoid being employed unit 102.
Detecting unit 103 can carry out with machine testing a plurality of third party's applying units 102 in the open platform unit 101, also can detect each third party's applying unit 102 according to a definite sequence.And the detection content of 103 pairs of third party's applying units 102 of detecting unit can comprise multiple, detect or the service operation state-detection such as network layer detection, application layer, etc.
Preferably, can comprise network layer detection module 1031 in the detecting unit 103.Network layer detection module 1031 is used for sending the IP detection packet according to Internet protocol (IP) to third party's applying unit 102, to detect the network connection state of third party's applying unit 102.
More specifically: third party's applying unit 102 is reserved with server ip address in open platform unit 101, and network layer detection module 1031 can send the ping bag to this server ip address, and according to having or not back bag to judge whether network unobstructed.When network layer detection module 1031 is received back bag from this server ip address, judge that the network connection state of this third party's applying unit 102 is normal; When network layer detection module 1031 is not received back bag, judge that these third party's applying unit 102 network connection state are undesired.
Preferably, can comprise application layer detection module 1032 in the detecting unit 103.Application layer detection module 1032 is used for sending the HTTP detection packet according to HTTP (HTTP) to third party's applying unit 102, to detect the application-layer data transmission state of this third party's applying unit 102.
More specifically: third party's applying unit 102 is reserved with the application network address in open platform unit 101, application layer detection module 1032 can be simulated this application network address of browser access, and according to HTTP return bag the head conditional code (such as: HTTP/1.1200), judge whether the application-layer data transmission of this third party's applying unit 102 normal.When application layer detection module 1032 receives that from this application network address bag is returned in normal connection, judge that the application-layer data transmission state of this third party's applying unit 102 is normal; When receiving that not bag is returned in normal connection, judge that the application-layer data transmission state of this third party's applying unit 102 is undesired.
Preferably, can also comprise service operation state detection module 1033 in the detecting unit 103.Service condition detection module 1033 for the content of pages that obtains third party's applying unit 102, is analyzed this content of pages and whether is comprised page-tag or the keyword that sets in advance, to detect the service operation state of this third party's applying unit 102.
More specifically: the network address of service operation state detection module 1033 visit third party applying units 102, and the extracting page, analyze again whether whether comprise the applied business running status that the page-tag that sets in advance or keyword judge third party's applying unit 102 in this page normal.Third party's applying unit 102 is understood page-tag or keyword that typing is associated with its applied business usually when being registered to open platform unit 101.Like this, service operation state detection module 1033 just can be according to whether comprising these page-tag in the web page that grasps or keyword judges whether the service operation state of third party's applying unit 102 is normal.Wherein: third party's applying unit is when registration, need be in open platform unit 101 fill data, crucial label or the keyword that can this page of typing must exist this moment, its crucial label, keyword are different for each is used, thereby embodiment of the present invention has also reached mutual isolation between using and unaffected.
Embodiment of the present invention has also proposed a kind of application service automatic testing method.
Fig. 2 is the application service automatic testing method flow chart according to embodiment of the present invention.
As shown in Figure 2, this method comprises:
Step 201: the detecting unit that is positioned at high in the clouds inserts the open platform unit, and detects the operating state of the third party's applying unit in the open platform unit.
Here, can set in advance a plurality of account numbers of login open platform unit at the detecting unit that is arranged in high in the clouds, and regularly or according to random time can switch these account numbers access open platform unit of use, perceive the testing process that detecting unit to avoid the being employed unit.
And detecting unit can also be carried out multinomial detection task, such as:
Detecting unit can send the IP detection packet to third party's applying unit according to the IP agreement, to detect the network connection state of third party's applying unit; Or
Detecting unit can also send the HTTP detection packet to third party's applying unit according to http protocol, to detect the application-layer data transmission state of third party's applying unit; Or
Detecting unit can also obtain the content of pages of third party's applying unit, analyzes content of pages and whether comprises page-tag or the keyword that sets in advance, to detect the service operation state of third party's applying unit.
Step 202: when detecting unit was determined the working state abnormal of third party's applying unit, the state of third party's applying unit was set to unavailable.
Here, the state of third party's applying unit is set to unavailable multiple embodiment to be arranged.
Such as: when detecting unit is determined the working state abnormal of third party's applying unit, can send warning message to the open platform unit by detecting unit, the open platform unit is set to unavailable according to the state of this warning message third party applying unit then.
In said method, in the time of can also working as the working state abnormal that detecting unit determines third party's applying unit, by detecting unit directly the state of third party's applying unit be set to unavailable.
Fig. 3 is the application service automatic testing method exemplary flow chart according to embodiment of the present invention.
As shown in Figure 3, this method comprises:
Step 301: the detecting unit that is positioned at high in the clouds inserts open platform, and the applying unit in the open platform is carried out network layer detect.
Step 302: detecting unit judges whether the network layer of applying unit is normal, if normally then execution in step 303 and subsequent step thereof, if undesired then execution in step 308.
Step 303: detecting unit is carried out application layer to the applying unit in the open platform and is detected.
Step 304: detecting unit judges whether the application layer of applying unit is normal, if normally then execution in step 305 and subsequent step thereof, if undesired then execution in step 308.
Step 305: detecting unit is carried out the service operation state-detection to the applying unit in the open platform.
Step 306: detecting unit judges whether the service operation state of applying unit is normal, if normally then execution in step 307 and subsequent step thereof, if undesired then execution in step 308.
Step 307: applying unit detects and passes through.
Step 308: applying unit detects failure, and can report to the police this moment to open platform, and the applying unit that was lost efficacy by open platform is set to unavailable then; Or directly be set to unavailable by the detecting unit applying unit.
In sum, in embodiment of the present invention, this system comprises the open platform unit, be arranged in third party's applying unit of open platform unit and be positioned at the detecting unit in high in the clouds.Detecting unit is used for inserting the open platform unit, and detects the operating state of third party's applying unit; The open platform unit is used for when detecting unit is determined the working state abnormal of third party's applying unit, and the state of third party's applying unit is set to unavailable.This shows, use after the embodiment of the present invention, the detecting unit that is positioned at high in the clouds can analog subscriber access open platform unit, and whether the applying unit that detects in the open platform is working properly, realized the automatic detection to each application in the open platform thus.
And, use the open platform application state that can automatically switch when undesired when detecting unit detects, and in the shop this unusual state of using is set to unavailablely using, so embodiment of the present invention has also strengthened the reliability of open platform.
In addition, embodiment of the present invention is analyzed the working condition of each applying unit by network layer protocol, application layer protocol and service operation state, and detection means is very abundant.By in the page analysis service operation state, also realized each application of differentiation, can analyze the page according to fine granularity, so embodiment of the present invention detection means refinement and reliable.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an application service automatic checkout system is characterized in that, this system comprises the open platform unit, be arranged in third party's applying unit of described open platform unit and be positioned at the detecting unit in high in the clouds; Wherein:
Described detecting unit is used for inserting described open platform unit, and detects the operating state of described third party's applying unit;
Described open platform unit is used for when detecting unit is determined the working state abnormal of third party's applying unit, and the state of described third party's applying unit is set to unavailable.
2. application service automatic checkout system according to claim 1 is characterized in that, described detecting unit comprises the network layer detection module;
Described network layer detection module is used for sending the IP detection packet according to Internet protocol IP to described third party's applying unit, to detect the network connection state of described third party's applying unit.
3. application service automatic checkout system according to claim 1 and 2 is characterized in that, described detecting unit comprises the application layer detection module;
Described application layer detection module is used for sending the HTTP detection packet according to HTTP HTTP to third party's applying unit, to detect the application-layer data transmission state of described third party's applying unit.
4. application service automatic checkout system according to claim 3 is characterized in that, described detecting unit comprises the service operation state detection module;
Described service condition detection module for the content of pages that obtains described third party's applying unit, is analyzed this content of pages and whether is comprised page-tag or the keyword that sets in advance, to detect the service operation state of described third party's applying unit.
5. application service automatic checkout system according to claim 1 is characterized in that, stores at least two account numbers in the described detecting unit in advance;
Described detecting unit is used for switching and uses the account number of storing regularly to insert described open platform unit.
6. an application service automatic testing method is characterized in that, this method comprises:
The detecting unit that is positioned at high in the clouds inserts the open platform unit, and detects the operating state of the third party's applying unit in the described open platform unit;
When detecting unit was determined the working state abnormal of third party's applying unit, the state of described third party's applying unit was set to unavailable.
7. application service automatic testing method according to claim 6 is characterized in that, the operating state of the third party's applying unit in the described detection open platform unit specifically comprises:
Send the IP detection packet according to the IP agreement to described third party's applying unit, to detect the network connection state of described third party's applying unit;
Send the HTTP detection packet according to http protocol to described third party's applying unit, to detect the application-layer data transmission state of described third party's applying unit; Or
Obtain the content of pages of described third party's applying unit, analyze described content of pages and whether comprise page-tag or the keyword that sets in advance, to detect the service operation state of described third party's applying unit.
8. application service automatic testing method according to claim 6 is characterized in that, the state of described third party's applying unit is set to unavailablely specifically comprise:
When detecting unit was determined the working state abnormal of third party's applying unit, detecting unit sent warning message to the open platform unit;
The open platform unit is set to unavailable according to the state of the described third party's applying unit of described warning message.
9. application service automatic testing method according to claim 6 is characterized in that, the state of described third party's applying unit is set to unavailablely specifically comprise:
When detecting unit is determined the working state abnormal of third party's applying unit, by detecting unit directly the state of described third party's applying unit be set to unavailable.
10. application service automatic testing method according to claim 6 is characterized in that, the described detecting unit that is positioned at high in the clouds inserts the open platform unit and specifically comprises:
Store at least two account numbers in the detecting unit in advance, and switching uses the account number of storing regularly to insert described open platform unit.
CN201210054788.5A 2012-03-05 2012-03-05 A kind of application service automatic checkout system and method Active CN103297480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210054788.5A CN103297480B (en) 2012-03-05 2012-03-05 A kind of application service automatic checkout system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210054788.5A CN103297480B (en) 2012-03-05 2012-03-05 A kind of application service automatic checkout system and method

Publications (2)

Publication Number Publication Date
CN103297480A true CN103297480A (en) 2013-09-11
CN103297480B CN103297480B (en) 2017-09-22

Family

ID=49097792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210054788.5A Active CN103297480B (en) 2012-03-05 2012-03-05 A kind of application service automatic checkout system and method

Country Status (1)

Country Link
CN (1) CN103297480B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763579A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Service providing method and device
CN105978938A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Service processing equipment service status determining method and scheduling equipment
CN110708289A (en) * 2019-09-04 2020-01-17 视联动力信息技术股份有限公司 Service detection method, browser, server, electronic device and storage medium
CN116991748A (en) * 2023-09-27 2023-11-03 腾讯科技(深圳)有限公司 Early warning method and device for abnormal application, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1653790A (en) * 2002-03-18 2005-08-10 普罗昆特系统公司 Application program interface
CN1787000A (en) * 2005-11-15 2006-06-14 中国工商银行股份有限公司 System and method for centralized managing and dispatching of batch work
US20080104224A1 (en) * 2006-10-27 2008-05-01 Litofsky Richard T Method and apparatus for determining application responsiveness over a network
CN102238195A (en) * 2011-08-11 2011-11-09 成都勤智数码科技有限公司 Running monitoring method of application system
CN102255776A (en) * 2011-07-22 2011-11-23 百度在线网络技术(北京)有限公司 Method and device for monitoring state of on-line application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1653790A (en) * 2002-03-18 2005-08-10 普罗昆特系统公司 Application program interface
CN1787000A (en) * 2005-11-15 2006-06-14 中国工商银行股份有限公司 System and method for centralized managing and dispatching of batch work
US20080104224A1 (en) * 2006-10-27 2008-05-01 Litofsky Richard T Method and apparatus for determining application responsiveness over a network
CN102255776A (en) * 2011-07-22 2011-11-23 百度在线网络技术(北京)有限公司 Method and device for monitoring state of on-line application
CN102238195A (en) * 2011-08-11 2011-11-09 成都勤智数码科技有限公司 Running monitoring method of application system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763579A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Service providing method and device
CN105763579B (en) * 2014-12-15 2019-03-29 阿里巴巴集团控股有限公司 Service providing method and device
CN105978938A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Service processing equipment service status determining method and scheduling equipment
WO2017185615A1 (en) * 2016-04-25 2017-11-02 乐视控股(北京)有限公司 Method for determining service status of service processing device and scheduling device
CN110708289A (en) * 2019-09-04 2020-01-17 视联动力信息技术股份有限公司 Service detection method, browser, server, electronic device and storage medium
CN116991748A (en) * 2023-09-27 2023-11-03 腾讯科技(深圳)有限公司 Early warning method and device for abnormal application, electronic equipment and storage medium
CN116991748B (en) * 2023-09-27 2024-01-12 腾讯科技(深圳)有限公司 Early warning method and device for abnormal application, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103297480B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
EP3855692A1 (en) Network security monitoring method, network security monitoring device, and system
CN104519032B (en) A kind of security strategy and system of internet account number
KR102076862B1 (en) Network performance indicator visualization method and apparatus, and system
CN109347827B (en) Method, device, equipment and storage medium for predicting network attack behavior
CN104348803B (en) Link kidnaps detection method, device, user equipment, Analysis server and system
CN104168316B (en) A kind of Webpage access control method, gateway
CN106453216A (en) Malicious website interception method, malicious website interception device and client
CN107294919A (en) A kind of detection method and device of horizontal authority leak
CN105516390B (en) Domain name management method and device
CN104901962B (en) A kind of detection method and device of web page attacks data
CN102123058A (en) Test equipment and method for testing network protocol decoder
CN107168844B (en) Performance monitoring method and device
CN105323121B (en) A kind of Network status detection method and device
CN106411629A (en) Method used for monitoring state of CDN node and equipment thereof
CN109040128B (en) WAF reverse proxy detection method based on offline pcap flow packet
CN103297480A (en) System and method for automatically detecting application service
CN108256811A (en) Job information processing method, device, computer equipment and storage medium
CN103428249A (en) Collecting method and processing method for HTTP request packet, system and server
CN103634166A (en) Equipment survival detection method and equipment survival detection device
CN103517292A (en) Mobile terminal information reporting method and apparatus
CN106027284A (en) Network fault diagnosis method and device
CN103731315A (en) Server failure detecting method
CN112235300B (en) Cloud virtual network vulnerability detection method, system, device and electronic equipment
CN104461847B (en) Data processor detection method and device
CN106060048A (en) Network resource access method and network resource access device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Nanshan District science and Technology Park, Guangdong, Zhejiang Province, science and technology in the Tencent Building, the first floor of the 8 layer

Applicant after: Tenpay Payment Technology Co., Ltd.

Address before: The South Guangdong province 518057 Shenzhen high tech Zone of Nanshan District City, a TCL building A block eight layer

Applicant before: Shenzhen Tenpay Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN TENPAY TECHNOLOGY CO., LTD. TO: TENPAY PAYMENT TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant