Method and apparatus for generating bull's eye plot, and electronic device and storage medium
By using the bullseye chart generation method and the weighted setting of sectors and concentric rings, the problem of limited information expression in existing technologies is solved, and intuitive display and clear expression of multidimensional data are realized.
Patent Information
- Application Number
- PCT/CN2024/144305
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-06
- Filing Date
- 2024-12-31
- Publication Date
- 2025-11-13
AI Technical Summary
Existing heatmaps and stacked graphs cannot fully meet the needs of displaying complex data structures with four dimensions or more, resulting in limited information expression and an unfriendly user experience.
The bullseye chart generation method is adopted. By acquiring multiple data results, sectors and concentric rings are set based on classification. The sector span is determined by weighting values, and image labels are set in the sub-concentric rings of the sector. Combined with text labels and connecting line labels, the intuitiveness and clarity of data display are improved.
It enables intuitive and clear display of multidimensional data, meets the quantity and priority requirements of different data results, and improves the intuitiveness of data expression and user experience.
Smart Images

Figure CN2024144305_13112025_PF_FP_ABST
Abstract
Description
Methods, apparatus, electronic devices and storage media for generating bullseye charts
[0001] Related applications
[0002] This application claims priority to Chinese patent application filed on May 6, 2024, with application number CN202410547078.9, entitled "Bullseye Image Generation Method, Apparatus, Electronic Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for generating bullseye diagrams. Background Technology
[0004] For patent search results, charts such as heatmaps and stacked graphs are commonly used to display the findings. However, these charts have some limitations in conveying information. Primarily, they are limited to presenting three-dimensional information, meaning they can only convey information along the X and Y axes and quantitative data, failing to display detailed data composition and important data dimensions. Furthermore, heatmaps and stacked graphs are not intuitive enough for displaying complex data structures and cannot meet the comprehensive needs for four-dimensional and higher-dimensional information. Therefore, current products suffer from limitations in information expression and a less-than-ideal user experience when visualizing search results. Summary of the Invention
[0005] In view of this, embodiments of this application provide a method, apparatus, electronic device, and storage medium for generating bullseye diagrams.
[0006] According to a first aspect of the embodiments of this application, a method for generating a bullseye image is proposed, the method comprising:
[0007] Retrieve multiple data results;
[0008] The bullseye chart sectors are set based on at least one first category of the multiple data results;
[0009] The concentric rings of the bullseye diagram are set based on at least one second classification of the multiple data results, wherein the span of each sector is determined by a weighted value obtained by weighting the first number of data results of all sub-concentric rings within the sector.
[0010] Set image labels corresponding to the data results within the concentric rings of the sector.
[0011] In some embodiments, the weight of the first quantity is determined based on the second classification of the sub-concentric rings corresponding to the first quantity.
[0012] In some embodiments, the method further includes:
[0013] Based on the space occupied by each sub-concentric ring within the sector and the space occupied by the image identifiers of the data results, determine the second number of image identifiers that can be set for each sub-concentric ring;
[0014] Setting image identifiers corresponding to the data results within the sub-concentric rings of the sector includes at least one of the following:
[0015] In response to a second quantity corresponding to the first sub-concentric ring within a sector being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set within the first sub-concentric ring;
[0016] In response to the fact that the second number corresponding to the first sub-concentric ring within the sector is less than the first number corresponding to the first sub-concentric ring, the first number corresponding to the first sub-concentric ring is marked within the first sub-concentric ring.
[0017] In some embodiments, the method further includes:
[0018] Determine the third number of image identifiers that can be set within the circumferential row of the first sub-concentric ring;
[0019] The step of setting an image identifier for the data result corresponding to the first sub-concentric ring within the first sub-concentric ring includes:
[0020] In response to the third quantity corresponding to the first sub-concentric ring being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in a circumferential row of the first sub-concentric ring;
[0021] In response to the fact that the third quantity corresponding to the first sub-concentric ring is less than the first quantity corresponding to the first sub-concentric ring, the image identifier of the data result corresponding to the first sub-concentric ring is set evenly in the N circumferential rows of the first sub-concentric ring.
[0022] In some embodiments, the method further includes:
[0023] Set a text label for the corresponding data result for at least one image label.
[0024] In some embodiments, setting a text identifier for the corresponding data result for at least one image identifier includes:
[0025] The text identifier is sequentially set in at least one preset candidate position of the image identifier.
[0026] The first preset candidate position that meets the collision conditions is determined as the target position for placing the text identifier.
[0027] Place the text label at the target location;
[0028] The collision conditions include at least one of the following: the space occupied by the text label does not overlap with the space already occupied in the bullseye diagram; the overlap between the space occupied by the text label and the space already occupied in the bullseye diagram is less than a predetermined value.
[0029] In some embodiments, the method further includes:
[0030] In response to the fact that none of the preset candidates for the image identifier meet the collision condition, the image identifier is not assigned a corresponding text identifier.
[0031] In some embodiments, the occupied space in the bullseye diagram includes at least one of the following:
[0032] The space occupied by any predetermined character in the bullseye diagram;
[0033] The space occupied by any image icon in the bullseye diagram;
[0034] The space occupied by any text label in the bullseye diagram.
[0035] In some embodiments, the method further includes:
[0036] A connection identifier is set between the first image identifier and the text identifier corresponding to the first image identifier in each image identifier, in response to satisfying at least one of the following:
[0037] The distance between the first image identifier and the second image identifier among all image identifiers is less than a first threshold;
[0038] The distance between the first image identifier and the text identifier corresponding to the first image identifier is greater than the second threshold.
[0039] The distance between the text identifier corresponding to the first image identifier and the second image identifier is less than a third threshold.
[0040] According to a second aspect of the embodiments of this application, a bullseye diagram generation apparatus is provided, the apparatus comprising:
[0041] The send / receive module is configured to retrieve multiple data results;
[0042] The processing module is configured to set the sectors of the bullseye chart based on at least one first category of the multiple data results;
[0043] The processing module is further configured to set concentric rings of the bullseye chart based on at least one second category of the multiple data results, wherein the span of each sector is determined by a weighted value obtained by weighting the first number of data results of all sub-concentric rings within the sector.
[0044] The processing module is further configured to set image identifiers corresponding to the data results within the sub-concentric rings of the sector.
[0045] In some embodiments, the weight of the first quantity is determined based on the second classification of the sub-concentric rings corresponding to the first quantity.
[0046] In some embodiments, the processing module is further configured to:
[0047] Based on the space occupied by each sub-concentric ring within the sector and the space occupied by the image identifiers of the data results, determine the second number of image identifiers that can be set for each sub-concentric ring;
[0048] The processing module is specifically configured to include at least one of the following:
[0049] In response to a second quantity corresponding to the first sub-concentric ring within a sector being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set within the first sub-concentric ring;
[0050] In response to the fact that the second number corresponding to the first sub-concentric ring within the sector is less than the first number corresponding to the first sub-concentric ring, the first number corresponding to the first sub-concentric ring is marked within the first sub-concentric ring.
[0051] In some embodiments, the processing module is further configured to:
[0052] Determine the third number of image identifiers that can be set within the circumferential row of the first sub-concentric ring;
[0053] The processing module is specifically configured to include at least one of the following:
[0054] In response to the third quantity corresponding to the first sub-concentric ring being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in a circumferential row of the first sub-concentric ring;
[0055] In response to the fact that the third quantity corresponding to the first sub-concentric ring is less than the first quantity corresponding to the first sub-concentric ring, the image identifier of the data result corresponding to the first sub-concentric ring is set evenly in the N circumferential rows of the first sub-concentric ring.
[0056] In some embodiments, the processing module is further configured to:
[0057] Set a text label for the corresponding data result for at least one image label.
[0058] In some embodiments, the processing module is specifically configured as follows:
[0059] The text identifier is sequentially set in at least one preset candidate position of the image identifier.
[0060] The first preset candidate position that meets the collision conditions is determined as the target position for placing the text identifier.
[0061] Place the text label at the target location;
[0062] The collision conditions include at least one of the following: the space occupied by the text label does not overlap with the space already occupied in the bullseye diagram; the overlap between the space occupied by the text label and the space already occupied in the bullseye diagram is less than a predetermined value.
[0063] In some embodiments, the processing module is further configured to:
[0064] In response to the fact that none of the preset candidates for the image identifier meet the collision condition, the image identifier is not assigned a corresponding text identifier.
[0065] In some embodiments, the occupied space in the bullseye diagram includes at least one of the following:
[0066] The space occupied by any predetermined character in the bullseye diagram;
[0067] The space occupied by any image icon in the bullseye diagram;
[0068] The space occupied by any text label in the bullseye diagram.
[0069] In some embodiments, the processing module is further configured to:
[0070] A connection identifier is set between the first image identifier and the text identifier corresponding to the first image identifier in each image identifier, in response to satisfying at least one of the following:
[0071] The distance between the first image identifier and the second image identifier among all image identifiers is less than a first threshold;
[0072] The distance between the first image identifier and the text identifier corresponding to the first image identifier is greater than the second threshold.
[0073] The distance between the text identifier corresponding to the first image identifier and the second image identifier is less than a third threshold.
[0074] According to a third aspect of the embodiments of this application, an electronic device is provided, the electronic device comprising:
[0075] One or more processors;
[0076] The processor is configured to invoke instructions to cause the electronic device to execute the bullseye diagram generation method described in the first aspect.
[0077] According to a fourth aspect of the embodiments of this application, a storage medium is provided, the storage medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the bullseye diagram generation method described in the first aspect.
[0078] According to an embodiment of this application, a bullseye chart generation method includes: acquiring multiple data results; setting sectors of the bullseye chart based on at least one first category of the multiple data results; setting concentric rings of the bullseye chart based on at least one second category of the multiple data results, wherein the span of each sector is determined by a weighted value obtained by weighting the number of data results in each of the sub-concentric rings within the sector; and setting image identifiers corresponding to the data results within the sub-concentric rings of the sector. Thus, by determining the span of the sector by the weighted value of the data results in different sub-concentric rings within the sector, the bullseye chart can meet the requirements of the number of data results for sector span, and also meet the requirements of different data result priorities, making the bullseye chart more intuitive and clear. Attached Figure Description
[0079] Figure 1 is a flowchart illustrating a bullseye diagram generation method according to an exemplary embodiment;
[0080] Figure 2 is a schematic diagram of a bullseye diagram according to an exemplary embodiment;
[0081] Figure 3 is a schematic diagram of a bullseye diagram according to an exemplary embodiment;
[0082] Figure 4 is a flowchart illustrating a bullseye diagram generation method according to an exemplary embodiment;
[0083] Figure 5 is a schematic diagram of a bullseye diagram according to an exemplary embodiment;
[0084] Figure 6 is a flowchart illustrating a bullseye diagram generation method according to an exemplary embodiment;
[0085] Figure 7 is a schematic diagram of a bullseye diagram according to an exemplary embodiment;
[0086] Figure 8 is a flowchart illustrating a bullseye diagram generation method according to an exemplary embodiment;
[0087] Figure 9 is a schematic diagram of a text label according to an exemplary embodiment;
[0088] Figure 10 is a schematic diagram of text identifier collision according to an exemplary embodiment;
[0089] Figure 11 is a flowchart illustrating a bullseye diagram generation method according to an exemplary embodiment;
[0090] Figure 12 is a schematic diagram of a bullseye diagram according to an exemplary embodiment;
[0091] Figure 13 is a schematic diagram of the composition structure of a bullseye diagram generation device according to an exemplary embodiment;
[0092] Figure 14 is a schematic diagram of the composition structure of an electronic device according to an exemplary embodiment. Detailed Implementation
[0093] To make the technical solution and beneficial effects of this application more apparent and understandable, a detailed description is provided below by listing specific embodiments. The accompanying drawings are not necessarily drawn to scale, and local features may be enlarged or reduced to more clearly show the details of the local features; unless otherwise defined, the technical and scientific terms used herein have the same meanings as those in the technical field to which this application pertains.
[0094] The embodiments described in this application are not exhaustive, but merely illustrative of some embodiments, and are not intended to limit the scope of protection of this application. Unless otherwise specified, each step in a particular embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment can be arbitrarily interchanged. Furthermore, the optional implementation methods in a particular embodiment can be arbitrarily combined; moreover, the embodiments can be arbitrarily combined with each other. For example, some or all steps of different embodiments can be arbitrarily combined, and a particular embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.
[0095] In each embodiment of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of the embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0096] The terminology used in the embodiments of this application is for the purpose of describing specific embodiments only and is not intended to limit the scope of this application.
[0097] In the embodiments of this application, unless otherwise stated, elements expressed in the singular form, such as "a," "an," "the," "the," "the," "the," "the," "the," "this," etc., can mean "one and only one," or "one or more," "at least one," etc. For example, when using articles such as "a," "an," "the," etc. in translation, the noun after the article can be understood as either a singular expression or a plural expression.
[0098] In the embodiments of this application, "multiple" refers to two or more.
[0099] In some embodiments, the terms “at least one of”, “one or more”, “a plurality of”, “multiple”, etc., may be used interchangeably.
[0100] In some embodiments, the notation "at least one of A and B", "A and / or B", "A in one case, B in another", "A in one case, B in another", etc., may include the following technical solutions depending on the situation: in some embodiments, A (A is executed regardless of B); in some embodiments, B (B is executed regardless of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); in some embodiments, A and B (both A and B are executed). The same applies when there are more branches such as A, B, C, etc.
[0101] In some embodiments, the notation "A or B" may include the following technical solutions, depending on the situation: in some embodiments, A (execution of A regardless of B); in some embodiments, B (execution of B regardless of A); in some embodiments, execution is selected from A and B (A and B are selectively executed). The same applies when there are more branches such as A, B, C, etc.
[0102] The prefixes "first," "second," etc., used in the embodiments of this application are merely for distinguishing different descriptive objects and do not impose restrictions on the position, order, priority, value, or content of the descriptive objects. The description of the descriptive objects should be found in the claims or the context of the embodiments, and the use of prefixes should not constitute unnecessary restrictions. For example, if the descriptive object is a "field," the ordinal numbers preceding "field" in "first field" and "second field" do not restrict the position or order of the "fields." "First" and "second" do not restrict whether the "fields" they modify are in the same message, nor do they restrict the order of "first field" and "second field." Similarly, if the descriptive object is a "level," the ordinal numbers preceding "level" in "first level" and "second level" do not restrict the priority between "levels." Furthermore, the value of the descriptive object is not limited by ordinal numbers and can be one or more. For example, in "first device," the value of "device" can be one or more. Furthermore, the objects modified by different prefixes can be the same or different. For example, if the object being described is "device", then "first device" and "second device" can be the same device or different devices, and their types can be the same or different. Similarly, if the object being described is "information", then "first information" and "second information" can be the same information or different information, and their content can be the same or different.
[0103] In some embodiments, “including A,” “containing A,” “for indicating A,” and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.
[0104] In some embodiments, terms such as “…”, “determine…”, “in the case of…”, “when…”, “when…”, “if…”, etc. can be used interchangeably.
[0105] In some embodiments, the terms “greater than,” “greater than or equal to,” “not less than,” “more than,” “more than or equal to,” “not less than,” “higher than,” “higher than or equal to,” “not lower than,” and “above” can be used interchangeably, as can the terms “less than,” “less than or equal to,” “not greater than,” “less than,” “less than or equal to,” “not more than,” “lower than,” “lower than or equal to,” “not higher than,” and “below”.
[0106] In some embodiments, devices, etc., can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. Terms such as “device”, “equipment”, “circuit”, “network element”, “node”, “function”, “unit”, “section”, “system”, “network”, “chip”, “chip system”, “entity”, and “subject” can be used interchangeably.
[0107] Furthermore, each element, each row, or each column in the table of this application embodiment can be implemented as an independent embodiment, and any combination of any element, any row, or any column can also be implemented as an independent embodiment.
[0108] A bullseye chart is a chart that combines sectors and concentric rings to display data characteristics. It uses different colors, shapes, or other visual elements to highlight specific data points or datasets, providing an intuitive and visual way to present and analyze data. Users can quickly determine the overall trend and distribution of data by observing the data on the concentric rings. Bullseye charts are commonly used in drug pipeline and clinical trial data analysis, comprehensively and intuitively presenting multidimensional information and elegantly and user-friendly displaying large-scale search results.
[0109] How to clearly represent data results, such as patent search results, using bullseye diagrams is an urgent problem to be solved.
[0110] As shown in Figure 1, this application embodiment relates to a method for generating a bullseye image, which includes:
[0111] Step 101: Obtain multiple data results;
[0112] Step 102: Set the sectors of the bullseye chart based on at least one first category of the multiple data results;
[0113] Step 103: Based on at least one second category of the multiple data results, set the concentric rings of the bullseye diagram, wherein the span of each sector is determined by a weighted value obtained by weighting the first number of data results of all sub-concentric rings within the sector;
[0114] Step 104: Set the image labels corresponding to the data results in the sub-concentric rings of the sector.
[0115] The method provided in this application embodiment can be executed by an electronic device such as a computer.
[0116] Here, a bullseye chart can be a layout chart that uses sectors of a specific shape to indicate the distribution of data results in one dimension, and concentric rings within that specific shape to indicate the distribution of data results in another dimension. This application does not limit the name of the bullseye chart. The specific shape can be a circle, a polygon, etc., and is not limited here.
[0117] Data results may include, but are not limited to, search results obtained through methods such as retrieval. For example, data results may include patent search results obtained through patent searches.
[0118] In one possible implementation, multiple data results can be classified using at least two classification methods. The multiple data results can be divided into one or more data results corresponding to at least one first category based on a first classification method, and the multiple data results can also be divided into one or more data results corresponding to at least one second category based on a second classification method.
[0119] For example, the data results could be patent search results for drugs. For the retrieved drugs, they can be classified based on drug type (i.e., the first classification method), resulting in multiple first classifications, such as: small molecule drugs, biosimilars, antibodies, trispecific antibodies, etc. For the retrieved drugs, they can also be classified based on research and development stage (i.e., the second classification method), resulting in multiple second classifications, such as: preclinical drugs, Phase 1 clinical trial drugs, Phase 2 clinical trial drugs, etc. Here, the first and second classification methods are not limited to the above classification methods. For example, the first classification method can also include classification based on the country of origin of the drug, classification based on the drug owner, etc., which will not be exhaustive here. The second classification method can also include classification based on the year of drug patent application, classification based on the legal status of drug patent, etc., which will not be exhaustive here.
[0120] Here, each first category obtained by classifying the data results can be used as a sector of the bullseye chart, and each second category obtained by classifying the data results can be used as a concentric ring of the bullseye chart. A sub-concentric ring can refer to a portion of a complete concentric ring in the bullseye chart within a sector.
[0121] In a bullseye chart, data results can be represented using image identifiers. These identifiers can be placed within the second-category sub-concentric rings of the sector corresponding to the first category of the data result. Users can determine the first and second categories of the data result corresponding to the image identifier based on its sector and sub-concentric rings within the bullseye chart.
[0122] In one possible implementation, the data results in the bullseye chart can use the same image identifier. For example, the data results in the bullseye chart can use the same dots as image identifiers.
[0123] In one possible implementation, a third-category classification method can be used to categorize the data results in the bullseye chart. Different third-category data results can have different image labels. For example, different colored image labels can be used to distinguish between different third-category data results.
[0124] The span of a sector can include the following: the angle of the sector; the width of the sector.
[0125] Here, we can first determine the initial number of data results in each sub-concentric ring within the sector (i.e., the number of image markers to be placed in each sub-concentric ring), and then determine the weighting value for the initial number of each sub-concentric ring. The retrieval result is obtained by weighting the initial number of data results in all sub-concentric rings within the sector.
[0126] In one possible implementation, the weight corresponding to the first quantity of data results in the sub-concentric rings can be pre-set.
[0127] In one possible implementation, the weight corresponding to the first quantity of data results in the sub-concentric rings within a sector can be determined based on the first category corresponding to the sector where the sub-concentric rings are located.
[0128] In one possible implementation, the weight corresponding to the first quantity of data results in the sub-concentric rings within a sector can be determined based on the priority of the data results.
[0129] In one possible implementation, the weights corresponding to the first quantity of data results in different sub-concentric rings within a sector can be the same or different.
[0130] In one possible implementation, the span of a sector can be defined based on the proportion of the corresponding weighted value to the sum of the weighted values of all sectors in the bullseye chart.
[0131] In one possible implementation, as shown in Figure 2, the bullseye diagram may also include a first sector, in which each sub-concentric ring is used to identify the corresponding second category.
[0132] In one possible implementation, the sector span can be based on the proportion of corresponding weighted values, which can be used to divide the bullseye chart by the proportion of the sum of the weighted values of all sectors within the interval. For example, the available interval could include the portion of the bullseye chart excluding the first sector.
[0133] For example, as shown in Figure 2, the weighted value of sector 1 can be represented by expression (1): Y1=p1x1+p2x2+p3x3 (1)
[0134] Where Y1 represents the weighted value of sector 1, x1 represents the first number of data results in sub-concentric ring 1, p1 represents the weight corresponding to x1, x2 represents the first number of data results in sub-concentric ring 2, p2 represents the weight corresponding to x2, x3 represents the first number of data results in sub-concentric ring 3, and p3 represents the weight corresponding to x3.
[0135] The weighted value of sector 2 is represented by Y2, and the weighted value of sector 3 is represented by Y3. The proportion of the usable interval of sector 1 in the bullseye chart is the quotient obtained by dividing Y1 by the sum of Y1, Y2, and Y3. As shown in Figure 2, the usable interval is the part outside the first sector in the bullseye chart.
[0136] In this way, the span of a sector is determined by the weighted value of the data results in different sub-concentric rings within the sector. This allows the bullseye chart to meet the requirements of the number of data results for the sector span, as well as the requirements of different data results priorities, making the bullseye chart more intuitive and clear.
[0137] In some embodiments, the weight of the first quantity is determined based on the second classification of the sub-concentric rings corresponding to the first quantity.
[0138] In one possible implementation, the weight of the second category can be determined based on the priority of the second category. For example, the higher the priority of the second category, the higher the weight it corresponds to.
[0139] For example, as shown in Figure 3, in order to determine the weighted value of each first category (sector), the weighted calculation can be performed based on the weight of the second category corresponding to each sub-concentric ring within the sector and the number of data results within it, so as to obtain the weighted value result of each first category and thus determine the proportion of each first category in the figure.
[0140] In this way, the bullseye chart can meet the needs of different priorities for secondary classification data results, making the bullseye chart more intuitive and clear.
[0141] As shown in Figure 4, this application embodiment relates to a method for generating a bullseye image, which includes:
[0142] Step 401: Based on the space occupied by each sub-concentric ring within the sector and the space occupied by the image identifiers of the data results, determine the second number of image identifiers that can be set for each sub-concentric ring;
[0143] Setting image identifiers corresponding to the data results within the sub-concentric rings of the sector includes at least one of the following:
[0144] In response to a second quantity corresponding to the first sub-concentric ring within a sector being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set within the first sub-concentric ring;
[0145] In response to the fact that the second number corresponding to the first sub-concentric ring within the sector is less than the first number corresponding to the first sub-concentric ring, the first number corresponding to the first sub-concentric ring is marked within the first sub-concentric ring.
[0146] In one possible implementation, the space occupied by the image identifier includes the image identifier body space and the space between the image identifier and the space between the image identifiers.
[0147] In one possible implementation, the quotient of the area occupied by the sub-concentric rings divided by the area occupied by each image identifier can be determined as the second number of image identifiers that the sub-concentric rings can set.
[0148] In one possible implementation, the number of image icons that can be set in the radial direction (bullseye diagram radial direction) of the sub-concentric ring can be determined first. That is, the number of rows of image icons that can be set in the sub-concentric ring along the radial direction (i.e., the number of circumferential rows) is determined, then the number of image icons that can be set in each circumferential row is determined, and finally the number of image icons that can be set in the sub-concentric ring is determined.
[0149] In one possible implementation, the radial width of the sub-concentric ring can first be divided by the radial dimension of the space occupied by the image identifiers to obtain the number of rows of image identifiers that can be set in the sub-concentric ring. Then, the number of image identifiers that can be set in each circumferential row is determined by dividing the length of each circumferential row by the circumferential dimension of the space occupied by the image identifiers. The number of image identifiers that can be set in each circumferential row is added together to obtain a second number of image identifiers that can be set in the sub-concentric ring.
[0150] In one possible implementation, the number of rows of image icons that can be set in the sub-concentric ring can be obtained based on the radial width of the sub-concentric ring and the radial dimension of the space occupied by the image icons. Then, the number of image icons that can be set in each circumferential row is determined based on the area of each circumferential row and the area of the space occupied by the image icons. Finally, the number of image icons that can be set in each circumferential row is added together to obtain a second number of image icons that can be set in the sub-concentric ring.
[0151] Figure 5 shows the distribution of the maximum number of points that each sector ring can accommodate when the markers do not overlap. Here, the dots represent each image marker, and the colored squares represent the space occupied by the image marker when calculating the second number of image markers that the sector ring can accommodate. The space occupied by the image marker includes the size of the image marker itself and the spacing between adjacent image markers.
[0152] Here, the first sub-concentric ring can include any sub-concentric ring in any sector.
[0153] If the second number of data results within the first sub-concentric ring is greater than or equal to the first number of image identifiers that the first sub-concentric ring can accommodate, that is, the first sub-concentric ring can accommodate all the image identifiers of its own data results, then image identifiers of the data results can be set within the first sub-concentric ring.
[0154] If the second number of data results within the first sub-concentric ring is less than the first number of image identifiers that the first sub-concentric ring can accommodate (i.e., the first sub-concentric ring cannot accommodate all the image identifiers of its own data results), then a second number of data results can be set within the first sub-concentric ring. In other words, a value for the second number can be set within the first sub-concentric ring.
[0155] In this way, by setting the image identifier according to the capacity of the sub-concentric ring to accommodate the image identifier, the situation where the sub-concentric ring cannot accommodate the image identifier is reduced, thereby improving the clarity of the image identifier displayed in the bullseye diagram.
[0156] As shown in Figure 6, this application embodiment relates to a method for generating a bullseye map, which includes:
[0157] Step 601: Determine the third number of image identifiers that can be set within the circumferential row of the first sub-concentric ring;
[0158] The step of setting an image identifier for the data result corresponding to the first sub-concentric ring within the first sub-concentric ring includes:
[0159] In response to the third quantity corresponding to the first sub-concentric ring being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in a circumferential row of the first sub-concentric ring;
[0160] In response to the fact that the third quantity corresponding to the first sub-concentric ring is less than the first quantity corresponding to the first sub-concentric ring, the image identifier of the data result corresponding to the first sub-concentric ring is set evenly in the N circumferential rows of the first sub-concentric ring.
[0161] In one possible implementation, as shown in sector 3 of Figure 7, if the second number of data results within the first sub-concentric ring is equal to the first number of image identifiers that the first sub-concentric ring can accommodate, then image identifiers can be uniformly set within the first sub-concentric ring.
[0162] In one possible implementation, determining a third number of image identifiers that can be set within the circumferential row of the first sub-concentric ring includes at least one of the following:
[0163] Determine the third number of image identifiers that can be set within the shortest circumferential row of the first sub-concentric ring;
[0164] Determine the third number of image identifiers that can be set within the longest circumferential row of the first sub-concentric ring;
[0165] Determine the third number of image identifiers that can be set in each circumferential row of the first sub-concentric ring.
[0166] In response to a third quantity corresponding to the first sub-concentric ring being greater than or equal to a first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set within a circumferential row of the first sub-concentric ring, including at least one of the following:
[0167] As shown in sector 1 of Figure 7, in response to the third quantity corresponding to the first circumferential row in the first sub-concentric ring being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in the first circumferential row.
[0168] In response to the fact that the third quantity corresponding to each of the i circumferential rows in the first sub-concentric ring is greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in a first predetermined circumferential row among the i circumferential rows; where i is the total number of circumferential rows in the first sub-concentric ring. The first predetermined circumferential row includes the circumferential row with the radial position centered among the i circumferential rows;
[0169] In response to the fact that the third quantity corresponding to each of the j circumferential rows in the first sub-concentric ring is greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in a second predetermined circumferential row among the j circumferential rows; where i is the total number of circumferential rows in the first sub-concentric ring, and j is less than i. The second predetermined circumferential row includes the circumferential row whose radial position is centered among the i circumferential rows.
[0170] Setting image identifiers for the data results corresponding to the first sub-concentric ring within a circumferential row of the first sub-concentric ring includes: setting image identifiers at equal intervals within the circumferential row. Here, equal intervals may include at least one of the following: equal spacing; equal interval angle; wherein the interval angle is the angle between two image identifiers with the bullseye center point as the vertex. For example, the angle between image identifiers within the circumferential row is equal to the sector angle divided by a first quantity.
[0171] Here, N is the total number of circumferential rows in the first concentric ring. The method for determining the number of circumferential rows is as described above and will not be repeated here.
[0172] In one possible implementation, the first number of image identifiers can be evenly distributed across N circumferential rows. For example, the quotient of the first number divided by N, rounded up, can be used as the number of image identifiers set in each circumferential row.
[0173] In one possible implementation, as shown in sector 2 of Figure 7, the circumferential rows in the first sub-concentric ring can be set with the same radial spacing. For example, the radial spacing X between the circumferential rows can be expressed by expression (2): X=(R1-N*r) / (N+1) (2)
[0174] Where R1 represents the radial width of the first sub-concentric ring, r represents the radial dimension of the image marker, and N represents the number of rows in the circumferential direction within the first sub-concentric ring.
[0175] In one possible implementation, as shown in sector 2 of Figure 7, the angle α between each circumferential inline image marker is equal to the quotient of the angle of the first sub-concentric ring divided by the number of circumferential inline data results. As shown in expression (3), α = A / n (3)
[0176] Where A represents the included angle of the first concentric ring, and n represents the number of data results in the circumferential row (i.e., the number of image labels).
[0177] In one possible implementation, in response to the third quantity corresponding to the first sub-concentric ring being less than the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is randomly set within N circumferential rows of the first sub-concentric ring.
[0178] By setting image markers in the concentric sub-rings according to predetermined rules, the regularity and clarity of the image marker display are improved.
[0179] As shown in Figure 8, this application embodiment relates to a method for generating a bullseye image, which includes:
[0180] Step 801: Set the text identifier for the corresponding data result for at least one image identifier.
[0181] In one possible implementation, textual identifiers can be used to represent data results.
[0182] For example, a text identifier may include the name of the data result. For instance, a text identifier may include the name of a retrieved patented drug.
[0183] In some embodiments, setting a text identifier for the corresponding data result for at least one image identifier includes:
[0184] The text identifier is sequentially set in at least one preset candidate position of the image identifier.
[0185] The first preset candidate position that meets the collision conditions is determined as the target position for placing the text identifier.
[0186] Place the text label at the target location;
[0187] The collision conditions include at least one of the following: the space occupied by the text label does not overlap with the space already occupied in the bullseye diagram; the overlap between the space occupied by the text label and the space already occupied in the bullseye diagram is less than a predetermined value.
[0188] In some embodiments, the bullseye image generation method includes: in response to all preset candidates of the image identifier not satisfying the collision condition, the image identifier is not set with a corresponding text identifier.
[0189] Since the bullseye chart already contains text and image labels, collision detection can be performed before assigning text labels to the corresponding data results for the image labels to reduce overlap between text labels and other content.
[0190] Specifically, multiple preset candidate positions for setting text labels can be pre-defined for the image label. Text labels are then set sequentially in each preset candidate position, and it is determined whether the space occupied by the text label collides with other already occupied spaces. Text labels are then set in the preset candidate positions where no collision occurs.
[0191] In one possible implementation, the space occupied by the text identifier includes the space of the text identifier itself and the space between the text identifiers.
[0192] In one possible implementation, the preset candidate positions are set based on the space occupied by the text identifier.
[0193] In one possible implementation, the space occupied by the text identifier includes the space of the text identifier itself and the space between the text identifiers.
[0194] For example, as shown in Figure 9, the image identifier can be a dot identifier, and preset candidate positions can be set at eight positions around the dot identifier. In practical applications, the possible positions of the text identifier can be found by traversing the three-row, three-column matrix of the image identifier. Based on the center coordinate position of the image identifier (position p in Figure 9), the radius of the identifier, and the interval between the identifier and the text, nine positions around the identifier are generated, i.e., the black dot positions in Figure 9. The center position p is dedicated to displaying the identifier and does not generate a text position. For other positions, the corresponding text positions are generated by offsetting in the x and y directions according to the row and column subscripts in the matrix, as well as the width and height of the text. To ensure that the distance between the text identifier and the image identifier is appropriate, the offset of the text in the first and third rows in the x direction is limited to one-quarter of the width of the text identifier (i.e., T1 and T6 are offset one-quarter to the left of the origin, and T3 and T8 are offset one-quarter to the right of the origin). This process generates eight possible positions of the text (T1 to T8).
[0195] In some embodiments, the occupied space in the bullseye diagram includes at least one of the following:
[0196] The space occupied by any predetermined character in the bullseye diagram;
[0197] The space occupied by any image icon in the bullseye diagram;
[0198] The space occupied by any text label in the bullseye diagram.
[0199] In one possible implementation, the existence of an overlapping region can be detected by determining whether the space occupied by the text label and the already occupied space overlap in the x and y directions, respectively. Figure 10 illustrates four cases of overlap between the space occupied by the text label and the already occupied space. Here, rect1 represents the space occupied by the text label, and rect2 represents the space already occupied by the text label.
[0200] In this way, by setting collision conditions, text labels corresponding to the data results are set for the image labels when the collision conditions are met, the overlap of text labels with other content is reduced, and the clarity of the text labels in the bullseye chart is improved.
[0201] As shown in Figure 11, this application embodiment relates to a method for generating a bullseye chart, which includes:
[0202] Step 1101: In response to satisfying at least one of the following, a connection marker is set between the first image marker and the text marker corresponding to the first image marker in each image marker: the distance between the first image marker and the second image marker in each image marker is less than a first threshold; the distance between the first image marker and the text marker corresponding to the first image marker is greater than a second threshold; the distance between the first image marker and the text marker corresponding to the second image marker is less than a third threshold.
[0203] In a bullseye chart, if image icons are close together, users may not be able to distinguish the corresponding image icons from the text icons. Therefore, a connecting line can be placed between the image icons and their corresponding text icons for indication. Since this connecting line affects the neatness of the bullseye chart, conditions can be set to place the connecting line between the image icons and their corresponding text icons when certain conditions are met. This achieves two goals: firstly, it meets the requirement of a neat and clear bullseye chart; secondly, by adding the connecting line, it reduces the possibility of misreading the image icons and their corresponding text icons, thus improving the recognition accuracy of the bullseye chart.
[0204] Connection markers may include visible connection lines, etc.
[0205] The method of this embodiment will be described below with reference to a specific example.
[0206] Figure 12 is a bullseye diagram of the drug patent search results generated using the method of this embodiment.
[0207] As shown in Figure 12, the sectors of the bullseye diagram are divided according to the first category (drug type). The concentric rings in the bullseye diagram are divided according to the second category (drug development stage). The first category includes: small molecule drugs, biosimilars, antibodies, trispecific antibodies, etc. The second category includes: preclinical, Phase 1 clinical trials, Phase 2 clinical trials, etc. The first sector of the bullseye diagram lists the name of each second category.
[0208] The span of each sector is determined by a weighted average of the number of drugs in each concentric ring within the sector (the first quantity).
[0209] In the bullseye diagram of Figure 12, dots are used as image markers to identify search results belonging to different sub-concentric rings. Within a sub-concentric ring with image markers, if the number of image markers exceeds the capacity of the sub-concentric ring, a number is used to represent the number of image markers.
[0210] In the bullseye image of Figure 12, image identifiers that can be identified by sampling text labels are determined based on collision conditions, and then identified by text labels.
[0211] Figure 13 illustrates a bullseye image generation device 10 provided in an embodiment of this application, the device comprising:
[0212] Module 11 is configured to acquire multiple data results;
[0213] Processing module 12 is configured to set the sectors of the bullseye chart based on at least one first category of the multiple data results;
[0214] The processing module is further configured to set concentric rings of the bullseye chart based on at least one second category of the multiple data results, wherein the span of each sector is determined by a weighted value obtained by weighting the first number of data results of all sub-concentric rings within the sector.
[0215] The processing module is further configured to set image identifiers corresponding to the data results within the sub-concentric rings of the sector.
[0216] In some embodiments, the weight of the first quantity is determined based on the second classification of the sub-concentric rings corresponding to the first quantity.
[0217] In some embodiments, the processing module is further configured to:
[0218] Based on the space occupied by each sub-concentric ring within the sector and the space occupied by the image identifiers of the data results, determine the second number of image identifiers that can be set for each sub-concentric ring;
[0219] The processing module is specifically configured to include at least one of the following:
[0220] In response to a second quantity corresponding to the first sub-concentric ring within a sector being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set within the first sub-concentric ring;
[0221] In response to the fact that the second number corresponding to the first sub-concentric ring within the sector is less than the first number corresponding to the first sub-concentric ring, the first number corresponding to the first sub-concentric ring is marked within the first sub-concentric ring.
[0222] In some embodiments, the processing module is further configured to:
[0223] Determine the third number of image identifiers that can be set within the circumferential row of the first sub-concentric ring;
[0224] The processing module is specifically configured to include at least one of the following:
[0225] In response to the third quantity corresponding to the first sub-concentric ring being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in a circumferential row of the first sub-concentric ring;
[0226] In response to the fact that the third quantity corresponding to the first sub-concentric ring is less than the first quantity corresponding to the first sub-concentric ring, the image identifier of the data result corresponding to the first sub-concentric ring is set evenly in the N circumferential rows of the first sub-concentric ring.
[0227] In some embodiments, the processing module is further configured to:
[0228] Set a text label for the corresponding data result for at least one image label.
[0229] In some embodiments, the processing module is specifically configured as follows:
[0230] The text identifier is sequentially set in at least one preset candidate position of the image identifier.
[0231] The first preset candidate position that meets the collision conditions is determined as the target position for placing the text identifier.
[0232] Place the text label at the target location;
[0233] The collision conditions include at least one of the following: the space occupied by the text label does not overlap with the space already occupied in the bullseye diagram; the overlap between the space occupied by the text label and the space already occupied in the bullseye diagram is less than a predetermined value.
[0234] In some embodiments, the processing module is further configured to:
[0235] In response to the fact that none of the preset candidates for the image identifier meet the collision condition, the image identifier is not assigned a corresponding text identifier.
[0236] In some embodiments, the occupied space in the bullseye diagram includes at least one of the following:
[0237] The space occupied by any predetermined character in the bullseye diagram;
[0238] The space occupied by any image icon in the bullseye diagram;
[0239] The space occupied by any text label in the bullseye diagram.
[0240] In some embodiments, the processing module is further configured to:
[0241] A connection identifier is set between the first image identifier and the text identifier corresponding to the first image identifier in each image identifier, in response to satisfying at least one of the following:
[0242] The distance between the first image identifier and the second image identifier among all image identifiers is less than a first threshold;
[0243] The distance between the first image identifier and the text identifier corresponding to the first image identifier is greater than the second threshold.
[0244] The distance between the text identifier corresponding to the first image identifier and the second image identifier is less than a third threshold.
[0245] It should be understood that the division of units or modules in the above device is only a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, the units or modules in the device can be implemented by a processor calling software: for example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of the units or modules in the above device. The processor can be, for example, a general-purpose processor, such as a Central Processing Unit (CPU) or a microprocessor, and the memory can be internal or external to the device. Alternatively, the units or modules in the device can be implemented in the form of hardware circuits. The functionality of some or all of the units or modules can be achieved through the design of these hardware circuits, which can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC). The functionality of some or all of the units or modules is achieved through the design of the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a programmable logic device (PLD). Taking a field-programmable gate array (FPGA) as an example, it can include a large number of logic gates. The connection relationships between the logic gates are configured through configuration files, thereby achieving the functionality of some or all of the units or modules. All units or modules of the above device can be implemented entirely through processor-called software, entirely through hardware circuits, or partially through processor-called software with the remaining parts implemented through hardware circuits.
[0246] In this application embodiment, a processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction read and execute capabilities, such as a Central Processing Unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a type of microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. The logical relationships of the aforementioned hardware circuits are fixed or reconfigurable. For example, the processor is a hardware circuit implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a Neural Network Processing Unit (NPU), a Tensor Processing Unit (TPU), a Deep Learning Processing Unit (DPU), etc.
[0247] Figure 14 is a schematic diagram of the structure of the electronic device 9100 provided in an embodiment of this application. The electronic device 9100 can be a computer terminal, a server, a chip, chip system, or processor that supports the implementation of any of the above methods, or a chip, chip system, or processor that supports the terminal in implementing any of the above information transmission methods. The electronic device 9100 can be used to implement the bullseye diagram generation method described in the above method embodiments; for details, please refer to the descriptions in the above method embodiments.
[0248] As shown in Figure 14, the electronic device 9100 includes one or more processors 9101. The processor 9101 can be a general-purpose processor or a special-purpose processor, etc. The processor 9101 is used to invoke instructions to cause the electronic device 9100 to execute any of the above-mentioned bullseye diagram generation methods.
[0249] In some embodiments, the electronic device 9100 further includes one or more memories 9102 for storing instructions. Optionally, all or part of the memories 9102 may also be located outside the electronic device 9100.
[0250] In some embodiments, the electronic device 9100 further includes one or more transceivers 9103. When the electronic device 9100 includes one or more transceivers 9103, the steps of sending, receiving and / or acquiring in the above method are performed by the transceivers 9103, and the other steps are performed by the processor 9101.
[0251] In some embodiments, the acquisition steps in the above method can also be executed by the processor 9101, for example, acquiring information from the memory 9102.
[0252] Optionally, the electronic device 9100 further includes one or more interface circuits 9104 connected to the memory 9102. The interface circuits 9104 can be used to receive signals from the memory 9102 or other devices, and can be used to send signals to the memory 9102 or other devices. For example, the interface circuits 9104 can read instructions stored in the memory 9102 and send the instructions to the processor 9101.
[0253] The electronic device 9100 described in the above embodiments may be a network device or a terminal, but the scope of the electronic device 9100 described in this application is not limited thereto, and the structure of the electronic device 9100 may not be limited to FIG. 14. The electronic device may be a standalone device or may be part of a larger device.
[0254] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program commands. The aforementioned program can be stored in a storage medium, including various media capable of storing program code such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0255] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several commands to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0256] It should be understood that the above embodiments are exemplary and are not intended to encompass all possible implementations included in the claims. Various modifications and changes can be made to the above embodiments without departing from the scope of this application. Similarly, the various technical features of the above embodiments can be arbitrarily combined to form other embodiments of this application that may not be explicitly described. Therefore, the above embodiments only illustrate several implementations of this application and do not limit the scope of protection of this patent application.
Claims
1. A method for generating a bullseye image, wherein, The method includes: Retrieve multiple data results; The bullseye chart sectors are set based on at least one first category of the multiple data results; The concentric rings of the bullseye diagram are set based on at least one second classification of the multiple data results, wherein the span of each sector is determined by a weighted value obtained by weighting the first number of data results of all sub-concentric rings within the sector. Set image labels corresponding to the data results within the concentric rings of the sector.
2. The method according to claim 1, wherein, The weight of the first quantity is determined based on the second classification of the sub-concentric rings corresponding to the first quantity.
3. The method according to claim 1, wherein, The method further includes: Based on the space occupied by each sub-concentric ring within the sector and the space occupied by the image identifiers of the data results, determine the second number of image identifiers that can be set for each sub-concentric ring; Setting image identifiers corresponding to the data results within the sub-concentric rings of the sector includes at least one of the following: In response to a second quantity corresponding to the first sub-concentric ring within a sector being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set within the first sub-concentric ring; In response to the fact that the second number corresponding to the first sub-concentric ring within the sector is less than the first number corresponding to the first sub-concentric ring, the first number corresponding to the first sub-concentric ring is marked within the first sub-concentric ring.
4. The method according to claim 3, wherein, The method further includes: Determine the third number of image identifiers that can be set within the circumferential row of the first sub-concentric ring; The step of setting an image identifier for the data result corresponding to the first sub-concentric ring within the first sub-concentric ring includes: In response to the third quantity corresponding to the first sub-concentric ring being greater than or equal to the first quantity corresponding to the first sub-concentric ring, an image identifier for the data result corresponding to the first sub-concentric ring is set in a circumferential row of the first sub-concentric ring; In response to the fact that the third quantity corresponding to the first sub-concentric ring is less than the first quantity corresponding to the first sub-concentric ring, the image identifier of the data result corresponding to the first sub-concentric ring is set evenly in the N circumferential rows of the first sub-concentric ring.
5. The method according to claim 1, wherein, The method further includes: Set a text label for the corresponding data result for at least one image label.
6. The method according to claim 5, wherein, The step of setting a text identifier for the corresponding data result for at least one image identifier includes: The text identifier is sequentially set in at least one preset candidate position of the image identifier. The first preset candidate position that meets the collision conditions is determined as the target position for placing the text identifier. Place the text label at the target location; The collision conditions include at least one of the following: the space occupied by the text label does not overlap with the space already occupied in the bullseye diagram; the overlap between the space occupied by the text label and the space already occupied in the bullseye diagram is less than a predetermined value.
7. The method according to claim 6, wherein, The method further includes: In response to the fact that none of the preset candidates for the image identifier meet the collision condition, the image identifier is not assigned a corresponding text identifier.
8. The method according to claim 6, wherein, The space already occupied in the bullseye diagram includes at least one of the following: The space occupied by any predetermined character in the bullseye diagram; The space occupied by any image icon in the bullseye diagram; The space occupied by any text label in the bullseye diagram.
9. The method according to any one of claims 6 to 8, wherein, The method further includes: A connection identifier is set between the first image identifier and the text identifier corresponding to the first image identifier in each image identifier, in response to satisfying at least one of the following: The distance between the first image identifier and the second image identifier among all image identifiers is less than a first threshold; The distance between the first image identifier and the text identifier corresponding to the first image identifier is greater than the second threshold. The distance between the text identifier corresponding to the first image identifier and the second image identifier is less than a third threshold.
10. A bullseye image generation device, wherein, The device includes: The send / receive module is configured to retrieve multiple data results; The processing module is configured to set the sectors of the bullseye chart based on at least one first category of the multiple data results; The processing module is further configured to set concentric rings of the bullseye chart based on at least one second category of the multiple data results, wherein the span of each sector is determined by a weighted value obtained by weighting the first number of data results of all sub-concentric rings within the sector. The processing module is further configured to set image identifiers corresponding to the data results within the sub-concentric rings of the sector.
11. An electronic device, wherein, The electronic device includes: One or more processors; The processor is used to invoke instructions to cause the electronic device to execute the bullseye diagram generation method according to any one of claims 1 to 9.
12. A storage medium, wherein, The storage medium stores instructions that, when executed on an electronic device, cause the electronic device to perform the bullseye diagram generation method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Data display method and device
CN106407164A
Quantitative analysis method for cardiac motion, and ultrasonic system
CN112654302A
Monitoring method of cardiac function parameters and ultrasonic equipment
CN114190986A
Method and system for visualization
CN116529837A
Bull eye pattern generation method and device, electronic equipment and storage medium
CN118427337A