Data comparison and analysis method, device and equipment
Through the automated data comparison analysis method, the comparative dimension information of enterprise data objects is obtained and analyzed, and analysis results are generated, which solves the problems of low manual analysis efficiency and high risk of misjudgment in the existing technology, and realizes efficient and accurate enterprise comparative analysis. .
Patent Information
- Application Number
- CN202111342756.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-12
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-11-12
AI Technical Summary
In the existing technology, enterprise comparative analysis relies on manual operations, resulting in slow data collection, subjective effects, heavy workload, high risk of misjudgment, insufficient data volume affecting decision-making, and high costs.
Provides a data comparison and analysis method that determines the key information in the comparison dimension by obtaining the data object to be analyzed and the associated data object, calls the browser application program interface to obtain the data message, parses the parameters, generates the comparison analysis result, and represents the size of the relationship characteristics The difference value reduces the difficulty of manual analysis and the risk of misjudgment.
It improves the efficiency of analysis, reduces the difficulty of manual analysis and the risk of misjudgment, reduces the investment of manpower, material and financial resources, and improves the accuracy of analysis results.
Smart Images

Figure CN113962328B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data analysis, and in particular, to a data comparison and analysis method, device and equipment. Background Art
[0002] Enterprise comparative analysis is the process of comprehensively analyzing enterprises of the same nature and similar sales (manufacturing) products from multiple dimensions such as organizational structure and business scope. It is of great significance to product improvement and price setting, and has strategic significance for improving product value. In related technologies, data is collected and analyzed for enterprises based on business needs, and competitive product data is sorted, compared, and analyzed through methods such as list analysis to obtain comparative analysis results.
[0003] This manual comparative analysis method has a slow collection response, and manual comparative analysis has a strong subjective influence, a large workload for sorting and analysis, and a high risk of misjudgment. In addition, if the amount of data is insufficient, the analysis results will deviate greatly from the actual results, affecting business development decisions. In addition, the need to collect a large amount of data will inevitably require a large investment of manpower, material resources and financial resources, resulting in high costs. Summary of the invention
[0004] In view of the above technical problems, the purpose of the present disclosure is to provide a data comparison and analysis method, device and equipment to at least partially solve the technical problems existing in the related art.
[0005] In order to achieve the above-mentioned purpose, a first aspect of an embodiment of the present disclosure provides a data comparison and analysis method, the method comprising:
[0006] Acquire a data object to be analyzed, and determine a plurality of associated data objects for the data object to be analyzed;
[0007] For the data object to be analyzed, determining comparison key information for each dimension information in a preset comparison dimension list;
[0008] Calling a browser application program interface to obtain a first data message of the data object to be analyzed for the key comparison information and a second data message of each of the associated data objects for the key comparison information;
[0009] Parsing the first data message to obtain a first data parameter of the data object to be analyzed for the comparison key information, and parsing the second data message to obtain a second data parameter of each of the associated data objects for the comparison key information;
[0010] Determining, according to the relationship between each of the first data parameters and the corresponding each of the second data parameters, a comparative analysis result between the data object to be analyzed and each of the associated data objects and a difference value for characterizing the size of the relationship feature;
[0011] Generate an association analysis result for the data object to be analyzed according to the comparison analysis result and the difference value.
[0012] Optionally, determining the comparative analysis result between 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 each of the second data parameters includes:
[0013] In the case where both the first data parameter and the second data parameter exist, determining whether the first data parameter is equal to the second data parameter;
[0014] When the first data parameter is equal to the second data parameter, determining the comparison analysis result as the first comparison analysis result, and performing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used to characterize the consistency result of the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0015] determining whether the first data parameter is of a target string type, and terminating the comparison step if the first data parameter is of the target string type; or,
[0016] When the first data parameter is not of the target character string type, the difference value is determined to be 0.
[0017] Optionally, the method further comprises:
[0018] In the case where 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 performing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used to characterize an inconsistency result between the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0019] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0020] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a first difference between the first data parameter and the second data parameter.
[0021] Optionally, determining the comparative analysis result between 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 each of the second data parameters includes:
[0022] In the case where 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 performing an operation of adding 1 to the third comparative analysis result;
[0023] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0024] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a second difference between the first data parameter and the second data parameter.
[0025] Optionally, determining the comparative analysis result between 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 each of the second data parameters includes:
[0026] In the case where 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 performing an operation of adding 1 to the fourth comparative analysis result;
[0027] The difference value is determined to be a third difference between the first data parameter and the second data parameter.
[0028] Optionally, determining the comparative analysis result between 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 each of the second data parameters includes:
[0029] In the case that both the first data parameter and the second data parameter do not exist, the comparison and analysis result is determined to be the fifth comparison and analysis result, and the fifth comparison and analysis result is used to characterize that there is no comparison result in this comparison.
[0030] According to a second aspect of the present disclosure, a data comparison and analysis device is provided, the device comprising:
[0031] An acquisition module, used to acquire a data object to be analyzed, and determine a plurality of associated data objects for the data object to be analyzed;
[0032] A first determination module is used to determine, for the data object to be analyzed, comparison key information for each dimension information in a preset comparison dimension list;
[0033] A calling module, used for calling a browser application program interface to obtain a first data message of the data object to be analyzed for the key comparison information and a second data message of each of the associated data objects for the key comparison information;
[0034] A parsing module, configured to parse the first data message to obtain a first data parameter of the data object to be analyzed for the comparison key information, and parse the second data message to obtain a second data parameter of each of the associated data objects for the comparison key information;
[0035] A second determination module, configured to determine, according to the relationship between each of the first data parameters and the corresponding each of the second data parameters, a comparative analysis result between the data object to be analyzed and each of the associated data objects and a difference value for characterizing the size of a relationship feature;
[0036] A generating module is used to generate an association analysis result for the data object to be analyzed according to the comparative analysis result and the difference value.
[0037] Optionally, the second determining module is used to:
[0038] In the case where both the first data parameter and the second data parameter exist, determining whether the first data parameter is equal to the second data parameter;
[0039] When the first data parameter is equal to the second data parameter, determining the comparison analysis result as the first comparison analysis result, and performing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used to characterize the consistency result of the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0040] determining whether the first data parameter is of a target string type, and terminating the comparison step if the first data parameter is of the target string type; or,
[0041] When the first data parameter is not of the target character string type, the difference value is determined to be 0.
[0042] Optionally, the second determining module is further used to:
[0043] In the case where 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 performing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used to characterize an inconsistency result between the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0044] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0045] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a first difference between the first data parameter and the second data parameter.
[0046] Optionally, the second determining module is used to:
[0047] In the case where 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 performing an operation of adding 1 to the third comparative analysis result;
[0048] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0049] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a second difference between the first data parameter and the second data parameter.
[0050] Optionally, the second determining module is used to:
[0051] In the case where 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 performing an operation of adding 1 to the fourth comparative analysis result;
[0052] The difference value is determined to be a third difference between the first data parameter and the second data parameter.
[0053] Optionally, the second determining module is used to:
[0054] In the case that both the first data parameter and the second data parameter do not exist, the comparison and analysis result is determined to be the fifth comparison and analysis result, and the fifth comparison and analysis result is used to characterize that there is no comparison result in this comparison.
[0055] According to a second aspect of the present disclosure, an electronic device is provided, including:
[0056] a memory having a computer program stored thereon;
[0057] A processor is used to execute the computer program in the memory to implement the steps of any one of the methods in the first aspect.
[0058] Through the above technical solution, at least the following technical effects can be achieved:
[0059] By obtaining the data object to be analyzed and determining multiple related data objects; determining the comparison key information for each dimension information in the preset comparison dimension list for the data object to be analyzed; calling the browser application program interface to obtain the first data message for the comparison key information of the data object to be analyzed and the second data message for the comparison key information of each related data object; parsing the first data message to obtain the first data parameter, and parsing the second data message to obtain the second data parameter; determining the comparison analysis result of the data object to be analyzed and each related data object and the difference value used to characterize the size of the relationship feature according to the relationship between each first data parameter and each corresponding second data parameter; generating the association analysis result for the data object to be analyzed according to the comparison analysis result and the difference value. It can reduce the difficulty and misjudgment risk of manual analysis statistics and improve the analysis efficiency.
[0060] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0062] Figure 1 The present invention is a flowchart of a data comparison and analysis method according to an exemplary embodiment.
[0063] Figure 2 According to an exemplary implementation Figure 1 Flowchart of step S15 in FIG.
[0064] Figure 3 It is a block diagram of a data comparison and analysis device according to an exemplary embodiment. DETAILED DESCRIPTION
[0065] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0066] It should be noted that in the present disclosure, the terms "first", "second", etc. in the specification, claims, and drawings are used for similar objects, and they are not necessarily understood as performing method steps in a specific order or sequential sequence.
[0067] The present invention provides a data comparison and analysis method. Figure 1 The present invention is a flowchart of a data comparison and analysis method according to an exemplary embodiment, and the method includes the following steps.
[0068] In step S11, a data object to be analyzed is obtained, and a plurality of associated data objects are determined for the data object to be analyzed;
[0069] Specifically, the data comparison and analysis can be between competing enterprises, such as commodity data, registered capital data, business scope data, business end time data, illegal behavior data, and illegal type data. In this way, the data object to be analyzed can refer to the enterprise to be analyzed, and the associated data object corresponds to the competing enterprise.
[0070] In step S12, for the data object to be analyzed, determining comparison key information for each dimension information in the preset comparison dimension list;
[0071] Specifically, the preset comparison dimension list may include multiple dimension information such as basic industrial and commercial information, shareholder information, key personnel, branches, and administrative penalties. In each dimension information, multiple comparison key information may be included. For example, the basic industrial and commercial information may include multiple comparison key information such as enterprise type, registration time, registered capital, business scope, business end time, etc. For another example, administrative penalties may include penalty document number, violation type, penalty date, penalty amount, etc.
[0072] Therefore, when performing data comparison analysis on the enterprise to be analyzed, one or more key comparison information can be selected from each dimension of information for comparison. For example, after selecting one or more key comparison information from the basic industrial and commercial information, one or more key comparison information can be selected from the administrative penalties.
[0073] In step S13, the browser application program interface is called to obtain the first data message of the data object to be analyzed for the comparison key information and the second data message of each of the related data objects for the comparison key information;
[0074] Optionally, if authorization is obtained, the browser application program interface WebAPI of the associated data object is called to obtain the second data message of each associated data object for the said key comparison information; if authorization is obtained, the browser application program interface WebAPI of the data object to be analyzed is called to obtain the first data message of the data object to be analyzed for the said key comparison information.
[0075] In one implementation, it is difficult to obtain the second data message for the key comparison information of each associated data object from the browser application program interface WebAPI of the associated data object. All data messages of the associated data object can be directly obtained, and then the second data message for the key comparison information of each associated data object can be obtained by screening.
[0076] In step S14, the first data message is parsed to obtain the first data parameter of the data object to be analyzed for the comparison key information, and the second data message is parsed to obtain the second data parameter of each of the associated data objects for the comparison key information;
[0077] Optionally, the first data message is parsed to obtain a first parameter set, and similarly, the second data message of each competing enterprise is parsed to obtain a corresponding second parameter set. According to the comparative key information of the enterprise to be analyzed, the corresponding first data parameter is selected from the first parameter set, and the second parameter set of each competing enterprise is traversed to obtain the second data parameter of each competing enterprise for the comparative key information.
[0078] Optionally, the comparison key information is used as the key value, and the first data parameter is used as the value value to construct a key-value pair.
[0079] In step S15, according to the relationship between each of the first data parameters and the corresponding second data parameters, the comparative analysis results of the data object to be analyzed and each of the associated data objects and the difference value used to characterize the size of the relationship feature are determined;
[0080] 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.
[0081] Optionally, one of the comparison key information of the enterprise to be analyzed is taken as the target object, and the corresponding first data parameter is selected from the first parameter set, and then the corresponding second data parameters are selected from the second parameter sets of the competing enterprises, and the comparisons are performed in sequence. After the comparison of one comparison key information is completed, the next target object is selected from the comparison key information that has not been selected as the target object.
[0082] Optionally, the results of this association analysis are sent by email to relevant personnel.
[0083] By adopting the above technical solution, by calling the browser application program interface, standard data messages are obtained, which are easy to machine parse and compare, thereby improving the efficiency of comparative analysis. By traversing and analyzing the relationship between the first data parameter and each second data parameter as well as the difference value, correlation analysis results are generated, which can reduce the difficulty and risk of misjudgment of manual analysis and statistics, while improving analysis efficiency.
[0084] In one possible solution, Figure 2 According to an exemplary implementation Figure 1 The flowchart of step S15 in step S15, wherein the step of determining the comparative analysis result between 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 each of the second data parameters comprises:
[0085] In step S151, when both the first data parameter and the second data parameter exist, determining whether the first data parameter is equal to the second data parameter;
[0086] In step S152, when the first data parameter is equal to the second data parameter, the comparison analysis result is determined to be the first comparison analysis result, and an operation of adding 1 to the first comparison analysis result is performed, wherein the first comparison analysis result is used to characterize the consistency result of the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0087] In step S153, it is determined whether the first data parameter is of the target string type, and if the first data parameter is of the target string type, the comparison step is terminated; or,
[0088] In step S154, when the first data parameter is not of the target character string type, the difference value is determined to be 0.
[0089] In a feasible solution, the method further includes:
[0090] In the case where 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 performing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used to characterize an inconsistency result between the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0091] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0092] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a first difference between the first data parameter and the second data parameter.
[0093] In a feasible solution, 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 each of the second data parameters includes:
[0094] In the case where 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 performing an operation of adding 1 to the third comparative analysis result;
[0095] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0096] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a second difference between the first data parameter and the second data parameter.
[0097] In a feasible solution, 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 each of the second data parameters includes:
[0098] In the case where 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 performing an operation of adding 1 to the fourth comparative analysis result;
[0099] The difference value is determined to be a third difference between the first data parameter and the second data parameter.
[0100] In a feasible solution, 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 each of the second data parameters includes:
[0101] In the case that both the first data parameter and the second data parameter do not exist, the comparison and analysis result is determined to be the fifth comparison and analysis result, and the fifth comparison and analysis result is used to characterize that there is no comparison result in this comparison.
[0102] Based on the above embodiment, step S15 is described below through a detailed embodiment. First, it is determined whether the first data parameter value1 and the second data parameter value2 exist. When both the first data parameter and the second data parameter exist, it is determined whether the first data parameter is equal to the second data parameter. When the first data parameter is equal to the second data parameter, the comparative analysis result is determined to be the first comparative analysis result, and the first comparative analysis result++ is executed.
[0103] Further, determine whether the type of the first data parameter is String type, and the String type is the target string type. If the type of the first data parameter is String type, end the comparison step, otherwise determine that the difference value is 0, that is, value1-value2=0, and continue to return to compare the next information.
[0104] When the first data parameter exists and the second data parameter does not exist, determine whether value1 is of String type. If so, record the result "I have no competition, I have no competition++"; otherwise, record "I have no competition, I have no competition++", the difference is value1-value2, and continue to return to compare the next information.
[0105] When the first data parameter does not exist but the second data parameter exists, record the result "I do not have competition, I do not have competition ++", the difference is value1-value2, and continue to return to compare the next information.
[0106] Based on the same inventive concept, the present disclosure also provides a data comparison and analysis device for executing the steps of the data comparison and analysis method provided in the above method embodiment. The device can implement the data comparison and analysis method in the form of software, hardware, or a combination of both. Figure 3 is a block diagram of a data comparison and analysis device 100 according to an exemplary embodiment. Figure 3 As shown, the device 100 includes: an acquisition module 110 , a first determination module 120 , a calling module 130 , a parsing module 140 , a second determination module 150 and a generating module 160 .
[0107] The acquisition module 110 is used to acquire a data object to be analyzed, and determine a plurality of associated data objects for the data object to be analyzed;
[0108] A first determination module 120 is used to determine, for the data object to be analyzed, comparison key information for each dimension information in a preset comparison dimension list;
[0109] The calling module 130 is used to call the browser application program interface to obtain the first data message of the data object to be analyzed for the comparison key information and the second data message of each of the related data objects for the comparison key information;
[0110] The parsing module 140 is configured to parse the first data message to obtain a first data parameter of the data object to be analyzed for the comparison key information, and parse the second data message to obtain a second data parameter of each of the associated data objects for the comparison key information;
[0111] A second determination module 150, configured to determine, based on the relationship between each of the first data parameters and the corresponding second data parameters, a comparative analysis result between the data object to be analyzed and each of the associated data objects and a difference value for characterizing the size of a relationship feature;
[0112] The generating module 160 is used to generate the association analysis result for the data object to be analyzed according to the comparison analysis result and the difference value.
[0113] Optionally, the second determining module 150 is configured to:
[0114] In the case where both the first data parameter and the second data parameter exist, determining whether the first data parameter is equal to the second data parameter;
[0115] When the first data parameter is equal to the second data parameter, determining the comparison analysis result as the first comparison analysis result, and performing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used to characterize the consistency result of the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0116] determining whether the first data parameter is of a target string type, and terminating the comparison step if the first data parameter is of the target string type; or,
[0117] When the first data parameter is not of the target character string type, the difference value is determined to be 0.
[0118] Optionally, the second determining module 150 is further configured to:
[0119] In the case where 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 performing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used to characterize an inconsistency result between the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter;
[0120] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0121] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a first difference between the first data parameter and the second data parameter.
[0122] Optionally, the second determining module 150 is configured to:
[0123] In the case where 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 performing an operation of adding 1 to the third comparative analysis result;
[0124] determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or,
[0125] In a case where the first data parameter is not of the target character string type, the difference value is determined to be a second difference between the first data parameter and the second data parameter.
[0126] Optionally, the second determining module 150 is configured to:
[0127] In the case where 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 performing an operation of adding 1 to the fourth comparative analysis result;
[0128] The difference value is determined to be a third difference between the first data parameter and the second data parameter.
[0129] Optionally, the second determining module 150 is configured to:
[0130] In the case that both the first data parameter and the second data parameter do not exist, the comparison and analysis result is determined to be the fifth comparison and analysis result, and the fifth comparison and analysis result is used to characterize that there is no comparison result in this comparison.
[0131] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0132] In addition, it is worth noting that for the convenience and simplicity of description, the embodiments described in the specification are all preferred embodiments, and the parts involved are not necessarily necessary for the present invention. For example, the second determination module 150 and the generation module 160 can be independent devices or the same device in specific implementation, and the present disclosure does not limit this.
[0133] The embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any one of the methods when executed by a processor.
[0134] The present disclosure also provides an electronic device, including:
[0135] a memory having a computer program stored thereon;
[0136] A processor is used to execute the computer program in the memory to implement the steps of any one of the methods.
[0137] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0138] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0139] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A data comparison and analysis method, characterized in that: The method comprises: Acquire a data object to be analyzed, and determine a plurality of related data objects for the data object to be analyzed, wherein the data object to be analyzed includes a company to be analyzed, and the related data objects include competing companies; For the data object to be analyzed, determining comparison key information for each dimension information in a preset comparison dimension list; Calling a browser application program interface to obtain a first data message of the data object to be analyzed for the key comparison information and a second data message of each of the associated data objects for the key comparison information; Parsing the first data message to obtain a first data parameter of the data object to be analyzed for the comparison key information, and parsing the second data message to obtain a second data parameter of each of the associated data objects for the comparison key information; Determining, according to the relationship between each of the first data parameters and the corresponding each of the second data parameters, a comparative analysis result between the data object to be analyzed and each of the associated data objects and a difference value for characterizing the size of the relationship feature; Generate a correlation analysis result for the data object to be analyzed according to the comparison analysis result and the difference value; 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 each of the second data parameters includes: In the case where both the first data parameter and the second data parameter exist, determining whether the first data parameter is equal to the second data parameter; When the first data parameter is equal to the second data parameter, determining the comparison analysis result as the first comparison analysis result, and performing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used to characterize the consistency result of the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter; determining whether the first data parameter is of a target string type, and terminating the comparison step if the first data parameter is of the target string type; or, When the first data parameter is not of the target character string type, the difference value is determined to be 0.
2. The method according to claim 1, characterized in that The method further comprises: In the case where 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 performing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used to characterize an inconsistency result between the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter; determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or, In a case where the first data parameter is not of the target character string type, the difference value is determined to be a first difference between the first data parameter and the second data parameter.
3. The method according to claim 2, characterized in that The determining, according to the relationship between each of the first data parameters and the corresponding each of the second data parameters, the comparative analysis result between the data object to be analyzed and each of the associated data objects also includes: In the case where 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 performing an operation of adding 1 to the third comparative analysis result; determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or, In a case where the first data parameter is not of the target character string type, the difference value is determined to be a second difference between the first data parameter and the second data parameter.
4. The method according to claim 1, characterized in that: Determining the comparative analysis result between 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 each of the second data parameters includes: In the case where 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 performing an operation of adding 1 to the fourth comparative analysis result; The difference value is determined to be a third difference between the first data parameter and the second data parameter.
5. The method according to claim 1, characterized in that Determining the comparative analysis result between 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 each of the second data parameters includes: In the case that both the first data parameter and the second data parameter do not exist, the comparison and analysis result is determined to be the fifth comparison and analysis result, and the fifth comparison and analysis result is used to characterize that there is no comparison result in this comparison.
6. A data comparison and analysis device, characterized in that: The device comprises: An acquisition module, used to acquire a data object to be analyzed, and determine a plurality of associated data objects for the data object to be analyzed, wherein the data object to be analyzed includes a company to be analyzed, and the associated data objects include competing companies; A first determination module is used 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, used for calling a browser application program interface to obtain a first data message of the data object to be analyzed for the key comparison information and a second data message of each of the associated data objects for the key comparison information; A parsing module, configured to parse the first data message to obtain a first data parameter of the data object to be analyzed for the comparison key information, and parse the second data message to obtain a second data parameter of each of the associated data objects for the comparison key information; A second determination module, configured to determine, according to the relationship between each of the first data parameters and the corresponding each of the second data parameters, a comparative analysis result between the data object to be analyzed and each of the associated data objects and a difference value for characterizing the size of a relationship feature; A generating module, configured to generate a correlation analysis result for the data object to be analyzed according to the comparative analysis result and the difference value; Wherein, the second determining module is used to: In the case where both the first data parameter and the second data parameter exist, determining whether the first data parameter is equal to the second data parameter; When the first data parameter is equal to the second data parameter, determining the comparison analysis result as the first comparison analysis result, and performing an operation of adding 1 to the first comparison analysis result, wherein the first comparison analysis result is used to characterize the consistency result of the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter; determining whether the first data parameter is of a target string type, and terminating the comparison step if the first data parameter is of the target string type; or, When the first data parameter is not of the target character string type, the difference value is determined to be 0.
7. The device according to claim 6, characterized in that The second determining module is further used for: In the case where 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 performing an operation of adding 1 to the second comparison analysis result, wherein the second comparison analysis result is used to characterize an inconsistency result between the comparison key information corresponding to the first data parameter and the comparison key information corresponding to the second data parameter; determining whether the first data parameter is of the target string type, and ending the comparison step if the first data parameter is of the target string type; or, In a case where the first data parameter is not of the target character string type, the difference value is determined to be a first difference between the first data parameter and the second data parameter.
8. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Object association relationship analysis method and device
CN111400448A
Electronic apparatus, credit feedback message parsing method, and storage medium
WO2019196304A1
Method and device for acquiring financial data, terminal device, and medium
WO2019237540A1
Information associativity processing method, apparatus, and system
WO2020114132A1
