CN106201817A - Dynamic Display content monitor method, system and device - Google Patents

Dynamic Display content monitor method, system and device Download PDF

Info

Publication number
CN106201817A
CN106201817A CN201610454769.XA CN201610454769A CN106201817A CN 106201817 A CN106201817 A CN 106201817A CN 201610454769 A CN201610454769 A CN 201610454769A CN 106201817 A CN106201817 A CN 106201817A
Authority
CN
China
Prior art keywords
display content
dynamic
built
abnormal
dynamic display
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
CN201610454769.XA
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.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China 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 Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN201610454769.XA priority Critical patent/CN106201817A/en
Publication of CN106201817A publication Critical patent/CN106201817A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of Dynamic Display content monitor method, system and device, and the method includes: the application program that monitoring has been turned on;Obtaining the built-in dynamic displaying control in application program, built-in Dynamic Display control is operated by analog subscriber;Judge that the display content of built-in dynamic displaying control is the most abnormal after simulated operation;When being judged as YES, notify that user's Dynamic Display content is abnormal.It is capable of the dynamic monitoring to Dynamic Display content, it is not necessary to being respectively provided with for different displaying content providers, highly versatile, safety is high.

Description

Dynamic Display content monitor method, system and device
Technical field
The present invention relates to automatization testing technique field, espespecially a kind of Dynamic Display content monitor method, system and device.
Background technology
Along with the development of mobile Internet, drive the development in mobile terminal application (APP) market, thus caused movement The exploitation upsurge of terminal APP software.In Android application market, free application accounting more than 65% is for these free answering With, developer or development company embed mobile commercial advertisement the most in a variety of manners, rely on user to click on These built-in advertisings and bring income, this is to obtain one of the most universal and topmost means of economic interests.Mobile commercial advertisement It is to be embedded in APP client with the form of HTML (Hyper Text Markup Language, HTML) 5, User clicks on short chain and connects or with the text of URL (Uniform Resource Locator, URL) or figure Sheet, client can redirect and load the corresponding Html5 page, i.e. advertisement page.And user is in this operating process, if extensively The server accusing page place occurs in that exception, will be redirected to a wrong page, and user clicks on invalid, and click volume is natural Can reduce, thus affect income.How can find this exception in the very first time, and send notice to management personnel, to be urgently Problem to be solved.
Monitoring treasured be a solution the more commonly used in prior art, can regularly monitor website, service and Server, once website cannot link, webpage (Web) server load is too high, data base's pressure is excessive or server occurs Mistake, monitoring treasured is informed about webmaster.The principle Organization Chart of monitoring treasured is as shown in Figure 1.
Which needs to install Simple Network Management Protocol (SNMP) Agent on managed devices, then to SNMP Configure, as arranged SNMP version, user name, password and verification mode etc..In front end monitoring precious webpage configuration monitoring treasured institute Server to be monitored also arranges SNMP agent.Monitoring project can be added, as central processing unit (CPU) uses after submitting to successfully Rate, memory usage, disk input/output end port (Input/Output, I/O) and network traffics etc..It is then possible to select prison The service of control, finally fills in and needs the URL of monitoring to get final product display monitoring information.The service end of monitoring treasured is equivalent to SNMP application mould NMS in type, is responsible for the request that receiving front-end webpage sends over, fetches data, returns to front end through processing Webpage.
Monitoring treasured to monitor some status page, needs to add monitored server address and corresponding URL, embedded Mobile commercial advertisement generally occur on the scroll bar in application (manually or automatically switching 3-5 bar advertisement), hurdle, top (under Draw and automatically update an advertisement) and the content of homepage in (radom insertion), built-in advertising is Dynamic Announce, at set intervals Different advertisements can be shown.Owing to every advertisement all can be with a different URL, if using monitoring treasured to monitor these advertisements Page, then need constantly manually to add corresponding URL, in addition to intricate operation, along with advertising page to be monitored increases, after Maintenance also can become more to bother.Furthermore, monitoring treasured is by configuring SNMP on every managed devices to obtain monitoring Information, for different advertisement service providers, is required for configuring on its server, configures relatively time-consuming expense Power, and if it occur that the situation such as server migration, URL conversion, then need to revise the server added and URL information, it is impossible to Dynamically manage.
Owing to aforesaid way needs configure on each managed devices and open snmp protocol, when configuring SNMP, Create after user, need to be inserted by username and password in the webpage of monitoring precious front end, it is most likely that stolen by trojan horse program and Reveal, there is potential safety hazard.
And monitoring treasured set about in terms of URL and protocol layer, although whether web page monitored can comprise specific content, but Page jump for mobile terminal cannot analog automatization monitoring.
Therefore, there is many drawbacks in the existing mode realizing monitoring, it is impossible to realize Dynamic Announce accurately and efficiently is wide The monitoring accused, it is impossible to find that it shows the situations such as abnormal in time.
Summary of the invention
The embodiment of the present invention provides a kind of Dynamic Display content monitor method, system and device, in order to solve prior art Present in cannot dynamically monitor the Dynamic Display content in application, it is impossible in time, effective its abnormal show that finds, and operation Waste time and energy, the problem that there is potential safety hazard.
Embodiments provide a kind of Dynamic Display content monitor method, including:
The application program that monitoring has been turned on;
Obtaining the built-in dynamic displaying control in application program, built-in Dynamic Display control is operated by analog subscriber;
Judge that the display content of built-in dynamic displaying control is the most abnormal after simulated operation;
When being judged as YES, notify that user's Dynamic Display content is abnormal.
In some optional embodiments, it is judged that the display content of built-in dynamic displaying control is the most abnormal, specifically includes:
Obtain the display content of built-in dynamic displaying control;
With the exception preset, the display content of built-in dynamic displaying control is shown that content is mated, when the match is successful Time, it is determined that the display content of built-in dynamic displaying control is abnormal.
In some optional embodiments, described notify that user's Dynamic Display content is abnormal, specifically includes:
Send, to user, the prompting mail that Dynamic Display content is abnormal by the mailbox being pre-configured with;Or
Abnormal by default prompting page prompts user's Dynamic Display content.
In some optional embodiments, described notify that user's Dynamic Display content is abnormal, specifically includes:
The abnormal display of built-in dynamic displaying control is shown that content carries out sectional drawing;
Sectional drawing is embedded in the prompting mail configured, will be prompted to mail and be sent to user;Or sectional drawing is embedded into joins In the prompting page put, will be prompted to page presentation to user.
In some optional embodiments, the application journey having been turned on according to default monitoring cycle or monitoring frequency monitoring Sequence;
Before built-in dynamic displaying control in described acquisition application program, also include: whether the detection monitoring cycle expires Or detect whether to reach to monitor frequency, when the monitoring cycle expires or reaches to monitor frequency, then perform to obtain in application program The operation of built-in dynamic displaying control.
The embodiment of the present invention also provides for a kind of Dynamic Display contents supervision's device, including:
Start module, the application program having been turned on for monitoring;
Acquisition module, for obtaining the built-in dynamic displaying control in application program;
Analog module, operates built-in Dynamic Display control for analog subscriber;
Judge module, after judging simulated operation, the display content of built-in dynamic displaying control is the most abnormal;
Perform module, for when being judged as YES, notify that user's Dynamic Display content is abnormal.
In some optional embodiments, described judge module, specifically for:
Obtain the display content of built-in dynamic displaying control;
With the exception preset, the display content of built-in dynamic displaying control is shown that content is mated, when the match is successful Time, it is determined that the display content of built-in dynamic displaying control is abnormal.
In some optional embodiments, described execution module, specifically for:
Send, to user, the prompting mail that Dynamic Display content is abnormal by the mailbox being pre-configured with;Or
Abnormal by default prompting page prompts user's Dynamic Display content.
In some optional embodiments, described startup module, specifically for: according to default monitoring cycle or monitoring frequency Rate monitors the application program having been turned on;
Described startup module, is additionally operable to detect whether the monitoring cycle expires or detect whether to reach to monitor frequency, works as monitoring When cycle expires or reaches to monitor frequency, then perform to obtain the operation of the built-in dynamic displaying control in application program.
The embodiment of the present invention also provides for a kind of Dynamic Display content monitoring system, including: above-mentioned Dynamic Display content prison Control device, applications client and browser;
Described applications client, is used for running application program;
Described browser, is used for showing Dynamic Display content abnormal information.
Technique scheme has the advantages that the built-in dynamic exhibition being obtained the application program having been turned on by monitoring Showing control, built-in Dynamic Display control is operated by analog subscriber;After judging simulated operation, built-in dynamic displaying control shows Show that content is whether abnormal, it is achieved thereby that in time, effectively monitor Dynamic Display content whether abnormal show, this need not for Each Dynamic Display content providers is for the proxy settings, simple to operate saves trouble;Need not user profile mutual, it is to avoid safety Hidden danger, it is achieved that the simulation to Dynamic Display content monitors automatically.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the monitoring principle schematic monitoring treasured in prior art;
Fig. 2 is the flow chart of Dynamic Display content monitor method in the embodiment of the present invention one;
Fig. 3 is the flow chart of Dynamic Display content monitor method in the embodiment of the present invention two;
Fig. 4 is the principle schematic of Dynamic Display content monitor method in the embodiment of the present invention three;
Fig. 5 is the structural representation of Dynamic Display content monitoring system in the embodiment of the present invention;
Fig. 6 is the structural representation of Dynamic Display contents supervision device in the embodiment of the present invention;
Fig. 7 be the embodiment of the present invention as a example by mail notification, in this development platform run Android automated test frame Robotium, monitor code and JavaMail principle schematic.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
In order to solve Dynamic Display contents supervision to be configured complexity present in prior art, it is impossible to realize timely and effectively Simulation dynamically monitoring, operates some problem such as wasting time and energy, and the embodiment of the present invention provides a kind of Dynamic Display content monitor method, Can be in the case of being respectively configured the most one by one, it is achieved the dynamic monitoring to Dynamic Display content, it realizes simple, does not has Potential safety hazard, it is possible to find the abnormal show of Dynamic Display content in time.
Embodiment one
The Dynamic Display content monitor method that the embodiment of the present invention one provides, its flow process is as in figure 2 it is shown, include walking as follows Rapid:
Step S101: the application program that monitoring has been turned on.
The application program having been turned on prototype or simulator can be monitored, realized by default monitor code, start Automatically monitoring.
Step S102: obtain the built-in dynamic displaying control in application program.
Application program may have more than one Dynamic Display region, obtain the Dynamic Display control in application program, can To determine Dynamic Display region, such as: on the scroll bar in application program, in the content of hurdle, top, homepage, other selection areas (after such as, often showing several display contents, inserting a Dynamic Display content).
Step S103: built-in Dynamic Display control is operated by analog subscriber.
After obtaining the Dynamic Display control in application program, these Dynamic Display regions are operated by analog subscriber, than As clicked on, long press, the operation such as slip.
Step S104: judge that the display content of built-in dynamic displaying control is the most abnormal after simulated operation.
When being judged as YES, perform step S105;When being judged as NO, perform step S106.
After analog subscriber operation, after waiting that Dynamic Display control completes the operation to Dynamic Display content, obtain current aobvious The content shown, it is judged that the content of display is the most abnormal.
Step S105: notify that user's Dynamic Display content is abnormal.
When the display of Dynamic Display content is abnormal, by the way of mail or page presentation, notify user, in order to Yong Huji Time process, enable Dynamic Display content normal presentation.
Step S106: terminate this monitoring flow process.
When Dynamic Display content can normally show, terminate this monitoring flow process, wait monitoring next time to be launched.
Embodiment two
The embodiment of the present invention two provides a kind of concrete methods of realizing of above-mentioned Dynamic Display contents supervision, its flow process such as Fig. 3 Shown in, comprise the steps:
Step S201: the application program that monitoring has been turned on.
Step S202: obtain the built-in dynamic displaying control in application program.
Step S203: built-in Dynamic Display control is operated by analog subscriber.
Step S204: obtain the display content of built-in dynamic displaying control.
After analog subscriber operation, after waiting that Dynamic Display control completes the operation to Dynamic Display content, obtain current aobvious The content shown, if there being more than one Dynamic Display region, then can obtain the display content of all display area, it is also possible to sampling Obtain one of them or the display content of several display area.On scroll bar in such as application program, hurdle, top, homepage interior The displaying content in the regions such as Rong Zhong, other selection areas obtains the most one by one or selectivity obtains.
Step S205: with the exception preset, the display content of built-in dynamic displaying control is shown that content is mated.
When the match is successful, perform step S206;When it fails to match, perform step S207.
Obtain the exception preset and show content, can be obtained by the page of Html5 form, it is also possible to by other means Obtain.Then mate, when the match is successful, illustrate that the display content of built-in dynamic displaying control is anomalous content, i.e. sentence Determine Dynamic Display content abnormal;When it fails to match, illustrate that the display content of built-in dynamic displaying control is the interior of normal display Hold.
Step S206: send, to user, the prompting mail that Dynamic Display content is abnormal by the mailbox being pre-configured with.
Can carry out notifying that user's Dynamic Display content is abnormal, by built-in dynamic exhibition by the way of sending mail to user Show that the abnormal display content of control carries out sectional drawing;Sectional drawing is embedded in the prompting mail configured, will be prompted to mail and send To user.
When confirming Dynamic Display content exception, the content shown is carried out sectional drawing, and constructs in the mail of Html form Hold, call the transmission mail interface of Java mail transmission/reception agreement (JavaMail), the mail of structure is sent to the mailbox specified.
As a example by microblogging application program, having Dynamic Display content in homepage, this Dynamic Display content comprises displaying article Picture, displaying article describe text and show article details text, it is possible to use show that article details text is shown as entering The entrance control of the page, i.e. clicks on and shows that article details text realizes simulated operation.The exception being provided for coupling shows content For " sorry!The page cannot access ... ", obtain web element according to matching content and realize the acquisition of display content, and sentence Disconnected, if web display content is the exception for coupling arranged shows content, then it represents that redirect failure, send alarm immediately Mail.
Send mail to need to arrange mail matter topics, Mail Contents, recipient, picture name, the server of transmission mail, postal Case prefix and mailbox password.These mailbox configuration parameters can be realized by mail configuration function code.According to mail configuration ginseng After number configuration prompt mail, the name of the mail sender to arrange can be sent to the recipient arranged, it shows topics For the mail matter topics arranged, the sectional drawing of abnormal show can embed with Html form.
Step S207: terminate this monitoring flow process.
Monitoring next time flow process can be returned to waiting for by clicking on return push-button.
Embodiment three
The embodiment of the present invention three provides a kind of concrete methods of realizing of above-mentioned Dynamic Display contents supervision, its flow process such as Fig. 4 Shown in, comprise the steps:
Step S301: the application program having been turned on according to default monitoring cycle or monitoring frequency monitoring.
Certain monitoring cycle or monitoring frequency can be set, within such as 30 seconds, be a monitoring cycle, or monitoring frequency is 1 Minutes 2 times.
Step S302: whether the detection monitoring cycle expires or detect whether to reach to monitor frequency.Expire when the monitoring cycle or When reaching to monitor frequency, perform step S303, otherwise, wait and continue to detect whether the monitoring cycle expires or detect whether to reach Monitoring frequency.
Whether the detection monitoring cycle arrives, or whether monitoring frequency arrives, if not arriving, then continues waiting for, if arriving After, then find the dynamic content displaying control that application program is built-in, perform subsequent operation.
Step S303: obtain the built-in dynamic displaying control in application program.
Step S304: built-in Dynamic Display control is operated by analog subscriber.
Step S305: obtain the display content of built-in dynamic displaying control.
Step S306: with the exception preset, the display content of built-in dynamic displaying control is shown that content is mated.
When the match is successful, it is believed that Dynamic Display content is abnormal, perform step S307;When it fails to match, perform step S308。
Step S307: abnormal by default prompting page prompts user's Dynamic Display content.
Can carry out notifying that user's Dynamic Display content is abnormal by the way of showing the prompting page to user, by built-in dynamic The exception of state displaying control shows that content carries out sectional drawing, is embedded into by sectional drawing in the prompting page configured, will be prompted to page exhibition Show to user.
When confirming Dynamic Display content exception, the content shown is carried out sectional drawing, and constructs the tips page of Html form Face, invoking page display interface, the prompting page of structure is showed user.
Step S308: terminate this monitoring flow process.
Expire when the next monitoring cycle or monitor and continue to repeat this process when frequency arrives.
Based on same inventive concept, the embodiment of the present invention also provides for a kind of Dynamic Display content monitoring system, and its structure is such as Shown in Fig. 5, including: Dynamic Display contents supervision's device 501, applications client 502 and browser 503.
Dynamic Display contents supervision's device 501, the application program having been turned on for monitoring;Obtain in application program is built-in Dynamic Display control, built-in Dynamic Display control is operated by analog subscriber;After judging simulated operation, built-in dynamic shows control The display content of part is the most abnormal;When being judged as YES, notify that user's Dynamic Display content is abnormal.
Applications client 502, is used for running application program.
Browser 503, is used for showing Dynamic Display content abnormal information.
Preferably, above-mentioned Dynamic Display contents supervision's device 501, specifically for obtaining the display of built-in dynamic displaying control Content;With the exception preset, the display content of built-in dynamic displaying control is shown that content is mated, when the match is successful, sentence The display content determining Dynamic Display control is abnormal.
Preferably, above-mentioned Dynamic Display contents supervision's device 501, send out to user specifically for the mailbox by being pre-configured with Send the prompting mail that Dynamic Display content is abnormal;Or it is abnormal by default prompting page prompts user's Dynamic Display content.
Preferably, above-mentioned Dynamic Display contents supervision's device 501, specifically for by the exception of built-in dynamic displaying control Display content carries out sectional drawing;Sectional drawing is embedded in the prompting mail configured, will be prompted to mail and be sent to user;Or by sectional drawing It is embedded in the prompting page configured, will be prompted to page presentation to user.
Preferably, above-mentioned Dynamic Display contents supervision's device 501, specifically for according to default monitoring cycle or monitoring frequency Rate monitors the application program having been turned on;Accordingly, above-mentioned Dynamic Display contents supervision's device 501, it is additionally operable to detect the monitoring cycle Whether expire or detect whether to reach to monitor frequency, when the monitoring cycle expires or reaches to monitor frequency, then performing to obtain application The operation of the built-in dynamic displaying control in program.
The structure of above-mentioned Dynamic Display contents supervision's device 501 as shown in Figure 6, including: start module 601, acquisition module 602, analog module 603, judge module 604 and execution module 605.
Start module 601, the application program having been turned on for monitoring.
Acquisition module 602, for obtaining the built-in dynamic displaying control in application program.
Analog module 603, operates built-in Dynamic Display control for analog subscriber.
Judge module 604, after judging simulated operation, the display content of built-in dynamic displaying control is the most abnormal.
Perform module 605, for when being judged as YES, notify that user's Dynamic Display content is abnormal.
Preferably, above-mentioned judge module 604, specifically for obtaining the display content of built-in dynamic displaying control;By built-in With the exception preset, the display content of Dynamic Display control shows that content is mated, when the match is successful, it is determined that Dynamic Display The display content of control is abnormal.
Preferably, above-mentioned execution module 605, send in Dynamic Display to user specifically for the mailbox by being pre-configured with Hold abnormal prompting mail;Or it is abnormal by default prompting page prompts user's Dynamic Display content.
Preferably, above-mentioned startup module 604, specifically for having been turned on according to default monitoring cycle or monitoring frequency monitoring Application program;Accordingly,
Above-mentioned startup module 601, is additionally operable to detect whether the monitoring cycle expires or detect whether to reach to monitor frequency, works as prison When the control cycle expires or reaches to monitor frequency, then perform to obtain the operation of the built-in dynamic displaying control in application program.
Preferably, above-mentioned execution module 605, specifically for carrying out the abnormal display content of built-in dynamic displaying control Sectional drawing;Sectional drawing is embedded in the prompting mail configured, will be prompted to mail and be sent to user;Or sectional drawing is embedded into configures The prompting page in, will be prompted to page presentation to user.
Above-mentioned Dynamic Display content monitor method and system, can pass through expansible development platform based on Java Eclipse realizes the developing operation of application program, as a example by mail notification, runs Android automatic test in this development platform Framework Robotium, monitor code and JavaMail, its principle is as shown in Figure 7.On monitor code startup simulator or prototype Through mounted tested application, the built-in dynamic starting the cycle over monitoring application program shows content, in being clicked on by analog subscriber Put Dynamic Display content, it is judged that built-in dynamic shows that content the most normally redirects, if occurring abnormal, calling JavaMail and sending Alarm mail is to specifying mailbox.
Automated test frame Robotium, it is possible to drive the various gesture operation of Android (Android) equipment simulating, example As: as clicked on, long press, slip etc., search control and assert the application programming interface (Application of mechanism Programming Interface, API).It runs on Eclipse, by adding monitor code, can set tested Standby (prototype or simulator as illustrated in the drawing) is automatically brought into operation.
Monitor code realizes test function, is to control the logical gate that application is automatically brought into operation, carries by calling Robotium User interface (User Interface, UI) the operation API of confession, obtains and operates Dynamic Display control, it is judged that built-in dynamic exhibition Show that redirecting of content is the most normal.
Process the DLL JavaMail that Email is relevant, during monitor code performs, when monitoring dynamically When displaying control renders abnormal, the API of JavaMail can be called, send abnormal to predefining mailbox.
Above-mentioned Dynamic Display content monitor method and system, can use other automatization's frameworks to replace Robotium, such as: to move Dynamic equipment automatization test frame Appium and Android native applications UI automated test frame Selendroid.
Above-mentioned Dynamic Display content monitor method and system, it is not necessary to pre-set monitored status page URL, only need to determine Position is to the Dynamic Display control in APP, this control the most operable, and verifies the Dynamic Display content after redirecting, it is achieved Real-time dynamic monitoring, occur abnormal after can be at very first time sectional drawing and send alarm mail or the page is reminded;Owing to using Screen is manually clicked in full-automatic simulation, it is not necessary to manual operation, improves monitoring efficiency.Owing to using the interactively monitoring side of UI Formula, only focuses on the display content on application program, obtains built-in dynamic displaying control according to text or control ID and shows content, no Change with the URL being concerned about Dynamic Display content, it is not necessary to open on the server and configure SNMP, being possible to prevent outer bound pair server Attack, it is to avoid information leakage, it is possible to ensure the safety of server end.Use mail notification or the side of page prompts Formula, finds the exception of Dynamic Display content, and sectional drawing reminds user in time in the very first time, it is achieved simple, convenient, easy care, Effectively reduce maintenance cost, and there is stronger versatility and general applicability.
Those skilled in the art are it will also be appreciated that the various illustrative components, blocks listed of the embodiment of the present invention (illustrative logical block), unit, and step can pass through electronic hardware, computer software, or both knots Conjunction realizes.For clearly showing that the replaceability (interchangeability) of hardware and software, above-mentioned various explanations Property parts (illustrative components), unit and step the most universally describe their function.Such merit Can be to realize depending on specifically applying the design requirement with whole system by hardware or software.Those skilled in the art Can be for every kind of specific application, it is possible to use the function described in the realization of various methods, but this realization is understood not to Scope beyond embodiment of the present invention protection.
Various illustrative logical block described in the embodiment of the present invention, or unit can pass through general processor, Digital signal processor, special IC (ASIC), field programmable gate array or other programmable logic device, discrete gate Or transistor logic, discrete hardware components, or the design of any of the above described combination realize or operate described function.General place Reason device can be microprocessor, and alternatively, this general processor can also be any traditional processor, controller, microcontroller Device or state machine.Processor can also realize by calculating the combination of device, such as digital signal processor and microprocessor, Multi-microprocessor, one or more microprocessors one Digital Signal Processor Core of associating, or any other like configuration Realize.
It is soft that method described in the embodiment of the present invention or the step of algorithm can be directly embedded into hardware, processor performs Part module or the combination of both.Software module can be stored in RAM memory, flash memory, ROM memory, EPROM storage Other any form of storage medium in device, eeprom memory, depositor, hard disk, moveable magnetic disc, CD-ROM or this area In.Exemplarily, storage medium can be connected with processor, so that processor can read information from storage medium, and Write information can be deposited to storage medium.Alternatively, storage medium can also be integrated in processor.Processor and storage medium can To be arranged in ASIC, ASIC can be arranged in user terminal.Alternatively, processor and storage medium can also be arranged at use In different parts in the terminal of family.
In one or more exemplary designs, the above-mentioned functions described by the embodiment of the present invention can be at hardware, soft The combination in any of part, firmware or this three realizes.If realized in software, these functions can store and computer-readable On medium, or it is transmitted on the medium of computer-readable with one or more instructions or code form.Computer readable medium includes electricity Brain stores medium and is easy to so that allowing computer program transfer to the telecommunication media in other place from a place.Storage medium is permissible It is that any general or special computer can be with the useable medium of access.Such as, such computer readable media can include but It is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other What may be used for carrying or storage can be by general or special computer or general or special handling with other with instruction or data structure Device reads the medium of the program code of form.Additionally, any connection can be properly termed computer readable medium, example As, if software is by coaxial cable, fiber optic cables, double from a web-site, server or other remote resource Twisted wire, Digital Subscriber Line (DSL) or with the wireless way for transmittings such as the most infrared, wireless and microwave be also contained in defined In computer readable medium.Described video disc (disk) and disk (disc) include Zip disk, radium-shine dish, CD, DVD, floppy disk And Blu-ray Disc, disk is generally with magnetic duplication data, and video disc generally carries out optical reproduction data with laser.Combinations of the above Can also be included in computer readable medium.
Above-described detailed description of the invention, has been carried out the purpose of the present invention, technical scheme and beneficial effect further Describe in detail, be it should be understood that the detailed description of the invention that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, all should comprise Within protection scope of the present invention.

Claims (10)

1. a Dynamic Display content monitor method, it is characterised in that including:
The application program that monitoring has been turned on;
Obtaining the built-in dynamic displaying control in application program, built-in Dynamic Display control is operated by analog subscriber;
Judge that the display content of built-in dynamic displaying control is the most abnormal after simulated operation;
When being judged as YES, notify that user's Dynamic Display content is abnormal.
2. the method for claim 1, it is characterised in that judge that the display content of built-in dynamic displaying control is the most different Often, specifically include:
Obtain the display content of built-in dynamic displaying control;
With the exception preset, the display content of built-in dynamic displaying control is shown that content is mated, when the match is successful, sentence The display content determining built-in dynamic displaying control is abnormal.
3. the method for claim 1, it is characterised in that described notify that user's Dynamic Display content is abnormal, specifically includes:
Send, to user, the prompting mail that Dynamic Display content is abnormal by the mailbox being pre-configured with;Or
Abnormal by default prompting page prompts user's Dynamic Display content.
4. method as claimed in claim 3, it is characterised in that described notify that user's Dynamic Display content is abnormal, specifically includes:
The abnormal display content of built-in dynamic displaying control is carried out sectional drawing;
Sectional drawing is embedded in the prompting mail configured, will be prompted to mail and be sent to user;Or sectional drawing is embedded into configures The prompting page in, will be prompted to page presentation to user.
5. the method as described in claim 1-4 is arbitrary, it is characterised in that according to default monitoring cycle or monitoring frequency monitoring The application program having been turned on;
Before built-in dynamic displaying control in described acquisition application program, also include: whether the detection monitoring cycle expires or examine Survey and whether reach to monitor frequency, when the monitoring cycle expires or reaches to monitor frequency, then perform to obtain in application program built-in The operation of Dynamic Display control.
6. Dynamic Display contents supervision's device, it is characterised in that including:
Start module, the application program having been turned on for monitoring;
Acquisition module, for obtaining the built-in dynamic displaying control in application program;
Analog module, operates built-in Dynamic Display control for analog subscriber;
Judge module, after judging simulated operation, the display content of built-in dynamic displaying control is the most abnormal;
Perform module, for when being judged as YES, notify that user's Dynamic Display content is abnormal.
7. device as claimed in claim 6, it is characterised in that described judge module, specifically for:
Obtain the display content of built-in dynamic displaying control;
With the exception preset, the display content of built-in dynamic displaying control is shown that content is mated, when the match is successful, sentence The display content determining built-in dynamic displaying control is abnormal.
8. device as claimed in claim 6, it is characterised in that described execution module, specifically for:
Send, to user, the prompting mail that Dynamic Display content is abnormal by the mailbox being pre-configured with;Or
Abnormal by default prompting page prompts user's Dynamic Display content.
9. the device as described in claim 6-8 is arbitrary, it is characterised in that described startup module, specifically for: according to default The application program that monitoring cycle or monitoring frequency monitoring have been turned on;
Described startup module, is additionally operable to detect whether the monitoring cycle expires or detect whether to reach to monitor frequency, when the monitoring cycle When expiring or reach to monitor frequency, then perform to obtain the operation of the built-in dynamic displaying control in application program.
10. a Dynamic Display content monitoring system, it is characterised in that including: the dynamic exhibition as described in claim 6-9 is arbitrary Show contents supervision's device, applications client and browser;
Described applications client, is used for running application program;
Described browser, is used for showing Dynamic Display content abnormal information.
CN201610454769.XA 2016-06-21 2016-06-21 Dynamic Display content monitor method, system and device Pending CN106201817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610454769.XA CN106201817A (en) 2016-06-21 2016-06-21 Dynamic Display content monitor method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610454769.XA CN106201817A (en) 2016-06-21 2016-06-21 Dynamic Display content monitor method, system and device

Publications (1)

Publication Number Publication Date
CN106201817A true CN106201817A (en) 2016-12-07

Family

ID=57460802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610454769.XA Pending CN106201817A (en) 2016-06-21 2016-06-21 Dynamic Display content monitor method, system and device

Country Status (1)

Country Link
CN (1) CN106201817A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864066A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Offline H5 pages monitoring method, device, equipment and readable storage medium storing program for executing
CN109345383A (en) * 2018-08-13 2019-02-15 兴业证券股份有限公司 Security software information service monitoring method and storage medium
CN110022285A (en) * 2018-01-08 2019-07-16 武汉斗鱼网络科技有限公司 It is a kind of for detecting the method, apparatus and computer equipment of user information
CN110046072A (en) * 2019-03-13 2019-07-23 平安城市建设科技(深圳)有限公司 Monitoring method, device, terminal and the readable storage medium storing program for executing of the page
CN110866211A (en) * 2019-10-28 2020-03-06 苏宁云计算有限公司 Client abnormal page processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955913A (en) * 2011-08-25 2013-03-06 腾讯科技(深圳)有限公司 Method and system for detecting hung Trojans of web page
US20150007134A1 (en) * 2012-03-16 2015-01-01 Tencent Technology (Shenzhen) Company Limited Method, Apparatus And Computer Storage Medium For Plug-In Management And Control
CN104301175A (en) * 2014-09-24 2015-01-21 蓝盾信息安全技术有限公司 WEB service system simulation monitoring method based on browser
CN104579825A (en) * 2014-12-18 2015-04-29 百度在线网络技术(北京)有限公司 Method and device for monitoring server of application in real time and computer equipment
CN105471953A (en) * 2014-09-10 2016-04-06 腾讯科技(深圳)有限公司 Client-side page dynamic display method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955913A (en) * 2011-08-25 2013-03-06 腾讯科技(深圳)有限公司 Method and system for detecting hung Trojans of web page
US20150007134A1 (en) * 2012-03-16 2015-01-01 Tencent Technology (Shenzhen) Company Limited Method, Apparatus And Computer Storage Medium For Plug-In Management And Control
CN105471953A (en) * 2014-09-10 2016-04-06 腾讯科技(深圳)有限公司 Client-side page dynamic display method, device and system
CN104301175A (en) * 2014-09-24 2015-01-21 蓝盾信息安全技术有限公司 WEB service system simulation monitoring method based on browser
CN104579825A (en) * 2014-12-18 2015-04-29 百度在线网络技术(北京)有限公司 Method and device for monitoring server of application in real time and computer equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864066A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Offline H5 pages monitoring method, device, equipment and readable storage medium storing program for executing
CN110022285A (en) * 2018-01-08 2019-07-16 武汉斗鱼网络科技有限公司 It is a kind of for detecting the method, apparatus and computer equipment of user information
CN110022285B (en) * 2018-01-08 2021-09-07 武汉斗鱼网络科技有限公司 Method and device for detecting user information and computer equipment
CN109345383A (en) * 2018-08-13 2019-02-15 兴业证券股份有限公司 Security software information service monitoring method and storage medium
CN110046072A (en) * 2019-03-13 2019-07-23 平安城市建设科技(深圳)有限公司 Monitoring method, device, terminal and the readable storage medium storing program for executing of the page
CN110866211A (en) * 2019-10-28 2020-03-06 苏宁云计算有限公司 Client abnormal page processing method and device
CN110866211B (en) * 2019-10-28 2023-06-30 苏宁云计算有限公司 Method and device for processing abnormal page of client

Similar Documents

Publication Publication Date Title
CN106201817A (en) Dynamic Display content monitor method, system and device
CN103309660B (en) Mobile solution cross-platform development method
CN104636139B (en) One kind visualizes cross-platform mobile application exploitation and generation system
CN108647141B (en) Automatic test method, device, computer readable medium and electronic equipment
AU2011213189B2 (en) Widget framework, real-time service orchestration, and real-time resource aggregation
CN103595766B (en) Realize the method and device of the sending out notice of extension application
US10866884B2 (en) Stateless injected script debugging
EP2941748A1 (en) Completing mobile app conversions
CN105205072B (en) The methods of exhibiting and system of webpage information
CN104536890A (en) Testing system, method and device
CN104967644A (en) Message push method, apparatus and system
CN103179159A (en) Method for processing third-party applications and terminal browser
JP4244337B2 (en) Web browser control for customer support
CN107800611A (en) The method and page layout switch device of a kind of page layout switch
CN109857963A (en) Local resource access method, device and electronic equipment
CN104767827A (en) Application starting method and device
JP5628865B2 (en) Call support apparatus, program, and method
CN104484176B (en) A kind of Android system window object acquisition methods and device
CN108509228B (en) Page loading method, terminal equipment and computer readable storage medium
CN109815427A (en) Show method, client application module, H5 module and the system of the H5 page
US10067752B1 (en) Application install notification
CN107643858A (en) A kind of information processing method, terminal and server
CN113708955B (en) Equipment configuration method, device and system
CN105282233A (en) Method, device and system for controlling intelligent equipment
CN111585804A (en) Router automatic configuration system, router automatic configuration method and automatic test system

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: 20161207