CN113010619B - 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
CN113010619B
CN113010619B CN201911335487.8A CN201911335487A CN113010619B CN 113010619 B CN113010619 B CN 113010619B CN 201911335487 A CN201911335487 A CN 201911335487A CN 113010619 B CN113010619 B CN 113010619B
Authority
CN
China
Prior art keywords
bubble
bubbles
combination mode
adjusting
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911335487.8A
Other languages
Chinese (zh)
Other versions
CN113010619A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • User Interface Of Digital Computer (AREA)

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 can comprise the following steps: respectively acquiring the weight of each bubble serving as a display object; based on the principle that covering cannot occur among bubbles, determining a first bubble combination mode by adjusting the pattern and/or the position of each bubble serving as a display object; wherein the first bubble combination mode comprises part or all of the bubbles as display objects, and the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles contained in any other bubble combination mode; and displaying the bubbles on the map according to the pattern and the position of each bubble contained in the first bubble combination mode. By applying the scheme, the richness and the like of the displayed information can be improved.

Description

Bubble display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer applications, and in particular, to a method and apparatus for displaying bubbles in the field of artificial intelligence, an electronic device, and a storage medium.
Background
When the bubbles are displayed on the map, the bubbles cannot be covered for the convenience of user viewing and the like.
When covering can occur between any two bubbles, namely collision can occur, bubbles with high priority can be reserved, bubbles with low priority are not displayed, so that the displayed number of bubbles is small, and the richness of displayed information is reduced.
Disclosure of Invention
In view of this, the present application provides a bubble display method, apparatus, electronic device, and storage medium.
A bubble display method comprising:
respectively acquiring the weight of each bubble serving as a display object;
based on the principle that covering cannot occur among bubbles, determining a first bubble combination mode by adjusting the pattern and/or the position of each bubble serving as a display object;
wherein the first bubble combination mode comprises part or all of the bubbles as display objects, and the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles contained in any other bubble combination mode;
and displaying the bubbles on the map according to the pattern and the position of each bubble contained in the first bubble combination mode.
According to a preferred embodiment of the present application, the acquiring weights of the bubbles as the display objects respectively includes: each bubble as a display object is given a weight according to the priority of each bubble as a display object, and the higher the priority is, the larger the weight is.
According to a preferred embodiment of the present application, the determining the first bubble combination mode includes: and regarding the process of determining the first bubble combination mode as a 01 knapsack problem, and determining the first bubble combination mode through a backtracking algorithm.
According to a preferred embodiment of the present application, each bubble is composed of a bubble icon and a document, respectively;
the adjusting the pattern of each bubble as the display object comprises the following steps: for any bubble, the position of the bubble's document relative to the bubble's bubble icon is adjusted.
According to a preferred embodiment of the present application, the adjusting the position of each bubble as the display object includes: and adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble in the defined adjusting range for any bubble.
A bubble display device comprising: the device comprises an acquisition unit, an adjustment unit and a display unit;
the acquiring unit is used for acquiring the weight of each bubble serving as a display object respectively;
the adjusting unit is used for determining a first bubble combination mode by adjusting the pattern and/or the position of each bubble serving as a display object based on the principle that the bubbles cannot be covered; wherein the first bubble combination mode comprises part or all of the bubbles as display objects, and the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles contained in any other bubble combination mode;
and the display unit is used for displaying the bubbles on the map according to the patterns and the positions of the bubbles contained in the first bubble combination mode.
According to a preferred embodiment of the present application, the acquiring unit assigns a weight to each bubble as a display object according to the priority of each bubble as a display object, and the higher the priority, the greater the weight.
According to a preferred embodiment of the present application, 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.
According to a preferred embodiment of the present application, each bubble is composed of a bubble icon and a document, respectively;
the adjusting unit adjusts the position of the document 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 memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method as described above.
A computer program product comprising a computer program which, when executed by a processor, implements a method as described above.
One embodiment of the above application has the following advantages or benefits: the method has the advantages that 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 the bubbles cannot be covered, the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles 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, and the richness and the like of the displayed information are further improved; in addition, 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, so that the first bubble combination mode can be accurately and rapidly determined, and further the bubble display speed and the like can be improved; other effects of the above alternative will be described below in connection with specific embodiments.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of the present application. Wherein:
FIG. 1 is a flow chart of a first embodiment of a bubble display method described herein;
FIG. 2 is a flow chart of a second embodiment of a bubble display method described herein;
FIG. 3 is a schematic diagram of an embodiment of a bubble display device 300 according to the present application;
fig. 4 is a block diagram of an electronic device according to a method according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one 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 association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Fig. 1 is a flowchart of a first embodiment of a bubble display method described in the present application. As shown in fig. 1, the following detailed implementation is included.
At 101, the weight of each bubble to be displayed is acquired.
In 102, determining a first bubble combination mode by adjusting the pattern and/or the position of each bubble as a display object based on the principle that no coverage can occur between bubbles; wherein the first bubble combination mode comprises part or all of the bubbles as display objects, and the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles contained in any other bubble combination mode.
At 103, the bubbles are displayed on the map in accordance with the pattern and location of each bubble contained in the first bubble combination.
In practical applications, when the predetermined trigger condition is met, the flow shown in fig. 1 may be executed. For example, when the user requests to open the map, the map contains bubbles, or when the user zooms the map containing bubbles, the flow shown in fig. 1 may be executed.
For each bubble as a display object, 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 as a display object refers to each bubble that can be displayed on the current map, but whether or not displayed is also dependent on whether or not the bubble is included in the first bubble combination scheme.
The first air bubble combination mode can be determined by adjusting the pattern and/or the position of each air bubble as a display object based on the principle that no covering (including partial covering and total covering) can be formed between the air bubbles.
The first bubble combining means may include some or all of the bubbles to be displayed, and if the number of bubbles to be displayed is 10, the first bubble combining means may include 10 bubbles, or may include less than 10 bubbles, such as 8 bubbles. In addition, the sum of the weights of the air bubbles included in the first air bubble combining method is larger than the sum of the weights of the air bubbles included in any other air bubble combining method, for example, the first air bubble combining method includes 8 air bubbles, namely air bubbles 1 to 8, and the corresponding weights are respectively 1 to 8, so that the weights 1 to 8 can be added to obtain the sum of the weights of the air bubbles included in the first air bubble combining method.
Each bubble may be composed of a bubble icon and a document, which may refer to related description information for a point of interest corresponding to the bubble, or the like, respectively. Accordingly, adjusting the pattern of bubbles may include: for any bubble, the position of the bubble's document relative to the bubble icon of the bubble is adjusted.
The location 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, etc. Assuming that bubble 1 adopts a pattern in which the text is located on the right of the bubble icon, bubble 2 adopts a pattern in which the text is located on the left of the bubble icon, partial coverage may occur between bubble 1 and bubble 2, but coverage may not occur between bubble 1 and bubble 2 if bubble 2 also adopts a pattern in which the text is located on the right of the bubble icon.
Adjusting the position of the bubble may include: and adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble in the defined adjusting range for any bubble.
Generally speaking, the bubbles on the map are bubbles added based on the point of interest, the position of the bubbles 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 bubbles 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 bubbles 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 bubbles 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 the like.
Thus, for any bubble, there are only possible cases of the pattern and the position, 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, in theory, an exhaustion method may be adopted, that is, based on the principle that no coverage can occur between bubbles, all possible bubble combination modes may be listed, for any bubble combination mode, some or all of the bubbles that are objects to be displayed may be included therein, and for any bubble included therein, the bubbles 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 respectively, and then, 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 air bubble combination is regarded as a 01 knapsack problem, and the first air bubble combination is determined through a backtracking algorithm.
The backtracking algorithm is somewhat similar to an exhaustion method, but is more jumping and systematic, in a solution space tree containing all solutions of a problem, according to a depth-first strategy, the search space tree is triggered from a root node, when the algorithm searches any node of the solution space tree, whether the node does not contain the solution of the problem is judged first, if yes, the system search of a subtree taking the node as a root is skipped, the original node is backtracked layer by layer, otherwise, the subtree is entered, the search is continued according to the depth-first strategy, in addition, the 01 knapsack problem is an optimization problem, and the subtree which does not contain the optimal answer node can be confirmed also needs to be cut off by using a limit function.
01 knapsack problem and backtracking algorithm are all prior art. After the first bubble combination mode is obtained, bubbles can be displayed on the map according to the patterns and the positions of the bubbles contained in the first bubble combination mode, and the specific implementation is the same as the prior art.
Based on the above description, fig. 2 is a flowchart of a second embodiment of the bubble display method described in the present application. As shown in fig. 2, the following detailed implementation is included.
In 201, each bubble to be displayed is given a weight according to the priority of each bubble to be displayed, and the higher the priority is, the greater the weight is.
In 202, based on the principle that no coverage can occur between bubbles, a first bubble combination mode is determined by adjusting the pattern and/or the position of each bubble as a display object and by a backtracking algorithm, wherein part or all of each bubble as a display object is contained in the first bubble combination mode, and the sum of the weights of each bubble contained in the first bubble combination mode is larger than the sum of the weights of each bubble contained in any other bubble combination mode.
Each bubble may consist of a bubble icon and a document, respectively. Accordingly, adjusting the pattern of each bubble as a display object may include: for any bubble, the position of the bubble's document relative to the bubble icon of the bubble is adjusted.
Adjusting the position of each bubble as a display object may include: and adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble in the defined adjusting range for any bubble.
In addition, 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.
At 203, the bubbles are displayed on the map in accordance with the pattern and position of each bubble contained in the first bubble combination.
For example, the first bubble combination mode includes 3 (actually may be far greater than this, and is only for convenience of description herein) bubbles, namely, bubble 1, bubble 2 and bubble 3, wherein the pattern of bubble 1 is pattern 1 (assuming that there are 3 patterns in total), the position of bubble 1 is position 1 (assuming that there are 3 positions in total), the pattern of bubble 2 is pattern 3, the position of bubble 2 is position 2, the pattern of bubble 3 is pattern 2, and the position of bubble 3 is position 3, and then the bubbles 1, 2 and 3 can be displayed according to the patterns and positions of bubble 1, bubble 2 and bubble 3.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may take other order or occur simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
In summary, by adopting the scheme of the embodiment of the application method, the first bubble combination mode can be determined by adjusting the pattern and/or the position of each bubble as a display object based on the principle that the coverage cannot occur among bubbles, and the sum of the weights of all bubbles contained in the first bubble combination mode is larger than the sum of the weights of all bubbles contained in any other bubble combination mode, so that the bubbles can be displayed on a map according to the pattern and the position of each bubble contained in the first bubble combination mode, more and more important bubble information can be displayed for a user, and the richness and the like of the displayed information are further improved; in addition, 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, so that the first bubble combination mode can be accurately and rapidly determined, and further the bubble display speed and the like can be improved.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the device.
Fig. 3 is a schematic diagram illustrating a composition structure of an embodiment of a bubble display device 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 acquisition unit 301 for acquiring the weight of each bubble as a display object.
An adjusting unit 302, configured to determine a first air bubble combination mode by adjusting a style and/or a position of each air bubble as a display object based on a principle that no coverage can occur between air bubbles; wherein the first bubble combination mode comprises part or all of the bubbles as display objects, and the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles contained in any other bubble combination mode.
And a display unit 303, configured to display the bubbles on the map according to the pattern and the position of each bubble included in the first bubble combination mode.
The acquiring unit 301 may assign weights to the respective air bubbles as the display objects according to the priorities of the respective air bubbles as the display objects, and the higher the priorities, the greater the weights may be.
Thereafter, the adjustment unit 302 may determine the first bubble combination mode by adjusting the pattern and/or the position of each bubble as the display object based on the principle that no covering (including partial covering and total covering) can occur between the bubbles. Wherein the first bubble combining means includes some or all of the bubbles to be displayed, and the sum of the weights of the bubbles included in the first bubble combining means is larger than the sum of the weights of the bubbles included in any other bubble combining means.
Each bubble may be composed of a bubble icon and a document, which may refer to related description information for a point of interest corresponding to the bubble, or the like, respectively. Accordingly, adjusting the pattern of bubbles may include: for any bubble, the position of the bubble's document relative to the bubble icon of the bubble is adjusted. The location 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, etc.
Adjusting the position of the bubble may include: and adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble in the defined adjusting range for any bubble.
Preferably, the adjusting unit 302 may consider the process of determining the first air bubble combination mode as a 01 knapsack problem, and determine the first air bubble combination mode through a backtracking algorithm.
After the first bubble combination manner is obtained, the display unit 303 may display the bubbles on the map according to the pattern and the position of each bubble included in the first bubble combination manner.
The specific workflow of the embodiment of the apparatus shown in fig. 3 is referred to the related description in the foregoing method embodiment, and will not be repeated.
In summary, by adopting the scheme of the embodiment of the application device, the first bubble combination mode can be determined by adjusting the pattern and/or the position of each bubble as the display object based on the principle that the coverage cannot occur among bubbles, and the sum of the weights of all bubbles contained in the first bubble combination mode is larger than the sum of the weights of all bubbles contained in any other bubble combination mode, so that the bubbles can be displayed on a map according to the pattern and the position of each bubble contained in the first bubble combination mode, more and more important bubble information can be displayed for a user, and the richness and the like of the displayed information are further improved; in addition, 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, so that the first bubble combination mode can be accurately and rapidly determined, and further the bubble display speed and the like can be improved.
According to embodiments of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 4, is a block diagram of an electronic device according to a method according to an 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 telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 4, the electronic device includes: one or more processors Y01, memory Y02, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. 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 executing within the electronic device, including instructions stored in or on memory to display graphical information of 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, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). In fig. 4, a processor Y01 is taken as an example.
The memory Y02 is a non-transitory computer readable storage medium provided in the present application. Wherein the memory stores instructions executable by the 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.
The memory Y02, which is a non-transitory computer readable storage medium, may be used to store a non-transitory software program, a non-transitory computer executable program, and modules, such as program instructions/modules (e.g., xx module X01, xx module X02, and xx module X03 shown in fig. X) corresponding to the methods in the embodiments of the present application. The processor Y01 executes various functional applications of the server and data processing, i.e., implements the methods in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory Y02.
The memory Y02 may include a memory program area that may store an operating system, at least one application program required for functions, and a memory data area; the storage data area may store data created according to the use of the electronic device, etc. In addition, 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, memory Y02, input device Y03, and output device Y04 may be connected by a bus or otherwise, for example 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, trackpad, touchpad, pointer stick, one or more mouse buttons, trackball, joystick, and like input devices. The output means Y04 may include a display device, an auxiliary lighting means, a tactile feedback means (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 may 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 circuitry, computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. The terms "machine-readable medium" and "computer-readable medium" as used herein refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable logic devices) for providing 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 pointing device (e.g., a mouse or 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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 a client and a server. The client and server are typically 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 appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions disclosed in the present application can be achieved, and are not limited herein.
The above embodiments do not limit the scope of the application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (6)

1. A bubble display method, comprising:
the method for respectively acquiring the weights of the bubbles serving as the display objects comprises the following steps: according to the priority of each bubble as a display object, respectively giving a weight to each bubble as a display object, wherein the higher the priority is, the larger the weight is;
based on the principle that covering cannot occur among bubbles, determining a first bubble combination mode by adjusting the pattern and/or the position of each bubble serving as a display object; wherein, every bubble comprises bubble icon and file respectively, and the style of adjustment bubble includes: for any bubble, adjusting the position of the pattern of the bubble relative to the bubble icon of the bubble; the first bubble combination mode comprises part or all of the bubbles as display objects, the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles contained in any other bubble combination mode, and no coverage can occur among the bubbles in any other bubble combination mode; wherein adjusting the position of each bubble as the display object includes: for any bubble, adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble in a defined adjusting range;
and displaying the bubbles on the map according to the pattern and the position of each bubble contained in the first bubble combination mode.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the determining the first bubble combination mode comprises the following steps: and regarding the process of determining the first bubble combination mode as a 01 knapsack problem, and determining the first bubble combination mode through a backtracking algorithm.
3. A bubble display device, comprising: the device comprises an acquisition unit, an adjustment unit and a display unit;
the acquiring unit is configured to acquire weights of bubbles as display objects, respectively, and includes: according to the priority of each bubble as a display object, respectively giving a weight to each bubble as a display object, wherein the higher the priority is, the larger the weight is;
the adjusting unit is used for determining a first bubble combination mode by adjusting the pattern and/or the position of each bubble serving as a display object based on the principle that the bubbles cannot be covered; wherein, every bubble comprises bubble icon and file respectively, and the style of adjustment bubble includes: for any bubble, adjusting the position of the pattern of the bubble relative to the bubble icon of the bubble; the first bubble combination mode comprises part or all of the bubbles as display objects, the sum of the weights of the bubbles contained in the first bubble combination mode is larger than the sum of the weights of the bubbles contained in any other bubble combination mode, and no coverage can occur among the bubbles in any other bubble combination mode; wherein adjusting the position of each bubble as the display object includes: for any bubble, adjusting the position of the bubble relative to the center point of the interest point corresponding to the bubble in a defined adjusting range;
and the display unit is used for displaying the bubbles on the map according to the patterns and the positions of the bubbles contained in the first bubble combination mode.
4. The apparatus of claim 3, wherein the device comprises a plurality of sensors,
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.
5. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
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-2.
6. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-2.
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 CN113010619A (en) 2021-06-22
CN113010619B true 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 (7)

* 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
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
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9973456B2 (en) * 2016-07-22 2018-05-15 Strip Messenger Messaging as a graphical comic strip
US10362340B2 (en) * 2017-04-06 2019-07-23 Burst, Inc. Techniques for creation of auto-montages for media content
US11157295B2 (en) * 2018-01-02 2021-10-26 Patrick Schur System and method for providing intelligent operant operating interface and intelligent personal assistant as a service on a crypto secure social media and cross bridge service with continuous prosumer validation based on i-operant+198 tags, i-bubble+198 tags, demojis+198 and demoticons+198

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945248A (en) * 2016-10-13 2018-04-20 北京国双科技有限公司 A kind of bubble diagram word methods of exhibiting and device
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
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
CN113010619A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN111461290B (en) Model parameter updating method and device
CN111275190B (en) Compression method and device of neural network model, image processing method and processor
CN110727434B (en) Rendering method, rendering device, electronic equipment and storage medium
CN112000450A (en) Neural network architecture searching method and device
CN111368153B (en) Searching method and device
US20210157743A1 (en) Multi-state midtier dynamic cache replacement
US20200082502A1 (en) Zoom-adaptive data granularity to achieve a flexible high-performance interface for a geospatial mapping system
CN111652354B (en) Method, apparatus, device and storage medium for training super network
CN110796191B (en) Trajectory classification method and device
US9865034B1 (en) Zoom-adaptive data granularity to achieve a flexible high-performance interface for a geospatial mapping system
CN111339462A (en) Component rendering method, device, server, terminal and medium
CN111857656B (en) Data processing method, device, electronic equipment and storage medium
CN111680599B (en) Face recognition model processing method, device, equipment and storage medium
CN113010619B (en) Bubble display method and device, electronic equipment and storage medium
CN111833391A (en) Method and device for estimating image depth information
CN111125597A (en) Webpage loading method, browser, electronic equipment and storage medium
CN111159316B (en) Relational database query method, device, electronic equipment and storage medium
CN111324747B (en) Triplet generation method and device and electronic equipment
CN112560928A (en) Negative sample mining method and device, electronic equipment and storage medium
CN111506420B (en) Memory synchronization method and device, electronic equipment and storage medium
CN113010618B (en) Aging interest point display method and device, electronic equipment and storage medium
CN111984857A (en) Information pushing method and device, electronic equipment and storage medium
CN112861029B (en) Information display method, device, equipment and medium
CN111371901B (en) Client behavior control method, device, electronic equipment and medium
CN112000702B (en) Processing method and device for template label, 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