CN113962328A - Data comparison analysis method, device and equipment - Google Patents

Data comparison analysis method, device and equipment Download PDF

Info

Publication number
CN113962328A
CN113962328A CN202111342756.0A CN202111342756A CN113962328A CN 113962328 A CN113962328 A CN 113962328A CN 202111342756 A CN202111342756 A CN 202111342756A CN 113962328 A CN113962328 A CN 113962328A
Authority
CN
China
Prior art keywords
data
comparison
data parameter
analysis result
parameter
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
CN202111342756.0A
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.)
Shanghai IceKredit Inc
Original Assignee
Shanghai IceKredit Inc
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 Shanghai IceKredit Inc filed Critical Shanghai IceKredit Inc
Priority to CN202111342756.0A priority Critical patent/CN113962328A/en
Publication of CN113962328A publication Critical patent/CN113962328A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a data comparison analysis method, a device and equipment, comprising the following steps: acquiring a data object to be analyzed and determining a plurality of associated data objects; determining contrast key information for each dimension information in a preset contrast dimension list aiming at a data object to be analyzed; calling a browser application program interface to obtain a first data message of a data object to be analyzed aiming at the comparison key information and a second data message of each associated data object aiming at the comparison key information; analyzing the first data message to obtain a first data parameter, and analyzing the second data message to obtain a second data parameter; according to the relation between each first data parameter and each corresponding second data parameter, determining the comparative analysis result of the data object to be analyzed and each associated data object and the difference value for representing the size of the relation feature; and generating a correlation analysis result according to the comparison analysis result and the difference value. The difficulty and the misjudgment risk of artificial analysis statistics can be reduced, and the analysis efficiency is improved.

Description

Data comparison analysis method, device and equipment
Technical Field
The present disclosure relates to the field of data analysis technologies, and in particular, to a data comparison analysis method, apparatus, and device.
Background
The enterprise contrastive analysis is a process of comprehensively analyzing enterprises with the same properties and similar sales (manufacturing) commodities from multiple dimensions such as organization architecture, business scope and the like. The method has important significance for commodity improvement, price control and the like, and has strategic significance for improving commodity value. In the related technology, analysis data is collected aiming at enterprises based on business requirements manually, and competitive product data is collated, compared and analyzed through methods such as list analysis and the like to obtain a comparison analysis result.
The manual comparison and analysis mode has the advantages that the acquisition response is slow, meanwhile, the manual comparison and analysis has strong subjective influence, the sorting and analysis workload is large, and the misjudgment risk is high. Moreover, if the data volume is insufficient, the deviation between the analysis result and the real result is large, and the business development decision is influenced. In addition, a large amount of data needs to be collected, great manpower, material resources and financial resources are required to be invested, and the cost is high.
Disclosure of Invention
In view of the above technical problems, an object of the present disclosure is to provide a method, an apparatus and a device for data comparative analysis, so as to at least partially solve the technical problems in the related art.
In order to achieve the above object, in a first aspect of the embodiments of the present disclosure, a data contrast analysis method is provided, where the method includes:
acquiring a data object to be analyzed, and determining a plurality of associated data objects aiming at the data object to be analyzed;
determining comparison key information for each dimension information in a preset comparison dimension list aiming at the data object to be analyzed;
calling a browser application program interface to acquire a first data message of the data object to be analyzed aiming at the comparison key information and a second data message of each associated data object aiming at the comparison key information;
analyzing the first data message to obtain a first data parameter of the data object to be analyzed for the comparison key information, and analyzing the second data message to obtain a second data parameter of each associated data object for the comparison key information;
determining a comparative analysis result of the data object to be analyzed and each associated data object and a difference value for representing the magnitude of the relationship characteristic according to the relationship between each first data parameter and each corresponding second data parameter;
and generating a correlation analysis result aiming at the data object to be analyzed according to the comparison analysis result and the difference value.
Optionally, the determining, according to the relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object includes:
determining whether the first data parameter and the second data parameter are equal in the presence of both the first data parameter and the second data parameter;
under the condition that the first data parameter is equal to the second data parameter, determining that a comparison analysis result is a first comparison analysis result, and executing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used for representing a consistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is of a target character string type, and finishing the comparison step under the condition that the first data parameter is of the target character string type; alternatively, the first and second electrodes may be,
determining that the difference value is 0 if the first data parameter is not the target string type.
Optionally, the method further comprises:
under the condition that the first data parameter is not equal to the second data parameter, determining that the comparison analysis result is a second comparison analysis result, and executing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used for representing an inconsistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a first difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
Optionally, the determining, according to the relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object includes:
under the condition that the first data parameter exists and the second data parameter does not exist, determining that the comparative analysis result is a third comparative analysis result, and executing the operation of adding 1 to the third comparative analysis result;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a second difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
Optionally, the determining, according to the relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object includes:
under the condition that the first data parameter does not exist and the second data parameter exists, determining that the comparative analysis result is a fourth comparative analysis result, and executing the operation of adding 1 to the fourth comparative analysis result;
determining the difference value as a third difference value between the first data parameter and the second data parameter.
Optionally, the determining, according to the relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object includes:
and under the condition that the first data parameter and the second data parameter do not exist, determining that the comparison analysis result is a fifth comparison analysis result, wherein the fifth comparison analysis result is used for representing the comparison result without comparison.
In a second aspect of the embodiments of the present disclosure, there is provided a data contrast analysis apparatus, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a data object to be analyzed and determining a plurality of associated data objects aiming at the data object to be analyzed;
the first determination module is used for determining comparison key information aiming at each dimension information in a preset comparison dimension list aiming at the data object to be analyzed;
a calling module, configured to call a browser application program interface, to obtain a first data packet of the data object to be analyzed for the comparison key information and a second data packet of each associated data object for the comparison key information;
the analysis module is used for analyzing the first data message to obtain a first data parameter of the data object to be analyzed aiming at the comparison key information, and analyzing the second data message to obtain a second data parameter of each associated data object aiming at the comparison key information;
a second determining module, configured to determine, according to a relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object, and a difference value used for representing a magnitude of a relationship feature;
and the generation module is used for generating a correlation analysis result aiming at the data object to be analyzed according to the comparison analysis result and the difference value.
Optionally, the second determining module is configured to:
determining whether the first data parameter and the second data parameter are equal in the presence of both the first data parameter and the second data parameter;
under the condition that the first data parameter is equal to the second data parameter, determining that a comparison analysis result is a first comparison analysis result, and executing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used for representing a consistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is of a target character string type, and finishing the comparison step under the condition that the first data parameter is of the target character string type; alternatively, the first and second electrodes may be,
determining that the difference value is 0 if the first data parameter is not the target string type.
Optionally, the second determining module is further configured to:
under the condition that the first data parameter is not equal to the second data parameter, determining that the comparison analysis result is a second comparison analysis result, and executing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used for representing an inconsistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a first difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
Optionally, the second determining module is configured to:
under the condition that the first data parameter exists and the second data parameter does not exist, determining that the comparative analysis result is a third comparative analysis result, and executing the operation of adding 1 to the third comparative analysis result;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a second difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
Optionally, the second determining module is configured to:
under the condition that the first data parameter does not exist and the second data parameter exists, determining that the comparative analysis result is a fourth comparative analysis result, and executing the operation of adding 1 to the fourth comparative analysis result;
determining the difference value as a third difference value between the first data parameter and the second data parameter.
Optionally, the second determining module is configured to:
and under the condition that the first data parameter and the second data parameter do not exist, determining that the comparison analysis result is a fifth comparison analysis result, wherein the fifth comparison analysis result is used for representing the comparison result without comparison.
In a second aspect of the embodiments of the present disclosure, an electronic device is provided, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any one of the first aspect.
Through the technical scheme, the following technical effects can be at least achieved:
obtaining a data object to be analyzed and determining a plurality of associated data objects; determining contrast key information for each dimension information in a preset contrast dimension list aiming at a data object to be analyzed; calling a browser application program interface to obtain a first data message of a data object to be analyzed aiming at the comparison key information and a second data message of each associated data object aiming at the comparison key information; analyzing the first data message to obtain a first data parameter, and analyzing the second data message to obtain a second data parameter; according to the relation between each first data parameter and each corresponding second data parameter, determining the comparative analysis result of the data object to be analyzed and each associated data object and the difference value for representing the size of the relation feature; and generating a correlation analysis result aiming at the data object to be analyzed according to the comparison analysis result and the difference value. The difficulty and the misjudgment risk of artificial analysis statistics can be reduced, and the analysis efficiency is improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart of a method of data contrast analysis according to an exemplary illustration.
Fig. 2 is a flowchart illustrating an implementation of step S15 of fig. 1 according to an example.
Fig. 3 is a block diagram illustrating a data contrast analysis apparatus according to an exemplary embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
It should be noted that in the present disclosure, the terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for similar purposes and are not necessarily to be construed as performing method steps in a particular order or sequence.
The present disclosure provides a data contrast analysis method, and fig. 1 is a flow chart of a data contrast analysis method according to an exemplary illustration, the method comprising the following steps.
In step S11, a data object to be analyzed is acquired, and a plurality of associated data objects are determined for the data object to be analyzed;
the specific address, data comparison analysis can be, for example, commodity data, registered capital data, business scope data, business deadline data, illegal behavior data, illegal type data and the like among competitive enterprises. Thus, the data object to be analyzed may refer to an enterprise to be analyzed, and the associated data object corresponds to a competing enterprise.
In step S12, determining comparison key information for each dimension information in a preset comparison dimension list for the data object to be analyzed;
specifically, the preset comparison dimension list may include a plurality of dimension information such as business and business basic information, stockholder information, main personnel, branch offices, and administrative penalties. In turn, a plurality of comparison key information may be included in each dimension information. For example, the basic information of the industry and the commerce can include a plurality of comparison key information such as enterprise type, registration time, registration capital, operation scope, business cutoff time and the like. Also for example, a penalty text number, a type of violation, a penalty date, a penalty amount, etc. may be included in the administrative penalty.
Therefore, when the data comparison analysis is carried out on the enterprise to be analyzed, one or more pieces of comparison key information can be selected from each dimension information in a traversal mode for comparison. For example, after selecting one or more pieces of comparative key information from the business basic information, one or more pieces of comparative key information are selected from the administrative penalties.
In step S13, a browser application program interface is called to obtain a first data packet of the data object to be analyzed for the comparison key information and a second data packet of each associated data object for the comparison key information;
optionally, in the case of obtaining authorization, a browser application program interface WebAPI of the associated data object is called to obtain a second data packet of each associated data object for the comparison key information, and in the case of obtaining authorization, a browser application program interface WebAPI of the data object to be analyzed is called to obtain a first data packet of the data object to be analyzed for the comparison key information.
In one embodiment, the difficulty in obtaining the second data messages of each associated data object for the comparison key information from the browser application program interface WebAPI of the associated data object is high, all the data messages of the associated data object can be directly obtained, and then the second data messages of each associated data object for the comparison key information are obtained in a screening manner.
In step S14, parsing the first data packet to obtain a first data parameter of the data object to be analyzed for the comparison key information, and parsing the second data packet to obtain a second data parameter of each associated data object for the comparison key information;
optionally, the first data message is analyzed to obtain a first parameter set, and similarly, the second data messages of each competitive enterprise are analyzed to obtain a corresponding second parameter set. And according to the comparison key information of the enterprise to be analyzed, selecting corresponding first data parameters from the first parameter set, traversing the second parameter set of each competitive enterprise, and obtaining second data parameters of each competitive enterprise aiming at the comparison key information.
Optionally, the key value pair is constructed by taking the contrast key information as a key value and the first data parameter as a value.
In step S15, determining a comparative analysis result between the data object to be analyzed and each of the associated data objects and a difference value used for characterizing a magnitude of a relationship feature according to a relationship between each of the first data parameters and each of the corresponding second data parameters;
in step S16, a correlation analysis result for the data object to be analyzed is generated according to the comparison analysis result and the difference value.
Optionally, one piece of comparison key information of the enterprise to be analyzed is used as a target object, corresponding first data parameters are selected from the first parameter set, corresponding second data parameters are selected from the second parameter sets of the competitive enterprises respectively, comparison is performed in sequence, and after comparison of one piece of comparison key information is completed, a next target object is selected from the comparison key information which is not selected as the target object.
Optionally, the result of the correlation analysis is sent to the relevant personnel by an email.
By adopting the technical scheme, the standard data message is acquired by calling the browser application program interface, the machine analysis and comparison are easy, the comparison analysis efficiency is improved, the correlation analysis result is generated by traversing and analyzing the relation and the difference value between the first data parameter and each second data parameter, the difficulty and the misjudgment risk of artificial analysis statistics can be reduced, and the analysis efficiency is improved.
In a possible implementation scenario, fig. 2 is a flowchart for implementing step S15 in fig. 1, where in step S15, the determining a comparative analysis result between the data object to be analyzed and each associated data object according to a relationship between each first data parameter and each corresponding second data parameter includes:
in step S151, in a case where both the first data parameter and the second data parameter exist, determining whether the first data parameter and the second data parameter are equal;
in step S152, when the first data parameter is equal to the second data parameter, determining that a comparison analysis result is a first comparison analysis result, and performing an operation of adding 1 to the first comparison analysis result, where the first comparison analysis result is used to represent a consistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
in step S153, determining whether the first data parameter is a target string type, and in the case that the first data parameter is the target string type, ending the comparing step; alternatively, the first and second electrodes may be,
in step S154, in the case that the first data parameter is not the target character string type, it is determined that the difference value is 0.
In one possible approach, the method further comprises:
under the condition that the first data parameter is not equal to the second data parameter, determining that the comparison analysis result is a second comparison analysis result, and executing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used for representing an inconsistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a first difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
In a possible solution, the determining, according to a relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object includes:
under the condition that the first data parameter exists and the second data parameter does not exist, determining that the comparative analysis result is a third comparative analysis result, and executing the operation of adding 1 to the third comparative analysis result;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a second difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
In a possible solution, the determining, according to a relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object includes:
under the condition that the first data parameter does not exist and the second data parameter exists, determining that the comparative analysis result is a fourth comparative analysis result, and executing the operation of adding 1 to the fourth comparative analysis result;
determining the difference value as a third difference value between the first data parameter and the second data parameter.
In a possible solution, the determining, according to a relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object includes:
and under the condition that the first data parameter and the second data parameter do not exist, determining that the comparison analysis result is a fifth comparison analysis result, wherein the fifth comparison analysis result is used for representing the comparison result without comparison.
On the basis of the above-described embodiment, the following describes step S15 by way of a detailed embodiment, and first determines whether or not the first data parameter value1 and the second data parameter value2 exist, determines whether or not the first data parameter and the second data parameter are equal in the case where both the first data parameter and the second data parameter exist, determines that the comparative analysis result is the first comparative analysis result in the case where the first data parameter and the second data parameter are equal, and performs the first comparative analysis result + +.
Further, whether the type of the first data parameter is a String type is judged, the String type is a target character String type, if the type of the first data parameter is the String type, the comparison step is ended, otherwise, the difference value is determined to be 0, namely, value1-value2 is 0, and the next information is continuously returned and compared.
Judging whether value1 is of String type or not under the condition that the first data parameter exists and the second data parameter does not exist, and if the recording result is that I has no competition, I has no + +; otherwise, recording whether the competition exists or not, and whether the difference value is value1-value2, and continuing to return to compare the next message.
And when the first data parameter does not exist and the second data parameter exists, recording that the recording result is that the recording result does not compete for existence, does not compete for + +, has a phase difference value of 1-value2, and continuously returning and comparing the next information.
Based on the same inventive concept, the present disclosure also provides a data comparison and analysis apparatus for performing the steps of the data comparison and analysis method provided by the above method embodiments, and the apparatus may implement the data comparison and analysis method in a software, hardware or a combination of the two. Fig. 3 is a block diagram illustrating a data contrast analysis apparatus 100 according to an exemplary embodiment, where, as shown in fig. 3, the apparatus 100 includes: the system comprises an acquisition module 110, a first determination module 120, a calling module 130, a parsing module 140, a second determination module 150 and a generation module 160.
The acquiring module 110 is configured to acquire a data object to be analyzed, and determine a plurality of associated data objects for the data object to be analyzed;
a first determining module 120, configured to determine, for the data object to be analyzed, comparison key information for each dimension information in a preset comparison dimension list;
a calling module 130, configured to call a browser application program interface, and obtain a first data packet of the data object to be analyzed for the comparison key information and a second data packet of each associated data object for the comparison key information;
the parsing module 140 is configured to parse the first data packet to obtain a first data parameter of the data object to be analyzed for the comparison key information, and parse the second data packet to obtain a second data parameter of each associated data object for the comparison key information;
a second determining module 150, configured to determine, according to a relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object and a difference value used for representing a magnitude of a relationship feature;
a generating module 160, configured to generate a correlation analysis result for the data object to be analyzed according to the comparison analysis result and the difference value.
Optionally, the second determining module 150 is configured to:
determining whether the first data parameter and the second data parameter are equal in the presence of both the first data parameter and the second data parameter;
under the condition that the first data parameter is equal to the second data parameter, determining that a comparison analysis result is a first comparison analysis result, and executing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used for representing a consistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is of a target character string type, and finishing the comparison step under the condition that the first data parameter is of the target character string type; alternatively, the first and second electrodes may be,
determining that the difference value is 0 if the first data parameter is not the target string type.
Optionally, the second determining module 150 is further configured to:
under the condition that the first data parameter is not equal to the second data parameter, determining that the comparison analysis result is a second comparison analysis result, and executing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used for representing an inconsistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a first difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
Optionally, the second determining module 150 is configured to:
under the condition that the first data parameter exists and the second data parameter does not exist, determining that the comparative analysis result is a third comparative analysis result, and executing the operation of adding 1 to the third comparative analysis result;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a second difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
Optionally, the second determining module 150 is configured to:
under the condition that the first data parameter does not exist and the second data parameter exists, determining that the comparative analysis result is a fourth comparative analysis result, and executing the operation of adding 1 to the fourth comparative analysis result;
determining the difference value as a third difference value between the first data parameter and the second data parameter.
Optionally, the second determining module 150 is configured to:
and under the condition that the first data parameter and the second data parameter do not exist, determining that the comparison analysis result is a fifth comparison analysis result, wherein the fifth comparison analysis result is used for representing the comparison result without comparison.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that, for convenience and brevity of description, the embodiments described in the specification all belong to the preferred embodiments, and the related parts are not necessarily essential to the present invention, for example, the second determining module 150 and the generating module 160 may be independent devices or may be the same device when being implemented specifically, and the disclosure is not limited thereto.
Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of any of the methods.
An embodiment of the present disclosure further provides an electronic device, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of any of the methods.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A method for comparative data analysis, the method comprising:
acquiring a data object to be analyzed, and determining a plurality of associated data objects aiming at the data object to be analyzed;
determining comparison key information for each dimension information in a preset comparison dimension list aiming at the data object to be analyzed;
calling a browser application program interface to acquire a first data message of the data object to be analyzed aiming at the comparison key information and a second data message of each associated data object aiming at the comparison key information;
analyzing the first data message to obtain a first data parameter of the data object to be analyzed for the comparison key information, and analyzing the second data message to obtain a second data parameter of each associated data object for the comparison key information;
determining a comparative analysis result of the data object to be analyzed and each associated data object and a difference value for representing the magnitude of the relationship characteristic according to the relationship between each first data parameter and each corresponding second data parameter;
and generating a correlation analysis result aiming at the data object to be analyzed according to the comparison analysis result and the difference value.
2. The method of claim 1, wherein determining the comparative analysis result of the data object to be analyzed and each of the associated data objects according to the relationship between each of the first data parameters and the corresponding second data parameters comprises:
determining whether the first data parameter and the second data parameter are equal in the presence of both the first data parameter and the second data parameter;
under the condition that the first data parameter is equal to the second data parameter, determining that a comparison analysis result is a first comparison analysis result, and executing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used for representing a consistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is of a target character string type, and finishing the comparison step under the condition that the first data parameter is of the target character string type; alternatively, the first and second electrodes may be,
determining that the difference value is 0 if the first data parameter is not the target string type.
3. The method of claim 2, further comprising:
under the condition that the first data parameter is not equal to the second data parameter, determining that the comparison analysis result is a second comparison analysis result, and executing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used for representing an inconsistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a first difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
4. The method of claim 1, wherein determining the comparative analysis result of the data object to be analyzed and each of the associated data objects according to the relationship between each of the first data parameters and the corresponding second data parameters comprises:
under the condition that the first data parameter exists and the second data parameter does not exist, determining that the comparative analysis result is a third comparative analysis result, and executing the operation of adding 1 to the third comparative analysis result;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a second difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
5. The method of claim 1, wherein determining the comparative analysis result of the data object to be analyzed and each of the associated data objects according to the relationship between each of the first data parameters and the corresponding second data parameters comprises:
under the condition that the first data parameter does not exist and the second data parameter exists, determining that the comparative analysis result is a fourth comparative analysis result, and executing the operation of adding 1 to the fourth comparative analysis result;
determining the difference value as a third difference value between the first data parameter and the second data parameter.
6. The method of claim 1, wherein determining the comparative analysis result of the data object to be analyzed and each of the associated data objects according to the relationship between each of the first data parameters and the corresponding second data parameters comprises:
and under the condition that the first data parameter and the second data parameter do not exist, determining that the comparison analysis result is a fifth comparison analysis result, wherein the fifth comparison analysis result is used for representing the comparison result without comparison.
7. A data contrast analysis apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a data object to be analyzed and determining a plurality of associated data objects aiming at the data object to be analyzed;
the first determination module is used for determining comparison key information aiming at each dimension information in a preset comparison dimension list aiming at the data object to be analyzed;
a calling module, configured to call a browser application program interface, to obtain a first data packet of the data object to be analyzed for the comparison key information and a second data packet of each associated data object for the comparison key information;
the analysis module is used for analyzing the first data message to obtain a first data parameter of the data object to be analyzed aiming at the comparison key information, and analyzing the second data message to obtain a second data parameter of each associated data object aiming at the comparison key information;
a second determining module, configured to determine, according to a relationship between each first data parameter and each corresponding second data parameter, a comparative analysis result between the data object to be analyzed and each associated data object, and a difference value used for representing a magnitude of a relationship feature;
and the generation module is used for generating a correlation analysis result aiming at the data object to be analyzed according to the comparison analysis result and the difference value.
8. The apparatus of claim 7, wherein the second determining module is configured to:
determining whether the first data parameter and the second data parameter are equal in the presence of both the first data parameter and the second data parameter;
under the condition that the first data parameter is equal to the second data parameter, determining that a comparison analysis result is a first comparison analysis result, and executing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used for representing a consistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is of a target character string type, and finishing the comparison step under the condition that the first data parameter is of the target character string type; alternatively, the first and second electrodes may be,
determining that the difference value is 0 if the first data parameter is not the target string type.
9. The apparatus of claim 8, wherein the second determining module is further configured to:
under the condition that the first data parameter is not equal to the second data parameter, determining that the comparison analysis result is a second comparison analysis result, and executing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used for representing an inconsistency result of comparison key information corresponding to the first data parameter and comparison key information corresponding to the second data parameter;
determining whether the first data parameter is the target character string type, and finishing the comparison step under the condition that the first data parameter is the target character string type; alternatively, the first and second electrodes may be,
determining the difference value as a first difference value between the first data parameter and the second data parameter if the first data parameter is not the target string type.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 6.
CN202111342756.0A 2021-11-12 2021-11-12 Data comparison analysis method, device and equipment Pending CN113962328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111342756.0A CN113962328A (en) 2021-11-12 2021-11-12 Data comparison analysis method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111342756.0A CN113962328A (en) 2021-11-12 2021-11-12 Data comparison analysis method, device and equipment

Publications (1)

Publication Number Publication Date
CN113962328A true CN113962328A (en) 2022-01-21

Family

ID=79470374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111342756.0A Pending CN113962328A (en) 2021-11-12 2021-11-12 Data comparison analysis method, device and equipment

Country Status (1)

Country Link
CN (1) CN113962328A (en)

Similar Documents

Publication Publication Date Title
CN106294120B (en) Method, apparatus and computer program product for testing code
US8010844B2 (en) File mutation method and system using file section information and mutation rules
US9483385B2 (en) Method, program, and system for generating test cases
CN112669138B (en) Data processing method and related equipment
US9134997B2 (en) Methods for assessing deliverable product quality and devices thereof
CN110569159A (en) Baffle generation method, device, equipment and computer storage medium
CN112801773A (en) Enterprise risk early warning method, device, equipment and storage medium
CN112132548A (en) Approval transfer method and device, electronic equipment and storage medium
CN112612813A (en) Test data generation method and device
CN111179066A (en) Batch processing method and device of service data, server and storage medium
Gharib et al. Modeling and reasoning about information quality requirements
CN112711640A (en) Method and device for configuring business handling process
CN113010791B (en) Search result display processing method and device and computer readable storage medium
CN112433936A (en) Test method, test device and storage medium
CN113962328A (en) Data comparison analysis method, device and equipment
CN111427900B (en) Label library updating method, device, equipment and readable storage medium
CN114722401A (en) Equipment safety testing method, device, equipment and storage medium
CN113688134A (en) Visual variable management method, system and equipment based on multidimensional data
CN108235324B (en) Short message template testing method and server
CN112306850A (en) Test case generation method and device and storage medium
CN111008086A (en) Anti-fraud policy optimization method based on message queue
CN112799956B (en) Asset identification capability test method, device and system device
CN115080401A (en) Automatic testing method and related device
KR101708796B1 (en) Evaluation method and apparatus for prioritizing project of planning
CN108230158B (en) Claims settlement testing method and device

Legal Events

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