CN113010619A - Bubble display method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113010619A
CN113010619A CN201911335487.8A CN201911335487A CN113010619A CN 113010619 A CN113010619 A CN 113010619A CN 201911335487 A CN201911335487 A CN 201911335487A CN 113010619 A CN113010619 A CN 113010619A
Authority
CN
China
Prior art keywords
bubble
bubbles
combination mode
display
adjusting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911335487.8A
Other languages
Chinese (zh)
Other versions
CN113010619B (en
Inventor
邓国川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201911335487.8A priority Critical patent/CN113010619B/en
Publication of CN113010619A publication Critical patent/CN113010619A/en
Application granted granted Critical
Publication of CN113010619B publication Critical patent/CN113010619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data

Abstract

The application discloses a bubble display method, a bubble display device, electronic equipment and a storage medium, and relates to the field of artificial intelligence, wherein the method comprises the following steps: respectively obtaining the weight of each bubble as a display object; determining a first bubble combination mode by adjusting the style and/or position of each bubble serving as a display object based on the principle that covering cannot occur among the bubbles; wherein, the first bubble combination mode comprises part or all of the bubbles as the display objects, and the weight sum of the bubbles in the first bubble combination mode is larger than the weight sum of the bubbles in any other bubble combination mode; the bubbles are displayed on the map in accordance with the pattern and position of each bubble contained in the first bubble combination manner. By applying the scheme, the richness of the displayed information can be improved.

Description

Bubble display method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer applications, and in particular, to a bubble display method and apparatus, an electronic device, and a storage medium in the field of artificial intelligence.
Background
When showing the bubbles on the map, for the convenience of the user to look over, etc., the bubbles cannot be covered.
When covering can appear between arbitrary two bubbles, can bump promptly, can keep the high bubble of priority, the bubble that the priority is low is then not demonstrateed to make the bubble number of demonstrateing less, and then reduced the richness of the information that shows.
Disclosure of Invention
In view of the above, the present application provides a bubble displaying method, a bubble displaying apparatus, an electronic device, and a storage medium.
A bubble display method, comprising:
respectively obtaining the weight of each bubble as a display object;
determining a first bubble combination mode by adjusting the style and/or position of each bubble serving as a display object based on the principle that covering cannot occur among the bubbles;
wherein the first bubble combination mode comprises part or all of the bubbles serving as the display objects, and the weight sum of the bubbles contained in the first bubble combination mode is larger than the weight sum of the bubbles contained in any other bubble combination mode;
and displaying the bubbles on a map according to the style and the positions of the bubbles contained in the first bubble combination mode.
According to a preferred embodiment of the present application, the obtaining the weight of each bubble as the display object includes: each bubble to be displayed is given a weight according to the priority of the bubble to be displayed, and the higher the priority, the greater the weight.
According to a preferred embodiment of the present application, the determining the first bubble combination manner includes: and determining the first bubble combination mode by a backtracking algorithm by regarding the process of determining the first bubble combination mode as a 01 backpack problem.
According to a preferred embodiment of the application, each bubble is respectively composed of a bubble icon and a file;
the adjusting the style of each bubble serving as the display object comprises: for any bubble, adjusting the position of the pattern of the bubble relative to the bubble icon of the bubble.
According to a preferred embodiment of the present application, the adjusting the position of each bubble as the display object includes: and for any bubble, adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble within the defined adjustment range.
A bubble display apparatus comprising: the device comprises an acquisition unit, an adjustment unit and a display unit;
the acquiring unit is used for respectively acquiring the weight of each bubble serving as a display object;
the adjusting unit is used for determining a first air bubble combination mode by adjusting the style and/or the position of each air bubble serving as a display object based on the principle that covering can not occur among the air bubbles; wherein the first bubble combination mode comprises part or all of the bubbles serving as the display objects, and the weight sum of the bubbles contained in the first bubble combination mode is larger than the weight sum of the bubbles contained in any other bubble combination mode;
the display unit is used for displaying the bubbles on the map according to the style and the position of each bubble contained in the first bubble combination mode.
According to a preferred embodiment of the present application, the acquiring unit gives a weight to each bubble as the display object according to a priority of each bubble as the display object, and the higher the priority is, the higher the weight is.
According to a preferred embodiment of the present application, the adjusting unit regards the process of determining the first bubble combination manner as a 01-backpack problem, and determines the first bubble combination manner through a backtracking algorithm.
According to a preferred embodiment of the application, each bubble is respectively composed of a bubble icon and a file;
the adjusting unit adjusts the position of the pattern of the bubble relative to the bubble icon of the bubble for any bubble.
According to a preferred embodiment of the present application, the adjusting unit adjusts, for any bubble, a position of the bubble relative to a center point of a point of interest corresponding to the bubble within a defined adjustment range.
An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method as described above.
A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method as described above.
One embodiment in the above application has the following advantages or benefits: the method can determine a first air bubble combination mode by adjusting the style and/or position of each air bubble as a display object based on the principle that covering cannot occur among the air bubbles, wherein the weight sum of each air bubble contained in the first air bubble combination mode is larger than the weight sum of each air bubble contained in any other air bubble combination mode, and then the air bubbles can be displayed on a map according to the style and position of each air bubble contained in the first air bubble combination mode, so that more important air bubble information can be displayed for a user, and the richness and the like of the displayed information are improved; in addition, the process of determining the first air bubble combination mode can be regarded as a 01 backpack problem, and the first air bubble combination mode is determined through a backtracking algorithm, so that the first air bubble combination mode can be accurately and quickly determined, the air bubble display speed can be increased, and the like; other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flow chart of a first embodiment of a bubble display method according to the present application;
FIG. 2 is a flow chart of a second embodiment of a bubble display method according to the present application;
FIG. 3 is a schematic diagram of the structure of an embodiment of a bubble display apparatus 300 according to the present application;
fig. 4 is a block diagram of an electronic device according to the method of an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In addition, it should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a flowchart of a first embodiment of a bubble displaying method according to the present application. As shown in fig. 1, the following detailed implementation is included.
In 101, the weight of each bubble to be displayed is acquired.
In 102, based on the principle that covering cannot occur among the bubbles, determining a first bubble combination mode by adjusting the style and/or position of each bubble serving as a display object; the first bubble combination method includes some or all of the individual bubbles to be displayed, and the sum of the weights of the individual bubbles included in the first bubble combination method is greater than the sum of the weights of the individual bubbles included in any other bubble combination method.
In 103, the bubbles are displayed on the map in accordance with the pattern and position of each bubble contained in the first bubble combination manner.
In practical applications, when a predetermined trigger condition is met, the process shown in fig. 1 may be executed. For example, when the user requests to open a map, the map includes bubbles, or when the user zooms the map including bubbles, the process shown in fig. 1 may be executed.
For each bubble to be displayed, a weight may be given to each bubble according to the priority of each bubble, and the higher the priority, the greater the weight may be. Each bubble to be displayed is a bubble that can be displayed on the current map, but whether or not the bubble is displayed depends on whether or not the bubble is included in the first bubble combination method.
The first bubble combination mode can be determined by adjusting the style and/or position of each bubble as the display object based on the principle that no covering (including partial covering and full covering) can occur between bubbles.
The first air bubble combination mode includes part or all of the air bubbles as the display object, and if the number of the air bubbles as the display object is 10, the first air bubble combination mode may include 10 air bubbles, or may include less than 10 air bubbles, for example, 8 air bubbles. In addition, the sum of the weights of the respective bubbles included in the first bubble combination method is larger than the sum of the weights of the respective bubbles included in any other bubble combination method, for example, if the first bubble combination method includes 8 bubbles, i.e., bubble 1 to bubble 8, and the corresponding weights are weight 1 to weight 8, the weights 1 to weight 8 can be added to obtain the sum of the weights of the respective bubbles included in the first bubble combination method.
Each bubble can be respectively composed of a bubble icon and a file, and the file can refer to related description information and the like of the interest point corresponding to the bubble. Accordingly, adjusting the pattern of the bubbles may include: and aiming at any bubble, adjusting the position of the file of the bubble relative to the bubble icon of the bubble.
The position of the document relative to the bubble icon may include: the text is located to the left of the bubble icon, the text is located to the right of the bubble icon, the text is located below the bubble icon, and the like. Assuming that bubble 1 is in a style with a text to the right of the bubble icon and bubble 2 is in a style with a text to the left of the bubble icon, partial hiding may occur between bubble 1 and bubble 2, but if bubble 2 is also in a style with a text to the right of the bubble icon, hiding may not occur between bubble 1 and bubble 2.
Adjusting the position of the bubble may include: and for any bubble, adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble within the defined adjustment range.
Generally, bubbles on a map are bubbles added based on a point of interest, and the position of the bubble relative to the center point of the point of interest can be represented by an offset (offset), by way of example and not limitation, assuming that the center point of the bubble coincides with the center point of the point of interest, the offset can be considered to be 0, assuming that the upper edge of the bubble coincides with the center point of the point of interest, the offset can be considered to be-1, assuming that the lower edge of the bubble coincides with the center point of the point of interest, the offset can be considered to be 1, and some other offset (position) can be defined, such as 0.25, 0.5, 0.75, -0.25, -0.5, -0.75, and so on.
Thus, for any bubble, there are only several possible patterns and positions, for example, the pattern may have three cases, the pattern of the bubble may be adjusted to any one of the three cases, the position may have nine cases, and the position of the bubble may be adjusted to any one of the nine cases.
In order to determine the first bubble combination mode, theoretically, an exhaustive method may be adopted, that is, based on a principle that covering cannot occur between bubbles, all possible bubble combination modes are listed, for any bubble combination mode, some or all of the bubbles that are the display objects may be included, and for any bubble included therein, the bubble may be adjusted to any pattern and/or position, the weight corresponding to each bubble combination mode (that is, the sum of the weights of the bubbles included therein) may be obtained, and the bubble combination mode with the largest corresponding weight may be determined as the first bubble combination mode.
Preferably, however, the process of determining the first bubble combination mode can be regarded as a 01 knapsack problem, and the first bubble combination mode is determined through a backtracking algorithm.
The backtracking algorithm is similar to an exhaustive method, but has more leap and systematic properties, and in a solution space tree containing all solutions of a problem, according to a depth-first strategy, triggering and searching the solution space tree from a root node, when the algorithm searches to any node of the solution space tree, firstly judging whether the node does not contain the solution of the problem, if the node does not contain the solution of the problem, skipping the systematic search of a subtree taking the node as a root, backtracking the node to the original node layer by layer, otherwise, entering the subtree, and continuing to search according to the depth-first strategy, in addition, 01 knapsack problem is an optimization problem, and a bounding function is used for cutting off the subtree which can confirm that the node does not contain the optimal answer.
01 knapsack problem and backtracking algorithm are all prior art. After the first air bubble combination mode is obtained, the air bubbles can be displayed on the map according to the style and the position of each air bubble contained in the first air bubble combination mode, and the specific implementation is also the prior art.
Based on the above description, fig. 2 is a flowchart of a second embodiment of the bubble displaying method according to the present application. As shown in fig. 2, the following detailed implementation is included.
In 201, each bubble to be displayed is weighted according to the priority of the bubble to be displayed, and the higher the priority, the higher the weight.
In 202, based on the principle that covering cannot occur between bubbles, a first bubble combination mode is determined by adjusting the style and/or position of each bubble serving as a display object and by a backtracking algorithm, wherein the first bubble combination mode includes part or all of each bubble serving as the display object, and the sum of the weights of each bubble included in the first bubble combination mode is greater than the sum of the weights of each bubble included in any other bubble combination mode.
Each bubble may be composed of a bubble icon and a case, respectively. Accordingly, adjusting the style of each bubble as a presentation object may include: and aiming at any bubble, adjusting the position of the file of the bubble relative to the bubble icon of the bubble.
Adjusting the position of each bubble as a display object may include: and for any bubble, adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble within the defined adjustment range.
In addition, the process of determining the first air bubble combination mode can be regarded as a 01 backpack problem, and the first air bubble combination mode is determined through a backtracking algorithm.
In 203, the bubbles are displayed on the map in the pattern and position of each bubble contained in the first bubble combination manner.
For example, if the first bubble combination method includes 3 bubbles (which may be substantially larger than this actually, and is only for convenience of description herein) and the bubbles are bubble 1, bubble 2, and bubble 3, respectively, where the pattern of the bubble 1 is pattern 1 (assuming that there are 3 patterns), the position of the bubble 1 is position 1 (assuming that there are 3 positions), the pattern of the bubble 2 is pattern 3, the position of the bubble 2 is position 2, the pattern of the bubble 3 is pattern 2, and the position of the bubble 3 is position 3, then the bubbles 1, bubble 2, and bubble 3 can be displayed according to the patterns and positions of the bubbles 1, bubble 2, and bubble 3.
It is noted that while for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In a word, by adopting the scheme of the embodiment of the method, the first bubble combination mode can be determined by adjusting the style and/or the position of each bubble serving as a display object based on the principle that covering cannot occur among the bubbles, the weight sum of each bubble contained in the first bubble combination mode is larger than the weight sum of each bubble contained in any other bubble combination mode, and then the bubbles can be displayed on the map according to the style and the position of each bubble contained in the first bubble combination mode, so that more and more important bubble information can be displayed for a user, the richness of the displayed information is improved, and the like; in addition, the process of determining the first bubble combination mode can be regarded as a 01 backpack problem, and the first bubble combination mode is determined through a backtracking algorithm, so that the first bubble combination mode can be accurately and quickly determined, and the bubble display speed can be increased.
The above is a description of method embodiments, and the embodiments of the present application are further described below by way of apparatus embodiments.
FIG. 3 is a schematic diagram of a structure of an embodiment of a bubble display apparatus 300 according to the present application. As shown in fig. 3, includes: an acquisition unit 301, an adjustment unit 302, and a presentation unit 303.
An obtaining unit 301 is configured to obtain the weight of each bubble as a display object.
An adjusting unit 302, configured to determine a first bubble combination manner by adjusting a style and/or a position of each bubble serving as a display object based on a principle that covering cannot occur between bubbles; the first bubble combination method includes some or all of the individual bubbles to be displayed, and the sum of the weights of the individual bubbles included in the first bubble combination method is greater than the sum of the weights of the individual bubbles included in any other bubble combination method.
And a display unit 303 for displaying the bubbles on the map according to the pattern and position of each bubble included in the first bubble combination manner.
The acquiring unit 301 may respectively give a weight to each bubble as the display object according to the priority of each bubble as the display object, and the higher the priority is, the larger the weight may be.
Then, the adjusting unit 302 may determine the first bubble combination manner by adjusting the style and/or position of each bubble as the display object based on the principle that no covering (including partial covering and full covering) can occur between bubbles. The first bubble combination method includes some or all of the individual bubbles to be displayed, and the sum of the weights of the individual bubbles included in the first bubble combination method is larger than the sum of the weights of the individual bubbles included in any other bubble combination method.
Each bubble can be respectively composed of a bubble icon and a file, and the file can refer to related description information and the like of the interest point corresponding to the bubble. Accordingly, adjusting the pattern of the bubbles may include: and aiming at any bubble, adjusting the position of the file of the bubble relative to the bubble icon of the bubble. The position of the document relative to the bubble icon may include: the text is located to the left of the bubble icon, the text is located to the right of the bubble icon, the text is located below the bubble icon, and the like.
Adjusting the position of the bubble may include: and for any bubble, adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble within the defined adjustment range.
Preferably, the adjusting unit 302 may regard the process of determining the first bubble combination manner as a 01 backpack problem, and determine the first bubble combination manner through a backtracking algorithm.
After obtaining the first bubble combination manner, the display unit 303 may display the bubbles on the map according to the style and the position of each bubble included in the first bubble combination manner.
For a specific work flow of the apparatus embodiment shown in fig. 3, reference is made to the related description in the foregoing method embodiment, and details are not repeated.
In a word, by adopting the scheme of the embodiment of the device, the first bubble combination mode can be determined by adjusting the style and/or the position of each bubble serving as a display object based on the principle that covering cannot occur among the bubbles, the weight sum of each bubble contained in the first bubble combination mode is larger than the weight sum of each bubble contained in any other bubble combination mode, and then the bubbles can be displayed on a map according to the style and the position of each bubble contained in the first bubble combination mode, so that more and more important bubble information can be displayed for a user, the richness of the displayed information is improved, and the like; in addition, the process of determining the first bubble combination mode can be regarded as a 01 backpack problem, and the first bubble combination mode is determined through a backtracking algorithm, so that the first bubble combination mode can be accurately and quickly determined, and the bubble display speed can be increased.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 4 is a block diagram of an electronic device according to the method of the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 4, the electronic apparatus includes: one or more processors Y01, a memory Y02, and interfaces for connecting the various components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information for a graphical user interface on an external input/output device (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 4, one processor Y01 is taken as an example.
Memory Y02 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the methods provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the methods provided herein.
Memory Y02, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the methods in the embodiments of the present application (e.g., xx module X01, xx module X02, and xx module X03 shown in fig. X). The processor Y01 executes various functional applications of the server and data processing, i.e., implements the method in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory Y02.
The memory Y02 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Additionally, the memory Y02 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory Y02 may optionally include memory located remotely from processor Y01, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, blockchain networks, local area networks, mobile communication networks, and combinations thereof.
The electronic device may further include: an input device Y03 and an output device Y04. The processor Y01, the memory Y02, the input device Y03 and the output device Y04 may be connected by a bus or other means, and the bus connection is exemplified in fig. 4.
The input device Y03 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device, such as a touch screen, keypad, mouse, track pad, touch pad, pointer, one or more mouse buttons, track ball, joystick, or other input device. The output device Y04 may include a display device, an auxiliary lighting device, a tactile feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a liquid crystal display, a light emitting diode display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific integrated circuits, computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable logic devices) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a cathode ray tube or a liquid crystal display monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area networks, wide area networks, blockchain networks, and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A method of bubble display, comprising:
respectively obtaining the weight of each bubble as a display object;
determining a first bubble combination mode by adjusting the style and/or position of each bubble serving as a display object based on the principle that covering cannot occur among the bubbles;
wherein the first bubble combination mode comprises part or all of the bubbles serving as the display objects, and the weight sum of the bubbles contained in the first bubble combination mode is larger than the weight sum of the bubbles contained in any other bubble combination mode;
and displaying the bubbles on a map according to the style and the positions of the bubbles contained in the first bubble combination mode.
2. The method of claim 1,
the respectively obtaining the weight of each bubble as the display object includes: the display object is weighted according to the priority of each bubble, and the higher the priority is, the higher the weight is.
3. The method of claim 1,
the determining the first bubble combination mode comprises: and determining the first bubble combination mode by a backtracking algorithm by regarding the process of determining the first bubble combination mode as a 01 backpack problem.
4. The method of claim 1,
each bubble is composed of a bubble icon and a file;
the adjusting the style of each bubble serving as the display object comprises: for any bubble, adjusting the position of the pattern of the bubble relative to the bubble icon of the bubble.
5. The method of claim 1,
the adjusting the position of each bubble serving as the display object comprises: and for any bubble, adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble within the defined adjustment range.
6. A bubble display apparatus, comprising: the device comprises an acquisition unit, an adjustment unit and a display unit;
the acquiring unit is used for respectively acquiring the weight of each bubble serving as a display object;
the adjusting unit is used for determining a first air bubble combination mode by adjusting the style and/or the position of each air bubble serving as a display object based on the principle that covering can not occur among the air bubbles; wherein the first bubble combination mode comprises part or all of the bubbles serving as the display objects, and the weight sum of the bubbles contained in the first bubble combination mode is larger than the weight sum of the bubbles contained in any other bubble combination mode;
the display unit is used for displaying the bubbles on the map according to the style and the position of each bubble contained in the first bubble combination mode.
7. The apparatus of claim 6,
the acquiring unit respectively gives weights to the bubbles serving as the display objects according to the priorities of the bubbles serving as the display objects, and the higher the priority is, the higher the weight is.
8. The apparatus of claim 6,
and the adjusting unit regards the process of determining the first air bubble combination mode as a 01 knapsack problem, and determines the first air bubble combination mode through a backtracking algorithm.
9. The apparatus of claim 6,
each bubble is composed of a bubble icon and a file;
the adjusting unit adjusts the position of the pattern of the bubble relative to the bubble icon of the bubble for any bubble.
10. The apparatus of claim 6,
the adjusting unit adjusts the position of the bubble relative to the center point of the interest point corresponding to the bubble in the defined adjusting range aiming at any bubble.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN201911335487.8A 2019-12-20 2019-12-20 Bubble display method and device, electronic equipment and storage medium Active CN113010619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911335487.8A CN113010619B (en) 2019-12-20 2019-12-20 Bubble display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911335487.8A CN113010619B (en) 2019-12-20 2019-12-20 Bubble display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113010619A true CN113010619A (en) 2021-06-22
CN113010619B CN113010619B (en) 2024-03-22

Family

ID=76383059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911335487.8A Active CN113010619B (en) 2019-12-20 2019-12-20 Bubble display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113010619B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107358344A (en) * 2017-06-29 2017-11-17 浙江图讯科技股份有限公司 Enterprise's hidden danger management method and its management system, electronic equipment and storage medium
US20180026922A1 (en) * 2016-07-22 2018-01-25 Strip Messenger Messaging as a graphical comic strip
CN107766109A (en) * 2017-09-22 2018-03-06 广州小鹏汽车科技有限公司 A kind of methods of exhibiting, the apparatus and system of Android system bubble control
CN107945248A (en) * 2016-10-13 2018-04-20 北京国双科技有限公司 A kind of bubble diagram word methods of exhibiting and device
US20180295396A1 (en) * 2017-04-06 2018-10-11 Burst, Inc. Techniques for creation of auto-montages for media content
CN109582939A (en) * 2017-09-29 2019-04-05 北京国双科技有限公司 A kind of bubble diagram methods of exhibiting and device
CN109800352A (en) * 2018-12-30 2019-05-24 上海触乐信息科技有限公司 Method, system and the terminal device of information push are carried out based on clipbook
US20190205148A1 (en) * 2018-01-02 2019-07-04 Patrick Schur System and method for providing intelligent operant operating interface and intelligent personal assistant as a service
CN110059267A (en) * 2019-03-01 2019-07-26 平安科技(深圳)有限公司 Methods of exhibiting, device, computer equipment and the storage medium of data analysis result
CN110456964A (en) * 2019-07-26 2019-11-15 天脉聚源(杭州)传媒科技有限公司 A kind of adaptive chat bubble display methods, system, device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180026922A1 (en) * 2016-07-22 2018-01-25 Strip Messenger Messaging as a graphical comic strip
CN107945248A (en) * 2016-10-13 2018-04-20 北京国双科技有限公司 A kind of bubble diagram word methods of exhibiting and device
US20180295396A1 (en) * 2017-04-06 2018-10-11 Burst, Inc. Techniques for creation of auto-montages for media content
CN107358344A (en) * 2017-06-29 2017-11-17 浙江图讯科技股份有限公司 Enterprise's hidden danger management method and its management system, electronic equipment and storage medium
CN107766109A (en) * 2017-09-22 2018-03-06 广州小鹏汽车科技有限公司 A kind of methods of exhibiting, the apparatus and system of Android system bubble control
CN109582939A (en) * 2017-09-29 2019-04-05 北京国双科技有限公司 A kind of bubble diagram methods of exhibiting and device
US20190205148A1 (en) * 2018-01-02 2019-07-04 Patrick Schur System and method for providing intelligent operant operating interface and intelligent personal assistant as a service
CN109800352A (en) * 2018-12-30 2019-05-24 上海触乐信息科技有限公司 Method, system and the terminal device of information push are carried out based on clipbook
CN110059267A (en) * 2019-03-01 2019-07-26 平安科技(深圳)有限公司 Methods of exhibiting, device, computer equipment and the storage medium of data analysis result
CN110456964A (en) * 2019-07-26 2019-11-15 天脉聚源(杭州)传媒科技有限公司 A kind of adaptive chat bubble display methods, system, device and storage medium

Also Published As

Publication number Publication date
CN113010619B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
US9954989B2 (en) Lock screen graphical user interface
US11928432B2 (en) Multi-modal pre-training model acquisition method, electronic device and storage medium
CN111159592B (en) Search result page generation method and device, electronic equipment and storage medium
CN111079938A (en) Question-answer reading understanding model obtaining method and device, electronic equipment and storage medium
CN112000700A (en) Map information display method and device, electronic equipment and storage medium
US11080068B2 (en) Adaptive user-interface assembling and rendering
US20210157743A1 (en) Multi-state midtier dynamic cache replacement
CN110727434A (en) Rendering method, rendering device, electronic equipment and storage medium
CN111506803A (en) Content recommendation method and device, electronic equipment and storage medium
CN110826696A (en) Search space construction method and device of hyper network and electronic equipment
CN111121814A (en) Navigation method, navigation device, electronic equipment and computer readable storage medium
CN111966939A (en) Page skipping method and device
CN111343235A (en) Data processing method and device, access system, electronic equipment and storage medium
US20140244620A1 (en) Inline graphic scoper integrated with a search navigator
US20190026286A1 (en) Hierarchical data structure
CN113010619B (en) Bubble display method and device, electronic equipment and storage medium
CN111125597A (en) Webpage loading method, browser, electronic equipment and storage medium
CN111159316B (en) Relational database query method, device, electronic equipment and storage medium
CN112560928B (en) Negative sample mining method and device, electronic equipment and storage medium
CN113656533A (en) Tree control processing method and device and electronic equipment
CN112035210A (en) Method, apparatus, device and medium for outputting color information
CN112507249A (en) Method and device for generating interest points, electronic equipment and storage medium
CN112270412A (en) Network operator processing method and device, electronic equipment and storage medium
CN111857656A (en) Data processing method and device, electronic equipment and storage medium
CN111506420B (en) Memory synchronization method and device, electronic equipment and storage medium

Legal Events

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