CN111078517B - Page monitoring method and device, computer equipment and storage medium - Google Patents

Page monitoring method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111078517B
CN111078517B CN201911251168.9A CN201911251168A CN111078517B CN 111078517 B CN111078517 B CN 111078517B CN 201911251168 A CN201911251168 A CN 201911251168A CN 111078517 B CN111078517 B CN 111078517B
Authority
CN
China
Prior art keywords
page
configuration data
scanning
page configuration
abnormal
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.)
Active
Application number
CN201911251168.9A
Other languages
Chinese (zh)
Other versions
CN111078517A (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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN201911251168.9A priority Critical patent/CN111078517B/en
Publication of CN111078517A publication Critical patent/CN111078517A/en
Application granted granted Critical
Publication of CN111078517B publication Critical patent/CN111078517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0203Market surveys; Market polls
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Human Resources & Organizations (AREA)
  • Computer Hardware Design (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a page monitoring method, a device, computer equipment and a storage medium, which belong to the technical field of Internet, wherein the method comprises the following steps: receiving and storing preset exception types to be scanned for a timing task configured by a user; when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in the operation page list; traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result; and outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results. The embodiment of the application can automatically monitor the operation page, greatly saves labor cost and time cost, and can discover page abnormality in time.

Description

Page monitoring method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and apparatus for monitoring a page, a computer device, and a storage medium.
Background
With the continuous development of internet technology, more and more users select online shopping. Currently, more and more pages are available for electronic commerce, especially with the increase of promotion frequency, more and more pages are operated, and various page problems are generated.
In the prior art, a method for manually checking pages is generally adopted, a large number of manual checking points are required to be arranged, but because the number of the pages is large, the manual checking is high in cost, long in time consumption and easy to generate errors, so that the problem that the pages are abnormal cannot be found in time.
Disclosure of Invention
In order to overcome the technical defects, the application aims to provide a page monitoring method, a device, computer equipment and a storage medium, which can automatically monitor an operation page, greatly save labor cost and time cost and timely find page abnormality.
The specific technical scheme provided by the embodiment of the application is as follows:
in a first aspect, a method for monitoring a page is provided, the method including:
receiving and storing preset exception types to be scanned for a timing task configured by a user;
when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in an operation page list;
traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
and outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results.
Further, the obtaining all page configuration data corresponding to each page ID in the operation page list includes:
and adopting a multithreading concurrent query mode to query and acquire all page configuration data corresponding to each page ID in parallel from a page configuration database.
Further, when traversing to one page configuration data, scanning the page configuration data by adopting a corresponding scanning rule, including:
determining the data type of the currently traversed page configuration data, and scanning the page configuration data by adopting a scanning rule corresponding to the data type of the page configuration data.
Further, the method further comprises:
and sending the alarm information aiming at the abnormal scanning result to a corresponding maintainer.
Further, the method further comprises:
monitoring the duration of the alarm information in an unprocessed state for the abnormal scanning result;
and if the duration exceeds a preset time threshold, sending alarm information aiming at the abnormal scanning result to an association person which establishes an association relation with the maintainer in advance.
In a second aspect, there is provided a page monitoring apparatus, the apparatus comprising:
the receiving module is used for receiving and storing preset exception types required to be scanned by the timing task configured by the user;
the acquisition module is used for acquiring all page configuration data corresponding to each page ID in the operation page list when the timing task is triggered;
the scanning module is used for traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
and the output module is used for outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results.
Further, the obtaining module is specifically configured to:
and adopting a multithreading concurrent query mode to query and acquire all page configuration data corresponding to each page ID in parallel from a page configuration database.
Further, the scanning module is specifically configured to:
determining the data type of the currently traversed page configuration data, and scanning the page configuration data by adopting a scanning rule corresponding to the data type of the page configuration data.
Further, the apparatus further comprises:
and the alarm module is used for sending the alarm information aiming at the abnormal scanning result to the corresponding maintainer.
Further, the alarm module is specifically further configured to:
monitoring the duration of the alarm information in an unprocessed state for the abnormal scanning result;
and if the duration exceeds a preset time threshold, sending alarm information aiming at the abnormal scanning result to an association person which establishes an association relation with the maintainer in advance.
In a third aspect, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
receiving and storing preset exception types to be scanned for a timing task configured by a user;
when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in an operation page list;
traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
and outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving and storing preset exception types to be scanned for a timing task configured by a user;
when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in an operation page list;
traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
and outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results.
The technical scheme provided by the embodiment of the application is that firstly, the preset abnormal types which need to be scanned for the timing tasks configured by the user are received and stored; when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in an operation page list, then traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result; and finally, outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results. By adopting the technical scheme, the embodiment of the application can automatically monitor the operation page, greatly saves labor cost and time cost, and can discover the page abnormality in time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application environment of a page monitoring method according to an embodiment of the present application;
FIG. 2 shows a flow chart of a method for monitoring pages provided by an embodiment of the present application;
FIG. 3 shows a flowchart of a method for monitoring a page according to an embodiment of the present application;
fig. 4 shows a block diagram of a page monitoring apparatus according to an embodiment of the present application;
fig. 5 shows an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The page monitoring method provided by the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The server 104 firstly receives and stores preset exception types to be scanned for a timing task configured on the terminal 102 by a user, when the timing task is triggered, acquires all page configuration data corresponding to each page ID in an operation page list, traverses all page configuration data corresponding to each page ID, and scans the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result; and finally, outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, and tablet computers, and the server 104 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, a page monitoring method is provided, and the method is applied to the server 104 in fig. 1, as shown in fig. 2, and the method may include steps S11 to S14.
Step S11, receiving and storing preset exception types required to be scanned by the timing task configured by the user.
Specifically, a user (e.g., a page maintainer) may select a preset exception type that needs to be scanned by a timing task from an exception type list provided by a configuration page on the terminal, and upload the selected exception type to the server, where the timing task is used to instruct to perform page scanning at a fixed time, and may be set to perform page scanning once a day, in the morning and evening, for example. For example, the scanning can be performed at ten hours in the morning and eight hours in the evening, or can be performed at regular intervals in a preset time period, for example, at 8 hours, etc., which is not limited in the application. As shown in table 1 below, the exception type list contains exception type IDs and corresponding exception descriptions.
TABLE 1 list of exception types
In this embodiment, the user may select one or more preset exception types that need to be scanned by the exception type timing task from the exception type list, for example, skip 404, expiration of a topic, unconfigured skip URL, etc. And the server stores the preset abnormal types which need to be scanned for the timing tasks configured by the user after receiving the preset abnormal types.
Step S12, when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in the operation page list.
The operation page list comprises a channel page ID, a commodity brand page ID and a flag store page ID, specifically, the operation page list can acquire the currently released page layout information by calling a layout interface, acquire channel information and commodity classification information according to the currently released page layout information, acquire corresponding channel page IDs according to all channel IDs in the channel information, acquire corresponding commodity brand page IDs according to all commodity brand IDs in the commodity classification information, and acquire corresponding flag store page IDs according to all flag store IDs in the commodity classification information.
All page configuration data corresponding to each page ID can be configured by a page developer when the page is released and stored in a page configuration database, the page configuration data comprises specific description information of page elements on the page, and the page configuration data can have various formats, such as pictures, videos, texts, links or a stage rule, wherein the stage rule is used for describing the valid time period of the presentation of the page elements.
Specifically, the implementation procedure of step S12 may include:
and (3) adopting a multithreading concurrent query mode to query and acquire all page configuration data corresponding to each page ID in parallel from a page configuration database.
In this embodiment, by querying and acquiring all page configuration data corresponding to each page ID in parallel from the page configuration database, the efficiency of acquiring the page configuration data can be improved.
Step S13, traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
specifically, the implementation procedure of step S13 may include:
determining the data type of the currently traversed page configuration data, and scanning the currently traversed page configuration data by adopting a scanning rule corresponding to the data type of the currently traversed page configuration data.
The scanning rule may be a php custom rule.
Specifically, according to the corresponding relation between the preset data type and the scanning rule, the scanning rule corresponding to the data type can be determined from the preset scanning rule base.
For example, if the page configuration data is a jump link, the jump result of the jump link may be detected according to the link scanning rule, and whether the jump link has an abnormal problem is checked; if the page configuration data is the jumped commodity, the contents of the jumped commodity can be detected according to the commodity scanning rule, and whether the page has an abnormal problem or not is checked.
In this embodiment, the currently traversed page configuration data is scanned by adopting the scanning rule corresponding to the data type of the page configuration data, so that whether the page has a problem can be checked.
Step S14, outputting an abnormal scanning result belonging to a preset abnormal type in the scanning results.
Specifically, the abnormal scanning result belonging to the preset abnormal type is output to a preset database.
The abnormal scanning result comprises scanning time, scanning batch, page name, abnormal type ID, abnormal description, abnormal links of the problem page and the like.
The page monitoring method provided by the embodiment of the application firstly receives and stores the preset abnormal types to be scanned for the timing tasks configured by the user; when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in the operation page list, then traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to acquire a scanning result; and finally, outputting an abnormal scanning result belonging to a preset abnormal type in the scanning result, so that the operation page can be automatically monitored, the labor cost and the time cost are greatly saved, and the page abnormality problem can be timely found.
In one embodiment, the above-mentioned page monitoring method may further include steps S31 to S33 after step S14, in addition to the steps described in fig. 2, and for simplicity of description, the steps described in fig. 2 are omitted, as shown in fig. 3, where:
step S31, sending the alarm information aiming at the abnormal scanning result to the corresponding maintainer.
Specifically, the alarm information aiming at the abnormal scanning result is sent to maintenance personnel corresponding to the page where the abnormal scanning result is located. Here, the maintainer corresponding to the page is typically a page maker. The maintenance personnel corresponding to the page where the abnormal scanning result is located can be warned and reminded in a preset mode, for example, warning information is sent to the corresponding maintenance personnel in modes of automatically sending short messages, automatically making calls, automatically sending mails and the like.
In this embodiment, by sending the alarm information for the abnormal scanning result to the corresponding maintainer, the corresponding maintainer can process the page abnormal problem in time.
Step S32, monitoring the duration of the alarm information in the unprocessed state for the abnormal scan result.
Specifically, the embodiment of the application does not limit the specific monitoring process.
And step S33, if the duration exceeds the preset time threshold, sending the alarm information aiming at the abnormal scanning result to an association person which establishes an association relation with the maintenance person in advance.
In this embodiment, when the duration of the alert information for the abnormal scan result in the unprocessed state exceeds the preset time threshold, the alert information for the abnormal scan result is sent to the association person who has established the association relationship with the maintenance person in advance, so that the alert information for the abnormal scan result can be prevented from being processed in time when the alert information is missed.
As an implementation of the page monitoring method in the foregoing embodiment, an embodiment of the present application further provides a page monitoring device, as shown in fig. 4, where the device includes:
the receiving module 41 is configured to receive and store a preset exception type that needs to be scanned by a timing task configured by a user;
an obtaining module 42, configured to obtain, when the timing task is triggered, all page configuration data corresponding to each page ID in the operation page list;
the scanning module 43 is configured to traverse all page configuration data corresponding to each page ID, and scan the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data, so as to obtain a scanning result;
the output module 44 is configured to output an abnormal scan result belonging to a preset abnormal type from the scan results.
In one embodiment, the obtaining module 42 is specifically configured to:
and adopting a multithreading concurrent query mode to query and acquire all page configuration data corresponding to each page ID in parallel from a page configuration database.
In one embodiment, the scanning module 43 is specifically configured to:
determining the data type of the currently traversed page configuration data, and scanning the page configuration data by adopting a scanning rule corresponding to the data type of the page configuration data.
In one embodiment, the apparatus further comprises:
and the alarm module is used for sending the alarm information aiming at the abnormal scanning result to the corresponding maintainer.
In one embodiment, the alarm module is specifically further configured to:
monitoring the duration of the alarm information in an unprocessed state for the abnormal scanning result;
if the duration exceeds the preset time threshold, sending alarm information aiming at the abnormal scanning result to an association person which establishes an association relation with a maintainer in advance.
The page monitoring device provided by the embodiment of the application belongs to the same conception as the page monitoring method provided by the embodiment of the application, can execute the page monitoring method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of executing the page monitoring method. Technical details not described in detail in this embodiment may refer to the page monitoring method provided in the embodiment of the present application, and are not described herein again.
Fig. 5 is an internal structure diagram of a computer device according to an embodiment of the present application. The computer device may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a page monitoring method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
The embodiment of the application provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the computer program:
receiving and storing preset exception types to be scanned for a timing task configured by a user;
when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in the operation page list;
traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
and outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results.
Furthermore, an embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving and storing preset exception types to be scanned for a timing task configured by a user;
when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in the operation page list;
traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
and outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (9)

1. A method for monitoring a page, the method comprising:
receiving and storing preset exception types to be scanned for a timing task configured by a user;
wherein the anomaly type includes: the classification ID is not configured, the hot zone is not configured with commodity ID, the jump URL is not configured, and the delivery rule is not configured;
when the timing task is triggered, acquiring all page configuration data corresponding to each page ID in an operation page list;
traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule when traversing to one page configuration data to obtain a scanning result;
outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results;
and scanning the page configuration data by adopting a corresponding scanning rule when traversing to the page configuration data, wherein the method comprises the following steps of:
determining the data type of the currently traversed page configuration data, and scanning the page configuration data by adopting a scanning rule corresponding to the data type of the page configuration data;
the obtaining all page configuration data corresponding to each page ID in the operation page list includes:
acquiring page layout information of current delivery by calling a layout interface, acquiring channel information and commodity classification information according to the page layout information of the current delivery, acquiring corresponding channel page IDs according to all channel IDs in the channel information, acquiring corresponding commodity brand page IDs according to all commodity brand IDs in the commodity classification information, and acquiring corresponding flag and beauty shop page IDs according to all flag and beauty shop IDs in the commodity classification information.
2. The method of claim 1, wherein the obtaining all page configuration data corresponding to each page ID in the operation page list comprises:
and adopting a multithreading concurrent query mode to query and acquire all page configuration data corresponding to each page ID in parallel from a page configuration database.
3. The method according to any one of claims 1 to 2, further comprising:
and sending the alarm information aiming at the abnormal scanning result to a corresponding maintainer.
4. A method according to claim 3, characterized in that the method further comprises:
monitoring the duration of the alarm information in an unprocessed state for the abnormal scanning result;
and if the duration exceeds a preset time threshold, sending alarm information aiming at the abnormal scanning result to an association person which establishes an association relation with the maintainer in advance.
5. A page monitoring apparatus for implementing the page monitoring method of claim 1, the apparatus comprising:
the receiving module is used for receiving and storing preset exception types required to be scanned by the timing task configured by the user;
the acquisition module is used for acquiring all page configuration data corresponding to each page ID in the operation page list when the timing task is triggered;
the scanning module is used for traversing all page configuration data corresponding to each page ID, and scanning the page configuration data by adopting a corresponding scanning rule to obtain a scanning result when traversing to one page configuration data;
and the output module is used for outputting an abnormal scanning result belonging to the preset abnormal type in the scanning results.
6. The apparatus of claim 5, wherein the acquisition module is specifically configured to:
and adopting a multithreading concurrent query mode to query and acquire all page configuration data corresponding to each page ID in parallel from a page configuration database.
7. The apparatus of claim 5, wherein the scanning module is specifically configured to:
determining the data type of the currently traversed page configuration data, and scanning the page configuration data by adopting a scanning rule corresponding to the data type of the page configuration data.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
CN201911251168.9A 2019-12-09 2019-12-09 Page monitoring method and device, computer equipment and storage medium Active CN111078517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911251168.9A CN111078517B (en) 2019-12-09 2019-12-09 Page monitoring method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911251168.9A CN111078517B (en) 2019-12-09 2019-12-09 Page monitoring method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111078517A CN111078517A (en) 2020-04-28
CN111078517B true CN111078517B (en) 2023-09-01

Family

ID=70313578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911251168.9A Active CN111078517B (en) 2019-12-09 2019-12-09 Page monitoring method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111078517B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874337A (en) * 2016-08-31 2017-06-20 阿里巴巴集团控股有限公司 The statistical query method and device of flow guiding relation
CN107133180A (en) * 2017-06-07 2017-09-05 腾讯科技(深圳)有限公司 Method of testing, test device and the storage medium of dynamic page
CN108052454A (en) * 2017-12-29 2018-05-18 广州品唯软件有限公司 A kind of H5 page scans methods, devices and systems
CN108206830A (en) * 2017-12-30 2018-06-26 平安科技(深圳)有限公司 Vulnerability scanning method, apparatus, computer equipment and storage medium
CN108388794A (en) * 2018-02-01 2018-08-10 金蝶软件(中国)有限公司 Page data guard method, device, computer equipment and storage medium
CN109344343A (en) * 2018-08-24 2019-02-15 深圳壹账通智能科技有限公司 Online Article Surveillance method, apparatus, equipment and storage medium Internet-based

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9087087B2 (en) * 2011-09-02 2015-07-21 International Business Machines Corporation Performing index scans in a database

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874337A (en) * 2016-08-31 2017-06-20 阿里巴巴集团控股有限公司 The statistical query method and device of flow guiding relation
CN107133180A (en) * 2017-06-07 2017-09-05 腾讯科技(深圳)有限公司 Method of testing, test device and the storage medium of dynamic page
CN108052454A (en) * 2017-12-29 2018-05-18 广州品唯软件有限公司 A kind of H5 page scans methods, devices and systems
CN108206830A (en) * 2017-12-30 2018-06-26 平安科技(深圳)有限公司 Vulnerability scanning method, apparatus, computer equipment and storage medium
CN108388794A (en) * 2018-02-01 2018-08-10 金蝶软件(中国)有限公司 Page data guard method, device, computer equipment and storage medium
CN109344343A (en) * 2018-08-24 2019-02-15 深圳壹账通智能科技有限公司 Online Article Surveillance method, apparatus, equipment and storage medium Internet-based

Also Published As

Publication number Publication date
CN111078517A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN109032824B (en) Database verification method, database verification device, computer equipment and storage medium
CN111193609B (en) Application abnormity feedback method and device and application abnormity monitoring system
CN109709923B (en) Test control method, device, system and computer readable storage medium
CN110309109B (en) Data monitoring method, device, computer equipment and storage medium
US11809406B2 (en) Event records in a log file
CN111400367B (en) Service report generation method, device, computer equipment and storage medium
CN111143163A (en) Data monitoring method and device, computer equipment and storage medium
US20150126123A1 (en) Devices and Methods for Monitoring Terminal Devices
CN114996103A (en) Page abnormity detection method and device, electronic equipment and storage medium
CN111078517B (en) Page monitoring method and device, computer equipment and storage medium
CN111399732B (en) Webpage screenshot method and device, computer equipment and storage medium
US20210112025A1 (en) Method and server for processing messages
CN111124841B (en) Alarm method and device for abnormal page and computer system
CN113259154B (en) Method and device for informing middle station data verification, computer equipment and storage medium
CN112579571B (en) Monitoring data configuration, data monitoring method, device, equipment and storage medium
CN113762910B (en) Document monitoring method and device
CN111158819B (en) Interface state determining method, device, equipment and storage medium
CN110879757B (en) Restarting method and device for abnormal operation of client and computer equipment
CN111984844A (en) Method and system for automatically supplementing graph based on big data
CN111966515A (en) Business abnormal data processing method and device, computer equipment and storage medium
CN114745146A (en) Skip interception method and device, readable storage medium and equipment
CN114004583B (en) Component information processing method, device, computer equipment and storage medium
CN116167603B (en) Method and system for monitoring full-media full-flow content
CN110633087B (en) Client installation method, device and storage medium
CN114979132B (en) Cluster component state detection method and device

Legal Events

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