CN105743730A - Method and system used for providing real-time monitoring for webpage service of mobile terminal - Google Patents

Method and system used for providing real-time monitoring for webpage service of mobile terminal Download PDF

Info

Publication number
CN105743730A
CN105743730A CN201410770543.1A CN201410770543A CN105743730A CN 105743730 A CN105743730 A CN 105743730A CN 201410770543 A CN201410770543 A CN 201410770543A CN 105743730 A CN105743730 A CN 105743730A
Authority
CN
China
Prior art keywords
url
mobile terminal
service
real time
monitor
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
CN201410770543.1A
Other languages
Chinese (zh)
Other versions
CN105743730B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410770543.1A priority Critical patent/CN105743730B/en
Publication of CN105743730A publication Critical patent/CN105743730A/en
Application granted granted Critical
Publication of CN105743730B publication Critical patent/CN105743730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the communication technology and discloses a method and a system used for providing real-time monitoring for webpage service of a mobile terminal. According to the system, a computer is equipped with a simulator of at least one mobile terminal operation system. The method comprises steps that the simulator of the at least one mobile terminal operation system operates in the computer; the mobile terminal operation system operates in the simulator; an application program operates in the mobile terminal operation system, a url is loaded through a webview control; a to-be-monitored page is acquired through the url, and service availability analysis on the page is further carried out; if a non-available service state occurs, an alarm information is generated. According to the method, the simulator of the mobile terminal operation system is mounted and operates in the computer, no flow of a user is consumed, developing corresponding back-end service at the url or adding the error log burying point information to an interface are not needed, and development workload and the error generation probability are reduced.

Description

Web service for mobile terminal provides the method for monitor in real time and system thereof
Technical field
The present invention relates to communication technical field, method and the system thereof of monitor in real time are provided particularly to the web service for mobile terminal.
Background technology
Service availability monitoring is always up the problem that Internet enterprises must take into, traditional monitoring scheme generally can bury the information such as a little by adding daily record in the application, when there being abnormal generation meeting log, then pass through another one monitoring service ceaselessly capture set bury a little, monitoring system discovery error log can send warning when burying.So, code a little is buried in the daily record being necessary for embedding in the application unrelated business, adds development cost and maintenance cost, a lot of methods is required for add daily record and buries dot information and reach monitoring effect.Additionally, the network a little requiring over user that buries of this error log reports service end or Surveillance center.Service end or Surveillance center analyze error log, interface that location abnormal problem occurs or service, then send warning message to point man.Therefore this mode can consume the flow of user self, for the user under some non-WIFI environment, each byte can produce the rate problem of operator, big major injury Consumer's Experience.
On the other hand, wireless Internet web service is monitored, one somewhat a little bigger url involved by complete service item can be a lot, want to monitor all of url availability, if realized by adding the mode burying dot information of error log, then when the content change of url, changes of function, service corresponding for url such as are rolled off the production line at the factor, it is required for exploitation again and buries a little.
Therefore, for the monitoring of service availability it is also contemplated that above-mentioned mentioned Consumer's Experience problem and maintenance cost problem.
Summary of the invention
It is an object of the invention to provide a kind of web service for mobile terminal and method and the system thereof of monitor in real time are provided, the any flow of user need not be consumed, bury dot information also without the back-end services corresponding at url or interface add error log, decrease the workload of exploitation and the probability of mistake generation.
For solving above-mentioned technical problem, embodiments of the present invention disclose a kind of method that web service for mobile terminal provides monitor in real time, are provided with the simulator of at least one mobile terminal operating system in computer, and the method comprises the following steps:
Run the simulator of at least one mobile terminal operating system in a computer;
The simulator of mobile terminal operating system runs mobile terminal operating system;
Mobile terminal operating system runs the application program including webview control, loads URL url by webview control;
Obtain the page to be monitored by URL url, and the acquired page is carried out service availability analysis;
If down state occurs in service, then generate warning message.
Embodiments of the present invention also disclose a kind of web service for mobile terminal and provide the system of monitor in real time, are provided with the simulator of at least one mobile terminal operating system in computer, and this system includes:
The simulator of at least one mobile terminal operating system run in a computer, simulator is used for running mobile terminal operating system, mobile terminal operating system is for running the application program including webview control, and this application program loads URL url by webview control;
Service availability analysis module, for obtaining the page to be monitored by URL url, and carries out service availability analysis to the acquired page;
Alarm module, if there is down state for service, then generates warning message.
Compared with prior art, the main distinction and effect thereof are in that embodiment of the present invention:
By now including the application program of webview control at the simulator interior-excess of mobile terminal operating system, load url by application program and analyze the service availability of the page, owing to the simulator of mobile terminal operating system is installed on computers and runs, the any flow of user need not be consumed, bury dot information also without the back-end services corresponding at url or interface add error log, decrease the workload of exploitation and the probability of mistake generation.
Further, the page automatically triggers screen sliding event at least one times in described application program by computer, the acquired page is updated, it is possible to prevented the page to be not loaded with after loading.
Further, automatically the sub-url involved by a url configured is captured by the mode of recursion resolution, and the sub-url of sub-url, significantly reduce the cost of direct surveillance, substantially increase monitoring efficiency, and for the content in the case of of changing of url, it is possible to capture in real time the content of up-to-date url, it is not necessary to daily record will be remodified and bury the information such as a little.
Further, extracting the url child node in the page corresponding to URL url father node by regular expression, extraction efficiency is high, and it can be avoided that omits url child node.
Further, when all URL url parsed are stored, using hash value as index after being processed by hash, when there being the disabled situation of service to occur, being easy to be indexed by hash value, quickly corresponding for location url service interface is to send warning message.
Further, the URL url child node parsed, for a monitoring simply identical task, is therefore carried out duplicate removal process by the url of repetition, efficiently avoid the service availability analysis of repetition for same url.
It is possible to further dynamically monitor whether url content changes, capture the content of up-to-date url in real time.
Further, by detecting url type of error, and according to type of error, warning message is sent to corresponding service interface, it is possible to the corresponding service interface that quickly locating alarming information should send, accelerate processing speed and degree of accuracy.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of method that web service for mobile terminal provides monitor in real time in first embodiment of the invention;
Fig. 2 is the schematic flow sheet of a kind of method that web service for mobile terminal provides monitor in real time in second embodiment of the invention;
Fig. 3 is that in third embodiment of the invention, the entirety of a kind of method that web service for mobile terminal provides monitor in real time performs flow chart;
Fig. 4 is the url rule of backstage configuration in third embodiment of the invention;
Fig. 5 is the structural representation of the system that a kind of web service for mobile terminal provides monitor in real time in four embodiment of the invention.
Detailed description of the invention
In the following description, many ins and outs are proposed in order to make reader be more fully understood that the application.But, it will be understood by those skilled in the art that even without these ins and outs with based on the many variations of following embodiment and amendment, it is also possible to realize the application each claim technical scheme required for protection.
Terminological interpretation:
Webpage url: the http agreement beginning opened typically by browser or the hypertext link of http agreement beginning, a url represents a unique resource address or resource file on the Internet.
Multi-layer: by the configuration of a url, it is possible to analyzing all hyperlink url comprised within this url, and recurrence can obtain the url comprised inside hyperlink url, namely recurrence obtains all url in url.
Monitoring: judge whether current url can use, if can normally provide service.
Service availability: the service availability hereinafter mentioned is led to and referred to the url character that can normally access or can normally provide service.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiments of the present invention are described in further detail.
First embodiment of the invention relates to a kind of method that web service for mobile terminal provides monitor in real time, and Fig. 1 is the schematic flow sheet that this web service being mobile terminal provides the method for monitor in real time.
Specifically, computer is provided with the simulator of at least one mobile terminal operating system, as it is shown in figure 1, the method comprises the following steps:
Step 101, runs the simulator of at least one mobile terminal operating system in a computer.
Mobile terminal operating system can be android or IOS.
Step 102, runs mobile terminal operating system in the simulator of mobile terminal operating system.
Step 103, runs the application program including webview control in mobile terminal operating system, loads URL url by webview control.
Step 104, obtains the page to be monitored by URL url, and the acquired page is carried out service availability analysis.
Preferably, after step 103, further comprise the steps of: and trigger screen sliding event at least one times in the application, and according to screen sliding event, the acquired page after webview control loading URL url is updated.
The page is automatically triggered screen sliding event at least one times in the application, the acquired page is updated, it is possible to prevent the situation that the page is not loaded with after loading by computer.
Furthermore, it is to be understood that generally, it is necessary to trigger two to three screen sliding events.
Screen sliding event can be slip up or downslide, when slip up, by the page layout switch of acquisition to next page.When gliding, by the page layout switch of acquisition to previous page.In other embodiments of the present invention, it is also possible to take other screen sliding events, and be not limited to this.
Then into step 105, if down state occurs in service, then generate warning message.
After generating warning message, warning message both can be sent to corresponding service interface, it is also possible to saved by warning message, call when needed.In addition it is also possible to the height according to abnormal information grade determines the need for sending warning message.
In addition, it is appreciated that, existing monitoring scheme is bury a little by addition error log inside the specific method of service logic mostly, the burying of this error log a little requires over user network and reports service end or Surveillance center, error log is analyzed by service end or Surveillance center, interface that location abnormal problem occurs or service, then send warning abnormal information to point man.For this mode, the problems of liquid flow of user self can be consumed, big major injury Consumer's Experience.Along with user ceaselessly uses, it is possible to producing substantial amounts of journal file at user mobile phone end, user's mobile phone EMS memory can be filled up by these garbage files, it is necessary to user manually deletes these journal files, it is too poor to experience.
And present embodiment by now including the application program of webview control at the simulator interior-excess of mobile terminal operating system, load url by application program and analyze the service availability of the page, owing to the simulator of mobile terminal operating system is installed on computers and runs, the any flow of user need not be consumed, bury dot information also without the back-end services corresponding at url or interface add error log, decrease the workload of exploitation and the probability of mistake generation.
Second embodiment of the invention relates to a kind of method that web service for mobile terminal provides monitor in real time, and Fig. 2 is the schematic flow sheet that this web service being mobile terminal provides the method for monitor in real time.
Second embodiment has improved on the basis of the first embodiment, mainly the improvement is that: automatically captured the sub-url involved by a url configured by the mode of recursion resolution, and the sub-url of sub-url, significantly reduce the cost of direct surveillance, substantially increase monitoring efficiency, and for url content in the case of of changing, it is possible to capture the content of up-to-date url in real time, it is not necessary to daily record will be remodified and bury the information such as a little;Extracting the url child node in the page corresponding to URL url father node by regular expression, extraction efficiency is high, and it can be avoided that omits url child node;When all URL url parsed are stored, using hash value as indexing after being processed by hash, when there being the disabled situation of service to occur, it is simple to be indexed by hash value, quickly corresponding for location url service interface is to send warning message;The URL url child node parsed, for a monitoring simply identical task, is therefore carried out duplicate removal process by the url repeated, and efficiently avoid the service availability analysis of repetition for same url.Specifically:
As in figure 2 it is shown, before step 101, further comprising the steps of:
Step 001, configuration needs URL url father node and the recursion resolution level of monitoring;
Step 002, carries out recursion resolution according to recursion resolution level to URL url father node, obtains the effective URL url child node in the page corresponding to this URL url father node;
All URL url child nodes parsed are stored by step 003.
Automatically the sub-url involved by a url configured is captured by the mode of recursion resolution, and the sub-url of sub-url, significantly reduce the cost of direct surveillance, substantially increase monitoring efficiency, and for url content in the case of of changing, the content of up-to-date url can be captured in real time, it is not necessary to daily record will be remodified and bury the information such as a little.
Preferably, when URL url father node " is carried out recursion resolution according to recursion resolution level " by step 002, extracted the effective URL url child node in the page corresponding to URL url father node by regular expression.
Extracting the url child node in the page corresponding to URL url father node by regular expression, extraction efficiency is high, and it can be avoided that omits url child node.
Furthermore, it is to be understood that in other embodiments of the present invention, it is also possible to parse effective URL url child node otherwise, and be not limited to mode mentioned in present embodiment.
Preferably, in step 003, including following sub-step:
URL url child node is done hash process;
All URL url and corresponding hash value, parsing level, corresponding with service interface are unifiedly stored in data base.
When all URL url parsed are stored, using hash value as indexing after being processed by hash, when there being the disabled situation of service to occur, it is simple to be indexed by hash value, quickly corresponding for location url service interface is to send warning message.The data structure that buffer memory is deposited is: hash value stores as value as key, url.
Furthermore, it is to be understood that except URL url and corresponding hash value, parsing level, corresponding with service interface are unifiedly stored to data base, be saved in the data that buffer memory is a identical simultaneously.
After step 002, further comprise the steps of:
The URL url child node parsed is carried out duplicate removal process.
The URL url child node parsed, for a monitoring simply identical task, is therefore carried out duplicate removal process by the url repeated, and efficiently avoid the service availability analysis of repetition for same url.
Furthermore, it is to be understood that to the deduplication operation of url it is not necessary to step, in other embodiments of the present invention, it is also possible to there is no this step.
Third embodiment of the invention relates to a kind of method that web service for mobile terminal provides monitor in real time, 3rd embodiment has improved on the basis of the second embodiment, mainly the improvement is that: can dynamically monitor whether url content changes, capture the content of up-to-date url in real time;By detecting url type of error, and according to type of error, warning message is sent to corresponding service interface, it is possible to the corresponding service interface that quickly locating alarming information should send, accelerate processing speed and degree of accuracy.Specifically:
Preferably, at step 104, following sub-step is also included:
The md5 of the url content obtained from memorizer and current service availability are analyzed targeted url content contrast, it is judged that whether url content changes;
If changing, then again resolve current url.
By dynamically monitoring whether url content changes, it is possible to capture the content of up-to-date url in real time.
Furthermore, it is to be understood that in other embodiments of the present invention, monitor step that whether url content change it is not necessary to.
Preferably, in step 105, including following sub-step:
Searching error code to detect url type of error, type of error includes javascript mistake, server internal error;
According to url type of error, send warning message extremely corresponding service interface.
By detecting url type of error, and according to type of error, warning message is sent to corresponding service interface, it is possible to the corresponding service interface that quickly locating alarming information should send, accelerate processing speed and degree of accuracy.
Furthermore, it is to be understood that in other embodiments of the present invention, it is also possible to detect type of error according to alternate manner, and be not limited to this.
As the preference of present embodiment, it is illustrated in figure 3 overall execution flow chart, mainly comprises the steps that
(1) start: configure the rule of a url on backstage, comprise the number of levels needing recursion resolution and service point man, see the url rule that backstage as shown in Figure 4 configures, wherein, can configuration rule title, rule description, similarity threshold (picture analogies degree reaches this threshold value alarm), need the page url of monitoring and the level of recursion resolution, need the sub-block ID resolved, it is not necessary to carry out the eliminating block resolved and setting of reporting to the police.
(2) read configuration: the url rule of reading backstage, foreground configuration, resolve url by analytics engine and precipitate out all effective url by level demand recursive solution.Referring to the analytics engine module in Fig. 3, the function of this block is exactly to resolve the url (url of Fig. 4 center intra block configuration) of backstage configuration, according to all effective url in url recursion resolution page-out, and the level (number of levels of Fig. 4 frame intra block) needing to resolve according to backstage configuration, parse how many layers, then all recursion resolution url out is saved in data base.
(3) perform: processed by all url, the task processing centers in reading database, it is judged that the service availability of url.Task processing center as shown in Figure 3 can analyze whether the page in url can normally be opened, if has js exception error etc..
Additionally, also by whether the content of pages in an oracle listener monitoring url changes, all url after parsing can be stored in buffer memory as key by hash value, and stores as value with the md5 of url content.While whether task processing center analysis url is good for use, the url content of md5 and the current task process that can obtain url content from current cache contrast, if identical just explanation url content is not changed in, it is not necessary to again resolve the sub-url of url.If content contrast differs, illustrate to have in current url new change, it is necessary to again resolve current url.
(4) result: judged by the result of task center processing, if abnormal information occurs in certain url, can be passed through alert service and send warning message to service interface people, support to be sent by the job number pattern of employee, the various ways such as Wang Wang, note, or mail send warning message.
This preference passes through a backstage configurator, and configuration needs the url of monitoring and needs the level (such as 3 layers) of monitoring.Then passing through a task engine (i.e. computer) and read the monitored url relevant information that needs being configured, the sub-url of parsing url, all url, to the level (3) of configuration, are distributed to task processing center by recursion resolution.Can be a lot of owing to relating to url, task engine can adopt distributed task scheduling processing mode, greatly reduces the time of tasks carrying, it is possible to the url (servicing unavailable) that hair style as early as possible is abnormal, and by alarm center service transmission warning message to point man.
Task engine processes and includes the single url parsed simulation request, and this simulation request is by being mounted with android simulator in the server, needs one that the installs exploitation in advance app being loaded url by webview in simulator.Open current url by app, analyze the multiple improper http status error code information etc. such as server internal error of the js mistake in url and current url.Once find that abnormal condition can send, by alert service center, report to the police point man or developer in time.
The mode of the present embodiment sub-url by relating to inside a kind of one url of automatic crawl, and can recurrence capture sub-url sub-url, reduce manual type cost, substantially increase monitoring efficiency.Content for url changes, it is possible to capture in real time the content of up-to-date url, it is not necessary to will develop and remodify daily record and bury the information such as a little.Therefore, advantage is embodied in:
1. the sub-url technical scheme in recursion resolution url
2. load url by simulator and analyze url service availability in real time, if there is down state in service, can analyzing current url type of error, the type of error that present analysis goes out has but is not limited to: a) js error message b) server internal error.
Each method embodiment of the present invention all can realize in modes such as software, hardware, firmwares.No matter the present invention realizes with software, hardware or firmware mode, instruction code may be stored in the addressable memorizer of any kind of computer (such as permanent or revisable, volatibility or non-volatile, solid-state or non-solid, fixing or removable medium etc.).nullEqually,Memorizer can be such as programmable logic array (ProgrammableArrayLogic,It is called for short " PAL ")、Random access memory (RandomAccessMemory,It is called for short " RAM ")、Programmable read only memory (ProgrammableReadOnlyMemory,It is called for short " PROM ")、Read only memory (Read-OnlyMemory,It is called for short " ROM ")、Electrically Erasable Read Only Memory (ElectricallyErasableProgrammableROM,It is called for short " EEPROM ")、Disk、CD、Digital versatile disc (DigitalVersatileDisc,It is called for short " DVD ") etc..
Four embodiment of the invention relates to a kind of web service for mobile terminal provides the system of monitor in real time, and Fig. 5 is the structural representation that this web service being mobile terminal provides the system of monitor in real time.
Specifically, the simulator being provided with at least one mobile terminal operating system in the component computer of monitor in real time should be provided for the web service of mobile terminal, as it is shown in figure 5, this system includes:
The simulator of at least one mobile terminal operating system run in a computer, simulator is used for running mobile terminal operating system, mobile terminal operating system is for running the application program including webview control, and this application program loads URL url by webview control;
Service availability analysis module, for obtaining the page to be monitored by URL url, and carries out service availability analysis to the acquired page;
Alarm module, if there is down state for service, then generates warning message.
By now including the application program of webview control at the simulator interior-excess of mobile terminal operating system, load url by application program and analyze the service availability of the page, owing to the simulator of mobile terminal operating system is installed on computers and runs, the any flow of user need not be consumed, in back-end services corresponding for url or interface, add error log also without exploitation and bury dot information, decrease the workload of exploitation and the probability of mistake generation.
Preferably, also include screen sliding trigger module, for triggering screen sliding event at least one times in the application, and according to screen sliding event, the acquired page after webview control loading URL url is updated.The page is automatically triggered screen sliding event at least one times in the application, the acquired page is updated, it is possible to prevented the page to be not loaded with after loading by computer.
First embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be worked in coordination enforcement with the first embodiment.The relevant technical details mentioned in first embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the first embodiment.
Fifth embodiment of the invention relates to a kind of web service for mobile terminal provides the system of monitor in real time, 5th embodiment has improved on the basis of the 4th embodiment, mainly the improvement is that: automatically captured the sub-url involved by a url configured by the mode of recursion resolution, and the sub-url of sub-url, significantly reduce the cost of direct surveillance, substantially increase monitoring efficiency, and for the content in the case of of changing of url, the content of up-to-date url can be captured in real time, it is not necessary to daily record will be remodified and bury the information such as a little.Specifically:
This system also includes with lower module:
Configuration module, for configuring the URL url father node and recursion resolution level needing monitoring;
Analytics engine module, for URL url father node being carried out recursion resolution according to recursion resolution level, obtains the effective URL url child node in the page corresponding to this URL url father node;
Memory module, for storing all URL url child nodes parsed.
Preferably, analytics engine module can extract the effective URL url child node in the page corresponding to URL url father node by regular expression.Extracting the url child node in the page corresponding to URL url father node by regular expression, extraction efficiency is high, and it can be avoided that omits url child node.In other embodiments of the present invention, it is also possible to parse effective URL url child node otherwise, and be not limited to mode mentioned in present embodiment.
Preferably, when all URL url child nodes parsed are stored by memory module, first URL url child node can be done hash process, more all URL url and corresponding hash value, parsing level, corresponding with service interface are unifiedly stored in data base.When all URL url parsed are stored, using hash value as indexing after being processed by hash, when there being the disabled situation of service to occur, it is simple to be indexed by hash value, quickly corresponding for location url service interface is to send warning message.
Preferably, after recursion resolution obtains effective URL url child node, it is also possible to the url child node parsed is carried out duplicate removal process, to be effectively prevented from the service availability analysis of the repetition to same url.
Second embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be worked in coordination enforcement with the second embodiment.The relevant technical details mentioned in second embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the second embodiment.
Sixth embodiment of the invention relates to a kind of web service for mobile terminal provides the system of monitor in real time, 6th embodiment has improved on the basis of the 4th embodiment, mainly the improvement is that: can dynamically monitor whether url content changes, capture the content of up-to-date url in real time;By detecting url type of error, and according to type of error, warning message is sent to corresponding service interface, it is possible to the corresponding service interface that quickly locating alarming information should send, accelerate processing speed and degree of accuracy.Specifically:
In service availability analysis module, also include following submodule:
Url content monitors submodule, contrasts for the md5 of the url content obtained from memorizer and current service availability are analyzed targeted url content, it is judged that whether url content changes;
If changing, then analytics engine module resolves current url again.
Preferably, in the alarm module, including following submodule:
Type of error judges submodule, is used for searching error code to detect url type of error, and type of error includes javascript mistake, server internal error;
Report to the police and send submodule, for according to url type of error, sending warning message extremely corresponding service interface.
3rd embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be worked in coordination enforcement with the 3rd embodiment.The relevant technical details mentioned in 3rd embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the 3rd embodiment.
It should be noted that, the each module mentioned in the present invention each equipment embodiment is all logic module, physically, one logic module can be a physical module, it can also be a part for a physical module, can also realizing with the combination of multiple physical modules, the Physical realization of these logic modules itself is not most important, and the combination of the function that these logic modules realize is only the key solving technical problem proposed by the invention.Additionally, for the innovative part highlighting the present invention, the module less close with solving technical problem relation proposed by the invention is not introduced by the above-mentioned each equipment embodiment of the present invention, and this is not intended that the said equipment embodiment and is absent from other module.
It should be noted that, in the claim and description of this patent, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Although by referring to some of the preferred embodiment of the invention, the present invention being shown and described, but it will be understood by those skilled in the art that and in the form and details it can be done various change, without departing from the spirit and scope of the present invention.

Claims (13)

1. the web service that a kind is mobile terminal provides the method for monitor in real time, it is characterised in that being provided with the simulator of at least one mobile terminal operating system in computer, the method comprises the following steps:
Run the simulator of at least one mobile terminal operating system described in a computer;
The simulator of described mobile terminal operating system runs described mobile terminal operating system;
Described mobile terminal operating system runs the application program including webview control, loads URL url by described webview control;
Obtain the page to be monitored by URL url, and the acquired page is carried out service availability analysis;
If down state occurs in service, then generate warning message.
2. the method that the web service for mobile terminal according to claim 1 provides monitor in real time, it is characterized in that, after the step of described " running the application program including webview control in described mobile terminal operating system; load URL url by described webview control ", further comprise the steps of:
Described application program triggers screen sliding event at least one times, and according to described screen sliding event, the acquired page after webview control loading URL url is updated.
3. the method that the web service for mobile terminal according to claim 1 provides monitor in real time, it is characterised in that before the step of described " running the simulator of at least one mobile terminal operating system described in a computer ", further comprising the steps of:
Configuration needs URL url father node and the recursion resolution level of monitoring;
According to described recursion resolution level, described URL url father node is carried out recursion resolution, obtain the effective URL url child node in the page corresponding to this URL url father node;
All URL url child nodes parsed are stored.
4. the method that the web service for mobile terminal according to claim 3 provides monitor in real time, it is characterized in that, in the step of described " described URL url father node being carried out recursion resolution according to described recursion resolution level ", extracted the effective URL url child node in the page corresponding to described URL url father node by regular expression.
5. the method that the web service for mobile terminal according to claim 3 provides monitor in real time, it is characterised in that in the step of described " all URL url child nodes parsed are stored ", including following sub-step:
Described URL url child node is done hash process;
All URL url and corresponding hash value, parsing level, corresponding with service interface are unifiedly stored in data base.
6. the method that the web service for mobile terminal according to claim 3 provides monitor in real time, it is characterized in that, after the step of described " according to described recursion resolution level, described URL url father node being carried out recursion resolution; obtain the effective URL url child node in the page corresponding to this URL url father node ", further comprise the steps of:
The URL url child node parsed is carried out duplicate removal process.
7. the method that the web service for mobile terminal according to claim 1 provides monitor in real time, it is characterized in that, described " obtain the page to be monitored by URL url; and the acquired page is carried out service availability analysis " step in, also include following sub-step:
The md5 of the url content obtained from memorizer and current service availability are analyzed targeted url content contrast, it is judged that whether url content changes;
If changing, then again resolve current url.
8. the method that the web service for mobile terminal according to any one of claim 1 to 7 provides monitor in real time, it is characterised in that in the step of described " if down state occurs in service, then generate warning message ", including following sub-step:
Searching error code to detect url type of error, described type of error includes javascript mistake, server internal error;
According to url type of error, send warning message extremely corresponding service interface.
9. the web service that a kind is mobile terminal provides the system of monitor in real time, it is characterised in that being provided with the simulator of at least one mobile terminal operating system in computer, this system includes:
The simulator of at least one mobile terminal operating system run in a computer, described simulator is used for running mobile terminal operating system, described mobile terminal operating system is for running the application program including webview control, and this application program loads URL url by described webview control;
Service availability analysis module, for obtaining the page to be monitored by URL url, and carries out service availability analysis to the acquired page;
Alarm module, if there is down state for service, then generates warning message.
10. the web service for mobile terminal according to claim 9 provides the system of monitor in real time, it is characterised in that also include:
Screen sliding trigger module, for triggering screen sliding event at least one times in described application program, and is updated the acquired page after webview control loading URL url according to described screen sliding event.
11. the web service for mobile terminal according to claim 9 provides the system of monitor in real time, it is characterised in that also include with lower module:
Configuration module, for configuring the URL url father node and recursion resolution level needing monitoring;
Analytics engine module, for described URL url father node being carried out recursion resolution according to described recursion resolution level, obtains the effective URL url child node in the page corresponding to this URL url father node;
Memory module, for storing all URL url child nodes parsed.
12. the web service for mobile terminal according to claim 11 provides the system of monitor in real time, it is characterised in that in described service availability analysis module, also include following submodule:
Url content monitors submodule, contrasts for the md5 of the url content obtained from memorizer and current service availability are analyzed targeted url content, it is judged that whether url content changes;
If changing, then described analytics engine module resolves current url again.
13. the web service for mobile terminal according to any one of claim 9 to 12 provides the system of monitor in real time, it is characterised in that in described alarm module, including following submodule:
Type of error judges submodule, is used for searching error code to detect url type of error, and described type of error includes javascript mistake, server internal error;
Report to the police and send submodule, for according to url type of error, sending warning message extremely corresponding service interface.
CN201410770543.1A 2014-12-12 2014-12-12 The method and its system of real time monitoring are provided for the web service of mobile terminal Active CN105743730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410770543.1A CN105743730B (en) 2014-12-12 2014-12-12 The method and its system of real time monitoring are provided for the web service of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410770543.1A CN105743730B (en) 2014-12-12 2014-12-12 The method and its system of real time monitoring are provided for the web service of mobile terminal

Publications (2)

Publication Number Publication Date
CN105743730A true CN105743730A (en) 2016-07-06
CN105743730B CN105743730B (en) 2019-01-29

Family

ID=56241526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410770543.1A Active CN105743730B (en) 2014-12-12 2014-12-12 The method and its system of real time monitoring are provided for the web service of mobile terminal

Country Status (1)

Country Link
CN (1) CN105743730B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528805A (en) * 2016-11-15 2017-03-22 广东华仝九方科技有限公司 Mobile internet baleful program URL intelligent analyzing and mining method based on users
CN107295088A (en) * 2017-06-29 2017-10-24 广东神马搜索科技有限公司 Get information monitoring method, device and client ready
CN107861852A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Webpage error handling method, system and readable storage medium storing program for executing
CN108170551A (en) * 2018-01-03 2018-06-15 深圳壹账通智能科技有限公司 Front and back end error handling method, server and storage medium based on crawler system
CN109101425A (en) * 2018-08-14 2018-12-28 阿里巴巴集团控股有限公司 A kind of index of the page AB test of mobilism buries point methods and device
CN109240874A (en) * 2017-07-05 2019-01-18 北京国双科技有限公司 Website page method for detecting abnormality, apparatus and system
CN109426499A (en) * 2017-08-30 2019-03-05 武汉斗鱼网络科技有限公司 A kind of web page extending method and device
CN110602043A (en) * 2019-08-08 2019-12-20 中腾信金融信息服务(上海)有限公司 API gateway implementation system and method for mobile application
CN110674016A (en) * 2018-07-02 2020-01-10 阿里巴巴集团控股有限公司 Method for processing log and positioning error information in mobile terminal, mobile terminal and monitoring device thereof and storage medium
CN110782512A (en) * 2019-10-10 2020-02-11 成都四方伟业软件股份有限公司 3D model redrawing method and system
CN111343220A (en) * 2018-12-18 2020-06-26 北京京东尚科信息技术有限公司 Transponder, distributed file transmission method, system, medium and electronic equipment
CN113377563A (en) * 2021-06-01 2021-09-10 北京齐尔布莱特科技有限公司 Webpage monitoring method and computing device
CN115187153A (en) * 2022-09-14 2022-10-14 杭银消费金融股份有限公司 Data processing method and system applied to business risk tracing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070055766A1 (en) * 2003-04-29 2007-03-08 Lykourgos Petropoulakis Monitoring software
CN102323880A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Mobile phone application interface development method and terminal based on browser parsing mode
CN102624570A (en) * 2012-04-27 2012-08-01 杭州东信北邮信息技术有限公司 Monitoring system and method for detecting availability of web server
CN103532795A (en) * 2013-10-30 2014-01-22 蓝盾信息安全技术股份有限公司 Monitoring system and method for detecting availability of WEB business system
CN103546518A (en) * 2012-07-17 2014-01-29 深圳市世纪光速信息技术有限公司 Adaption testing method and adaption testing system for mobile terminal
CN104036194A (en) * 2014-05-16 2014-09-10 北京金山安全软件有限公司 Vulnerability detection method and device for revealing private data in application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070055766A1 (en) * 2003-04-29 2007-03-08 Lykourgos Petropoulakis Monitoring software
CN102323880A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Mobile phone application interface development method and terminal based on browser parsing mode
CN102624570A (en) * 2012-04-27 2012-08-01 杭州东信北邮信息技术有限公司 Monitoring system and method for detecting availability of web server
CN103546518A (en) * 2012-07-17 2014-01-29 深圳市世纪光速信息技术有限公司 Adaption testing method and adaption testing system for mobile terminal
CN103532795A (en) * 2013-10-30 2014-01-22 蓝盾信息安全技术股份有限公司 Monitoring system and method for detecting availability of WEB business system
CN104036194A (en) * 2014-05-16 2014-09-10 北京金山安全软件有限公司 Vulnerability detection method and device for revealing private data in application program

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528805B (en) * 2016-11-15 2019-06-28 广东华仝九方科技有限公司 Mobile Internet rogue program URL intellectual analysis method for digging based on user
CN106528805A (en) * 2016-11-15 2017-03-22 广东华仝九方科技有限公司 Mobile internet baleful program URL intelligent analyzing and mining method based on users
CN107861852A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Webpage error handling method, system and readable storage medium storing program for executing
CN107295088B (en) * 2017-06-29 2020-04-10 广东神马搜索科技有限公司 Dotting information monitoring method and device and client
CN107295088A (en) * 2017-06-29 2017-10-24 广东神马搜索科技有限公司 Get information monitoring method, device and client ready
CN109240874A (en) * 2017-07-05 2019-01-18 北京国双科技有限公司 Website page method for detecting abnormality, apparatus and system
CN109426499A (en) * 2017-08-30 2019-03-05 武汉斗鱼网络科技有限公司 A kind of web page extending method and device
CN108170551A (en) * 2018-01-03 2018-06-15 深圳壹账通智能科技有限公司 Front and back end error handling method, server and storage medium based on crawler system
CN110674016A (en) * 2018-07-02 2020-01-10 阿里巴巴集团控股有限公司 Method for processing log and positioning error information in mobile terminal, mobile terminal and monitoring device thereof and storage medium
CN109101425A (en) * 2018-08-14 2018-12-28 阿里巴巴集团控股有限公司 A kind of index of the page AB test of mobilism buries point methods and device
CN111343220A (en) * 2018-12-18 2020-06-26 北京京东尚科信息技术有限公司 Transponder, distributed file transmission method, system, medium and electronic equipment
CN111343220B (en) * 2018-12-18 2024-02-09 北京京东尚科信息技术有限公司 Repeater, distributed file transmission method, distributed file transmission system, medium and electronic equipment
CN110602043A (en) * 2019-08-08 2019-12-20 中腾信金融信息服务(上海)有限公司 API gateway implementation system and method for mobile application
CN110782512A (en) * 2019-10-10 2020-02-11 成都四方伟业软件股份有限公司 3D model redrawing method and system
CN113377563A (en) * 2021-06-01 2021-09-10 北京齐尔布莱特科技有限公司 Webpage monitoring method and computing device
CN113377563B (en) * 2021-06-01 2024-02-23 北京齐尔布莱特科技有限公司 Webpage monitoring method and computing device
CN115187153A (en) * 2022-09-14 2022-10-14 杭银消费金融股份有限公司 Data processing method and system applied to business risk tracing
CN115187153B (en) * 2022-09-14 2022-12-09 杭银消费金融股份有限公司 Data processing method and system applied to business risk tracing

Also Published As

Publication number Publication date
CN105743730B (en) 2019-01-29

Similar Documents

Publication Publication Date Title
CN105743730A (en) Method and system used for providing real-time monitoring for webpage service of mobile terminal
US11586972B2 (en) Tool-specific alerting rules based on abnormal and normal patterns obtained from history logs
US11196756B2 (en) Identifying notable events based on execution of correlation searches
CN106953740B (en) Processing method, client, server and system for page access data in application
CN107171819B (en) Network fault diagnosis method and device
CN110347716B (en) Log data processing method, device, terminal equipment and storage medium
CN105159964A (en) Log monitoring method and system
CN112491602B (en) Behavior data monitoring method and device, computer equipment and medium
CN107085549B (en) Method and device for generating fault information
CN109088773B (en) Fault self-healing method and device, server and storage medium
CN111740868B (en) Alarm data processing method and device and storage medium
US20230327942A1 (en) Data detection method and apparatus, electronic device, computer storage medium, and computer program product
CA3152018A1 (en) Business parameter collecting method, device, computer equipment and storage medium
CN113760652B (en) Method, system, device and storage medium for full link monitoring based on application
CN114528457A (en) Web fingerprint detection method and related equipment
CN106407429A (en) File tracking method, device and system
CN105553770A (en) Data acquisition control method and device
CN114465741B (en) Abnormality detection method, abnormality detection device, computer equipment and storage medium
WO2024051017A1 (en) Distributed website tampering detection system and method
CN113515715B (en) Buried point event code generation method, buried point event code processing method and related equipment
KR101973728B1 (en) Integration security anomaly symptom monitoring system
CN112882892B (en) Data processing method and device, electronic equipment and storage medium
CN110968779A (en) Processing method and device for crawling webpage information
CN115098326A (en) System anomaly detection method and device, storage medium and electronic equipment
CN110061864B (en) Method and system for automatically verifying domain name configuration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant