CN117667588A - Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium - Google Patents

Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium Download PDF

Info

Publication number
CN117667588A
CN117667588A CN202311667742.5A CN202311667742A CN117667588A CN 117667588 A CN117667588 A CN 117667588A CN 202311667742 A CN202311667742 A CN 202311667742A CN 117667588 A CN117667588 A CN 117667588A
Authority
CN
China
Prior art keywords
point
page
buried point
embedded
buried
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311667742.5A
Other languages
Chinese (zh)
Inventor
周南军
李辉
成文
周荣林
彭俊海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202311667742.5A priority Critical patent/CN117667588A/en
Publication of CN117667588A publication Critical patent/CN117667588A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Mathematical Physics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses an anomaly determination method, an anomaly determination device, anomaly determination equipment and an anomaly determination storage medium, and relates to the technical field of computers, wherein the anomaly determination method comprises the following steps: determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in; when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters; when the acquisition mode of the embedded point parameters is parameter transmission acquisition, acquiring the embedded point parameters based on the last page corresponding to the embedded point page; under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, the embedded point business corresponding to the embedded point page is determined to be abnormal. According to the technical scheme, the buried point parameters are obtained under the condition that the buried point page is abnormal, when the buried point plug-in is normal and the buried point parameters are abnormal, the buried point business corresponding to the buried point page is determined to be abnormal, the abnormal determination of the buried point business is realized, the buried point plug-in can ensure the normal operation of the buried point business while obtaining the user behavior data, and a developer can know the abnormal buried point business in time conveniently.

Description

Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an anomaly determination method, an anomaly determination device, anomaly determination equipment and an anomaly determination storage medium.
Background
With the continuous development of the scene financial business, the payment center is gradually upgraded to surround the core function of bill payment, and a scene financial service platform with various financial and non-financial functions is added. By means of payment service, users can be connected with industry application to build rich and various scene ecologies.
Most users of the payment center are personal users, and when the payment service is used, various paths for entering the payment service exist, such as entering payment and scanning codes through application programs. Aiming at different access modes, the embedded point plug-in needs to collect user behavior data, and ensures that the payment service is not blocked when the collection fails.
Therefore, there is a need for an anomaly determination method to determine whether an anomaly has occurred in a buried point insert.
Disclosure of Invention
The invention provides an abnormality determination method, an abnormality determination device and a storage medium, so as to determine whether an abnormality occurs in a buried point plug-in.
In a first aspect, an embodiment of the present invention provides an anomaly determination method, including:
determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in;
when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters;
when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page;
and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal.
The technical scheme of the embodiment of the invention provides an anomaly determination method, which comprises the following steps: determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in; when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters; when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page; and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal. According to the technical scheme, the embedded point pages with the embedded point plug-ins can be determined, the embedded point parameters acquired in the embedded point pages and the acquisition modes of the embedded point parameters are determined, the embedded point parameters can be acquired based on the interfaces corresponding to the embedded point parameters when the acquisition modes of the embedded point parameters are determined to be interface acquisition, the embedded point parameters can be acquired based on the last page corresponding to the embedded point pages when the acquisition modes of the embedded point parameters are determined to be parameter transmission acquisition, the acquisition of the embedded point parameters under the condition that the embedded point pages are possibly abnormal is realized, the abnormal occurrence of the embedded point business corresponding to the embedded point pages can be determined under the condition that the embedded point plug-ins are normal and the embedded point parameters are abnormal is determined, the abnormal determination of the embedded point business corresponding to the embedded point pages is realized, the embedded point plug-in can ensure the normal operation of the embedded point business when the embedded point plug-in acquires user behavior data, and the developer can know the abnormal occurrence of the embedded point business in time.
Further, the acquiring method includes: the embedded point page acquisition and the non-embedded point page acquisition comprise code acquisition, interface acquisition and parameter transmission acquisition.
Further, before the buried point parameters are acquired based on the interfaces corresponding to the buried point parameters, the method further comprises:
and determining an interface corresponding to the buried point parameter.
Further, before the embedded point parameter is acquired based on the previous page corresponding to the embedded point page, the method further includes:
and determining the last page corresponding to the embedded point page.
Further, acquiring the embedded point parameter based on the last page corresponding to the embedded point page includes:
and determining a target previous page corresponding to the embedded point parameter in the previous page corresponding to the embedded point page, and acquiring the embedded point parameter based on the target previous page.
Further, the buried point parameter abnormality includes a value abnormality of the buried point parameter and an acquisition abnormality of the buried point parameter.
Further, under the condition that the embedded point plug-in is normal and the embedded point parameter is abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal includes:
the acquisition mode of the embedded point parameters is that an interface acquires and determines that the embedded point plug-in is normal and the embedded point parameters are abnormal, and the current embedded point service corresponding to the embedded point page is determined to be abnormal;
the acquisition mode of the embedded point parameters is parameter transmission acquisition, and under the conditions that the embedded point plug-in units are normal and the embedded point parameters are abnormal, the current embedded point service corresponding to the embedded point page or the target embedded point service corresponding to the last page of the target is determined to be abnormal.
In a second aspect, an embodiment of the present invention further provides an anomaly determination apparatus, including:
the determining module is used for determining the acquisition mode of each buried point parameter in the buried point page deployed with the buried point plug-in;
the first acquisition module is used for acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters when the acquisition mode of the buried point parameters is interface acquisition;
the second acquisition module is used for acquiring the embedded point parameters based on the last page corresponding to the embedded point page when the acquisition mode of the embedded point parameters is parameter transmission acquisition;
and the execution module is used for determining that the buried point business corresponding to the buried point page is abnormal under the condition that the buried point plug-in is normal and the buried point parameter is abnormal.
In a third aspect, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the anomaly determination method as described in any one of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, wherein the computer-executable instructions, when executed by a computer processor, are for performing the anomaly determination method according to any one of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the anomaly determination method as provided in the first aspect.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer readable storage medium may be packaged together with the processor of the abnormality determination apparatus or may be packaged separately from the processor of the abnormality determination apparatus, which is not limited in this application.
The description of the second, third, fourth and fifth aspects of the present application may refer to the detailed description of the first aspect; also, the advantageous effects described in the second aspect, the third aspect, the fourth aspect, and the fifth aspect may refer to the advantageous effect analysis of the first aspect, and are not described herein.
In the present application, the names of the above abnormality determination means do not constitute limitations on the devices or function modules themselves, and in actual implementation, these devices or function modules may appear under other names. Insofar as the function of each device or function module is similar to the present application, it is within the scope of the claims of the present application and the equivalents thereof.
These and other aspects of the present application will be more readily apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, 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 invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an anomaly determination method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another anomaly determination method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an abnormality determining apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or for distinguishing between different processes of the same object and not for describing a particular sequential order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
Fig. 1 is a flowchart of an anomaly determination method provided in an embodiment of the present invention, where the embodiment is applicable to a case where anomaly determination needs to be performed on a buried point service corresponding to a buried point page, and the method may be performed by an anomaly determination device, as shown in fig. 1, and specifically includes the following steps:
step 110, determining an acquisition mode of each buried point parameter in a buried point page deployed with the buried point plug-in.
Specifically, after determining the embedded point page where the embedded point plug-in is deployed, the embedded point parameters in each embedded point page and the acquisition mode of each embedded point parameter may be determined. The acquisition mode of the embedded point parameters can be embedded point page acquisition and non-embedded point page acquisition, wherein the non-embedded point page acquisition comprises code acquisition, interface acquisition and parameter transmission acquisition.
When the acquisition mode of the embedded point parameters is code acquisition in embedded point page acquisition and non-embedded point page acquisition, if the embedded point parameters are abnormal, the embedded point business corresponding to the embedded point page can be determined to be abnormal. When the acquisition mode of the embedded point parameters is that an interface in non-embedded point page acquisition is acquired, the embedded point plug-in can acquire the embedded point parameters based on the interface corresponding to the embedded point parameters, when the embedded point parameters are abnormal, the embedded point plug-in can be determined to be abnormal or the embedded point page is determined to be abnormal, when the embedded point plug-in is determined to be normal, the embedded point page is determined to be abnormal, and further the embedded point business is determined to be abnormal; when the acquisition mode of the embedded point parameters is parameter transmission acquisition in non-embedded point page acquisition, the embedded point plug-in can acquire the embedded point parameters based on the previous page corresponding to the embedded point parameters, when the embedded point parameters are abnormal, the embedded point plug-in can be determined to be abnormal or the embedded point page is determined to be abnormal, and likewise, when the embedded point plug-in is determined to be normal, the embedded point page can be determined to be abnormal, and further, the embedded point business can be determined to be abnormal.
In the embodiment of the invention, after the buried point page with the buried point plug-in is determined, the buried point parameters acquired in each buried point page can be determined, and then the acquisition mode of each buried point parameter can be determined.
And 120, when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters.
Specifically, when the acquisition mode of the buried point parameter is determined to be the interface acquisition, the buried point parameter can be acquired based on the interface corresponding to the buried point parameter, and the acquisition mode is realized to be the acquisition of the buried point parameter acquired by the interface.
And 130, when the acquisition mode of the embedded point parameters is parameter transmission acquisition, acquiring the embedded point parameters based on the last page corresponding to the embedded point page.
Specifically, when the acquisition mode of the buried point parameter is the parameter transmission acquisition, the last page corresponding to the buried point parameter can be determined, and the buried point parameter is acquired based on the last page corresponding to the buried point parameter, so that the acquisition mode is the acquisition of the buried point parameter acquired by the parameter transmission.
In the embodiment of the invention, the acquisition of the buried point parameters under the condition that the buried point page abnormality possibly exists is realized.
And 140, determining that the buried point business corresponding to the buried point page is abnormal under the condition that the buried point plug-in is normal and the buried point parameter is abnormal.
Specifically, in the case where it is determined that the value of the buried point parameter is null, or the buried point parameter cannot be acquired, it may be determined that an abnormality occurs in the buried point plug-in or the buried point page. Of course, if the buried point plug-in is determined to be normal at this time, the buried point page abnormality can be determined, and further, the buried point business corresponding to the buried point page abnormality can be determined.
Of course, when the acquisition mode of the embedded point parameters is interface acquisition, the current embedded point service corresponding to the embedded point page can be determined to be abnormal; when the acquisition mode of the embedded point parameters is parameter transmission acquisition, the embedded point service corresponding to the embedded point page or the embedded point service corresponding to the last page of the acquired embedded point parameters can be determined to be abnormal.
In the embodiment of the invention, the abnormity of the buried point service corresponding to the buried point page is determined, so that the buried point plug-in unit can ensure the normal operation of the buried point service while acquiring the user behavior data, and a developer can know the abnormity of the buried point service in time.
The anomaly determination method provided by the embodiment of the invention comprises the following steps: determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in; when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters; when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page; and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal. According to the technical scheme, the embedded point pages with the embedded point plug-ins can be determined, the embedded point parameters acquired in the embedded point pages and the acquisition modes of the embedded point parameters are determined, the embedded point parameters can be acquired based on the interfaces corresponding to the embedded point parameters when the acquisition modes of the embedded point parameters are determined to be interface acquisition, the embedded point parameters can be acquired based on the last page corresponding to the embedded point pages when the acquisition modes of the embedded point parameters are determined to be parameter transmission acquisition, the acquisition of the embedded point parameters under the condition that the embedded point pages are possibly abnormal is realized, the abnormal occurrence of the embedded point business corresponding to the embedded point pages can be determined under the condition that the embedded point plug-ins are normal and the embedded point parameters are abnormal is determined, the abnormal determination of the embedded point business corresponding to the embedded point pages is realized, the embedded point plug-in can ensure the normal operation of the embedded point business when the embedded point plug-in acquires user behavior data, and the developer can know the abnormal occurrence of the embedded point business in time.
Fig. 2 is a flowchart of another abnormality determination method according to an embodiment of the present invention, which is embodied based on the above embodiment. In this embodiment, the method may further include:
step 210, determining an acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in.
Specifically, firstly, a buried point page with buried point plug-ins deployed in the current application can be determined, secondly, buried point parameters required to be acquired in each buried point page can be determined, and further, the acquisition mode of each buried point parameter can be determined. The acquisition mode of the embedded point parameters can be embedded point page acquisition and non-embedded point page acquisition, the embedded point parameters existing in the embedded point page originally can be acquired based on the embedded point page acquisition, the embedded point parameters outside the embedded point page can be acquired based on the non-embedded point page acquisition, the non-embedded point page acquisition comprises code acquisition, interface acquisition and parameter transmission acquisition, the code acquisition can acquire the embedded point parameters in page codes corresponding to the embedded point page, the interface acquisition can acquire the embedded point parameters based on the interface corresponding to the embedded point parameters, and the parameter transmission acquisition can acquire the embedded point parameters based on the target previous page corresponding to the embedded point parameters in the previous page corresponding to the embedded point page.
When the acquisition mode of the embedded point parameters is that the embedded point page is acquired, the embedded point parameters exist in the embedded point page, the embedded point plug-in unit can directly acquire the embedded point parameters based on the embedded point page deployed by the embedded point plug-in unit, and if the embedded point parameters are abnormal, the embedded point business corresponding to the embedded point page can be determined to be abnormal; when the acquisition mode of the embedded point parameters is code acquisition in non-embedded point page acquisition, the embedded point plug-in unit can acquire the embedded point parameters in page codes corresponding to the embedded point pages, the embedded point parameters can be generally and directly acquired, and if the embedded point parameters are abnormal, the embedded point business corresponding to the embedded point pages can be determined to be abnormal.
When the acquisition mode of the embedded point parameters is that an interface in non-embedded point page acquisition is acquired, the embedded point plug-in can acquire the embedded point parameters based on the interface corresponding to the embedded point parameters, when the embedded point parameters are abnormal, the embedded point plug-in can be determined to be abnormal or the embedded point page is determined to be abnormal, when the embedded point plug-in is determined to be normal, the embedded point page is determined to be abnormal, and further the embedded point business is determined to be abnormal; when the acquisition mode of the embedded point parameters is parameter transmission acquisition in non-embedded point page acquisition, the embedded point plug-in can acquire the embedded point parameters based on the previous page corresponding to the embedded point parameters, when the embedded point parameters are abnormal, the embedded point plug-in can be determined to be abnormal or the embedded point page is determined to be abnormal, and likewise, when the embedded point plug-in is determined to be normal, the embedded point page can be determined to be abnormal, and further, the embedded point business can be determined to be abnormal.
In the embodiment of the invention, after the buried point page with the buried point plug-in is determined, the buried point parameters acquired in each buried point page can be determined, and then the acquisition mode of each buried point parameter can be determined.
And 220, determining an interface corresponding to the buried point parameter when the acquisition mode of the buried point parameter is interface acquisition, and acquiring the buried point parameter based on the interface corresponding to the buried point parameter.
Specifically, when the acquisition mode of the buried point parameter is determined to be interface acquisition, firstly, an interface corresponding to the buried point parameter can be determined, and secondly, the buried point parameter can be acquired based on the interface corresponding to the buried point parameter, so that the acquisition mode is realized to acquire the buried point parameter acquired by the interface.
Step 230, determining the previous page corresponding to the embedded point page.
Specifically, the last page corresponding to the embedded point page may be determined, that is, all pages that can jump to the embedded point page are determined as the last page corresponding to the embedded point page.
And 240, when the acquisition mode of the embedded point parameters is parameter transmission acquisition, acquiring the embedded point parameters based on the last page corresponding to the embedded point page.
In one embodiment, step 240 may specifically include:
when the acquisition mode of the embedded point parameters is parameter transmission acquisition, determining a target previous page corresponding to the embedded point parameters in the previous page corresponding to the embedded point pages, and acquiring the embedded point parameters based on the target previous page.
Specifically, when the acquisition mode of the buried point parameter is the parameter transmission acquisition, it is indicated that the buried point parameter can be acquired on the last page corresponding to the buried point page, so that the last target page corresponding to the buried point parameter can be determined in the last page corresponding to the buried point page, and further the buried point parameter can be acquired based on the last target page, thereby realizing the acquisition of the buried point parameter acquired by the parameter transmission.
In the embodiment of the invention, the acquisition of the buried point parameters under the condition that the buried point page abnormality possibly exists is realized.
Step 250, determining that the buried point business corresponding to the buried point page is abnormal under the condition that the buried point plug-in is normal and the buried point parameter is abnormal.
In one embodiment, step 250 may specifically include:
the acquisition mode of the embedded point parameters is that an interface acquires and determines that the embedded point plug-in is normal and the embedded point parameters are abnormal, and the current embedded point service corresponding to the embedded point page is determined to be abnormal; the acquisition mode of the embedded point parameters is parameter transmission acquisition, and under the conditions that the embedded point plug-in units are normal and the embedded point parameters are abnormal, the current embedded point service corresponding to the embedded point page or the target embedded point service corresponding to the last page of the target is determined to be abnormal.
The buried point parameter anomaly may include a value anomaly of the buried point parameter and an acquisition anomaly of the buried point parameter.
Specifically, in the case where it is determined that the value of the buried point parameter is abnormal and the acquisition of the buried point parameter is abnormal, it may be determined that the buried point plugin or the buried point page is abnormal. Of course, if the embedded point plug-in is normal at this time, it can determine that the embedded point page is abnormal, and further determine that the embedded point service corresponding to the embedded point page is abnormal.
Specifically, when the acquisition mode of the embedded point parameters is interface acquisition, the acquisition of the embedded point parameters only involves the embedded point page provided with the embedded point plug-in, and the current embedded point business corresponding to the embedded point page can be determined to be abnormal. Therefore, when the acquisition mode of the buried point parameters is interface acquisition and the buried point plug-in is normal and the buried point parameters are abnormal, the current buried point service corresponding to the buried point page is determined to be abnormal. When the acquisition mode of the embedded point parameters is parameter transmission acquisition, the acquisition of the embedded point parameters involves an embedded point page provided with embedded point plug-in components and a target previous page for acquiring the embedded point parameters, and therefore the current embedded point service corresponding to the embedded point page or the target embedded point service corresponding to the target previous page can be determined to be abnormal. Therefore, when the acquisition mode of the buried point parameters is the parameter transmission acquisition, and the buried point plug-in is normal and the buried point parameters are abnormal, the current buried point service corresponding to the buried point page or the target buried point service corresponding to the last page of the target is determined to be abnormal.
In the embodiment of the invention, the abnormity of the current embedded point service corresponding to the embedded point page and the target embedded point service corresponding to the last target page is determined, so that the embedded point plug-in can ensure the normal operation of the embedded point service while acquiring the user behavior data, and a developer can know the abnormity of the embedded point service in time.
The anomaly determination method provided by the embodiment of the invention comprises the following steps: determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in; when the acquisition mode of the buried point parameters is interface acquisition, determining an interface corresponding to the buried point parameters, and acquiring the buried point parameters based on the interface corresponding to the buried point parameters; determining the last page corresponding to the embedded point page; when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page; and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal. According to the technical scheme, the embedded point page provided with the embedded point plug-in units can be determined, the embedded point parameters acquired in each embedded point page and the acquisition modes of the embedded point parameters are determined, when the acquisition modes of the embedded point parameters are determined to be interface acquisition, the interface corresponding to the embedded point parameters can be determined, and the embedded point parameters are acquired based on the interface corresponding to the embedded point parameters.
Fig. 3 is a schematic structural diagram of an anomaly determination device according to an embodiment of the present invention, where the anomaly determination device may be suitable for a situation of anomaly determination for a buried point service corresponding to a buried point page. The apparatus may be implemented in software and/or hardware and is typically integrated in a computer device.
As shown in fig. 3, the apparatus includes:
a determining module 310, configured to determine an acquisition manner of each buried point parameter in a buried point page deployed with a buried point plugin;
the first obtaining module 320 is configured to obtain the buried point parameter based on the interface corresponding to the buried point parameter when the obtaining manner of the buried point parameter is that of the interface;
the second obtaining module 330 is configured to obtain the embedded point parameter based on a previous page corresponding to the embedded point page when the obtaining mode of the embedded point parameter is parameter transmission obtaining;
and the execution module 340 is configured to determine that the buried point service corresponding to the buried point page is abnormal when the buried point plug-in is normal and the buried point parameter is abnormal.
The abnormality determination device provided by the embodiment determines the acquisition mode of each buried point parameter in the buried point page where the buried point plug-in is deployed; when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters; when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page; and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal. According to the technical scheme, the embedded point pages with the embedded point plug-ins can be determined, the embedded point parameters acquired in the embedded point pages and the acquisition modes of the embedded point parameters are determined, the embedded point parameters can be acquired based on the interfaces corresponding to the embedded point parameters when the acquisition modes of the embedded point parameters are determined to be interface acquisition, the embedded point parameters can be acquired based on the last page corresponding to the embedded point pages when the acquisition modes of the embedded point parameters are determined to be parameter transmission acquisition, the acquisition of the embedded point parameters under the condition that the embedded point pages are possibly abnormal is realized, the abnormal occurrence of the embedded point business corresponding to the embedded point pages can be determined under the condition that the embedded point plug-ins are normal and the embedded point parameters are abnormal is determined, the abnormal determination of the embedded point business corresponding to the embedded point pages is realized, the embedded point plug-in can ensure the normal operation of the embedded point business when the embedded point plug-in acquires user behavior data, and the developer can know the abnormal occurrence of the embedded point business in time.
In one embodiment, the acquiring method includes: the embedded point page acquisition and the non-embedded point page acquisition comprise code acquisition, interface acquisition and parameter transmission acquisition.
On the basis of the above embodiment, the device further includes:
and the interface determining module is used for determining the interface corresponding to the buried point parameter.
On the basis of the above embodiment, the device further includes:
and the page determining module is used for determining the last page corresponding to the embedded point page.
Based on the above embodiment, the second obtaining module 330 is specifically configured to:
when the acquisition mode of the embedded point parameters is parameter transmission acquisition, determining a target previous page corresponding to the embedded point parameters in the previous page corresponding to the embedded point pages, and acquiring the embedded point parameters based on the target previous page.
In one embodiment, the buried point parameter anomaly includes a value anomaly of the buried point parameter and an acquisition anomaly of the buried point parameter.
Based on the above embodiment, the execution module 340 is specifically configured to:
the acquisition mode of the embedded point parameters is that an interface acquires and determines that the embedded point plug-in is normal and the embedded point parameters are abnormal, and the current embedded point service corresponding to the embedded point page is determined to be abnormal;
the acquisition mode of the embedded point parameters is parameter transmission acquisition, and under the conditions that the embedded point plug-in units are normal and the embedded point parameters are abnormal, the current embedded point service corresponding to the embedded point page or the target embedded point service corresponding to the last page of the target is determined to be abnormal.
The abnormality determination device provided by the embodiment of the invention can execute the abnormality determination method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the abnormality determination method.
It should be noted that, in the embodiment of the abnormality determination apparatus described above, each unit and module included is divided only by functional logic, but is not limited to the above-described division, as long as the corresponding function can be realized; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention. Fig. 4 shows a block diagram of an exemplary computer device 4 suitable for use in implementing embodiments of the invention. The computer device 4 shown in fig. 4 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the invention.
As shown in fig. 4, the computer device 4 is in the form of a general purpose computing electronic device. The components of computer device 4 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 4 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 4 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 4 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 4 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 4, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 4 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, the computer device 4 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown in fig. 4, the network adapter 20 communicates with other modules of the computer device 4 via the bus 18. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in connection with computer device 4, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28, for example, implementing an anomaly determination method provided by an embodiment of the present invention, the method including:
determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in;
when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters;
when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page;
and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal.
Of course, those skilled in the art will understand that the processor may also implement the technical solution of the anomaly determination method provided in any embodiment of the present invention.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an anomaly determination method provided by, for example, an embodiment of the present invention, the method including:
determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in;
when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters;
when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page;
and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It will be appreciated by those of ordinary skill in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed over a network of computing devices, or they may alternatively be implemented in program code executable by a computer device, such that they are stored in a memory device and executed by the computing device, or they may be separately fabricated as individual integrated circuit modules, or multiple modules or steps within them may be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
In addition, the technical scheme of the invention can acquire, store, use, process and the like the data, which accords with the relevant regulations of national laws and regulations.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. An anomaly determination method, comprising:
determining the acquisition mode of each buried point parameter in a buried point page deployed with a buried point plug-in;
when the acquisition mode of the buried point parameters is interface acquisition, acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters;
when the acquisition mode of the buried point parameters is parameter transmission acquisition, acquiring the buried point parameters based on the last page corresponding to the buried point page;
and under the condition that the embedded point plug-in is normal and the embedded point parameters are abnormal, determining that the embedded point service corresponding to the embedded point page is abnormal.
2. The abnormality determination method according to claim 1, characterized in that the acquisition means includes: the embedded point page acquisition and the non-embedded point page acquisition comprise code acquisition, interface acquisition and parameter transmission acquisition.
3. The abnormality determination method according to claim 1, characterized by further comprising, before acquiring the buried point parameter based on an interface to which the buried point parameter corresponds:
and determining an interface corresponding to the buried point parameter.
4. The abnormality determination method according to claim 1, characterized by further comprising, before acquiring the buried point parameter based on a previous page to which the buried point page corresponds:
and determining the last page corresponding to the embedded point page.
5. The anomaly determination method of claim 4, wherein obtaining the buried point parameter based on a previous page corresponding to the buried point page comprises:
and determining a target previous page corresponding to the embedded point parameter in the previous page corresponding to the embedded point page, and acquiring the embedded point parameter based on the target previous page.
6. The abnormality determination method according to claim 1, characterized in that the buried point parameter abnormality includes a value abnormality of the buried point parameter and an acquisition abnormality of the buried point parameter.
7. The anomaly determination method according to claim 5, wherein determining that the buried point service corresponding to the buried point page is abnormal when the buried point plug-in is determined to be normal and the buried point parameter is abnormal comprises:
the acquisition mode of the embedded point parameters is that an interface acquires and determines that the embedded point plug-in is normal and the embedded point parameters are abnormal, and the current embedded point service corresponding to the embedded point page is determined to be abnormal;
the acquisition mode of the embedded point parameters is parameter transmission acquisition, and under the conditions that the embedded point plug-in units are normal and the embedded point parameters are abnormal, the current embedded point service corresponding to the embedded point page or the target embedded point service corresponding to the last page of the target is determined to be abnormal.
8. An abnormality determination apparatus, characterized by comprising:
the determining module is used for determining the acquisition mode of each buried point parameter in the buried point page deployed with the buried point plug-in;
the first acquisition module is used for acquiring the buried point parameters based on the interfaces corresponding to the buried point parameters when the acquisition mode of the buried point parameters is interface acquisition;
the second acquisition module is used for acquiring the embedded point parameters based on the last page corresponding to the embedded point page when the acquisition mode of the embedded point parameters is parameter transmission acquisition;
and the execution module is used for determining that the buried point business corresponding to the buried point page is abnormal under the condition that the buried point plug-in is normal and the buried point parameter is abnormal.
9. A computer device, the computer device comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the anomaly determination method of any one of claims 1-7.
10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the anomaly determination method of any of claims 1-7.
CN202311667742.5A 2023-12-06 2023-12-06 Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium Pending CN117667588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311667742.5A CN117667588A (en) 2023-12-06 2023-12-06 Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311667742.5A CN117667588A (en) 2023-12-06 2023-12-06 Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117667588A true CN117667588A (en) 2024-03-08

Family

ID=90085975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311667742.5A Pending CN117667588A (en) 2023-12-06 2023-12-06 Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117667588A (en)

Similar Documents

Publication Publication Date Title
CN107506300B (en) User interface testing method, device, server and storage medium
CN111813641B (en) Method, device, medium and equipment for collecting crash information
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN109218393B (en) Push implementation method, device, equipment and computer storage medium
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN111813465B (en) Information acquisition method, device, medium and equipment
CN111124541B (en) Configuration file generation method, device, equipment and medium
CN110415112B (en) Post-credit business processing method, device, equipment and storage medium
CN110674050B (en) Memory out-of-range detection method and device, electronic equipment and computer storage medium
CN110908860B (en) Java thread acquisition method and device, medium and electronic equipment
US9075679B1 (en) Creating a prerequisite checklist corresponding to a software application
CN117667588A (en) Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium
CN110674491B (en) Method and device for real-time evidence obtaining of android application and electronic equipment
CN113094000A (en) Vehicle signal storage method and device, storage equipment and storage medium
CN113760317A (en) Page display method, device, equipment and storage medium
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN110673834A (en) Source code calling method and device, computer equipment and storage medium
CN110245086B (en) Application program stability testing method, device and equipment
CN109656728A (en) Page data operating method, device, equipment and medium
CN113778773B (en) SIM card simulation method and device and electronic equipment
CN117609082A (en) Test method, device, equipment and storage medium
CN111581097B (en) Performance test method, system, equipment and storage medium for parameterized data
CN110389862B (en) Data storage method, device, equipment and storage medium
CN111428544B (en) Scene recognition method and device, electronic equipment and storage medium
CN117271297A (en) Function processing method, device, equipment and storage medium

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