Associated data display method and device, computer equipment and readable storage medium
By displaying the first and second category data sets on the linked data page and displaying the linked data in response to interactive operations, the problem of cumbersome operations in the existing technology is solved, and intuitive and efficient data display is achieved.
Patent Information
- Application Number
- CN202510705833.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-09-23
AI Technical Summary
In the prior art, querying multiple sets of target data associated with multiple input data is cumbersome and results in low efficiency.
By displaying an associated data page, the page includes at least a first area and a second area, the first area displays a first type of data set, and the second area displays a second type of data set, and in response to an interactive operation, the target data unit and its associated other data units are displayed based on the target configuration information.
It realizes the intuitive and quick display of related data, eliminates the inefficient step of manually distinguishing related data, simplifies the interaction process, and improves operational efficiency.
Smart Images

Figure CN120687529A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer device, readable storage medium, and program product for displaying associated data. Background Art
[0002] With the development of computer technology, data storage technology has emerged. By using computers, large amounts of data can be stored and these data can be retrieved to obtain target data.
[0003] In the prior art, target data is often filtered out from some input data. In this way, the target data associated with the input data is obtained through query, which is cumbersome. Moreover, if multiple groups of target data associated with multiple input data need to be queried, a query operation needs to be performed for each input data, resulting in low efficiency. Summary of the Invention
[0004] Based on this, it is necessary to provide a method, apparatus, computer device, computer-readable storage medium and computer program product for displaying associated data that can intuitively and quickly display associated data in order to address the above technical issues.
[0005] In a first aspect, the present application provides a method for displaying associated data, comprising:
[0006] Displaying a linked data page, the linked data page including at least a first area and a second area, the first area displaying a first type of data set in the form of data units, the second area displaying a second type of data set in the form of data units, and the first type of data set and the second type of data set being associated with each other;
[0007] In response to interactive operations on the target data unit on the associated data page, the target data unit and other data units are displayed based on the target configuration information. The other data units are determined based on data units associated with the target class data from other classes of data other than the target class data. The target class data is the data corresponding to the target data unit.
[0008] In one embodiment, in response to an interactive operation on a target data unit on an associated data page, the target data unit and other data units are displayed based on target configuration information, including: in response to an interactive operation on a first data unit in a first area on an associated data page, the first data unit and a second data unit corresponding to at least one second category of data are displayed based on the target configuration information; the at least one second category of data is determined from data associated with the first category of data in a second category of data set based on the first category of data corresponding to the first data unit.
[0009] In one embodiment, the first area is used to display a first document, and the second area is used to display a second document. Both the first document and the second document include at least one entry line. In response to an interactive operation on a first data unit in the first area on an associated data page, the first data unit and a second data unit corresponding to at least one second type of data are displayed based on target configuration information, including: in response to an interactive operation on a target first entry line in the first area, the target first entry line and at least one target second entry line in the second area are displayed based on the target configuration information; the at least one target second entry line is determined based on a first key value corresponding to the target first entry line, and a target second key value associated with the first key value in a second key value set, and the second key value set stores the association relationship between the second key value and the second entry line.
[0010] In one embodiment, in response to interactive operations on a target data unit on an associated data page, the target data unit and other data units are displayed based on target configuration information, including: in response to interactive operations on a plurality of first data units in a first area on an associated data page, based on first target configuration information corresponding to each first data unit, each first data unit and at least one second data unit corresponding to at least one second type of data associated with each first data unit are displayed respectively; wherein each first target configuration information is different.
[0011] In one embodiment, in response to an interactive operation on a target data unit on an associated data page, the target data unit and other data units are displayed based on the target configuration information, including: in response to a selection operation on a target second data unit in a second area on an associated data page, a first data unit and at least one second data unit corresponding to the target second data unit are displayed based on the target configuration information; the at least one second data unit includes the target second data unit, the first data unit is determined based on first-category data associated with second-category data corresponding to the target second data unit in a first-category data set, and the at least one second data unit is determined based on at least one second-category data associated with the first-category data in a second-category data set.
[0012] In one embodiment, the target configuration information includes a target color, the target configuration information includes proportion configuration information, and the target data unit and other data units are displayed based on the target configuration information, including: displaying the unit area corresponding to the target data unit in the first area and the unit area corresponding to the other data units in the second area based on the target color; and / or displaying the unit area corresponding to the target data unit in the first area and the unit area corresponding to the other data units in the second area based on the proportion configuration information.
[0013] In one embodiment, after displaying the target data unit and other data units based on the target configuration information, the method further includes: displaying the other data units collectively in response to a grouping operation on the associated data page.
[0014] In one embodiment, the associated data page includes a third area, and the steps after displaying the target data unit and other data units based on the target configuration information include: obtaining target data in the target class data corresponding to the target data unit; obtaining comparison data corresponding to the target data in other class data corresponding to other data units; comparing the target data and the comparison data to obtain a comparison result; and displaying the comparison result in the third area.
[0015] In a second aspect, the present application further provides a device for displaying associated data, comprising:
[0016] Displaying a linked data page, the linked data page including at least a first area and a second area, the first area displaying a first type of data set in the form of data units, the second area displaying a second type of data set in the form of data units, and the first type of data set and the second type of data set being associated with each other;
[0017] In response to interactive operations on the target data unit on the associated data page, the target data unit and other data units are displayed based on the target configuration information. The other data units are determined based on data units associated with the target class data from other classes of data other than the target class data. The target class data is the data corresponding to the target data unit.
[0018] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps described in the above method when executing the computer program.
[0019] In a fourth aspect, the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps described in the above method are implemented.
[0020] In a fifth aspect, the present application also provides a computer program product, comprising a computer program, which implements the steps described in the above method when executed by a processor.
[0021] The above-mentioned method, apparatus, computer device, computer-readable storage medium, and computer program product for displaying associated data display a related data page, wherein the related data page includes at least a first area and a second area, wherein the first area displays a first type of data set in the form of data units, and the second area displays a second type of data set in the form of data units, and the first type of data set in the first area and the second type of data set in the second area have an associated relationship. In other words, the data units in the first area have associated data units in the second area. When an interactive operation is performed on the target data unit on the associated data page, in response to the interactive operation, since the first type of data set has an associated relationship with the second type of data set, other data units associated with the target type data can be determined from other types of data other than the target type data based on the target type data corresponding to the target data unit, and then the target data unit and other data units are displayed based on the obtained target configuration information. In this way, the associated data can be displayed intuitively and quickly through a single interactive operation, thereby eliminating the inefficient steps caused by manually distinguishing the associated data. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 A diagram illustrating an application environment of a method for displaying associated data in one embodiment;
[0024] Figure 2 1 is a flow chart of a method for displaying associated data in one embodiment;
[0025] Figure 3 A schematic diagram of an interface for displaying associated data in one embodiment;
[0026] Figure 4 A schematic diagram of an interface for displaying associated data in another embodiment;
[0027] Figure 5 A schematic diagram of the relationship between associated data in one embodiment;
[0028] Figure 6 is a structural block diagram of a device for displaying associated data in one embodiment;
[0029] Figure 7 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0031] The method for displaying associated data provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The data storage system can store a first type of data set and a second type of data set, wherein the first type of data set and the second type of data set have an associated relationship. The terminal 102 can communicate with the server 104 to obtain the first type of data set and the second type of data set, and then display the first type of data set and the second type of data set in the form of data units on the associated data page. After displaying the associated data page, the terminal responds to the interactive operation on the target data unit on the associated data page, and determines other data units associated with the target class data from other types of data other than the target class data based on the target class data corresponding to the target data unit. Then, the associated target data unit and other data units are displayed based on the acquired target configuration information. Optionally, terminal 102 may also send the target data unit to server 104. After server 104 determines other types of data associated with the target class data corresponding to the target data unit, it sends the other types of data to the terminal, so that terminal 102 displays the target class data and other types of data based on the target configuration information. Terminal 102 may be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, smart car devices, projectors, etc. Portable wearable devices may include smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may include virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Server 104 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services.
[0032] In an exemplary embodiment, Figure 2 As shown, a method for displaying associated data is provided, which is applied to Figure 1 The terminal in FIG is taken as an example to illustrate the method, including the following steps 202 to 204. Among them:
[0033] Step 202 : Displaying a related data page. The related data page includes at least a first area and a second area. The first area displays a first type of data set in the form of data units, and the second area displays a second type of data set in the form of data units.
[0034] The first category data set and the second category data set have an association relationship. The association relationship can be represented based on a data table. For example, each first category data in the first category data set can be assigned a first association character, and each second category data in the second category data set can be assigned a second association character. When the first association character or the second association character is the same, the first category data corresponding to the first association character is associated with the second category data corresponding to the second association character.
[0035] The first type of data set includes at least one first type of data. The second type of data set also includes at least one second type of data. For example, each first type of data in the first type of data set has at least one associated second type of data in the second type of data set. A data unit refers to an independent and complete set of information displayed on the associated data page. A data unit may include multiple fields. Figure 4 , the first area displays multiple data units. Each data unit is composed of multiple fields. For example, the data unit in the first area is composed of the fields {document number, contract date, document status, supplier, ...}. Correspondingly, each first-category data included in the first-category data set also includes at least one field data. When an interactive operation is performed on any field in the data unit on the associated data page, an interactive operation can be performed on the data unit corresponding to the field. Exemplarily, if the interactive operation is a click operation, clicking on the document number field in the first first-category data in the first area represents a click operation on the first first-category data in the first area, and will not involve a click operation on the second first-category data. Correspondingly, at least one second-category data associated with the first first-category data in the first area needs to be displayed in the second area according to the preset rules. Taking the contract payment field as an example, refer to Figure 3 , the displayed associated data page is about the associated data page of the purchase contract and the payment slip. In some embodiments, a purchase contract may be completed by multiple purchases, so a purchase contract corresponds to at least one payment slip. In this associated data page, the first area displays the first type of data set corresponding to the purchase contract, and the second area displays the second type of data set corresponding to the payment slip. Figure 3As shown, the purchase contract with document number PC2024335 was completed by three purchases, and the corresponding payment amounts were 100,000 yuan, 3,744 yuan, and 1,000 yuan, respectively. In other words, the first form type data displayed in the first area is associated with the first, fourth, and fifth form type data displayed in the second area. In other embodiments, a payment slip may be used to pay for items to be purchased in multiple purchase contracts. In this case, the second type of data in the second type of data set corresponds to multiple first type data in the first type of data set.
[0036] Step 204, in response to the interactive operation on the target data unit on the associated data page, the target data unit and other data units are displayed based on the target configuration information, the other data units are determined based on the data units associated with the target class data from other classes of data other than the target class data, and the target class data is the data corresponding to the target data unit.
[0037] The target data unit can refer to a data unit in the first area or a data unit in the second area. Interactions refer to interactions with associated data page elements (e.g., buttons, links, input boxes, etc.) using a mouse, keyboard, touchscreen, or other input device. Interactions can include clicks and pauses.
[0038] In this embodiment, interactive operations can be performed on a target data unit or on multiple target data units on the associated data page. One target class data corresponds to one target data unit. The target data unit is the representation of the target class data on the associated data page. Target class data refers to data in the first category data set or the second category data set. The data in the first category data set is different from the data in the second category data set. Other category data refers to data of other types other than the target type to which the target class data belongs. For example, if the target class data is data in the first category data set, then the other category data represents data in the second category data set. If the target class data is data in the second category data set, then the other category data represents data in the first category data set. It can be understood that there can be more than one type of other category data, and it can also include third category data, fourth category data, etc.
[0039] The target configuration information refers to the information for configuring the data unit in the associated data page. The target configuration information may include at least one of color configuration information and ratio configuration information. The color configuration information is the relevant information for configuring the color of the unit area corresponding to the data unit. For example, Figure 3In the display, the cell area corresponding to a data cell is the area occupied by the data row. When displaying the target data cell based on the color configuration information, the color configuration is applied to the area occupied by the data row corresponding to the target data cell. The proportional configuration information is information related to the proportional configuration of the area corresponding to the data cell. When displaying the target data cell based on the proportional configuration information, the area occupied by the data row corresponding to the target data cell is proportionally configured. Specifically, the width of the data row corresponding to the target data cell can be increased to twice its original width to increase the proportion of the data row corresponding to the target data cell.
[0040] For example, since the first data unit in the first area is associated with the first, fourth, and fifth data units in the second area, when an interactive operation is performed on the first data unit in the first area, the first, fourth, and fifth data units are determined to be associated with the first data unit in the first area from the second type of data corresponding to the second area. When the obtained target configuration information is color configuration information, the data rows containing the first data unit in the first area, the first data unit in the second area, the fourth data unit, and the fifth data unit are configured to the target color (e.g., gray).
[0041] In the above-mentioned method for displaying associated data, an associated data page is displayed, wherein the associated data page includes at least a first area and a second area. The first area displays a first type of data set in the form of data units, and the second area displays a second type of data set in the form of data units. The first type of data set in the first area is associated with the second type of data set in the second area. In other words, the first type of data in the first area is associated with the second type of data in the second area. When an interactive operation is performed on a target data unit on the associated data page, in response to the interactive operation, due to the association between the first type of data set and the second type of data set, other data units associated with the target type of data can be determined from data of other types other than the target type of data based on the target type of data corresponding to the target data unit. The target data unit and other data units are then displayed based on the obtained target configuration information. In this way, the associated data can be displayed intuitively and quickly through a single interactive operation, thereby eliminating the inefficient step of manually distinguishing the associated data. In addition, by displaying data in the form of data units on the associated data page, the interactive steps can be simplified. By clicking any field in the data unit or any position in the corresponding unit area of the data unit, the form-type data can be selected, thereby eliminating the restriction on the interactive area and improving practicality.
[0042] As mentioned above, in the associated data page, interactive operations can be performed on the data units in the first area, and can also be performed on the data units in the second area.
[0043] In some embodiments, in response to an interactive operation on an associated data page for a first data unit in a first area, the first data unit and a second data unit corresponding to at least one second-category data are displayed based on the target configuration information. That is, when the target data unit for the interactive operation is the first data unit in the first area, the terminal can determine, from the second-category data set, at least one second-category data associated with the first-category data based on the first-category data corresponding to the first data unit. The terminal then displays the first data unit and the second data unit corresponding to the at least one second-category data associated with the first data unit based on the acquired target configuration information.
[0044] Exemplarily, after a user determines a first data unit for interactive operation in an interactive area of an associated data page, the first category of data corresponding to the first data unit is determined. Based on a first associated character of the first category of data, a second associated character identical to the first associated character is determined from a data table storing associated relationships. The second category of data corresponding to the second associated character is determined as data associated with the first category of data. Subsequently, based on the acquired target configuration information, the first data unit and the second data unit corresponding to at least one associated second category of data are displayed.
[0045] For example, refer to Figure 3 After the user clicks on the first row of data in the purchase contract area, the associated data interface will configure the first row of data in the purchase contract area and the first row of data, the fourth row of data, and the fifth row of data in the payment order area with the same color.
[0046] In this embodiment, by performing interactive operations on any data unit in the first area, at least one data associated with the data unit in other areas can be displayed intuitively and quickly, thereby eliminating the need for users to input data to retrieve data to obtain data associated with the input data. The associated data can be obtained through a simple interactive operation, which also facilitates subsequent downstream tasks on the associated data (such as verifying the content of a field in the associated data).
[0047] In other embodiments, when the target data unit for the interactive operation is a second data unit in the second area, first-category data associated with the second-category data is determined from the first-category data set based on the second-category data corresponding to the second data unit, and at least one second-category data associated with the first-category data is determined from the second-category data set. The first data unit corresponding to the first-category data and at least one second data unit corresponding to the at least one second-category data associated with the first-category data are displayed based on the acquired target configuration information.
[0048] In this embodiment, the first type of data in the first type of data set and the second type of data in the second type of data set are in a one-to-many association relationship, that is, one second type of data corresponds to one first type of data, and one first type of data corresponds to at least one second type of data.
[0049] Exemplarily, when the target data unit for the interactive operation is the second data unit in the second area, based on the second associated character that matches the second category data corresponding to the second data unit, the first category data corresponding to the first associated character that is the same as the second associated character is determined from the data table storing the associated relationship. Furthermore, in order to conveniently obtain all associated relationships corresponding to the interactive data, not only the first associated character associated with the second associated character is retrieved in the data table, but also other second associated characters in the data table except the second associated character corresponding to the target data unit of the interaction are retrieved. That is to say, after obtaining the first category data, at least one second category data associated with the first category data is determined from the second category data set. Then, based on the obtained target configuration information, the first data unit corresponding to the first category data and at least one second data unit corresponding to at least one second category data are displayed.
[0050] For example, please refer to Figure 3 After the user clicks on the first row of data in the payment order area, the associated data interface will configure the first row of data in the payment order area, the first row of data in the purchase contract area, and the fourth and fifth rows of data in the payment order area with the same color.
[0051] In this embodiment, by determining all data units associated with the second data unit in the second area, it is possible for the user to directly obtain all associated data units corresponding to the target data unit for interaction, regardless of whether the user interacts with the first data unit in the first area or the second data unit in the second area, thereby improving the practicality of interacting with the associated data page.
[0052] In a specific embodiment, the first area is used to display a first document, and the second area is used to display a second document. The first area and the second area both include at least one entry line. In this case, in response to an interactive operation on the associated data page for the first data unit in the first area, the first data unit and the second data unit corresponding to at least one second type of data are displayed based on the target configuration information, including: in response to an interactive operation on the target first entry line in the first area, the target first entry line and at least one target second entry line in the second area are displayed based on the target configuration information. The at least one target second entry line is determined based on the first key value corresponding to the target first entry line, and the target second key value associated with the first key value in the second key value set is determined, and the second key value set stores the association relationship between the second key value and the second entry line.
[0053] In other words, the data table representing the association relationship stores the correspondence between the first key value set and the second key value set. In other words, every first key value has at least one corresponding second key value in the second key value set. Every second key value has a corresponding first key value in the first key value set. For example, if the first key value and the second key value are equal in the data table, it means that the first key value and the second key value have an association relationship, that is, the first entry row corresponding to the first key value has an association relationship with the second entry row corresponding to the second key value. Each key value corresponds to one entry row.
[0054] Specifically, if a user clicks a location in the first area, the target first entry row corresponding to the clicked location is retrieved. Based on the first key value corresponding to the target first entry row, at least one associated second key value and at least one target second entry row corresponding to the at least one second key value are retrieved from the data table. The target first entry row and the at least one target second entry row can then be displayed according to the target configuration information.
[0055] In this embodiment, by displaying the documents on the associated data page and operating one of the documents, the target content associated with the operation content in other documents is automatically highlighted, so that the corresponding relationship between the data between the documents can be quickly and intuitively obtained.
[0056] In actual applications, it may be necessary to simultaneously display multiple groups of associated data on an associated data page to intuitively display more data at one time and perform intuitive comparisons between multiple groups of data. In some embodiments, in response to a user's interactive operation on a plurality of first data units in a first area on an associated data page, at least one second type of data associated with each first type of data is determined from a second type of data set based on the first type of data corresponding to each first data unit; first target configuration information corresponding to each first data unit is obtained; and based on each first target configuration information, the corresponding first data unit and at least one second data unit corresponding to the at least one second type of data associated with the first data unit are displayed. In order to clearly distinguish between the groups of associated data, the multiple first target configuration information obtained are different.
[0057] For example, refer to Figure 4The first contract data in the purchase contract area is associated with the first, fourth, and fifth payment data in the payment order area. The second contract data in the purchase contract area is associated with the third payment data in the payment order area. The third contract data in the purchase contract area is associated with the second and sixth payment data in the payment order area. When the three contract data in the purchase contract are selected, on the associated data page, the cell area corresponding to the first contract data in the purchase contract area, the cell area corresponding to the first, fourth, and fifth payment data in the payment order area are all displayed in color A. The cell area corresponding to the second contract data in the purchase contract area, the cell area corresponding to the third payment data in the payment order area are both displayed in color B. The cell area corresponding to the third contract data in the purchase contract area, the cell area corresponding to the second and sixth payment data in the payment order area are all displayed in color C.
[0058] In this embodiment, by displaying associated data that do not belong to the same group with different target configuration information, associated data of different groups can be quickly distinguished, and displaying with different target configuration information can facilitate subsequent analysis of associated data of each group.
[0059] In one exemplary embodiment, to highlight associated data in different regions on an associated data page, the region containing the data unit corresponding to the identified associated data can be filled and displayed with a target color. In other words, in order to display the target data unit and other data units based on target configuration information, the following steps can be performed: obtaining a target color based on the target configuration information; and filling and displaying the region corresponding to the target data unit in a first region and the region corresponding to the other data units in a second region with the target color. In other words, the data rows containing the target data unit and its associated other data units are highlighted.
[0060] Furthermore, when displaying multiple sets of associated data simultaneously, to quickly distinguish the associated data corresponding to different groups, the differences between the first target configuration information corresponding to each first data unit can meet preset conditions. For example, color A can be red, color B can be yellow, and color C can be blue. If multiple target configuration information is obtained, each target configuration information can be verified. If any target configuration information does not meet the preset conditions, the target configuration information is re-acquired.
[0061] In this embodiment, by configuring the colors of the associated data groups, the associated data can be displayed quickly and intuitively.
[0062] In some embodiments, because the amount of form-type data in each region may be large, the associated data in the same region may be far apart, making it inconvenient to view all the associated data at the same time. Therefore, to address or improve this problem, the associated data page includes a grouping control to facilitate grouping operations on the associated data page. It is understood that each region can be configured with a corresponding grouping control. For example, in response to a grouping operation on the associated data page, other data units are displayed collectively.
[0063] Specifically, in response to the grouping operation on the associated data page, the positions of other data units in the current area are obtained. If the number of positions is multiple and the distance between adjacent positions exceeds a preset value, the positions of other data units in the current area are changed to display the other data units in a centralized manner, otherwise the other data units are displayed at designated positions.
[0064] That is to say, if there are multiple other data units associated with the target data unit, and the unit areas corresponding to these data units are relatively scattered (for example, there are other unit areas between adjacent data units), in order to facilitate the simultaneous acquisition of information about associated data, these other data units can be displayed centrally, reducing the steps of operating the scroll bar back and forth in the current area to obtain all associated information, thereby improving the convenience of operation on the current page.
[0065] Specifically, after an interactive operation is performed on a first data unit in a first area, the first data unit in the first area and the unit areas where multiple second data units are located in the second area are all filled and displayed with the target color. In response to a grouping operation corresponding to the second area on the associated data page, the positions of the unit areas where the multiple second data units are located are obtained. If the distance between adjacent positions in the multiple positions exceeds 1, that is, the multiple second data units are not adjacent to each other in sequence, the positions of the unit areas corresponding to these second data units are changed so that these second data units can be displayed collectively.
[0066] In other embodiments, if only one second data unit is determined to be associated with a first data unit, the original position of the cell area corresponding to the second data unit can be changed to a specified position to quickly display the associated second type of data. For example, the position of the cell area corresponding to the second data unit can be changed to the first row of the current region, making the second data unit the first data unit in the current region. Accordingly, in the current region (the second region), the positions of the data units preceding the original position of the cell area corresponding to the second data unit are incremented by 1, while the positions of the data units following the original position of the cell area corresponding to the second data unit remain unchanged.
[0067] In some other embodiments, when displaying multiple groups of associated data units, in response to the grouping operation on the second area, the position sets of the corresponding unit areas of at least one second data unit associated with each first data unit are obtained respectively, and the changed position of at least one unit area corresponding to at least one second data unit associated with each first data unit is determined based on each position set, and the at least one second data unit associated with each first data unit is displayed according to the changed position. The distance between at least one changed position of at least one unit area corresponding to at least one second data unit associated with each first data unit is equal to a preset value. And the positions of at least one second data unit associated with each first data unit are non-overlapping. Furthermore, at least one second data unit associated with each first data unit can be displayed in sequence from the designated position.
[0068] In an exemplary embodiment, after interactive operations are performed on the associated data page to visually display the associated data, the displayed associated data can also be verified. Exemplarily, the associated data page can include a third area. After displaying the target data unit and other data units based on the target configuration information, the target data in the target class data corresponding to the target data unit is obtained; comparison data corresponding to the target data in other class data corresponding to other data units is obtained; the target data and the comparison data are compared to obtain a comparison result; and the comparison result is displayed in the third area.
[0069] It is understood that both the first and second categories of data may be composed of multiple data items. After highlighting the associated data, the associated data can be verified. For example, after highlighting a purchase contract and its associated payment slip, it is convenient to verify the purchase amount data item in the purchase contract with the payment amount data item in the associated payment slip, thereby quickly identifying problems between the associated data.
[0070] The target data can be either the first or second category data. The other category data can be either the first or second category data. The target data and the other category data belong to different categories. The target data is at least one item of data in the target data. The comparison data is at least one item of data in the other category data.
[0071] In some embodiments, when the target data unit corresponds to multiple other data units, the comparison data of other types of data corresponding to each other data unit can be obtained, and the sum of each comparison data is compared with the target data. When the sum is greater than the target data, the comparison result is: abnormal; when the sum is less than or equal to the target data, the comparison result is: normal. The comparison result is then displayed in the third area, such as Figure 3As shown, the third area can be independent of the first and second areas. The third area displays the comparison result: the payment order entry exceeds the purchase contract entry. This direct display of the comparison result also eliminates the need for manual verification.
[0072] In some embodiments, to facilitate display of the association between data units in the second area or the first area, when the values corresponding to the same data items in the data units are also the same, the cells containing the same data items can be merged (refer to Figure 3 ).
[0073] In some embodiments, common fields of adjacent data units in the first area or the second area are merged and displayed. The common fields have the same field value.
[0074] In response to the interactive operation on the target data unit, the target data unit and other data units are displayed based on the target configuration information, and the common fields corresponding to the groups to which other data units belong are displayed based on the target configuration information. Among them, the target fields with the same field values in the data units belonging to the same group can be combined and displayed (refer to Figure 3 ). The first three data rows in the second area belong to the same group and have the same target field value. Therefore, the target fields of these three data rows are combined and displayed. Figure 3 When the first data row is displayed according to the target configuration rule, the corresponding common fields are also displayed according to the target configuration rule. If multiple data units belonging to the same group need to be displayed according to different target colors (for example, multiple data units belonging to the same group in the second area are associated with different data units in the first area), the common fields corresponding to the group can be displayed according to one of the target colors. For example, the common fields corresponding to the group can be displayed according to the target color corresponding to the first data unit in the group. This also allows for an intuitive understanding of the individual data belonging to the same group, improving the practicality of the system.
[0075] In an exemplary embodiment, Figure 5 As shown in the figure, the first type of data set is the purchase order data set, and the second type of data set is the payable data set. The relationship between the purchase order data set and the payable data set is as follows: Figure 5 Based on this association, the first area of the Related Data page displays the entries for each purchase order, while the second area displays the entries for each payable document. Each entry is displayed as a data cell on the Related Data page. For example, the first area has 9 rows of data, and the second area has 12 rows of data. Each row of data corresponds to a single entry.
[0076] In response to an interactive operation on a first data unit in the first area on the associated data page, at least one second-category data unit associated with the first-category data unit is determined from a second-category data set based on the first-category data unit corresponding to the first data unit; and the first data unit and the second data unit corresponding to the at least one second-category data unit are displayed based on the target configuration information. For example, when clicking the data unit corresponding to Entry 1 of Purchase Order A in the first area, the data unit corresponding to Entry 1 of Purchase Order A, the data unit corresponding to Entry 3 of Payable Document A, and the data unit corresponding to Entry 2 of Payable Document C are all displayed in the same color on the associated data page.
[0077] In response to a selection operation on a second data unit in the second area on the associated data page, first-category data associated with the second-category data is determined from the first-category data set based on the second-category data corresponding to the second data unit, and at least one second-category data associated with the first-category data is determined from the second-category data set based on the first-category data corresponding to the first data unit; and the first data unit corresponding to the first-category data and at least one second data unit corresponding to the at least one second-category data are displayed based on the target configuration information. For example, when the data unit corresponding to Entry 3 of A / P A in the second area is clicked, the data unit corresponding to Entry 1 of Purchase Order A, the data unit corresponding to Entry 3 of A / P A, and the data unit corresponding to Entry 2 of A / P C are all displayed in the same color (e.g., red) on the associated data page. For another example, when the data unit corresponding to Entry 1 of A / P B in the second area is clicked, the data unit corresponding to Entry 2 of Purchase Order B and the data unit corresponding to Entry 1 of A / P B are all displayed in the same color (e.g., purple) on the associated data page.
[0078] In this embodiment, by displaying the associated data in the same color, visualization of the associated data can be achieved, so that the associated data can be intuitively and quickly identified on the associated data page, which is conducive to improving the efficiency of some subsequent downstream tasks.
[0079] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0080] Based on the same inventive concept, embodiments of the present application also provide a device for displaying associated data, for implementing the aforementioned method for displaying associated data. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of the one or more embodiments of the device for displaying associated data provided below can be found in the aforementioned definition of the method for displaying associated data, and will not be further elaborated here.
[0081] In an exemplary embodiment, Figure 6 As shown, a display device 600 for associated data is provided, comprising: a display module 601 and a configuration module 602, wherein:
[0082] The display module 601 is used to display the associated data page. The associated data page includes at least a first area and a second area. The first area displays the first type of data set in the form of data units, and the second area displays the second type of data set in the form of data units. There is an association relationship between the first type of data set and the second type of data set.
[0083] Configuration module 602 is used to display the target data unit and other data units based on the target configuration information in response to interactive operations on the target data unit on the associated data page. The other data units are determined based on data units associated with the target class data from other types of data other than the target class data. The target class data is the data corresponding to the target data unit.
[0084] In some embodiments, in response to an interactive operation on a target data unit on an associated data page, displaying the target data unit and other data units based on the target configuration information, the configuration module 602 is also used to: in response to an interactive operation on an associated data page on a first data unit in a first area, displaying the first data unit and a second data unit corresponding to at least one second category of data based on the target configuration information; the at least one second category of data is determined from data associated with the first category of data in a second category of data set based on the first category of data corresponding to the first data unit.
[0085] In some embodiments, the first area is used to display a first document, and the second area is used to display a second document. The first document and the second document both include at least one entry line. In response to an interactive operation on a first data unit in the first area on an associated data page, in terms of displaying the first data unit and the second data unit corresponding to at least one second type of data based on target configuration information, the configuration module 602 is also used to: in response to an interactive operation on a target first entry line in the first area, display the target first entry line and at least one target second entry line in the second area based on the target configuration information; the at least one target second entry line is determined based on the first key value corresponding to the target first entry line, and the target second key value associated with the first key value in the second key value set, and the second key value set stores the association relationship between the second key value and the second entry line.
[0086] In some embodiments, in response to interactive operations on the target data unit on the associated data page, displaying the target data unit and other data units based on the target configuration information, the configuration module 602 is also used to: in response to interactive operations on the associated data page for multiple first data units in the first area, based on the first target configuration information corresponding to each first data unit, display each first data unit and at least one second data unit corresponding to at least one second type of data associated with each first data unit; wherein each first target configuration information is different.
[0087] In some embodiments, in response to an interactive operation on a target data unit on an associated data page, displaying the target data unit and other data units based on the target configuration information, the configuration module 602 is also used to: in response to a selection operation on a target second data unit in a second area on the associated data page, displaying a first data unit and at least one second data unit corresponding to the target second data unit based on the target configuration information; the at least one second data unit includes the target second data unit, the first data unit is determined based on the first type of data associated with the second type of data corresponding to the target second data unit in the first type of data set, and the at least one second data unit is determined based on at least one second type of data associated with the first type of data in the second type of data set.
[0088] In some embodiments, the target configuration information includes a target color. In terms of displaying the target data unit and other data units based on the target configuration information, the configuration module 602 is also used to: display the unit area corresponding to the target data unit in the first area and the unit area corresponding to the other data units in the second area based on the target color; and / or display the unit area corresponding to the target data unit in the first area and the unit area corresponding to the other data units in the second area based on the proportion configuration information.
[0089] In some embodiments, the display device 600 for associated data further includes a grouping module. After displaying the target data unit and other data units based on the target configuration information, the grouping module is further used to: display other data units collectively in response to a grouping operation on the associated data page.
[0090] In some embodiments, the associated data display device 600 also includes a verification module, and the associated data page includes a third area. After displaying the target data unit and other data units based on the target configuration information, the verification module is also used to: obtain target data in the target class data corresponding to the target data unit; obtain comparison data corresponding to the target data in other class data corresponding to other data units; compare the target data and the comparison data to obtain a comparison result; and display the comparison result in the third area.
[0091] Each module in the above-mentioned associated data display device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0092] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals via wired or wireless means, and the wireless means can be implemented via Wi-Fi, a mobile cellular network, near-field communication (NFC), or other technologies. When executed by the processor, the computer program implements a method for displaying associated data. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0093] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0094] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0095] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in each method embodiment are implemented.
[0096] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of each method embodiment when executed by a processor.
[0097] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.
[0098] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0099] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for displaying associated data, characterized in that: The method comprises: Displaying a related data page, the related data page including at least a first area and a second area, the first area displaying a first type of data set in the form of data units, the second area displaying a second type of data set in the form of data units, the first type of data set and the second type of data set being associated with each other; In response to interactive operations on the target data unit on the associated data page, the target data unit and other data units are displayed based on the target configuration information, and the other data units are determined based on data units associated with the target class data from other class data other than the target class data, and the target class data is data corresponding to the target data unit.
2. The method according to claim 1, characterized in that The step of displaying the target data unit and other data units based on target configuration information in response to an interactive operation on the associated data page, includes: In response to an interactive operation on the associated data page for a first data unit in the first area, displaying the first data unit and a second data unit corresponding to at least one second type of data based on the target configuration information; The at least one second-category data is determined based on the first-category data corresponding to the first data unit and from data associated with the first-category data in the second-category data set.
3. The method according to claim 2, characterized in that The first area is used to display a first document, and the second area is used to display a second document. The first document and the second document each include at least one journal entry line. In response to an interactive operation on the associated data page for a first data unit in the first area, displaying the first data unit and a second data unit corresponding to at least one second-category data based on the target configuration information includes: In response to an interactive operation on a target first journal entry row in the first area, displaying the target first journal entry row and at least one target second journal entry row in the second area based on the target configuration information; The at least one target second journal entry row is determined based on the first key value corresponding to the target first journal entry row, and from the target second key value associated with the first key value in the second key value set, and the second key value set stores the association relationship between the second key value and the second journal entry row.
4. The method according to claim 1, wherein The step of displaying the target data unit and other data units based on target configuration information in response to an interactive operation on the associated data page, includes: In response to an interactive operation on the associated data page for the plurality of first data units in the first area, displaying each first data unit and at least one second data unit corresponding to at least one second type of data associated with each first data unit based on first target configuration information corresponding to each first data unit; Wherein, each of the first target configuration information is different.
5. The method according to claim 1, wherein The step of displaying the target data unit and other data units based on target configuration information in response to an interactive operation on the associated data page, includes: In response to a selection operation on the associated data page for a target second data unit in the second area, displaying a first data unit and at least one second data unit corresponding to the target second data unit based on the target configuration information; The at least one second data unit includes the target second data unit, the first data unit is determined based on the first category data associated with the second category data corresponding to the target second data unit in the first category data set, and the at least one second data unit is determined based on at least one second category data associated with the first category data in the second category data set.
6. The method according to claim 1, wherein The target configuration information includes a target color, the target configuration information includes scale configuration information, and the displaying of the target data unit and other data units based on the target configuration information includes: Displaying the unit area corresponding to the target data unit in the first area and the unit areas corresponding to other data units in the second area based on the target color; and / or The unit area corresponding to the target data unit in the first area and the unit areas corresponding to other data units in the second area are displayed based on the proportion configuration information.
7. The method according to claim 1, characterized in that After displaying the target data unit and the other data units based on the target configuration information, the method further includes: In response to the grouping operation on the associated data page, the other data units are displayed collectively.
8. The method according to claim 1, characterized in that The associated data page includes a third area. After the target data unit and the other data units are displayed based on the target configuration information, the method includes: Obtaining target data in target class data corresponding to the target data unit; Obtaining comparison data corresponding to the target data from other types of data corresponding to the other data units; Comparing the target data with the comparison data to obtain a comparison result; The comparison result is displayed in the third area.
9. A device for displaying associated data, characterized in that: The device comprises: a display module, configured to display a related data page, the related data page including at least a first area and a second area, the first area displaying a first type of data set in the form of data units, the second area displaying a second type of data set in the form of data units, the first type of data set and the second type of data set being associated with each other; A display module is used to display the target data unit and other data units based on target configuration information in response to interactive operations on the target data unit on the associated data page, wherein the other data units are determined based on data units associated with the target class data from other class data other than the target class data, and the target class data is data corresponding to the target data unit.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
System and method for displaying two-dimensional data on small screen devices
US20040085289A1