CN117149573A - Method, device, equipment and storage medium for monitoring data change - Google Patents

Method, device, equipment and storage medium for monitoring data change Download PDF

Info

Publication number
CN117149573A
CN117149573A CN202311140311.3A CN202311140311A CN117149573A CN 117149573 A CN117149573 A CN 117149573A CN 202311140311 A CN202311140311 A CN 202311140311A CN 117149573 A CN117149573 A CN 117149573A
Authority
CN
China
Prior art keywords
information
target
ith
interface
request
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
CN202311140311.3A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202311140311.3A priority Critical patent/CN117149573A/en
Publication of CN117149573A publication Critical patent/CN117149573A/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
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a method, a device, equipment and a storage medium for monitoring data change, which can be applied to the technical field of computers and the technical field of finance. The monitoring method for data change is applied to a server and comprises the following steps: responding to the received i-th data change request, comparing the i-th request parameter information identifier indicated by the i-th data change request with the i-1-th request parameter information identifier indicated by the i-1-th data change request to obtain comparison information; under the condition that the comparison information is sent to the client, in response to receiving interface identification information determined by the client based on the comparison information, acquiring interface information corresponding to a target interface through a target interface corresponding to the interface identification information, and obtaining ith target acquisition information; comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information.

Description

Method, device, equipment and storage medium for monitoring data change
Technical Field
The present disclosure relates to the field of computer technology and financial technology, and in particular, to a method, apparatus, device, medium, and program product for monitoring data changes.
Background
With the development of the visual project of the mobile terminal, the mobile terminal of the financial institution can monitor the data change condition. If the change data is information collection mode, the developer carries out personalized modification on the information collection program. If the change data is the update information of the project, related personnel can research, develop and optimize the project according to the update requirement information of the project.
However, for the conditions that the interface of information acquisition is quick in change and maintenance departments related to project update information are more, the condition that real-time data display errors are caused due to untimely notification can occur, so that a certain hysteresis and inaccuracy are caused to the monitoring result of data change.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a method, apparatus, device, medium, and program product for monitoring data changes.
According to a first aspect of the present disclosure, there is provided a method for monitoring data change, applied to a server, including: in response to receiving the ith data change request, comparing the ith request parameter information identifier indicated by the ith data change request with the ith-1 request parameter information identifier indicated by the ith-1 data change request to obtain comparison information. Under the condition that the comparison information is sent to the client, in response to receiving the interface identification information determined by the client based on the comparison information, acquiring the interface information corresponding to the target interface through the target interface corresponding to the interface identification information, and obtaining the ith target acquisition information. Comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, wherein the (i-1) th target acquisition information is obtained by carrying out data acquisition through an (i-1) th request parameter information identifier indicated by the (i-1) th data change request.
According to an embodiment of the present disclosure, under a condition that comparison information is transmitted to a client, in response to receiving interface identification information determined by the client based on the comparison information, acquiring interface information corresponding to a target interface through a target interface corresponding to the interface identification information, obtaining ith target acquisition information includes: under the condition that the comparison information is sent to the client, in response to receiving the interface identification information determined by the client based on the comparison information, acquiring the interface information corresponding to the target interface through the target interface corresponding to the interface identification information, and obtaining the ith acquisition information. Analyzing the ith acquisition information to obtain the ith target acquisition information.
According to an embodiment of the present disclosure, analyzing the ith acquisition information to obtain the ith target acquisition information includes: and acquiring field information in the ith acquisition information. The type of field information is determined. Under the condition that the field information type is characterized as numerical information, decomposing the field information into a plurality of preset fields to obtain a plurality of first target fields. In the case where the field information type is characterized as text type information, the field information is broken down into a plurality of second target fields in a predetermined order. And analyzing the plurality of first target fields and/or the plurality of second target fields to obtain ith target acquisition information.
According to an embodiment of the present disclosure, after comparing an i-th request parameter information identifier indicated by an i-th data change request with an i-1-th request parameter information identifier indicated by an i-1-th data change request in response to receiving the i-th data change request, the method further includes: and sending the comparison information to the client under the condition that the comparison information characterizes the ith request parameter information identifier and the (i-1) request parameter information identifier are different.
According to an embodiment of the present disclosure, comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information includes: comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain change information. And encoding the change information to obtain the target change information.
According to an embodiment of the present disclosure, the above method further includes: and determining the change content belonging to the target type in the target change information under the condition that the target change information characterization request parameters are not changed. Generating a cache table according to the change content belonging to the target type, wherein the cache table comprises the acquisition information before and after the change in the ith target acquisition information and the (i-1) th target acquisition information.
According to an embodiment of the present disclosure, the target types include at least one of: uniform resource address, field name, data type.
According to an embodiment of the present disclosure, after comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, the method further includes: and displaying the target change information to the user according to the display time period of the target change information. And deleting the ith target acquisition information cached in the cache table under the condition that the retention time of the target change information exceeds the display time period.
According to a second aspect of the present disclosure, there is provided a method for monitoring data change, applied to a client, including: and determining interface identification information based on the comparison information in response to receiving the comparison information from the server. The interface identification information is sent to the server side, so that the server side can acquire interface information corresponding to the interface according to the interface corresponding to the interface identification information to obtain ith target acquisition information, and the ith target acquisition information is compared with the (i-1) th target acquisition information to obtain target change information.
According to an embodiment of the present disclosure, in response to receiving the alignment information from the server, determining the interface identification information based on the alignment information includes: and marking the request parameter information when the comparison information is characterized as first type request parameter information, so as to obtain the request parameter information with the first identifier. And obtaining interface identification information according to the request parameter information with the first identification.
According to an embodiment of the present disclosure, in response to receiving the alignment information from the server, determining the interface identification information based on the alignment information includes: and marking the request parameter information in the second type of request parameter information represented by the comparison information to obtain the request parameter information with the second identifier. And performing simulation request according to the request parameter information with the second identifier to obtain a request result. And under the condition that the request result is successfully represented, obtaining interface identification information according to the request parameter information with the second identification.
A third aspect of the present disclosure provides a monitoring device for data modification, applied to a server, including: the first comparison module is used for responding to the received ith data change request, comparing the ith request parameter information identifier indicated by the ith data change request with the ith-1 request parameter information identifier indicated by the ith-1 data change request, and obtaining comparison information. The acquisition module is used for acquiring the interface information corresponding to the target interface through the target interface corresponding to the interface identification information in response to receiving the interface identification information determined by the client based on the comparison information under the condition that the comparison information is sent to the client, so as to obtain the ith target acquisition information. The second comparison module is used for comparing the ith target acquisition information with the ith-1 target acquisition information to obtain target change information, wherein the ith-1 target acquisition information is obtained by carrying out data acquisition through an ith-1 request parameter information identifier indicated by the ith-1 data change request.
A fourth aspect of the present disclosure provides a monitoring apparatus for data modification, applied to a client, including: and the second determining module is used for determining interface identification information based on the comparison information in response to receiving the comparison information from the server. The second sending module is used for sending the interface identification information to the server so that the server can acquire the interface information corresponding to the interface according to the interface corresponding to the interface identification information to obtain the ith target acquisition information, and comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain the target change information.
A fifth aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method described above.
A sixth aspect of the present disclosure also provides a computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the above-described method.
A seventh aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above method.
According to the data change monitoring method, device, equipment, medium and program product provided by the disclosure, the ith request parameter information identifier indicated by the ith data change request is compared with the ith-1 request parameter information identifier indicated by the ith-1 data change request, so that whether the request parameters change is determined. Under the condition that the comparison information is sent to the client, in response to receiving the interface identification information determined by the client based on the comparison information, the interface information corresponding to the target interface is acquired through the target interface corresponding to the interface identification information, so that the ith target acquisition information is obtained, whether the request parameter changes or not can be timely notified to the client, and data acquisition is performed according to the interface identification information sent by the client, so that the data acquisition accuracy is improved. And comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, thereby improving the accuracy of monitored change data. The technical problems that the monitoring result of the data change has certain hysteresis and inaccuracy are at least partially solved, the client can be timely notified when the request parameter is changed, and the accuracy of the monitored changed data is improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario diagram of a monitoring method of data modification applied to a server according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flowchart of a method for monitoring data changes applied to a server according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a method of monitoring data changes applied to a client according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates an interaction diagram of a method of monitoring for data changes in accordance with an embodiment of the present disclosure;
FIG. 5 schematically illustrates a block diagram of a monitoring device for data modification applied to a server according to an embodiment of the present disclosure;
FIG. 6 schematically illustrates a block diagram of a monitoring device for data changes applied to a client according to an embodiment of the present disclosure; and
fig. 7 schematically illustrates a block diagram of an electronic device adapted to implement a monitoring method of data change applied to a server or a client according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the invention, the related user information (including but not limited to user personal information, user image information, user equipment information, such as position information and the like) and data (including but not limited to data for analysis, stored data, displayed data and the like) are information and data authorized by a user or fully authorized by all parties, and the processing of the related data such as collection, storage, use, processing, transmission, provision, disclosure, application and the like are all conducted according to the related laws and regulations and standards of related countries and regions, necessary security measures are adopted, no prejudice to the public welfare is provided, and corresponding operation inlets are provided for the user to select authorization or rejection.
With the development of the visual project of the mobile terminal, the mobile terminal of the financial institution can monitor the data change condition. If the change data is information collection mode, the developer carries out personalized modification on the information collection program. If the change data is the update information of the project, related personnel can research, develop and optimize the project according to the update requirement information of the project.
However, for the conditions that the interface of information acquisition is quick in change and maintenance departments related to project update information are more, the condition that real-time data display errors are caused due to untimely notification can occur, so that a certain hysteresis and inaccuracy are caused to the monitoring result of data change.
The embodiment of the disclosure provides a method for monitoring data change, which is applied to a server and comprises the following steps: in response to receiving the ith data change request, comparing the ith request parameter information identifier indicated by the ith data change request with the ith-1 request parameter information identifier indicated by the ith-1 data change request to obtain comparison information. Under the condition that the comparison information is sent to the client, in response to receiving the interface identification information determined by the client based on the comparison information, acquiring the interface information corresponding to the target interface through the target interface corresponding to the interface identification information, and obtaining the ith target acquisition information. Comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, wherein the (i-1) th target acquisition information is obtained by carrying out data acquisition through an (i-1) th request parameter information identifier indicated by the (i-1) th data change request.
Fig. 1 schematically illustrates an application scenario diagram of a monitoring method of data modification applied to a server according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 through the network 104 using at least one of the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages, etc. Various communication client applications, such as a shopping class application, a web browser application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only) may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The first terminal device 101, the second terminal device 102, the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the method for monitoring data change provided in the embodiments of the present disclosure may be applied to a server side and may be generally executed by the server 105. Accordingly, the monitoring device for data modification provided in the embodiments of the present disclosure may be applied to a server side and may be generally disposed in the server 105. The method for monitoring data change provided by the embodiments of the present disclosure may be applied to a server or a server cluster, which is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Accordingly, the monitoring apparatus for data change provided by the embodiments of the present disclosure may be applied to a server or a server cluster, which is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically illustrates a flowchart of a monitoring method for data change applied to a server according to an embodiment of the disclosure.
As shown in fig. 2, the method for monitoring data change in this embodiment is applied to a server and includes operations S210 to S230.
In operation S210, in response to receiving the ith data change request, the ith request parameter information identifier indicated by the ith data change request is compared with the ith-1 th request parameter information identifier indicated by the ith-1 th data change request, so as to obtain comparison information.
In operation S220, in the case that the comparison information is transmitted to the client, in response to receiving the interface identification information determined by the client based on the comparison information, the interface information corresponding to the target interface is acquired through the target interface corresponding to the interface identification information, thereby obtaining the ith target acquisition information.
In operation S230, the ith target acquisition information is compared with the ith-1 target acquisition information to obtain target change information, where the ith-1 target acquisition information is obtained by performing data acquisition through the ith-1 request parameter information identifier indicated by the ith-1 data change request.
According to an embodiment of the present disclosure, the ith data change request characterizes a request for an ith change to interface data. The ith data change request may be a GET request or a POST request.
According to an embodiment of the present disclosure, the ith request parameter information identification characterizes an address identification from which the ith request was issued. The ith request parameter information may be IP (Internet Protocol ) address information. The i-th request parameter information identifier may be a name of an IP address, for example, the i-th request parameter information identifier may be 1.01×1×2.5.
According to the embodiment of the disclosure, the comparison information characterizes comparison result information of the ith request parameter information identifier and the (i-1) th request parameter information identifier. For example, the comparison information may be the comparison result of the ith request parameter information identification and the (i-1) th request parameter information identification
According to an embodiment of the present disclosure, the interface identification information characterizes interface name information of the received data change information. The interface identification information may be interface name information.
According to an embodiment of the present disclosure, the interface information characterizes data information received by the interface.
According to an embodiment of the present disclosure, the ith target acquisition information characterizes interface information in a target format corresponding to the slave target interface.
According to the embodiment of the disclosure, the target change information represents change information of a target format obtained by comparing the ith target acquisition information with the (i-1) th target acquisition information. The target change information may be an interface website, information collected by an interface, an interface name, a request parameter, and the like.
For example, i is equal to 2. When a data change request 2 is received, comparing the request parameter information mark 1.01, 1, 2.5 of the data change request 2 and the request parameter information mark 1, 1.01, 1, 2.5 of the data change request 1 to obtain comparison information.
The user at the server may be a project developer, and the user at the client may be an operation and maintenance person. And the server side sends comparison information to the client side. And the operation and maintenance personnel at the client side receive the comparison information. Interface identification information determined by the operation and maintenance personnel based on the comparison information. Or the configuration information when the interface is required to receive the data information is determined based on the comparison information. And transmitting the comparison information to the client.
The interface identification information may be an interface name for data collection. And when the interface name determined by the client based on the comparison information is received, acquiring the interface information corresponding to the target interface through the target interface corresponding to the interface name, and obtaining the 2 nd target acquisition information.
And comparing the 2 nd target acquisition information with the 1 st target acquisition information to obtain target change information.
According to the embodiment of the disclosure, the ith request parameter information identifier indicated by the ith data change request is compared with the ith-1 request parameter information identifier indicated by the ith-1 data change request, so that whether the request parameter is changed is determined. Under the condition that the comparison information is sent to the client, in response to receiving the interface identification information determined by the client based on the comparison information, the interface information corresponding to the target interface is acquired through the target interface corresponding to the interface identification information, so that the ith target acquisition information is obtained, whether the request parameter changes or not can be timely notified to the client, and data acquisition is performed according to the interface identification information sent by the client, so that the data acquisition accuracy is improved. And comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, thereby improving the accuracy of monitored change data. The technical problems that the monitoring result of the data change has certain hysteresis and inaccuracy are at least partially solved, the client can be timely notified when the request parameter is changed, and the accuracy of the monitored changed data is improved.
According to an embodiment of the present disclosure, under a condition that comparison information is transmitted to a client, in response to receiving interface identification information determined by the client based on the comparison information, acquiring interface information corresponding to a target interface through a target interface corresponding to the interface identification information, obtaining ith target acquisition information includes: under the condition that the comparison information is sent to the client, in response to receiving the interface identification information determined by the client based on the comparison information, acquiring the interface information corresponding to the target interface through the target interface corresponding to the interface identification information, and obtaining the ith acquisition information. Analyzing the ith acquisition information to obtain the ith target acquisition information.
According to the embodiment of the disclosure, the server side sends comparison information to the client side. And the operation and maintenance personnel at the client side receive the comparison information. The operation and maintenance personnel can also determine configuration information when the interface is required to receive the data information based on the comparison information. Wherein the configuration information includes interface identification information. For example, the configuration information may be interface identification information, interface web address (interface url), request frequency, storage space of interface information, and the like.
According to the embodiment of the disclosure, since the ith acquisition information obtained through the interface information acquired by the target interface, the ith acquisition information may be a program language, encrypted data, or the like, and the ith acquisition information needs to be analyzed.
According to the embodiment of the disclosure, the interface information corresponding to the target interface is acquired through the target interface corresponding to the interface identification information to obtain the ith acquisition information, and then the ith acquisition information is analyzed to obtain the ith target acquisition information, so that the monitoring efficiency of data change is improved.
According to an embodiment of the present disclosure, analyzing the ith acquisition information to obtain the ith target acquisition information includes: and acquiring field information in the ith acquisition information. The type of field information is determined. Under the condition that the field information type is characterized as numerical information, decomposing the field information into a plurality of preset fields to obtain a plurality of first target fields. In the case where the field information type is characterized as text type information, the field information is broken down into a plurality of second target fields in a predetermined order. And analyzing the plurality of first target fields and/or the plurality of second target fields to obtain ith target acquisition information.
According to an embodiment of the present disclosure, the type of the field information may be numeric type field information, text type field information. For example, the numeric field information may be "123%", and the text field information may be "account name".
For example, the field information in the i-th acquisition information may include "user name is #, account opening row is #", and "100%900". The "user name is # # the opening row is #" is field information. The field information may be broken down into a second target field "user name is #", and "account opening line is #". The field information may be other information, and the field may be decomposed into information such as name, interface, ip address, etc.
The field information "100%900" in the i-th acquisition information is numeric information. The plurality of preset fields may be "the rate of rise of the present quarter is" and "the present quarter sales is". And decomposing the field information into a plurality of preset fields to obtain a first target field, wherein the first target field is 100 in the rise rate of the quarter and 900 in the sales of the quarter. The preset field may be other fields, and is not limited to the financial field information.
And analyzing the plurality of first target fields and/or the plurality of second target fields in a manner of analyzing the types of the first target fields and the second target fields so as to obtain the ith target acquisition information.
According to the embodiment of the disclosure, different field information processing is performed according to the field type of the ith acquisition information, and the plurality of first target fields and/or second target fields obtained after processing are analyzed, so that the ith target acquisition information is obtained, and the monitoring efficiency and accuracy of data change are improved.
According to an embodiment of the present disclosure, after comparing an i-th request parameter information identifier indicated by an i-th data change request with an i-1-th request parameter information identifier indicated by an i-1-th data change request in response to receiving the i-th data change request, the method further includes: and sending the comparison information to the client under the condition that the comparison information characterizes the ith request parameter information identifier and the (i-1) request parameter information identifier are different.
For example, the request parameter information identification may be IP address information. The comparison information characterizes that the ith request parameter information identification is different from the (i-1) request parameter information identification, and represents that the IP address information changes, and the comparison information is sent to the client.
According to the embodiment of the disclosure, the comparison information is sent to the client under the condition that the comparison information characterizes the ith request parameter information identifier and the (i-1) th request parameter information identifier are different, so that the client can be informed of the change of the request parameters in time, the client can determine the interface identifier information according to the comparison information, and the accuracy of the interface information is improved.
According to an embodiment of the present disclosure, comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information includes: comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain change information. And encoding the change information to obtain the target change information.
According to the embodiment of the disclosure, the first target field and the second target field in the ith target acquisition information are respectively compared with the first target field and the second target field in the (i-1) th target acquisition information to obtain change information. The type information of the first target field and the second target field can be known by analyzing the plurality of first target fields and/or the plurality of second target fields, and thus the type of the change information can be known.
According to the embodiment of the disclosure, the encoding is performed according to the type of the change information, and the encoding mode can be summarizing or joint characters according to the type of the change information. For example, the type of the change information is an address, so that the change information is summarized with address-related information or combined with a preset character. The change information is "a-land", the joint character may be "& address is", and the target change information may be "& address is a-land".
According to the embodiment of the disclosure, the ith target acquisition information is compared with the (i-1) th target acquisition information to obtain the change information, the change information is encoded, the target change information is obtained, and the monitoring efficiency of data change is improved.
According to an embodiment of the present disclosure, the above method further includes: and determining the change content belonging to the target type in the target change information under the condition that the target change information characterization request parameters are not changed. Generating a cache table according to the change content belonging to the target type, wherein the cache table comprises the acquisition information before and after the change in the ith target acquisition information and the (i-1) th target acquisition information.
According to embodiments of the present disclosure, the change content of the target type may be an interface address, field information, a change in the replacement type of the data type, or the like. Generating a cache table according to the change content belonging to the target type
According to the embodiment of the disclosure, the cache table can correspondingly store the acquisition information before and after the ith target acquisition information is changed, and correspondingly store the acquisition information before and after the ith-1 target acquisition information is changed.
According to the embodiment of the disclosure, the cache table is generated by the change content belonging to the target type, so that the collected information before and after the change is compared, and the accuracy of data change is improved.
According to an embodiment of the present disclosure, the target types include at least one of: uniform resource address, field name, data type.
According to embodiments of the present disclosure, the uniform resource address may be an interface address. The field name may be an identification of field information, and the data type may be numeric data, text data, or the like.
According to an embodiment of the present disclosure, after comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, the method further includes: and displaying the target change information to the user according to the display time period of the target change information. And deleting the ith target acquisition information cached in the cache table under the condition that the retention time of the target change information exceeds the display time period.
According to embodiments of the present disclosure, the presentation time period may be set according to the lifecycle of the target change information presentation. And deleting and cleaning the ith target acquisition information of the cache table according to the display time period setting timing frequency.
According to the embodiment of the disclosure, the target change information is displayed to the user according to the display time period, so that dynamic visualization of the change information is realized. And deleting the ith target acquisition information cached in the cache table when the retention time of the target change information exceeds the display time period, so that the data cache is reduced, the operation efficiency is improved, and the monitoring efficiency of the data change is improved.
Fig. 3 schematically illustrates a flowchart of a monitoring method of data change applied to a client according to an embodiment of the present disclosure.
As shown in fig. 3, the method for monitoring data change of this embodiment is applied to a client and includes operations S310 to S320.
In operation S310, in response to receiving the comparison information from the server, interface identification information is determined based on the comparison information.
In operation S320, the interface identification information is sent to the server, so that the server collects the interface information corresponding to the interface according to the interface corresponding to the interface identification information, and obtains the ith target collection information, and compares the ith target collection information with the (i-1) th target collection information, so as to obtain the target change information.
For example, the comparison information received from the server is obtained by comparing the i-th request parameter information identifier indicated by the i-th data change request with the i-1-th request parameter information identifier indicated by the i-1-th data change request.
And determining an interface capable of collecting data through comparison information capable of representing whether the request parameter information identification is changed. And sending interface identification information to the server.
According to the embodiment of the disclosure, the client determines interface identification information based on the comparison information, and sends the interface identification information to the server to realize real-time interface change feedback.
According to an embodiment of the present disclosure, in response to receiving the alignment information from the server, determining the interface identification information based on the alignment information includes: and marking the request parameter information when the comparison information is characterized as first type request parameter information, so as to obtain the request parameter information with the first identifier. And obtaining interface identification information according to the request parameter information with the first identification.
According to an embodiment of the present disclosure, the comparison information may include a request parameter newly added, a content of the request parameter changed, and the like. The first type of request parameter information may be request parameter content known to both a project developer located at the server and an operation and maintenance person located at the client.
For example, an operation and maintenance person located at the client marks the request parameter information to obtain the request parameter information with the first identifier. The first identification may be an "explicit parameter". And obtaining interface identification information according to the request parameter information with the 'explicit parameter' identification.
According to the embodiment of the disclosure, the request parameter information is marked by characterizing the comparison information as the first type of request parameter information, so that interface identification information is obtained, and the interaction process between the client and the server is more efficient.
According to an embodiment of the present disclosure, in response to receiving the alignment information from the server, determining the interface identification information based on the alignment information includes: and marking the request parameter information in the second type of request parameter information represented by the comparison information to obtain the request parameter information with the second identifier. And performing simulation request according to the request parameter information with the second identifier to obtain a request result. And under the condition that the request result is successfully represented, obtaining interface identification information according to the request parameter information with the second identification.
According to an embodiment of the present disclosure, the second type of request parameter information may be request parameter content unknown to one of a project developer located at the server side and an operation and maintenance person located at the client side. For example, for request parameter information unknown to the operator at the client, reference request parameter content may be given by the operator at the client.
For example, the operation and maintenance personnel at the client marks the request parameter information to obtain the request parameter information with the second identifier. The second identification may be a "fuzzy parameter". And performing simulation request according to the request parameter information with the second identifier to obtain a request result. And under the condition that the request result is successfully represented, obtaining interface identification information according to the request parameter information with the second identification.
For example, under the condition that the characterization of the request result fails, the request parameter information with the second identifier and the i-1 th interface identifier information can be returned to the client, and the operation and maintenance personnel can be modified with the request parameter information, wherein the i-1 th target acquisition information can be acquired through the interface corresponding to the i-1 th interface identifier information. And sending the modified request parameter information to a server, and confirming by a project developer.
For example, in the case that the simulation request is successful by the second identified request parameter information, the server may render the visual sample in the page again, thereby displaying the target change information. Buttons for validation, push-to-update buttons, manually modified bar boxes, etc. may be included in the visualization examples.
According to the embodiment of the disclosure, the simulation request is performed according to the request parameter information with the second identifier, and the interface identification information is obtained according to the request parameter information with the second identifier under the condition that the request result is successfully represented, so that the accuracy of monitored change data is improved.
Fig. 4 schematically illustrates an interaction diagram of a method of monitoring data changes according to an embodiment of the disclosure.
As shown in fig. 4, the method for monitoring data change of this embodiment includes operations S401 to S412.
In operation S401, in response to receiving the ith data change request, the ith request parameter information identifier indicated by the ith data change request is compared with the ith-1 th request parameter information identifier indicated by the ith-1 th data change request, so as to obtain comparison information.
In operation S402, in case that the comparison information characterizes that the i-th request parameter information identification is not identical to the i-1-th request parameter information identification, the comparison information is transmitted to the client.
In operation S403, in response to receiving the comparison information from the server, interface identification information is determined based on the comparison information.
In operation S404, the interface identification information is transmitted to the server.
In operation S405, in the case of transmitting the comparison information to the client, in response to receiving the interface identification information determined by the client based on the comparison information, the interface information corresponding to the target interface is acquired through the target interface corresponding to the interface identification information, thereby obtaining the i-th acquisition information.
In operation S406, field information in the i-th acquisition information is acquired.
In operation S407, the type of field information is determined.
In operation S408, in the case that the field information type is characterized as numerical information, the field information is decomposed into a plurality of preset fields, and a plurality of first target fields are obtained.
In operation S409, in the case where the field information type is characterized as text type information, the field information is broken down into a plurality of second target fields in a predetermined order.
In operation S410, the plurality of first target fields and/or the plurality of second target fields are parsed to obtain the ith target acquisition information.
In operation S411, the ith target acquisition information is compared with the (i-1) th target acquisition information to obtain change information.
In operation S412, the change information is encoded to obtain the target change information.
Fig. 5 schematically illustrates a block diagram of a configuration of a monitoring device for data modification applied to a server according to an embodiment of the present disclosure.
As shown in fig. 5, the monitoring device for data modification in this embodiment is applied to a server 500 and includes a first comparison module 510, an obtaining module 520, and a second comparison module 530.
The first comparison module 510 is configured to compare, in response to receiving the ith data change request, the ith request parameter information identifier indicated by the ith data change request with the ith-1 th request parameter information identifier indicated by the ith-1 th data change request, to obtain comparison information. In an embodiment, the first comparing module 510 may be used to perform the operation S210 described above, which is not described herein.
The obtaining module 520 is configured to, in a case where the comparison information is sent to the client, collect, in response to receiving the interface identification information determined by the client based on the comparison information, interface information corresponding to the target interface through a target interface corresponding to the interface identification information, and obtain ith target collection information. In an embodiment, the obtaining module 520 may be configured to perform the operation S220 described above, which is not described herein.
The second comparison module 530 is configured to compare the ith target acquisition information with the ith-1 th target acquisition information to obtain target change information, where the ith-1 th target acquisition information is obtained by performing data acquisition through an ith-1 st request parameter information identifier indicated by the ith-1 st data change request. In an embodiment, the second comparison module 530 may be used to perform the operation S230 described above, which is not described herein.
According to an embodiment of the present disclosure, the obtaining module 520 includes a first obtaining sub-module, a parsing sub-module. The first obtaining sub-module is used for responding to the received interface identification information determined by the client based on the comparison information under the condition that the comparison information is sent to the client, and acquiring the interface information corresponding to the target interface through the target interface corresponding to the interface identification information to obtain the ith acquired information. And the analysis sub-module is used for analyzing the ith acquisition information to obtain the ith target acquisition information.
According to an embodiment of the disclosure, the parsing sub-module includes an acquisition unit, a determination unit, an analysis unit, a disassembly unit, and a parsing unit. And the acquisition unit is used for acquiring field information in the ith acquisition information. And a determining unit for determining the type of the field information. The analysis unit is used for decomposing the field information into a plurality of preset fields to obtain a plurality of first target fields under the condition that the field information type is characterized as numerical information. And the disassembly unit is used for disassembling the field information into a plurality of second target fields according to a preset sequence in the case that the field information type is characterized as text type information. And the analysis unit is used for analyzing the plurality of first target fields and/or the plurality of second target fields to obtain ith target acquisition information.
According to an embodiment of the disclosure, the apparatus further includes a first transmitting module. The first sending module is used for comparing the ith time request parameter information identifier indicated by the ith time data change request with the ith-1 time request parameter information identifier indicated by the ith-1 time data change request in response to receiving the ith time data change request to obtain comparison information, and sending the comparison information to the client when the comparison information characterizes that the ith time request parameter information identifier is different from the ith-1 time request parameter information identifier.
According to an embodiment of the present disclosure, the second alignment module 530 includes an alignment sub-module and a coding sub-module. And the comparison sub-module is used for comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain change information. And the coding sub-module is used for coding the change information to obtain target change information.
According to an embodiment of the disclosure, the apparatus further includes a first determining module and a generating module. The first determining module is used for determining the change content belonging to the target type in the target change information under the condition that the target change information characterization request parameter is not changed. The generation module is used for generating a cache table according to the change content belonging to the target type, wherein the cache table comprises the acquisition information before and after the change in the ith target acquisition information and the (i-1) th target acquisition information.
According to an embodiment of the present disclosure, the target types include at least one of: uniform resource address, field name, data type.
According to the embodiment of the disclosure, the device further comprises a display module and a deletion module. The display module is used for comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, and displaying the target change information to a user according to the display time period of the target change information. The deleting module is used for deleting the ith target acquisition information cached in the cache table under the condition that the retention time of the target change information exceeds the display time period after the ith target acquisition information is compared with the (i-1) th target acquisition information to obtain the target change information.
It should be noted that, the application of the monitoring device for data change in the embodiment of the present disclosure to the server portion corresponds to the application of the monitoring method for data change in the embodiment of the present disclosure to the server portion, and the application of the monitoring device for data change to the server portion specifically refers to the application of the monitoring method for data change to the server portion, which is not described herein.
Any of the first comparison module 510, the obtaining module 520, and the second comparison module 530 may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules, according to an embodiment of the present disclosure. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the first comparison module 510, the obtaining module 520, and the second comparison module 530 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging the circuits, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the first comparison module 510, the obtaining module 520, and the second comparison module 530 may be at least partially implemented as a computer program module, which when executed, may perform the corresponding functions.
Fig. 6 schematically illustrates a block diagram of a configuration of a monitoring apparatus for data change applied to a client according to an embodiment of the present disclosure.
As shown in fig. 6, the monitoring apparatus for data change of this embodiment is applied to a client 600 including a second determining module 610 and a second transmitting module 620.
The second determining module 610 is configured to determine, in response to receiving the comparison information from the server, interface identification information based on the comparison information. In an embodiment, the second determining module 610 may be configured to perform the operation S310 described above, which is not described herein.
The second sending module 620 is configured to send the interface identification information to the server, so that the server collects interface information corresponding to the interface according to the interface corresponding to the interface identification information, obtains the ith target collection information, and compares the ith target collection information with the (i-1) th target collection information to obtain the target change information. In an embodiment, the second sending module 620 may be configured to perform the operation S320 described above, which is not described herein.
According to an embodiment of the present disclosure, the second determination module 610 includes a first marking sub-module and a second obtaining sub-module. And the first marking sub-module is used for marking the request parameter information when the comparison information is characterized as first type request parameter information, so as to obtain the request parameter information with the first mark. And the second obtaining sub-module is used for obtaining interface identification information according to the request parameter information with the first identification.
According to an embodiment of the present disclosure, the second determination module 610 includes a second tagging sub-module, an analog request sub-module, and a third acquisition sub-module. And the second marking sub-module is used for marking the request parameter information in the second type of request parameter information represented by the comparison information to obtain the request parameter information with the second mark. And the simulation request sub-module is used for performing simulation request according to the request parameter information with the second identifier to obtain a request result. And the third obtaining sub-module is used for obtaining interface identification information according to the request parameter information with the second identification under the condition that the request result is successfully represented.
It should be noted that, the application of the monitoring device for data change in the embodiment of the present disclosure to the client portion and the application of the monitoring method for data change in the embodiment of the present disclosure to the client portion are corresponding, and the application of the monitoring device for data change to the client portion and the description of the monitoring method for data change specific reference to the client portion are applied to the client portion, which is not described herein again.
Any of the second determining module 610 and the second transmitting module 620 may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules according to an embodiment of the present disclosure. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the second determination module 610 and the second transmission module 620 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware, such as any other reasonable way of integrating or packaging the circuits, or in any one of or a suitable combination of any of three implementations of software, hardware, and firmware. Alternatively, at least one of the second determination module 610 and the second transmission module 620 may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
Fig. 7 schematically illustrates a block diagram of an electronic device adapted to implement a monitoring method of data change applied to a server or a client according to an embodiment of the present disclosure.
As shown in fig. 7, an electronic device 700 according to an embodiment of the present disclosure includes a processor 701 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. The processor 701 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 701 may also include on-board memory for caching purposes. The processor 701 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows according to embodiments of the disclosure.
In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. The processor 701 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 702 and/or the RAM 703. Note that the program may be stored in one or more memories other than the ROM 702 and the RAM 703. The processor 701 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 700 may further include an input/output (I/O) interface 705, the input/output (I/O) interface 705 also being connected to the bus 704. The electronic device 700 may also include one or more of the following components connected to an input/output (I/O) interface 705: an input section 706 including a keyboard, a mouse, and the like; an output portion 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 708 including a hard disk or the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to an input/output (I/O) interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is mounted into the storage section 708 as necessary.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: 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), 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 the context of this disclosure, 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. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 702 and/or RAM 703 and/or one or more memories other than ROM 702 and RAM 703 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. When the computer program product runs in a computer system, the program code is used for enabling the computer system to realize the data change monitoring method provided by the embodiment of the disclosure, wherein the data change monitoring method is applied to a server side or a client side.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 701. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed over a network medium in the form of signals, downloaded and installed via the communication section 709, and/or installed from the removable medium 711. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 701. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (16)

1. A monitoring method of data change is applied to a server and comprises the following steps:
responding to the received ith data change request, comparing the ith request parameter information identifier indicated by the ith data change request with the ith-1 request parameter information identifier indicated by the ith-1 data change request to obtain comparison information;
Under the condition that the comparison information is sent to a client, in response to receiving interface identification information determined by the client based on the comparison information, acquiring interface information corresponding to a target interface through the target interface corresponding to the interface identification information, and obtaining ith target acquisition information;
comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, wherein the (i-1) th target acquisition information is obtained by carrying out data acquisition through an (i-1) th request parameter information identifier indicated by the (i-1) th data change request.
2. The method of claim 1, wherein the acquiring, in response to receiving interface identification information determined by the client based on the alignment information in a case where the alignment information is transmitted to the client, interface information corresponding to the target interface through a target interface corresponding to the interface identification information, and the obtaining the i-th target acquisition information includes:
under the condition that the comparison information is sent to a client, in response to receiving interface identification information determined by the client based on the comparison information, acquiring interface information corresponding to a target interface through the target interface corresponding to the interface identification information, and obtaining ith acquired information;
Analyzing the ith acquisition information to obtain the ith target acquisition information.
3. The method of claim 2, wherein the parsing the i-th acquisition information to obtain the i-th target acquisition information comprises:
acquiring field information in the ith acquisition information;
determining the type of the field information;
under the condition that the field information type is characterized as numerical value type information, decomposing the field information into a plurality of preset fields to obtain a plurality of first target fields;
in the case that the field information type is characterized as text type information, disassembling the field information into a plurality of second target fields according to a preset sequence;
and analyzing the plurality of first target fields and/or the plurality of second target fields to obtain ith target acquisition information.
4. The method of claim 1, wherein, in response to receiving the ith data change request, comparing the ith request parameter information identifier indicated by the ith data change request with the ith-1 request parameter information identifier indicated by the ith-1 data change request, to obtain comparison information, the method further comprises:
And sending the comparison information to a client under the condition that the comparison information characterizes that the ith request parameter information identifier is different from the (i-1) request parameter information identifier.
5. A method according to claim 1 or 3, wherein comparing the i-th target acquisition information with the i-1-th target acquisition information to obtain target change information comprises:
comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain change information;
and encoding the change information to obtain target change information.
6. The method of claim 1, further comprising:
determining the change content belonging to the target type in the target change information under the condition that the target change information characterization request parameters are not changed;
generating a cache table according to the change content belonging to the target type, wherein the cache table comprises the acquisition information before and after the change in the ith target acquisition information and the (i-1) th target acquisition information.
7. The method of claim 6, wherein the target type comprises at least one of: uniform resource address, field name, data type.
8. The method of claim 1, wherein after comparing the i-th target acquisition information with the i-1 st target acquisition information to obtain target change information, the method further comprises:
displaying the target change information to a user according to the display time period of the target change information;
and deleting the ith target acquisition information cached in the cache table under the condition that the retention time of the target change information exceeds the display time period.
9. A monitoring method of data change is applied to a client, and comprises the following steps:
in response to receiving comparison information from a server, determining interface identification information based on the comparison information;
and sending the interface identification information to a server side so that the server side can collect interface information corresponding to the interface according to the interface corresponding to the interface identification information to obtain ith target collection information, and comparing the ith target collection information with the (i-1) th target collection information to obtain target change information.
10. The method of claim 9, wherein the determining interface identification information based on the alignment information in response to receiving the alignment information from the server comprises:
Marking the request parameter information when the comparison information is characterized as first type request parameter information, so as to obtain request parameter information with a first identifier;
and obtaining the interface identification information according to the request parameter information with the first identification.
11. The method of claim 9, wherein the determining interface identification information based on the alignment information in response to receiving the alignment information from the server comprises:
the comparison information represents second-type request parameter information, and the request parameter information is marked to obtain request parameter information with a second identifier;
performing simulation request according to the request parameter information with the second identifier to obtain a request result;
and under the condition that the request result is successfully represented, obtaining the interface identification information according to the request parameter information with the second identification.
12. A monitoring device for data change is applied to a server and comprises:
the first comparison module is used for responding to the received ith data change request, comparing the ith request parameter information identifier indicated by the ith data change request with the ith-1 request parameter information identifier indicated by the ith-1 data change request to obtain comparison information;
The acquisition module is used for acquiring interface information corresponding to the target interface through the target interface corresponding to the interface identification information in response to receiving the interface identification information determined by the client based on the comparison information under the condition that the comparison information is sent to the client, so as to obtain ith target acquisition information;
the second comparison module is used for comparing the ith target acquisition information with the (i-1) th target acquisition information to obtain target change information, wherein the (i-1) th target acquisition information is obtained by carrying out data acquisition through an (i-1) th request parameter information identifier indicated by the (i-1) th data change request.
13. A monitoring device for data change is applied to a client, and comprises:
the second determining module is used for determining interface identification information based on the comparison information in response to receiving the comparison information from the server;
the second sending module is used for sending the interface identification information to the server side so that the server side can collect interface information corresponding to the interface according to the interface corresponding to the interface identification information to obtain ith target collection information, and comparing the ith target collection information with the (i-1) th target collection information to obtain target change information.
14. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-8, or any of claims 9-11.
15. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to perform the method according to any of claims 1 to 8 or any of claims 9 to 11.
16. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8, or any one of claims 9 to 11.
CN202311140311.3A 2023-09-05 2023-09-05 Method, device, equipment and storage medium for monitoring data change Pending CN117149573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311140311.3A CN117149573A (en) 2023-09-05 2023-09-05 Method, device, equipment and storage medium for monitoring data change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311140311.3A CN117149573A (en) 2023-09-05 2023-09-05 Method, device, equipment and storage medium for monitoring data change

Publications (1)

Publication Number Publication Date
CN117149573A true CN117149573A (en) 2023-12-01

Family

ID=88886534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311140311.3A Pending CN117149573A (en) 2023-09-05 2023-09-05 Method, device, equipment and storage medium for monitoring data change

Country Status (1)

Country Link
CN (1) CN117149573A (en)

Similar Documents

Publication Publication Date Title
CN115904527A (en) Data processing method, device, equipment and medium
CN117149573A (en) Method, device, equipment and storage medium for monitoring data change
CN115422202A (en) Service model generation method, service data query method, device and equipment
CN115203178A (en) Data quality inspection method and device, electronic equipment and storage medium
CN114281704A (en) Website testing method and device, electronic equipment and medium
CN113487224A (en) Content processing method, apparatus, device, medium, and program product
CN115292440A (en) Remote guidance method, apparatus, device and medium
CN114490130A (en) Message subscription method and device, electronic equipment and storage medium
CN116401138B (en) Operating system running state detection method and device, electronic equipment and medium
CN116107851A (en) Simulation test method, device, equipment and storage medium
CN117573478A (en) Performance monitoring method, device, apparatus, medium and program product
CN115687284A (en) Information processing method, device, equipment and storage medium
CN118331655A (en) Data visualization method, device, equipment, medium and product of message center
CN114756441A (en) Method, device, equipment and medium for processing logs of host system
CN117130812A (en) System fault detection method, apparatus, device, medium and program product
CN118428918A (en) Calendar generation method, device, equipment, medium and program product
CN114861054A (en) Information acquisition method and device, electronic equipment and storage medium
CN117170767A (en) Index acquisition method, device, equipment and storage medium
CN117176576A (en) Network resource changing method, device, equipment and storage medium
CN114239542A (en) File batch detection method, device, equipment medium and program product
CN113849185A (en) Program management method, program management apparatus, electronic device, and storage medium
CN113946756A (en) Information recommendation method, device, equipment, medium and program product
CN114169984A (en) Method, system, apparatus, medium and product for funds release
CN115629983A (en) Test case set generation method, device, equipment and medium
CN118519813A (en) Service resource detection method and device, electronic equipment, storage medium and computer program product

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