Display method, device and storage medium

By determining and displaying the position of the axis marks in the drawing interface of the architectural design software, the problem of the axis marks not being displayed in real time and overlapping text in the prior art is solved, and the clarity of the interface and the improvement of the user experience is achieved.

CN114528614BActive Publication Date: 2025-05-02JIULING (JIANGSU) DIGITAL INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011191655.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-30
Publication Date
2025-05-02
Estimated Expiration
2040-10-30

AI Technical Summary

Technical Problem

The axis markings in existing architectural design software cannot be displayed in real time, resulting in unclear interface display and easy overlap of marking text.

Method used

By determining the placement position of object identification in the drawing interface and displaying it in a preset manner, the real-time display and overlapping of axis marks is solved. The specific steps include displaying the drawing interface, displaying the model to be edited through the drawing area, determining the target editing object and its placement position, and displaying the object identifier in a preset manner.

Benefits of technology

Real-time display and position adjustment of axis marks are realized, avoiding overlap of mark texts, and improving the clarity of the interface and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114528614B_ABST
    Figure CN114528614B_ABST
Patent Text Reader

Abstract

The present application provides a display method, device and storage medium, the display method comprising: displaying a drawing interface, the drawing interface comprising a drawing area and a boundary surrounding the drawing area; displaying the editing object of the model to be edited through the drawing area; determining a target editing object with an object identifier from the editing object; determining a display position of the object identifier according to the boundary between the target editing object and the drawing area; and displaying the object identifier at the display position in a preset display manner. The present application can determine the display position of the object identifier according to the boundary between the target editing object and the drawing area, and display the object identifier at the display position in a preset display manner, solving the technical problem of the lack of real-time display function of the axis grid label in the existing display interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data, and in particular to a display method, device and storage medium. Background Art

[0002] At present, the axis numbers in commonly used architectural design software cannot be displayed in real time. There are plug-ins developed by secondary developers that have the function of displaying axis numbers in real time. The secondary developed plug-ins can make the axis numbers be displayed in real time near the view boundary, but there is an overlap problem between the text of the axis numbers.

[0003] Therefore, the existing display interface display technology has a technical problem that most axis labels cannot display functions in real time. Summary of the invention

[0004] The embodiments of the present application provide a display method, device and storage medium to solve the technical problem that most axis labels cannot be displayed in real time in the existing display interface display technology.

[0005] The present application provides a display method, including:

[0006] Displaying a drawing interface, the drawing interface including a drawing area and a border surrounding the drawing area;

[0007] Displaying the editing object of the model to be edited in the drawing area;

[0008] Determine a target editing object having an object identifier from the editing objects; determine a display position of the object identifier according to a boundary between the target editing object and the drawing area;

[0009] The object identifier is displayed at the display position in a preset display manner.

[0010] The present application also provides a display device, including:

[0011] A first display module, used to display a drawing interface, wherein the drawing interface includes a drawing area and a boundary surrounding the drawing area;

[0012] A second display module, used for displaying the editing object of the model to be edited through the drawing area;

[0013] A first determining module, used to determine a target editing object having an object identifier from the editing objects;

[0014] A second determining module, configured to determine a display position of the object identifier according to a boundary between the target editing object and the drawing area;

[0015] The third display module is used to display the object identifier at the display position in a preset display manner. The embodiment of the present application also provides a storage medium, the storage medium stores multiple instructions, and the instructions can be loaded by a processor to execute any of the display methods described above.

[0016] The embodiment of the present application provides a display method, device and storage medium, the display method comprising: displaying a drawing interface, the drawing interface comprising a drawing area and a boundary surrounding the drawing area; displaying the editing object of the model to be edited through the drawing area; determining a target editing object with an object identifier from the editing object; determining a display position of the object identifier according to the boundary between the target editing object and the drawing area; and displaying the object identifier at the display position in a preset display manner; the beneficial effect is: the present application can determine the display position of the object identifier according to the boundary between the target editing object and the drawing area, and display the object identifier at the display position in a preset display manner, thereby solving the technical problem of the existing display interface having no real-time display function of the axis grid label. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0018] Figure 1 A schematic diagram of a scenario of a display method provided in an embodiment of the present application.

[0019] Figure 2 A flowchart of a display method provided in an embodiment of the present application.

[0020] Figure 3 A schematic diagram of the first drawing interface of the display method provided in an embodiment of the present application.

[0021] Figure 4 A schematic diagram of a second drawing interface of the display method provided in an embodiment of the present application.

[0022] Figure 5 A schematic diagram of a third drawing interface of the display method provided in an embodiment of the present application.

[0023] Figure 6 A schematic diagram of the fourth drawing interface of the display method provided in an embodiment of the present application.

[0024] Figure 7 A schematic diagram of the fifth drawing interface of the display method provided in an embodiment of the present application.

[0025] Figure 8 A schematic diagram of the structure of a display device provided in an embodiment of the present application.

[0026] Fig. 9 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0028] In the embodiments of the present application, the drawing interface refers to a display interface for a wide range of users that fully utilizes modern electronic information technologies such as the Internet of Things, cloud computing, artificial intelligence, automatic control, and mobile Internet in various big data fields; through this display interface, users can redefine the axis labels at the boundaries of the display interface and the label positions beyond the boundaries of the display interface, that is, the axis labels reselect the display position or determine whether to display, which solves the problem of no real-time display function of axis network labels in the existing display interface, or when the axis labels are displayed in real time near the view boundary, the text of the labels overlaps. The display method, device, and storage medium are described in detail below in conjunction with the interface and device of a certain architectural drawing software.

[0029] The embodiments of the present application provide a display method, device and storage medium, which are described in detail below.

[0030] See also Figure 1 , Figure 1This is a scene diagram of the display method provided in the embodiment of the present application. The display method described in the present application is applied to the display system, which may include a server 10 and a terminal 20. The server 10 and the terminal 20 can be connected and communicated through the Internet composed of various gateways, such as a wide area network, a local area network, etc. The dynamic screen display of the drawing interface is realized through the cooperation between the server 10 and the terminal 20, which will not be repeated here. It can be understood that the server 10 is a sustainable mechanism for "making the company's data useful", a strategic choice and organizational form, which is based on the company's unique business model and organizational structure, supported by tangible products and implementation methodologies, to build a mechanism that continuously turns data into assets and serves the business. The server 10 mainly has four core capabilities: data aggregation and integration, data purification and processing, data service visualization, and data value realization. The terminal 20 refers to a client device that is registered and authorized by the server 10 system and has operational requirements for data and equipment within the system. It may specifically include a public security client and a developer client, etc. The terminal 20 is a device that provides a display interface for business system users. It may be a device that includes both receiving and transmitting hardware, that is, a device with receiving and transmitting hardware that can perform two-way communication on a two-way communication link.

[0031] The display interface in the present application is a drawing interface, and the drawing interface includes a drawing area and a boundary surrounding the drawing area; the drawing area is used to display the editing object of the model to be edited; the boundary of the drawing area is used to determine the display position of the object identifier according to the relationship between it and the target editing object. Such a device may include: a cellular or other communication device, which has a single-line display or a multi-line display or a cellular or other communication device without a multi-line display, and may be a desktop terminal or a mobile terminal, such as a mobile phone, a tablet computer, a laptop computer, etc.

[0032] It should also be noted that Figure 1 The scene diagram of the display method shown is only an example. The display method and scene described in the embodiment of the present invention are to more clearly illustrate the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. A person of ordinary skill in the art can know that with the evolution of the interface display system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems. The following is a detailed description. It should be noted that the description order of the following embodiments does not serve as a limitation on the preferred order of the embodiments.

[0033] See also Figure 2 , Figure 2This is a flow chart of a display method provided in an embodiment of the present application. In one embodiment, the present application provides a display method. This embodiment mainly applies this method to the above Figure 1 The server 10 and the terminal 20 in FIG. 2 are used as examples. Figure 2 The display method specifically includes steps S101 to S105, which are as follows:

[0034] S101, displaying a drawing interface, where the drawing interface includes a drawing area and a boundary surrounding the drawing area.

[0035] The drawing interface refers to an interface display area on the terminal 20 for displaying drawings.

[0036] The display area refers to a relatively independent interface sub-area in the display interface.

[0037] Among them, the drawing interface refers to the operating interface in the terminal 20 that collects user history to trigger the server 10 to draw, so as to use the interface to generate the required model or graphics and display the interface of all models or graphics to the user. In one embodiment, the display area includes the drawing interface, and the drawing interface includes: the drawing area and the boundary surrounding the drawing area. The pointer can be moved to any position within the drawing area and the boundary of the drawing area. The drawing interface also includes a tool navigation bar set within the boundary of the drawing area. The tool navigation bar can be folded or unfolded according to the size of the model or graphics in the drawing interface or the user's own usage needs. The tools in the tool navigation bar can only be selected by checking or by shortcut keys, and their corresponding functions are realized.

[0038] See also Figure 3 , which is a schematic diagram of the first drawing interface of the display method provided in an embodiment of the present application. The drawing area is mainly used to draw models or graphics. The boundary of the drawing area surrounds the drawing area and is set around the drawing area, including: a first boundary area, a second boundary area, a third boundary area and a fourth boundary area. The area and size of each boundary area can be the same or different. The preset width and length of the boundary area of ​​the drawing area can be set by the user according to the drawing requirements. Coordinate values ​​are set in the drawing area, the first boundary area, the second boundary area, the third boundary area and the fourth boundary area. The size of each preset area range can be distinguished according to the corresponding preset coordinate value range.

[0039] See also Figure 4, which is a schematic diagram of the second drawing interface of the display method provided in an embodiment of the present application. A first tool navigation bar is provided in the first boundary area, and a second tool navigation bar is provided in the second boundary area. The tools in the first tool navigation bar and the second tool navigation bar can only realize their corresponding functions by checking or by shortcut keys. The tools in the first tool navigation bar and the second tool navigation bar do not affect the positional relationship of the boundary of the drawing area relative to the editing object.

[0040] In one embodiment, in the drawing interface of the drawing software, the drawing area is used to display various drawing models, graphics, axes, and axis labels therein, and the boundary of the drawing area is used to determine whether to display the axis label based on the density of the axis label within the boundary of the drawing area; and the display position of the axis label is determined by the positional relationship between the axis and the boundary of the drawing area.

[0041] Furthermore, when the terminal 20 determines the area to which the model or graphic currently belongs, it is necessary to first capture all current coordinate values ​​of the axis and the axis label of the model or graphic in the drawing interface, and compare the current coordinate values ​​of the axis and the axis label with the coordinate values ​​within a preset boundary range in the terminal 20, that is, by comparing the current coordinate values ​​of the axis and the axis coordinates with the preset coordinate values ​​of the axis and the axis label at the boundary of the drawing area, the positional relationship between the axis, the axis label and the boundary of the drawing area is determined, and then whether to display the axis label is determined through the positional relationship between the axis and the axis label, and the display position of the axis label to be displayed is determined.

[0042] Specifically, the terminal 20 processes the model or graphics that need to be displayed in the drawing interface as follows: first, obtain the current coordinate values ​​of all axes in the drawing interface on the display screen; then compare the current coordinate value of the axis with the preset coordinate value at the boundary of the drawing area to determine whether the current coordinate value of the axis falls within the preset coordinate value range of the boundary of the drawing area, so as to know whether the axis intersects with the boundary of the drawing area; obtain the current coordinate values ​​of all axes intersecting with the boundary of the drawing area, and store the current coordinate values ​​of all axes intersecting with the boundary of the drawing area in the set A = {a1, a2, ..., an} (an represents the nth axis).

[0043] Continue to process the elements in set A. First, in step 1, initialize set B = {b1, b2, ..., bn}. Set B is used to store the axis labels drawn in real time. Then, in step 2, set i = 1. Step 3, assign element a = A[i], and set that there are i elements in set A. Step 4, calculate the intersection p of element a and the boundary of the drawing area. Step 5, draw a circle c with the intersection p as the center and r as the radius, and calculate whether circle c intersects with the axis labels in set B. If they do, set i = i + 1 and jump to step 3. Step 6, draw the axis label b with the intersection p as the center. The symbol radius of the axis label is r, and the unit is pixel unit. Step 7, add the axis label b to set B. Step 8, set i = i + 1. Step 9, if i is less than or equal to the number of elements in A, jump to step c. Otherwise, the processing is completed. That is, all elements in set A have been judged and the processing process is over. If not, continue to judge the next element.

[0044] It should be noted that the user referred to in the embodiment of the present application may be a developer of the terminal 20 or an operator of the drawing interface.

[0045] S102: Displaying the editing object of the model to be edited in the drawing area.

[0046] The model to be edited may be a model to be drawn or a graphic. The editing object may refer to an axis, and the axis may be a straight line or an arc.

[0047] It is understandable that when a user draws a model or a graph in a drawing interface of a drawing software, the axis is displayed in the drawing area.

[0048] The axis may be a central axis, sideline or other straight line or arc used to locate the position of a component, such as a model or a graphic.

[0049] It should be noted that the number of boundary areas can be set according to actual application requirements. The embodiment of the present application only illustrates the processing method when the number of boundary areas is 4, and does not exclude that the number of display areas is 3 or others in other embodiments. Therefore, the present application does not make specific restrictions on the number of boundary areas and sets it according to the actual drawing needs of the user.

[0050] It should also be noted that a menu or a tool navigation bar may be set in each of the boundary areas, and the menu or the tool navigation bar is retractable. When the model or graphic of the drawing interface is large, the user can fold the menu or the tool navigation bar to the inoperable area of ​​the drawing interface; when the model or graphic of the drawing interface is of an appropriate size, the user can decide whether to fold the menu or the tool navigation bar according to his or her own needs.

[0051] S103, determining a target editing object having an object identifier from the editing objects.

[0052] Among them, the object identifier is the axis label, and the axis label is a symbol that identifies the axis number, including: an axis number and a symbol, and the axis number can be represented by letters or numbers; the symbol is represented by a circle; and the target editing object is the axis containing the axis label.

[0053] Specifically, when the drawing interface is displaying a model or a graphic, the model or graphic contains a plurality of axes and axis labels. The terminal 20 does not need to extract all of the axes and the axis labels, but only needs to extract the axes containing the axis labels, that is, to select the axes containing the axis labels from all the axes.

[0054] Among them, the server 10 is an important component of the security system. With the rapid development of computer, network and big data technology, interface display technology has also made great progress.

[0055] Among them, the display interface refers to the operating interface of the display screen. For example, when you can use your hand to touch the screen to adjust the mobile phone, corresponding options, menus, etc. will appear on the screen; when you use the pointer to check on the computer screen, many corresponding menus and navigation bars will also appear on the computer screen, which is used to check the display screen displayed by the required tools according to your own needs.

[0056] Each display interface is provided with a plurality of functional controls, each of which has a specified function and utility. A control is a component (visual component) with a user interface (UI), such as a button, a list box, an edit box, or a static text in a dialog box.

[0057] In one embodiment, the control can also be used to obtain the request frequency of interface display of different sub-display areas in each display area; obtain the request frequency of interface display of each function control in each function control group; and determine the sub-display area of ​​each function control in the function control group in the corresponding display area based on the correspondence between the request frequency of interface display and the corresponding display position.

[0058] S104: Determine a display position of the object identifier according to a boundary between the target editing object and the drawing area.

[0059] Specifically, the server 10 receives an interface display request generated in the drawing interface of the terminal 20 , and the interface display request includes the object identifier that needs to be displayed.

[0060] Furthermore, determining the display position of the object identifier requires determining two issues: first, determining whether the object identifier is displayed; and second, determining the specific display position of the object identifier.

[0061] First, determine whether the object identifier is displayed: obtain the number of the object identifiers located at the boundary of the drawing area; determine whether to display the object identifier to be displayed according to the number of the object identifiers located at the boundary of the drawing area; then compare the number of the object identifiers located at the boundary of the drawing area with the number of the object identifiers preset at the boundary of the drawing area, and when the number of the object identifiers located at the boundary of the drawing area is greater than the number of the object identifiers preset at the boundary of the drawing area, determine whether the displayed object identifier overlaps with the object identifier to be displayed; determine whether the object identifier to be displayed is hidden or displayed according to the result of the judgment. Further, obtain the result of whether the displayed object identifier overlaps with the object identifier to be displayed; when the displayed object identifier overlaps with the object identifier to be displayed, hide the object identifier to be displayed; when the displayed object identifier does not overlap with the object identifier to be displayed, display the object identifier to be displayed.

[0062] In some embodiments, determining the display position of the axis label requires determining two issues: first, determining whether the axis label is displayed; and second, determining the specific display position of the axis label.

[0063] Specifically, first determine whether the axis number is displayed: obtain the number of the axis numbers located at the boundary of the drawing area; determine whether to display the axis number to be displayed according to the number of the axis numbers located at the boundary of the drawing area; then compare the number of the axis numbers located at the boundary of the drawing area with the number of the axis numbers preset at the boundary of the drawing area; when the number of the axis numbers located at the boundary of the drawing area is greater than the number of the axis numbers preset at the boundary of the drawing area, determine whether the displayed axis numbers overlap with the axis numbers to be displayed; determine whether the axis numbers to be displayed are hidden or displayed according to the result of the determination. Further, obtain the result of whether the displayed axis numbers overlap with the axis numbers to be displayed; when the displayed axis numbers overlap with the axis numbers to be displayed, hide the axis numbers to be displayed; when the displayed axis numbers do not overlap with the axis numbers to be displayed, display the axis numbers to be displayed.

[0064] Furthermore, the number of the object identifiers located at the boundary of the drawing area is obtained; when the number of the object identifiers located at the boundary of the drawing area is greater than the preset number of the object identifiers located at the boundary of the drawing area, the number of the object identifiers to be displayed is deduplicated or the positions of the object identifiers to be displayed are adjusted.

[0065] In some embodiments, when drawing on the drawing interface of the drawing software, the terminal 20 first obtains the number of the axis labels at the boundary of the drawing area where the current coordinate value is located; when the number of the axis labels at the boundary of the drawing area where the current coordinate value is located is greater than the preset number of the axis labels at the boundary of the drawing area, one is that the repeated axis labels among the axis labels that have not yet been displayed can be deduplicated to avoid the axis labels with the same number appearing multiple times and occupying the display position of the drawing interface, thereby increasing the density of the axis labels on the drawing interface; the second is to adjust the position of the axis labels that have not yet been displayed, for example, only display the odd-numbered axis labels near the boundary of the drawing area, or only display the plural-numbered axis labels, or display two adjacent axis labels in a staggered manner, so as to solve the problem of excessive density of the axis labels at the boundary of the drawing area.

[0066] Furthermore, the specific display position of the axis label is determined: the positional relationship between the target editing object and the boundary of the drawing area is obtained; the display position of the object identifier is determined according to the positional relationship between the target editing object and the boundary of the drawing area; when the position of the target editing object exceeds the boundary of the drawing area, the object identifier is displayed at the position where the target editing object intersects the boundary of the drawing area.

[0067] In one embodiment, the steps for determining the specific display position of the axis label are: obtaining the positional relationship between the axis including the axis label and the boundary area of ​​the drawing area; determining the display position of the axis label according to the positional relationship between the axis including the axis label and the boundary area of ​​the drawing area; when part of the coordinate values ​​of the axis including the axis label exceeds the preset coordinate values ​​of the boundary of the drawing area, displaying the axis label at the position where the axis including the axis label intersects with the boundary of the drawing area.

[0068] Furthermore, the positional relationship of the intersection of the target editing object and the boundary of the drawing area is obtained to determine whether the target editing object intersects with the boundary of the drawing area at one end or at both ends; when the target editing object intersects with one end of the boundary of the drawing area, the object identifier is displayed at the position where the editing object and the boundary of the drawing area intersect; when the target editing object intersects with both ends of the boundary of the drawing area, the object identifier is displayed at any intersection position of the boundary of the editing object and the drawing area.

[0069] In one embodiment, the positional relationship between the intersection of the axis line including the axis line label and the boundary of the drawing area is obtained, and it is determined whether the axis line including the axis line label intersects with the boundary of the drawing area at only one end or at both ends; when the axis line including the axis line label intersects with the boundary of the drawing area at one end, the axis line label is displayed at the position where the axis line intersects with the boundary of the drawing area; when the axis line including the axis line label intersects with both ends of the boundary of the drawing area, the axis line label is displayed at any intersection position of the axis line and the boundary of the drawing area.

[0070] See also Figure 5 , which is a schematic diagram of the third drawing interface of the display method provided in an embodiment of the present application. In one embodiment, the target editing object intersects with the boundary of the drawing area at only one end, and the intersection point of the target editing object and the boundary of the drawing area is A. When the target editing object intersects with the boundary of the drawing area at point A, the object logo is displayed at the intersection point A where the target editing object and the boundary of the drawing area intersect. That is, when the axis line intersects with the boundary of the drawing area at only one end, the intersection point of the axis line and the boundary of the drawing area is A, and the intersection point A is the display position of the axis line number. For example Figure 5 In the figure, the intersection of axis 1 and the first boundary area is A, and the intersection A is the display position of axis number ①.

[0071] See also Figure 6 , which is a schematic diagram of the fourth drawing interface of the display method provided in an embodiment of the present application. In one embodiment, the target editing object intersects with both ends of the boundary of the drawing area, and the intersection points of the target editing object and the boundary of the drawing area are A and B respectively. When the target editing object intersects with the boundary of the drawing area at points A and B, the object logo is displayed at any one of the intersection points A and B where the target editing object intersects with the boundary of the drawing area. That is, when the axis line intersects with both ends of the boundary of the drawing area, the intersection points of the axis line and the boundary of the drawing area are A and B respectively, and any one of the intersection points A and B is the display position of the axis line label. For example Figure 6In the figure, the intersection of axis 1 and the first boundary area is A, and the intersection of axis 1 and the third boundary area is B. The intersection A or the intersection B is the display position of the axis number ①.

[0072] See also Figure 7 , which is a fifth drawing interface schematic diagram of the display method provided by an embodiment of the present application. In one embodiment, when the number of the multiple target editing objects located at the boundary of the drawing area is greater than the number of preset target editing objects at the boundary of the drawing area, there is an overlap between two adjacent object identifiers and between the object identifiers and the editing objects, resulting in unclear display of the object identifiers, that is, when the number of the multiple axes containing the axis numbers located at the boundary of the drawing area is greater than the number of preset axes containing the axis numbers at the boundary of the drawing area, there is an overlap between two adjacent axis numbers and between the axis numbers and the axis numbers, resulting in unclear display of the text of the axis numbers, for example Figure 7 In the figure, the axis numbers corresponding to axes 1, 3, 5, and 6 are the displayed axis numbers ①, ③, ⑤, and ⑥, while the axis numbers corresponding to axes 2, 4, 7, and 8 are not displayed because they will overlap with the displayed axis numbers ①, ③, ⑤, and ⑥.

[0073] S105: Display the object identifier at the display position in a preset display manner.

[0074] Among them, the display position represents the display position of the object identifier on the drawing interface; the preset display method represents that the drawing interface is used to adjust the display position of the object identifier, that is, the display position is the display position of the axis label on the drawing interface.

[0075] It can be understood that when a user draws in a certain drawing interface, any position in the drawing area can be the display position of the axis number, and the first boundary area, the second boundary area, the third boundary area and the fourth boundary area are used to determine the display position of the axis number in the axis containing the axis number together with the axis. It can be seen from the technical problem to be solved by the present application that the preset display method includes two situations, one is when the number of the axis numbers in the boundary area is greater than the preset number of the axis numbers in the boundary area, the preset display method is the position where the axis number needs to be adjusted; the other is when the axis exceeds the boundary of the drawing area, the preset display method is the position where the axis number intersects with the boundary of the drawing area. According to the actual drawing situation of the user, the preset display method is used as the standard to display the axis number at the position where the axis number needs to be adjusted or at the position where the axis number intersects with the boundary of the drawing area.

[0076] Furthermore, the terminal 20 may also determine whether the to-be-displayed object identifier exists at the display position of the pointer according to the display position of the pointer.

[0077] Specifically, the current display position of the pointer is obtained, and whether the object identifier to be displayed exists at the current display position of the pointer is determined according to the current display position of the pointer; when the display position of the pointer is close to the preset display position range of the editing object, the object identifier is displayed as a note, that is, when the mouse pointer is close to the preset range of the axis, the axis label is displayed in the drawing area of ​​the display interface as a note; when the display position of the pointer is not within the preset display position range of the editing object, the object identifier to be displayed is not displayed.

[0078] The present application also provides a display device, see Figure 8 , is a schematic diagram of the structure of a display device provided in an embodiment of the present application. The display device comprises:

[0079] A first display module 110, used to display a drawing interface, wherein the drawing interface includes a drawing area and a boundary surrounding the drawing area;

[0080] A second display module 120, used for displaying the editing object of the model to be edited through the drawing area;

[0081] A first determining module 130, configured to determine a target editing object having an object identifier from among the editing objects;

[0082] A second determining module 140 is used to determine a display position of the object identifier according to a boundary between the target editing object and the drawing area;

[0083] The third display module 150 is used to display the object identifier at the display position in a preset display manner.

[0084] In one embodiment, the display device also includes a quantity acquisition module, which is used to: when determining the display position of the object identifier based on the boundary between the target editing object and the drawing area, obtain the number of the object identifiers located at the boundary of the drawing area; and determine whether to display the object identifier to be displayed based on the number of the object identifiers located at the boundary of the drawing area.

[0085] In one embodiment, the display device also includes an overlap detection module, which is used to: when determining the display position of the object identifier based on the boundary of the target editing object and the drawing area, obtain the number of the object identifiers located at the boundary of the drawing area; compare the number of the object identifiers located at the boundary of the drawing area with the number of the object identifiers preset at the boundary of the drawing area; when the number of the object identifiers located at the boundary of the drawing area is greater than the number of the object identifiers preset at the boundary of the drawing area, determine whether the displayed object identifier overlaps with the object identifier to be displayed; and determine whether the object identifier to be displayed is hidden or displayed based on the result of the determination.

[0086] In one embodiment, the display device also includes a display judgment module, which is used to: after determining whether the object identifier to be displayed is hidden or displayed based on the judgment result, obtain the result of whether the displayed object identifier overlaps with the object identifier to be displayed; when the displayed object identifier overlaps with the object identifier to be displayed, hide the object identifier to be displayed; when the displayed object identifier does not overlap with the object identifier to be displayed, display the object identifier to be displayed.

[0087] In one embodiment, the display device also includes a quantity comparison module, which is used to: when determining the display position of the object identifier based on the boundary between the target editing object and the drawing area, obtain the number of the object identifiers located at the boundary of the drawing area; when the number of the object identifiers located at the boundary of the drawing area is greater than the number of preset object identifiers located at the boundary of the drawing area, deduplicate the number of object identifiers to be displayed or adjust the position of the object identifier to be displayed.

[0088] In one embodiment, the display device also includes a position judgment module, which is used to: when determining the display position of the object identifier based on the boundary of the target editing object and the drawing area, obtain the positional relationship between the target editing object and the boundary of the drawing area; determine the display position of the object identifier based on the positional relationship between the target editing object and the boundary of the drawing area.

[0089] Furthermore, the positional relationship between the target editing object and the boundary of the drawing area is obtained; when the position of the target editing object exceeds the boundary of the drawing area, the object identifier is displayed at the position where the target editing object intersects the boundary of the drawing area.

[0090] In one embodiment, the display device also includes a position determination module, which is used to: when determining the display position of the object identifier based on the boundary of the target editing object and the drawing area, obtain the positional relationship of the intersection of the target editing object and the boundary of the drawing area; when the target editing object intersects with one end of the boundary of the drawing area, display the object identifier at the position where the editing object and the boundary of the drawing area intersect; when the target editing object intersects with both ends of the boundary of the drawing area, display the object identifier at any intersection position of the boundary of the editing object and the drawing area.

[0091] In the above embodiment, a display device is provided, which can realize the real-time display of the axis labels and adjust and remove the duplication of the axis labels displayed in real time at the boundary of the drawing area, thereby avoiding the excessive density of the axis labels at the boundary of the drawing area that affects the viewing effect, and also makes the drawing interface more concise and convenient for users to read the drawings.

[0092] The server 10 described in the present application includes: a processor, a memory, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor and the memory communicate with each other via the bus; and when the memory processor executes the computer program, all of the above-mentioned display methods are implemented.

[0093] By adopting the above-mentioned display method and device, the present application can determine the display position of the object identifier according to the boundary between the target editing object and the drawing area, and display the object identifier at the display position in a preset display manner, thereby solving the problem of the lack of real-time display function of axis grid labels in the existing display interface, or the problem of overlapping text of the axis labels when they are displayed in real time near the view boundary.

[0094] In summary, the specific definition of the display device can be found in the definition of the display method above, which will not be repeated here. Each module in the above display device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0095] In one embodiment, the present application further provides a computer device, which may be a server. Fig. 9, a schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, an operator network, near field communication (NFC, Near Field Communication) or other technologies. When the computer program is executed by the processor, a monitoring data display method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the computer device housing, or an external keyboard, touch pad or mouse, etc.

[0096] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0097] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0098] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0099] To this end, an embodiment of the present application further provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:

[0100] Displaying a drawing interface, the drawing interface including a drawing area and a border surrounding the drawing area;

[0101] Displaying the editing object of the model to be edited in the drawing area;

[0102] Determine a target editing object having an object identifier from the editing objects; determine a display position of the object identifier according to a boundary between the target editing object and the drawing area;

[0103] The object identifier is displayed at the display position in a preset display manner.

[0104] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0105] Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0106] The above is a detailed introduction to a display method, device and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solution and its core idea of ​​the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present application.

Claims

1. A display method, characterized in that: include: Displaying a drawing interface, the drawing interface including a drawing area and a border surrounding the drawing area; Displaying the editing object of the model to be edited in the drawing area; Determine a target editing object having an object identifier from among the editing objects; Determining a display position of the object identifier according to a boundary between the target editing object and the drawing area; Displaying the object identifier at the display location in a preset display manner; The step of determining the display position of the object identifier according to the boundary between the target editing object and the drawing area includes: Acquiring the number of the object identifiers located at the border of the drawing area; and determining whether to display the object identifiers to be displayed according to the number of the object identifiers located at the border of the drawing area, specifically comprising: comparing the number of the object identifiers located at the border of the drawing area with the number of the object identifiers preset at the border of the drawing area; when the number of the object identifiers located at the border of the drawing area is greater than the number of the object identifiers preset at the border of the drawing area, determining whether the displayed object identifiers overlap with the object identifiers to be displayed; and determining whether to hide or display the object identifiers to be displayed according to the result of the determination; Displaying the object identifier at the display position in a preset display manner includes: displaying the object identifier at a position where the object identifier needs to be adjusted or at a position where the object identifier intersects with a boundary of the drawing area.

2. The display method according to claim 1, characterized in that: The step of determining whether to hide or display the identification of the object to be displayed according to the result of the judgment comprises: Obtaining a result of whether the displayed object identifier overlaps with the object identifier to be displayed; When the displayed object identifier overlaps with the object identifier to be displayed, hiding the object identifier to be displayed; When the displayed object identifier does not overlap with the object identifier to be displayed, the object identifier to be displayed is displayed.

3. The display method according to claim 1, characterized in that: The step of determining whether to display the object identifiers to be displayed according to the number of the object identifiers located at the border of the drawing area includes: Obtaining the number of the object identifiers located at the border of the drawing area; When the number of object identifiers located at the border of the drawing area is greater than the preset number of object identifiers located at the border of the drawing area, the number of object identifiers to be displayed is deduplicated or the positions of the object identifiers to be displayed are adjusted.

4. The display method according to any one of claims 1 to 3, characterized in that: The step of determining the display position of the object identifier according to the boundary between the target editing object and the drawing area includes: Acquire the positional relationship between the target editing object and the boundary of the drawing area; The display position of the object identifier is determined according to the positional relationship between the target editing object and the boundary of the drawing area.

5. The display method according to claim 4, characterized in that: The step of determining the display position of the object identifier according to the positional relationship between the target editing object and the boundary of the drawing area includes: Acquire the positional relationship between the target editing object and the boundary of the drawing area; When the position of the target editing object exceeds the boundary of the drawing area, the object identifier is displayed at the position where the target editing object intersects the boundary of the drawing area.

6. The display method according to claim 5, characterized in that: When the position of the target editing object exceeds the boundary of the drawing area, the step of displaying the object identifier at the position where the target editing object intersects the boundary of the drawing area comprises: Acquire the position relationship of the intersection between the target editing object and the boundary of the drawing area; When the target editing object intersects with one end of the border of the drawing area, displaying the object identifier at the position where the editing object intersects with the border of the drawing area; When the target editing object intersects with both ends of the border of the drawing area, the object identifier is displayed at any intersection position between the editing object and the border of the drawing area.

7. A display device, characterized in that: The method for displaying according to any one of claims 1 to 6 comprises: A first display module, used to display a drawing interface, wherein the drawing interface includes a drawing area and a boundary surrounding the drawing area; A second display module, used for displaying the editing object of the model to be edited through the drawing area; A first determining module, used to determine a target editing object having an object identifier from the editing objects; A second determining module, configured to determine a display position of the object identifier according to a boundary between the target editing object and the drawing area; The third display module is used to display the object identifier at the display position in a preset display manner.

8. A storage medium, characterized in that: The storage medium stores a plurality of instructions, which can be loaded by a processor to execute the display method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • A method and a device for generating two-dimensional construction drawings base on a three-dimensional model of a civil structure

    CN109165401A

  • Visual editing method, device and apparatus and storage medium

    CN110286896A