CN113901125B - Data display method and device, storage medium and electronic equipment - Google Patents

Data display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113901125B
CN113901125B CN202111094045.6A CN202111094045A CN113901125B CN 113901125 B CN113901125 B CN 113901125B CN 202111094045 A CN202111094045 A CN 202111094045A CN 113901125 B CN113901125 B CN 113901125B
Authority
CN
China
Prior art keywords
data
similar
identification
execution object
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111094045.6A
Other languages
Chinese (zh)
Other versions
CN113901125A (en
Inventor
曹希凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yancheng Tianyanchawei Technology Co ltd
Original Assignee
Yancheng Tianyanchawei Technology Co ltd
Filing date
Publication date
Application filed by Yancheng Tianyanchawei Technology Co ltd filed Critical Yancheng Tianyanchawei Technology Co ltd
Priority to CN202111094045.6A priority Critical patent/CN113901125B/en
Publication of CN113901125A publication Critical patent/CN113901125A/en
Application granted granted Critical
Publication of CN113901125B publication Critical patent/CN113901125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a data display method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring update data of the target data source; extracting a file identifier and an execution object from the update data, and determining the identifier of the execution object and the identifier of the target data source; judging whether similar data are stored according to the file identification, the identification of the execution object and the identification of the target data source; and when judging that the similar data is stored, generating aggregate data according to the similar data and the updated data, and displaying the aggregate data. Therefore, redundant display of data is effectively avoided, a user can clearly and rapidly acquire useful information, and the use experience of the user is effectively improved.

Description

Data display method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data display method and apparatus, a storage medium, and an electronic device.
Background
In the big data age, the publicly available information is basically transparent, and for the same data (such as administrative punishment data) of the same enterprise, a plurality of different data sources (such as national market supervision administration, china Bank insurance supervision administration committee, credit China and the like) are generally issued to the outside. Because the data sources are different, there may be some subtle differences in the externally published data for each data source.
For an information query system, it is often required to record data issued by a plurality of data sources in advance, and then the system may obtain a plurality of query results according to query conditions of users, and a plurality of pieces of similar data with only some slight differences may exist in the query results. If the query result is directly displayed, redundant display of data is caused, the user cannot clearly and rapidly acquire the useful information, and the use experience of the user is poor. Accordingly, how to combine similar data and display the combined data so as to avoid redundant display of the data is a technical problem to be solved in the prior art.
Disclosure of Invention
The invention solves the problems that the redundant display of data cannot be realized, the user can not acquire useful information clearly and quickly, and the use experience of the user is poor.
The invention is proposed to solve the above technical problems such as redundant presentation of data, poor user experience, etc. The embodiment of the invention provides a data display method and device, a storage medium and electronic equipment.
According to an aspect of an embodiment of the present invention, there is provided a data display method, including: acquiring update data of a target data source; extracting a file identifier and an execution object from the update data, and determining the identifier of the execution object and the identifier of a target data source; judging whether similar data is stored according to the file identification, the identification of the execution object and the identification of the target data source; when the storage of the similar data is judged, generating aggregate data according to the similar data and the updated data, and displaying the aggregate data.
Optionally, determining whether similar data is stored according to the file identifier, the identifier of the execution object, and the identifier of the target data source includes: inquiring a preset data table according to the file identification and the identification of the execution object to obtain a similar data set which is similar to the update data and is formed by the same data of the execution object; when the similar data set is a non-empty set, judging whether the similar data set has data of the target data source or not based on the identification of the target data source; when the data of the target data source does not exist in the similar data set, determining that the similar data is stored; wherein the similar data is from other data sources and is similar to the update data, and the execution object of the similar data is the same as the execution object of the update data.
Optionally, the file identification is a decision document number; inquiring a preset data table according to the file identification and the identification of the execution object to obtain a similar data set which is similar to the update data and is composed of the same data as the execution object, wherein the method comprises the following steps: extracting numbers in the determined text numbers; based on the numbers and the identification of the execution objects, data similar to the update data and identical to the execution objects are obtained from the data table to obtain a similar data set.
Optionally, based on the identification of the target data source, determining whether the data of the target data source exists in the similar data set includes: determining the data sources of all pieces of data in the similar data set; comparing the identification of the target data source with the identification of the data source of each piece of data; and judging whether data from the target data source exists in the similar data set according to the comparison result.
Optionally, when it is determined that the similar data is stored, generating the aggregate data according to the similar data and the update data includes: determining a father self-increasing identification of the updated data; the father self-increasing identification is the identification of father data in the similar data; determining a similarity amount of the parent data; wherein the similarity measure is used to characterize the amount of data that is similar to the parent data; based on the father self-increasing identification and the similarity, combining the similar data and the updated data into aggregated data; wherein the aggregate data includes quantity description information of the parent data and corresponding similar data.
Optionally, in each of the above method embodiments of the present invention, the method further includes: when the click number describes information, displaying a corresponding similar data page; when the detail button of the parent data is clicked, a detail information page of the parent data is displayed.
Optionally, in each of the above method embodiments of the present invention, the method further includes: when clicking the similar data page, displaying the corresponding similar data detail information page.
Optionally, in each of the above method embodiments of the present invention, the method further includes: when data from the target data source exists in the similar data set, the display state of the existing data is updated.
Optionally, before determining the parent self-increment identifier of the update data, the method further includes: when only one piece of similar data exists, determining the similar data as parent data; when there are two or more pieces of similar data, one piece of target data is determined as parent data from among the pieces of similar data based on the identification of the data source of each piece of similar data.
Optionally, in each of the above method embodiments of the present invention, the method further includes: updating the parent data based on the updated data and the similar data; based on the updated identity of the father data, adjusting father self-increasing identities of other data similar to the father data; and updating the displayed aggregated data based on the updated parent data and the adjusted parent self-increment identification.
Optionally, in each of the above method embodiments of the present invention, the method further includes: creating a data table; wherein the data table is used for storing data from different data sources; determining the identification of each data source accessed into the data table and storing the identification into the data table; storing the published data of each data source into a data table, and setting a monitoring task for each data source.
According to another aspect of an embodiment of the present invention, there is provided a data display apparatus including: an update data acquisition unit configured to acquire update data of a target data source; an information acquisition unit for extracting a file identifier and an execution object from the update data, and determining the identifier of the execution object and the identifier of the target data source; the similar data determining unit is used for judging whether similar data are stored according to the file identification, the identification of the execution object and the identification of the target data source; and the display unit is used for generating aggregate data according to the similar data and the updated data when judging that the similar data is stored, and displaying the aggregate data.
According to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; a processor for reading the executable instructions from the memory and executing the instructions to implement the method according to any of the above embodiments of the present invention.
According to a further aspect of embodiments of the present invention, there is provided a computer readable storage medium storing a computer program for executing the method according to any one of the above embodiments of the present invention.
According to the data display method and device, the storage medium and the electronic equipment provided by the embodiment of the invention, the target data source is monitored to obtain the updated data of the target data source, then the similar data similar to the updated data is determined from the data table, the similar data and the updated data are combined to be processed into one aggregated data, and finally the aggregated data is displayed to the user, so that redundant display of the data is effectively avoided, the user can obtain useful information clearly and rapidly, and the use experience of the user is effectively improved.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing embodiments of the present invention in more detail with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, and not constitute a limitation to the invention. In the drawings, like reference numerals generally refer to like parts or steps.
FIG. 1 is a flow chart of a data presentation method according to an exemplary embodiment of the present invention;
FIG. 2 is a page diagram illustrating aggregated data to a user provided in an exemplary embodiment of the present invention;
FIG. 3 is a page view showing similar data corresponding to the number of clicks description information thereof to a user according to an exemplary embodiment of the present invention;
FIG. 4 is a page diagram showing details corresponding to target data clicked on by a user provided in an exemplary embodiment of the present invention;
FIG. 5 is a page diagram showing similar data details corresponding to similar data clicked on by a user, provided by an exemplary embodiment of the present invention;
FIG. 6 is a page diagram illustrating current administrative penalty data for an execution object to a user, provided in an exemplary embodiment of the present invention;
FIG. 7 is a page diagram illustrating historical administrative penalty data for an execution object to a user, provided in an exemplary embodiment of the present invention;
fig. 8 is a schematic structural view of a data display device according to an exemplary embodiment of the present invention;
fig. 9 is a structure of an electronic device provided in an exemplary embodiment of the present invention.
Detailed Description
Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some embodiments of the present invention and not all embodiments of the present invention, and it should be understood that the present invention is not limited by the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
It will be appreciated by those of skill in the art that the terms "first," "second," etc. in embodiments of the present invention are used merely to distinguish between different steps, devices or modules, etc., and do not represent any particular technical meaning nor necessarily logical order between them.
It should also be understood that in embodiments of the present invention, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in an embodiment of the invention may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in the present invention is merely an association relationship describing the association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In the present invention, the character "/" generally indicates that the front and rear related objects are an or relationship.
It should also be understood that the description of the embodiments of the present invention emphasizes the differences between the embodiments, and that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods, and apparatus should be considered part of the specification.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the invention are operational with numerous other general purpose or special purpose computing system environments or configurations with electronic devices, such as terminal devices, computer systems, servers, etc. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with the terminal device, computer system, server, or other electronic device include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the foregoing, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
Exemplary method
Fig. 1 is a flowchart of a data presentation method according to an exemplary embodiment of the present invention. The embodiment can be applied to an electronic device, as shown in fig. 1, the merging processing method 100 includes the following steps:
step 101, obtaining update data of a target data source.
Optionally, the data display method provided in this embodiment further includes: creating a data table, wherein the data table is used for storing data from different data sources; determining the identification of each data source accessed into the data table and storing the identification into the data table; storing the published data of each data source into a data table, and setting a monitoring task for each data source.
Generally, there are various types of data sources that issue administrative penalty data associated with individual companies or businesses. Existing data sources, for example, but not limited to: china industry and commerce banks, credit China, china people banks, china banking institute, china license management bureau, safety production supervision bureau, national market supervision bureau and the like.
The document may be a decision document, or other type of document or file. When the document is a decision document, the corresponding document is identified as the decision document number. When the file is a judgment book, the corresponding file identification is a judgment book number. Also, the execution object corresponding to the file may be various types of companies, enterprises, institutions, or the like. The following examples are given by taking a decision document as an example.
As one embodiment, the target data source may be one of the data sources described above, and the identification of the execution object may be an ID value that is custom to the execution object by the system, which can uniquely identify the information of the execution object. Illustratively, the system has an ID value of 22822 for XX, 2318455639 for YY, 2353607030 for NN, and 26307504 for AA.
Typically, these data sources will issue administrative penalty data associated with each execution object. Wherein the administrative penalty data issued by each data source includes, for example: the penalty date, the decision document number, the name of the execution object, the penalty event, the type of offensive behavior, the penalty result/content, and the penalty entity.
Thus, the system first needs to create a data table for storing data from different data sources before presenting the data to the user, and then determines the identity of each data source accessing the data table and stores it in the data table. Illustratively, referring to Table 1 below, the various data sources accessing the data sheet are, for example, china Industrial and commercial Bank, credit China, china people's Bank, china silver Congress, china license Congress, security production administration and national market administration, and the identification determined by the system for each data source is 1,2, 3, 4, 5, 6 and 7, respectively.
TABLE 1
Further, after accessing the data sources, it is also necessary to store the published data of each data source into a data table, and set a listening task for each data source. Wherein kafka may be utilized to snoop the data of a data source to discover the data generated by the data source through update or insert operations. Or can read the data that the rediss need to process to obtain the update or insert data of the data source by sending the update or insert data to the redis database.
The invention configures corresponding monitoring tasks for each data source, and judges whether the data source has data of update or insert operation in a monitoring mode. When the target data source has data of update or insert operation, the system acquires the update data of the target data source.
Step 102, extracting the file identification and the execution object from the update data, and determining the identification of the execution object and the identification of the target data source.
Taking the "national market supervision bureau" as a target data source for monitoring as an example, a decision document is newly added to the data source of the national market supervision bureau, which is administrative punishment data of a certain executive object, in the monitoring process. Wherein, the penalty time in the determined document is 2020, 04 and 20 days, the determined document number is 2020, and the execution object is AA company. Accordingly, the system needs to extract the decision document number and the name of the execution object from the newly added piece of decision document, then determine the identification of the execution object according to the name of the execution object, and determine the identification of the target data source. The acquired decision text number is silver insurance penalties (2020) number 4, the identification of the determined execution object is 26307504, and the identification of the determined target data source is 7.
Step 103, judging whether similar data is stored according to the file identification, the identification of the execution object and the identification of the target data source.
Typically, for the same administrative penalty data of the same enterprise, there are multiple different data sources (e.g., national marketing management agency, national banking insurance management committee, credit china, etc.) issued externally. Because the data sources are different, there may be some subtle differences in the externally published data for each data source. For example, but not limited to, the determined text number is generally composed of elements such as year, file number, and province abbreviation, and for the same administrative penalty data, different data sources may adopt different province abbreviations due to the fact that the same province abbreviations have a plurality of the same provinces, so that Chinese characters used in the determined text number of the same administrative penalty data are different. Or for the amount of fines in the administrative object, some data sources directly take integer values because some data sources may reserve digits after the decimal point, resulting in slightly different amounts of fines in the same administrative penalty data. Therefore, after the update data of the target data source is obtained, the invention needs to judge whether the similar data is stored according to the determined document number, the identification of the execution object and the identification of the target data source.
Optionally, determining whether similar data is stored according to the file identifier, the identifier of the execution object, and the identifier of the target data source includes: inquiring a preset data table according to the file identification and the identification of the execution object to obtain a similar data set which is similar to the update data and is formed by the same data of the execution object; when the similar data set is a non-empty set, judging whether the similar data set has data of the target data source or not based on the identification of the target data source; when the data of the target data source does not exist in the similar data set, determining that the similar data is stored; wherein the similar data is from other data sources and is similar to the update data, and the execution object of the similar data is the same as the execution object of the update data.
In this example, the document identification is a determination document number, the target data source is, for example, the national market supervision bureau, the execution object is, for example, the AA company, the determination document number is, for example, the silver-insurance supervision flag word 2020 number 4, the identification of the execution object is, for example, 26307504, and the identification of the target data source is, for example, 7.
In the process of judging whether similar data are stored or not, firstly, a preset data table is queried by taking the identification of the determined text number and the execution object as query conditions, and data similar to the updated data and the same as the execution object are acquired from the data table to form a similar data set. The obtained similar data set may be an empty set or a non-empty set. When the acquired similar data set is an empty set, it means that other data similar to the updated data is not stored in the data table, and the updated data can be directly stored in the data table and directly displayed to a user without carrying out data merging processing, so that redundant display of the data is not caused. When the acquired similar data set is a non-empty set, it means that other data similar to the updated data is stored in the data table, including, for example, data 1, data 2, and data 3.
Optionally, querying a preset data table according to the file identifier and the identifier of the execution object to obtain a similar data set composed of data similar to the update data and the same as the execution object, including: extracting numbers in the determined text numbers; based on the numbers and the identification of the execution objects, data similar to the update data and identical to the execution objects are obtained from the data table to obtain a similar data set.
Taking the document identification as an example for determining the document number, considering that different data sources may adopt different abbreviations due to the fact that the plurality of abbreviations of the same province are adopted, chinese characters used in the same determined document number are different and cannot be accurately determined as similar data, the invention only extracts numbers, such as 2020 and 4, in the determined document number, and ensures accuracy of similarity matching. And then based on the extracted numbers and the identification of the execution objects, acquiring data similar to the updated data and identical to the execution objects from a preset data table to obtain a similar data set. By the method, the accuracy of data similarity matching is ensured, and meanwhile, data similar to the updated data in the data table can be avoided to a great extent, so that the obtained similar data set is more comprehensive and complete.
Further, considering that the data sources of the three similar data may be a national market supervision authority (i.e., a target data source), and may also be other data sources (e.g., credit china, china business banks, etc.), it is further required to determine whether the similar data set has data from the target data source based on the identification of the target data source. When the data from the target data source does not exist in the similar data set, the updated data is new data, and the data contained in the similar data set are similar data of the updated data, and the data needs to be displayed after being combined, so that redundant display of the data is avoided.
Optionally, based on the identification of the target data source, determining whether the data of the target data source exists in the similar data set includes: determining the data sources of all pieces of data in the similar data set; comparing the identification of the target data source with the identification of the data source of each piece of data; and judging whether data from the target data source exists in the similar data set according to the comparison result.
Taking the example that the similar data set includes data 1, data 2 and data 3, the present invention needs to determine the data source of each piece of data in the similar data set, for example, but not limited to, the data source of data 1 is credit china, the data source of data 2 is a china business bank, and the data source of data 3 is a china business bank. Then, based on the identification of the data source, the invention can uniquely identify the characteristics of the data source, compares the identification of the target data source (i.e. the national market supervision bureau) with the identification of the data source of each piece of data, and finally judges whether the data from the target data source exists in the similar data set according to the comparison result. In this way, it is possible to quickly and accurately determine whether data from the target data source exists in the similar data set.
And 104, when the storage of the similar data is judged, generating the aggregate data according to the similar data and the updated data, and displaying the aggregate data.
Typically, to ensure the comprehensiveness of the data presented to the user, it is necessary to collect data externally published from multiple data sources, which tends to collect many similar data. The similar data are displayed after being combined, so that repeated display of the data is effectively avoided, and a user can know the data more clearly and rapidly.
Optionally, when it is determined that the similar data is stored, generating the aggregate data according to the similar data and the update data includes: determining a father self-increasing identification of the updated data; the father self-increasing identification is the identification of father data in the similar data; determining a similarity amount of the parent data; wherein the similarity measure is used to characterize the amount of data that is similar to the parent data; based on the father self-increasing identification and the similarity, combining the similar data and the updated data into aggregated data; wherein the aggregate data includes quantity description information of the parent data and corresponding similar data.
In general, when it is judged that similar data exists, meaning that data of the target data source does not exist in the similar data set queried from the data table based on the number extracted from the decision document number and the identification of the execution object, the update data is new data. Thus, after storing the update data to the data table, it is also necessary to determine the parent self-increment identification of the update data and to re-determine the similar amount of the parent data. Then, before data presentation, based on the parent self-increment identification of the update data and the similar amount of the parent data, the similar data and the update data are combined into aggregate data, and the aggregate data is presented to a user so as to avoid redundant presentation of the data. As shown in fig. 2 and fig. 3, the parent data is data that can be directly seen in the display interface, and the corresponding similar data is not directly displayed, but is displayed after the user clicks to view.
As shown in table 2 below, the data with id "100531" is the currently acquired update data, the data source of the update data is "national market administration", and the corresponding data source id is "7". And, according to the above step 103, it is determined that two pieces of similar data similar to the update data, having the same execution object and different data sources are stored in the data table, and the data ids (identifiers) corresponding to the two pieces of similar data are "8407301" and "11697241" respectively. And, the data id of the parent data is "11697241".
TABLE 2
Thus, the present invention first determines that the parent self-increment identifier of the update data is "11697241", then determines that the similarity amount of the parent data is 2, and finally merges the similar data and the update data into aggregate data based on the parent self-increment identifier of the update data and the similarity amount of the parent data, and presents the aggregate data as shown in fig. 2 to the user. Wherein the data source in fig. 2 corresponds to the data source in the present invention. According to the invention, similar data are grouped by aggregation instead of displaying similar data in a plurality of rows, so that different experiences are brought in visual sense and sense, the data are not displayed redundantly, and the use experience of a user is improved.
Optionally, before determining the parent self-increment identifier of the update data, the method further includes: when only one piece of similar data exists, determining the similar data as parent data; when there are two or more pieces of similar data, one piece of target data is determined as parent data from among the pieces of similar data based on the identification of the data source of each piece of similar data.
In general, for a new piece of data, once similar data is found in the data table and does not belong to the same data source, it is necessary to select the data of one data source as parent data. Aiming at the selection rule of the father data, the invention judges according to the identification of the data source. Thus, when there is only one piece of similar data, the piece of similar data is determined to be parent data. When there are two or more pieces of similar data, one piece of target data is determined as parent data from among the pieces of similar data based on the identification of the data source of each piece of similar data. For example, and without limitation, the identity of each data source may be determined by numbering it from small to large, as shown in Table 1 above. Then, when parent data is determined based on the identification of the data source, the data with the smallest number of the data source may be regarded as the parent data. Wherein, a smaller number of a data source means a higher data coverage of the data source.
Optionally, the data presentation method 100 further includes: when the click number describes information, displaying a corresponding similar data page; when the detail button of the parent data is clicked, a detail information page of the parent data is displayed.
The invention combines similar data and updated data into one aggregate data, and the aggregate data displayed to the user is shown in figure 2. When the user checks, the similar data of the item mark data can be checked by clicking the quantity description information of the similar data in the aggregated data. Accordingly, when the user clicks the number description information, the present invention needs to display the corresponding similar data page, as shown in fig. 3.
The user can also view the detail information page of the item mark data by clicking the detail button of the parent data. Accordingly, when the user clicks the detail button of the parent data, the present invention needs to display the detail information page of the data, as shown in fig. 4. Therefore, the invention can only display key information in the aggregated data, and provide a further checking function for users aiming at similar data and more detailed information (such as specific punishment matters), so that the users can find all similar data in one aggregated data when checking the data, and can clearly compare the data and know the number of the similar data.
Optionally, the data display method further includes: when clicking the similar data page, displaying the corresponding similar data detail information page.
When a user views similar data of target data on a similar data page, the user can view detailed information of a certain piece of similar data by clicking on the similar data page. Accordingly, when clicking on the similar data page, the present invention needs to display the corresponding similar data detail information page, as shown in fig. 5. In this way, the user can view detailed information of a certain piece of similar data by clicking on the similar data page.
Optionally, the data display method further includes: when data from the target data source exists in the similar data set, the display state of the existing data is updated.
Specifically, if data from the target data source exists in the similar data set, the state of the piece of data is directly updated without data merging processing. For example: when the executing object has paid a penalty amount for an administrative penalty, the target data source reissues an administrative penalty data to externally publish the penalty paid by the executing object. Where reissued administrative penalty data often continues to follow the original decision document number and other information and indicates that the executing object has paid a penalty. Accordingly, the present invention requires updating the state of existing data when reissued administrative penalty data is acquired. Since the penalty has been performed, the status of the data can be updated to historical data.
Thus, the present invention can sub-present current and historical administrative penalty data to the user using two lists, as shown in fig. 6 and 7, respectively. In this way, the user can be more intuitively aware of the current administrative penalty data and the historical administrative penalty data of the execution object.
Optionally, the data display method further includes: updating the parent data based on the updated data and the similar data; based on the updated identity of the father data, adjusting father self-increasing identities of other data similar to the father data; and updating the displayed aggregated data based on the updated parent data and the adjusted parent self-increment identification.
In the invention, considering that the time for each data source to publish data is different, the time for monitoring the acquired updated data is also different, so that the data is written into the data table successively. Thus, for a new piece of data, once similar data is found in the data table and does not belong to the same source, the data of one data source can be re-selected as parent data. Accordingly, the present invention first updates the parent data (e.g., redefines an item of target data as parent data) based on the updated data and the similar data. Then, when the parent data is adjusted, the parent self-increment identification of other data similar to the parent data needs to be uniformly adjusted. And finally, updating the displayed aggregated data based on the updated parent data and the adjusted parent self-increasing identification. For example, based on updated parent data and the adjusted parent self-increment identifier, new aggregate data is generated from the similar data and the updated data, and the user first presents the new aggregate data. Wherein the new aggregated data includes quantity description information of the updated parent data and corresponding similar data. In this way, when new similar data is received, the data released by the data source with the highest data coverage rate can be redetermined as the father data based on the identification of the data source of each similar data, so that the selected father data is more representative, and the accuracy of the data intuitively displayed to the user is further ensured.
Therefore, according to the data display method provided by the invention, the target data source is firstly monitored to obtain the updated data of the target data source, then the similar data similar to the updated data is determined from the data table, further the similar data and the updated data are combined to be processed into the aggregate data, and finally the aggregate data is displayed to the user, so that redundant display of the data is effectively avoided, and the user can clearly and rapidly obtain useful information. Moreover, when the user views the data, the user can not only find all similar data in one aggregated data, but also clearly compare the data and know the number of the similar data. Therefore, different experiences are brought to the user in visual sense, data cannot be displayed redundantly, and the use experience of the user is effectively improved.
Exemplary apparatus
Fig. 8 is a schematic structural diagram of a data display device according to an exemplary embodiment of the present invention. As shown in fig. 8, the data display apparatus 800 includes: an update data acquisition unit 801 for acquiring update data of a target data source; an information acquisition unit 802 for extracting a file identifier and an execution object from the update data, and determining an identifier of the execution object and an identifier of a target data source; a similar data determining unit 803, configured to determine whether similar data is stored according to the file identifier, the identifier of the execution object, and the identifier of the target data source; and a display unit 804, when judging that the similar data is stored, generating the aggregate data according to the similar data and the updated data, and displaying the aggregate data.
Optionally, the file identification is a decision document number; the similarity data determination unit 803 specifically functions to: inquiring a preset data table according to the file identification and the identification of the execution object to obtain a similar data set which is similar to the update data and is formed by the same data of the execution object; when the similar data set is a non-empty set, judging whether the similar data set has data of the target data source or not based on the identification of the target data source; when the data of the target data source does not exist in the similar data set, determining that the similar data is stored; wherein the similar data is from other data sources and is similar to the update data, and the execution object of the similar data is the same as the execution object of the update data.
Optionally, the similar data determining unit 803 is further specifically configured to: extracting numbers in the determined text numbers; based on the numbers and the identification of the execution objects, data similar to the update data and identical to the execution objects are obtained from the data table to obtain a similar data set.
Optionally, the similar data determining unit 803 is further specifically configured to: determining the data sources of all pieces of data in the similar data set; comparing the identification of the target data source with the identification of the data source of each piece of data; and judging whether data from the target data source exists in the similar data set according to the comparison result.
Optionally, the display unit 804 is specifically configured to: determining a father self-increasing identification of the updated data; the father self-increasing identification is the identification of father data in the similar data; determining a similarity amount of the parent data; wherein the similarity measure is used to characterize the amount of data that is similar to the parent data; based on the father self-increasing identification and the similarity, combining the similar data and the updated data into aggregated data; wherein the aggregate data includes quantity description information of the parent data and corresponding similar data.
Optionally, the data display device 800 further includes: the similar data page display unit is used for displaying corresponding similar data pages when the click quantity description information is clicked; and a detail information page display unit of the target data for displaying the detail information page of the parent data when the detail button of the parent data is clicked.
Optionally, the data display device 800 further includes: and the similar data detail information page display unit is used for displaying the corresponding similar data detail information page when clicking the similar data page.
Optionally, the data display device 800 further includes: and the state updating unit is used for updating the display state of the existing data when the data from the target data source exist in the similar data set.
Optionally, the data display device 800 further includes: the father data determining unit is used for determining that the similar data is father data when only one piece of similar data exists before determining the father self-increasing identification of the updated data; when there are two or more pieces of similar data, one piece of target data is determined as parent data from among the pieces of similar data based on the identification of the data source of each piece of similar data.
Optionally, the data display device 800 further includes: a parent data update determination unit configured to update parent data based on the update data and the similar data; the father self-increasing identification adjusting unit is used for adjusting father self-increasing identification of other data similar to the father data based on the updated father data identification; and the aggregation data updating unit is used for updating the displayed aggregation data based on the updated parent data and the adjusted parent self-increasing identification.
Optionally, the data display device 800 further includes: a data table creation unit for creating a data table; wherein the data table is used for storing data from different data sources; the identification determining unit of the data source is used for determining the identification of each data source accessed into the data table and storing the identification into the data table; and the monitoring task setting unit is used for storing the published data of each data source into the data table and setting the monitoring task for each data source.
The data display device 800 according to the embodiment of the present invention corresponds to the data display method 100 according to another embodiment of the present invention, and will not be described herein.
Exemplary electronic device
Fig. 9 is a structure of an electronic device provided in an exemplary embodiment of the present invention. The electronic device may be either or both of the first device and the second device, or a stand-alone device independent thereof, which may communicate with the first device and the second device to receive the acquired input signals therefrom. Fig. 9 illustrates a block diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 9, the electronic device includes one or more processors 91 and memory 92.
The processor 91 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
Memory 92 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that can be executed by the processor 91 to implement the method of information mining historical change records and/or other desired functions of the software program of the various embodiments of the present disclosure described above. In one example, the electronic device may further include: an input device 93 and an output device 94, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
In addition, the input device 93 may also include, for example, a keyboard, a mouse, and the like.
The output device 94 can output various information to the outside. The output devices 94 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 9 for simplicity, components such as buses, input/output interfaces, and the like being omitted. In addition, the electronic device may include any other suitable components depending on the particular application.
Exemplary computer program product and computer readable storage Medium
In addition to the methods and apparatus described above, embodiments of the present disclosure may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in a method of mining historical change records according to various embodiments of the present disclosure described in the "exemplary methods" section of this specification.
The computer program product may write program code for performing the operations of embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium, having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in a method of mining history change records according to various embodiments of the present disclosure described in the above "exemplary methods" section of the present disclosure.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present disclosure have been described above in connection with specific embodiments, but it should be noted that the advantages, benefits, effects, etc. mentioned in the present disclosure are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present disclosure. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, since the disclosure is not necessarily limited to practice with the specific details described.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The block diagrams of the devices, apparatuses, devices, systems referred to in this disclosure are merely illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the apparatus, devices and methods of the present disclosure, components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered equivalent to the present disclosure. The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the disclosure to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (13)

1. A data presentation method, comprising:
Acquiring update data of a target data source;
Extracting a file identifier and an execution object from the update data, and determining the identifier of the execution object and the identifier of the target data source; when the file is a decision document, the file is identified as a decision document number; when the file is a judgment book, the file mark is a judgment book number; the execution object is various types of companies, enterprises or institutions;
judging whether similar data are stored according to the file identification, the identification of the execution object and the identification of the target data source;
When judging that the similar data is stored, generating aggregate data according to the similar data and the updated data, and displaying the aggregate data;
wherein the determining whether similar data is stored according to the file identifier, the identifier of the execution object, and the identifier of the target data source includes:
Inquiring a preset data table according to the file identification and the identification of the execution object to obtain a similar data set which is similar to the update data and is formed by the same data of the execution object;
when the similar data set is a non-empty set, judging whether the similar data set has the data of the target data source or not based on the identification of the target data source;
Determining that the similar data is stored when the data of the target data source does not exist in the similar data set; wherein the similar data is from other data sources and is similar to the update data, and the execution object of the similar data is the same as the execution object of the update data.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The file mark is used for determining a document number;
Querying a preset data table according to the file identifier and the identifier of the execution object to obtain a similar data set which is similar to the update data and is formed by the same data of the execution object, wherein the method comprises the following steps:
extracting numbers in the decision text numbers;
And based on the number and the identification of the execution object, acquiring data similar to the updated data and identical to the execution object from the data table to obtain the similar data set.
3. The method of claim 1, wherein the determining whether the data of the target data source exists in the similar dataset based on the identification of the target data source comprises:
determining a data source of each piece of data in the similar data set;
Comparing the identification of the target data source with the identification of the data source of each piece of data;
And judging whether the data from the target data source exists in the similar data set according to the comparison result.
4. A method according to any one of claims 1-3, wherein when it is determined that the similar data is stored, generating aggregate data from the similar data and the updated data comprises:
Determining a father self-increasing identification of the updated data; the father self-increasing identification is an identification of father data in the similar data;
Determining a similarity amount of the parent data; wherein the similarity measure is used to characterize the amount of data that is similar to the parent data;
Merging the similar data and the updated data into aggregated data based on the parent self-increment identity and the similar quantity; wherein the aggregate data includes quantity description information of the parent data and corresponding similar data.
5. The method as recited in claim 4, further comprising:
When clicking the quantity description information, displaying corresponding similar data pages;
And when clicking the detail button of the parent data, displaying the detail information page of the parent data.
6. The method as recited in claim 5, further comprising:
and when clicking the similar data page, displaying a corresponding similar data detail information page.
7. The method as recited in claim 1, further comprising:
and updating the display state of the existing data when the data from the target data source exists in the similar data set.
8. The method of claim 4, wherein prior to determining the parent self-increment identity of the update data, further comprising:
when only one piece of similar data exists, determining that the similar data is the father data;
when there are two or more pieces of similar data, one piece of target data is determined as the parent data from among the pieces of similar data based on the identification of the data source of each piece of similar data.
9. The method as recited in claim 8, further comprising:
updating the parent data based on the update data and the similar data;
based on the updated identity of the father data, adjusting father self-increasing identities of other data similar to the father data;
and updating the displayed aggregated data based on the updated parent data and the adjusted parent self-increasing identification.
10. The method as recited in claim 1, further comprising:
Creating a data table; wherein the data table is used for storing data from different data sources;
determining the identification of each data source connected to the data table and storing the identification into the data table;
storing the published data of each data source into the data table, and setting a monitoring task for each data source.
11. A data presentation device, comprising:
an update data acquisition unit configured to acquire update data of a target data source;
An information acquisition unit, configured to extract a file identifier and an execution object from the update data, and determine an identifier of the execution object and an identifier of the target data source; when the file is a decision document, the file is identified as a decision document number; when the file is a judgment book, the file mark is a judgment book number; the execution object is various types of companies, enterprises or institutions;
The similar data determining unit is used for judging whether similar data are stored according to the file identification, the identification of the execution object and the identification of the target data source;
the display unit is used for generating aggregate data according to the similar data and the updated data when judging that the similar data is stored, and displaying the aggregate data;
wherein the determining whether similar data is stored according to the file identifier, the identifier of the execution object, and the identifier of the target data source includes:
Inquiring a preset data table according to the file identification and the identification of the execution object to obtain a similar data set which is similar to the update data and is formed by the same data of the execution object;
when the similar data set is a non-empty set, judging whether the similar data set has the data of the target data source or not based on the identification of the target data source;
Determining that the similar data is stored when the data of the target data source does not exist in the similar data set; wherein the similar data is from other data sources and is similar to the update data, and the execution object of the similar data is the same as the execution object of the update data.
12. An electronic device, the electronic device comprising: a processor and a memory; wherein,
The memory is used for storing the processor executable instructions;
the processor being configured to read the executable instructions from the memory and execute the instructions to implement the method of any of the preceding claims 1-10.
13. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any of the preceding claims 1-10.
CN202111094045.6A 2021-09-17 Data display method and device, storage medium and electronic equipment Active CN113901125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111094045.6A CN113901125B (en) 2021-09-17 Data display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111094045.6A CN113901125B (en) 2021-09-17 Data display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113901125A CN113901125A (en) 2022-01-07
CN113901125B true CN113901125B (en) 2024-07-16

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484767A (en) * 2016-09-08 2017-03-08 中国科学院信息工程研究所 A kind of event extraction method across media

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484767A (en) * 2016-09-08 2017-03-08 中国科学院信息工程研究所 A kind of event extraction method across media

Similar Documents

Publication Publication Date Title
US10552994B2 (en) Systems and interactive user interfaces for dynamic retrieval, analysis, and triage of data items
US10540383B2 (en) Automatic ontology generation
US8538934B2 (en) Contextual gravitation of datasets and data services
US20100121883A1 (en) Reporting language filtering and mapping to dimensional concepts
US11972228B2 (en) Merging database tables by classifying comparison signatures
US7702609B2 (en) Adapting to inexact user input
US10592508B2 (en) Organizing datasets for adaptive responses to queries
US20150242470A1 (en) Systems and methods for recommending software applications
CN112214505B (en) Data synchronization method, device, computer readable storage medium and electronic equipment
US20150199645A1 (en) Customer Profile View of Consolidated Customer Attributes
CN110990445A (en) Data processing method, device, equipment and medium
CN110750581A (en) Data display method and device of table component, storage medium and electronic equipment
WO2015026678A2 (en) Ad hoc reporting with smart lists
CN111339098A (en) Authority management method, data query method and device
CN112258244B (en) Method, device, equipment and storage medium for determining task to which target object belongs
US11520924B2 (en) Identifying that an item of information potentially includes an item of sensitive information
CN113901125B (en) Data display method and device, storage medium and electronic equipment
CN111563527A (en) Abnormal event detection method and device
CN109949090A (en) Lead referral method, apparatus, electronic equipment and medium
CN114860305A (en) Data processing method and device
CN112346938B (en) Operation auditing method and device, server and computer readable storage medium
CN113901125A (en) Data display method and device, storage medium and electronic equipment
CN113609407B (en) Regional consistency verification method and device
CN112579673A (en) Multi-source data processing method and device
CN112487262A (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230801

Address after: Room 404-405, 504, Building B-17-1, Big data Industrial Park, Kecheng Street, Yannan High tech Zone, Yancheng, Jiangsu Province, 224000

Applicant after: Yancheng Tianyanchawei Technology Co.,Ltd.

Address before: 224000 room 501-503, building b-17-1, Xuehai road big data Industrial Park, Kecheng street, Yannan high tech Zone, Yancheng City, Jiangsu Province

Applicant before: Yancheng Jindi Technology Co.,Ltd.

GR01 Patent grant