A multi-frame large-screen visualization method, system, device and storage medium
Through the multi-frame large-screen visualization method, users can add and edit customized elements and handle overlapping parts, which solves the problem of poor screen flexibility in the existing technology and improves the user experience and the efficiency of layout adjustment.
Patent Information
- Application Number
- CN202211178534.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-09-26
AI Technical Summary
The existing visual screen templates are fixed and have poor flexibility and cannot be changed according to actual conditions, resulting in poor user experience.
Provides a multi-frame large-screen visualization method that allows users to add and edit elements by dragging tracks, handle overlapping parts, adjust the position and size of elements, and achieve customized configurations.
Improved screen flexibility and user experience, solved the overlapping problem through customized elements and layout, and achieved more precise and efficient element adjustment.
Smart Images

Figure CN115509664B
Abstract
Description
Technical Field
[0001] The present application relates to the field of screen processing technology, and in particular to a multi-frame large-screen visualization method, system, device and storage medium. Background Art
[0002] With the development of technology, screens have been widely used in various fields. At present, the visualization of operation and maintenance data requires screen display. In this way, the operation monitoring data, resource statistics data, and operation and maintenance process data can be integrated, and multi-dimensional data can be collected and displayed to form a large visual screen and dashboard, so that operation and maintenance managers can make better operation and maintenance decisions and know scheduling, and track the situation in real time to respond faster.
[0003] The templates of existing visualization screens are all fixed, that is, once used, they can only be used according to the mode of the template and cannot be changed according to actual conditions, resulting in poor flexibility and poor user experience. Summary of the invention
[0004] In order to improve the technical problems of poor flexibility and poor user experience of existing visualization screens, the present application provides a multi-frame large-screen visualization method, system, device and storage medium.
[0005] In the first aspect, the present application provides a multi-frame large-screen visualization method, which adopts the following technical solution:
[0006] A multi-frame large-screen visualization method, comprising:
[0007] Display several preset elements;
[0008] Receive an element adding instruction, and based on the element adding instruction, add the element to be added to a preset display interface according to the dragging trajectory, add the position information of the element to be added on the preset display interface to the element information, and store it in a preset interface information table; wherein the element adding instruction includes the element information of the element to be added and the dragging trajectory;
[0009] Receiving an element editing instruction, and based on the element editing instruction, editing the element to be edited, and updating the specific editing content into the interface information table; wherein the element editing instruction includes the element information of the element to be edited and the specific editing content;
[0010] If there is an overlapping portion on the display interface, the overlapping portion is processed and then displayed, wherein the overlapping portion refers to a position where elements on the display interface overlap with each other;
[0011] The element information in the interface information table includes a key area of the element, where the key area refers to the location of the content that needs to be displayed emphatically; if there is an overlapping part on the display interface, the overlapping part is processed and displayed, including:
[0012] Determine the element corresponding to the overlapping part and its corresponding key area, and determine whether the key area has the same area as the overlapping part;
[0013] If the key area of the element corresponding to the overlapping part has the same area as the overlapping part, then the element is the second element, otherwise it is the third element;
[0014] If the elements corresponding to the overlapping portion include a second element and a third element, the overlapping portion corresponding to the third element is covered with the overlapping portion corresponding to the second element;
[0015] If the elements corresponding to the overlapping parts are all second elements, the area of the same area corresponding to each second element is determined, and the size of the corresponding second elements is reduced in order from small to large, and the size of the reduced second elements is not less than the size threshold, until the key area of the element corresponding to the overlapping part does not have the same area as the overlapping part;
[0016] The method further comprises:
[0017] receiving a position swap instruction, wherein the position swap instruction includes element information of an element to be swapped, a time when the element to be swapped was selected, and a swap direction;
[0018] If the number of elements to be swapped in the position swap instruction is 2, the positions of the two elements are swapped;
[0019] If the number of elements to be adjusted in the position swap instruction is greater than 2, the target position of each element to be adjusted is determined based on the order of selection time of all elements to be adjusted, and the positions of all elements to be adjusted are adjusted according to the target position.
[0020] By adopting the above technical solution, a number of pre-set elements available for addition are displayed, and the user can select any element and trigger the element adding instruction. After receiving the element adding instruction, the system can drag the element to be added to the preset display interface according to the dragging trajectory, and can also trigger the element editing instruction to edit the element to be edited. The specific editing content can be but not limited to the adjustment of the size, specification, and position of the element; in addition, if there is an overlapping part in the preset display interface, the overlapping part is processed and then displayed to solve the overlapping problem. If there is an overlapping part between multiple elements on the display interface, it can be determined whether the key area of the above elements has an intersection with the overlapping part (that is, there is the same area). If some of the above elements are the second element and some are the third element, the overlapping part of the second element is directly used to cover the overlapping part of the third element, because the overlapping part of the third element does not contain the key area that the third element needs to focus on displaying; if the above elements are all second elements, then the area of the same area is determined, and the size of the corresponding second element is reduced in order from small to large according to the area of the area, until the key area of the element corresponding to the overlapping part does not have the same area as the overlapping part. When it is necessary to adjust the position of an element on the display interface, you can move any element on the display interface to the specified position by dragging and dropping. Of course, you can also adjust the position of the element by triggering the element editing command. However, if the user needs to swap the positions of two elements on the display interface, the above dragging method cannot accurately move the element to the destination position. The above adjustment method by triggering the element editing command requires knowing the specific information of the destination position in advance, which makes the adjustment operation more cumbersome. At this time, you can use the method described in this scheme to trigger the position swap command and select the element to be swapped. The system will determine the destination position of each element to be adjusted according to the order of selection and the preset adjustment rules, and finally make a one-time and precise adjustment to the positions of all selected elements to improve the swap efficiency.
[0021] Optionally, the element information specifically includes element attributes, and the adding of the element to be added to the preset display interface according to the dragging track based on the element adding instruction includes:
[0022] If the element attribute is a Tab page, the specific content of the preset loading container is displayed, so that the user can select the specific content of the preset loading container;
[0023] receiving page content information, generating a subpage based on the page content information, and storing a correspondence between the subpage and the element information in a preset correspondence table, wherein the page content information includes specific content of a loading container;
[0024] Adding the element to be added to the preset display interface according to the dragging track, and updating the position information of the element to be added on the display interface into the corresponding relationship table;
[0025] A Tab page display instruction is received, wherein the Tab page display instruction includes a selected element, element information of the selected element is determined, and a corresponding sub-page is displayed based on the correspondence table.
[0026] By adopting the above technical solution, a Tab tab can be added to the preset display interface. When the Tab tab on the display interface is clicked, the Tab tab display instruction is triggered. At this time, the display interface jumps to the sub-page corresponding to the above Tab tab. Before adding the Tab tab to the display interface, the content to be displayed can be selected from the loading container. The above selected content will form the page content information, and then the sub-page corresponding to the above Tab tab is generated based on the above page content information, thereby realizing the customized configuration of the sub-page content.
[0027] Optionally, if there are overlapping parts on the display interface, processing the overlapping parts before displaying them includes:
[0028] If there are overlapping parts on the display interface, the sizes of the elements belonging to the overlapping parts are scaled and adjusted until the elements belonging to the overlapping parts do not overlap each other, and all elements on the preset display interface are displayed.
[0029] By adopting the above technical solution, if there are overlapping parts between any elements on the preset display interface, the elements corresponding to the overlapping parts are adjusted to eliminate the overlapping parts. The specific elimination method is to reduce the size of the corresponding elements until the elements do not overlap with each other, so as to ensure that each element on the preset display interface can be fully displayed.
[0030] Optionally, scaling and adjusting the size of the element to which the overlapping portion belongs includes:
[0031] The element to which the overlapping portion belongs is determined as the first element, and based on a preset priority table, the priorities corresponding to all the first elements are determined, and the sizes of the first elements with low priorities are reduced and adjusted; wherein the priority table pre-stores the correspondence between element attributes and priorities.
[0032] By adopting the above technical solution, each element corresponds to an element attribute, and each element attribute corresponds to a priority. The higher the default priority, the more important the content displayed by the element. When adjusting the size of elements with overlapping parts, the size of elements with low priority is reduced first.
[0033] Optionally, the overlapping portion includes a covering portion and a covered portion, the covered portion is an element portion that is blocked, and the covering portion is an element portion that blocks other elements; if there is an overlapping portion on the display interface, the overlapping portion is processed and displayed, including:
[0034] If there are overlapping parts on the display interface, the covering part and the covered part are determined, and the transparency of the covering part is adjusted so that the transparency of the covering part is lower than the transparency of the covered part, and all elements on the preset display interface are displayed.
[0035] By adopting the above technical solution, the transparency of two overlapping parts is adjusted. First, the covered and blocked parts of the overlapping parts are determined as the covered parts, and the parts that block other elements are determined as the covering parts. Then, the transparency of the covering parts is adjusted to a level lower than the transparency of the covered parts, so that the covered parts can be displayed.
[0036] ] In the second aspect, the present application provides a multi-frame large-screen visualization system, which adopts the following technical solutions:
[0037] An element display module is used to display a number of preset elements;
[0038] An element adding module, used for receiving an element adding instruction, adding the element to be added to a preset display interface according to the dragging trajectory based on the element adding instruction, adding the position information of the element to be added on the preset display interface to the element information, and storing it in a preset interface information table; wherein the element adding instruction includes the element information of the element to be added and the dragging trajectory;
[0039] An element editing module, used for receiving an element editing instruction, editing the element to be edited based on the element editing instruction, and updating the specific editing content to the interface information table; wherein the element editing instruction includes element information and specific editing content of the element to be edited;
[0040] An overlapping portion processing module, used for processing and displaying overlapping portions if there are overlapping portions on the display interface, wherein the overlapping portions refer to positions where elements on the display interface overlap with each other;
[0041] The element information in the interface information table includes the key area of the element. The key area refers to the location of the content that the element needs to focus on displaying;
[0042] The overlapping part processing module is also used to determine the element corresponding to the overlapping part and its corresponding key area, and determine whether the key area has the same area as the overlapping part; when the key area of the element corresponding to the overlapping part has the same area as the overlapping part, the element is the second element, otherwise it is the third element; it is also used to cover the overlapping part corresponding to the third element with the overlapping part corresponding to the second element when the elements corresponding to the overlapping part include the second element and the third element; it is also used to determine the area of the same area corresponding to each second element when the elements corresponding to the overlapping part are all second elements, and reduce the size of the corresponding second element in order from small to large in area area, and the size of the reduced second element is not less than the size threshold, until the key area of the element corresponding to the overlapping part does not have the same area as the overlapping part;
[0043] It also includes an element repositioning module, which is used to receive a position repositioning instruction, the position repositioning instruction including element information of the element to be repositioned, the selection time of the element to be repositioned, and the repositioning direction; it is also used to swap the positions of two elements when the number of elements to be repositioned in the position repositioning instruction is 2; it is also used to determine the destination position of each element to be repositioned based on the order of the selection time of all the elements to be repositioned when the number of elements to be repositioned in the position repositioning instruction is greater than 2, and adjust the positions of all the elements to be repositioned according to the destination position.
[0044] ] In a third aspect, the present application provides a multi-frame large-screen visualization device, comprising a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute any method in the first aspect.
[0045] ] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute any method as described in the first aspect.
[0046] ] In summary, the present application includes at least one of the following beneficial technical effects:
[0047] In the present application, several pre-set elements available for addition are displayed, and the user can select any element and trigger the element adding instruction. After receiving the element adding instruction, the system can drag the element to be added to the preset display interface according to the drag trajectory, and can also trigger the element editing instruction to edit the element to be edited. The specific editing content can be but is not limited to the adjustment of the size, specification, and position of the element; in addition, if there are overlapping parts in the preset display interface, the overlapping parts will be processed before displaying to solve the overlapping problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] ] Figure 1It is a schematic diagram of a display interface presented by a multi-frame large-screen visualization method in an embodiment of the present application.
[0049] ] Figure 2 It is a flow chart of a multi-frame large-screen visualization method according to an embodiment of the present application.
[0050] ] Figure 3 It is a structural block diagram of a multi-frame large-screen visualization system in an embodiment of the present application.
[0051] ]Explanation of the accompanying drawings: 1. Element display module; 2. Element adding module; 3. Element editing module; 4. Overlapping part processing module. DETAILED DESCRIPTION
[0052] ] The following is combined with the attached Figure 1-3 This application is described in further detail.
[0053] The present application embodiment discloses a multi-frame large screen visualization method. Figure 1 The large-screen visualization method is used to customize the content (i.e., elements) displayed on a preset display interface. The elements can be text boxes with editable text, pictures, tables, trend charts, etc. There is a display box on the display interface in advance, and the above-mentioned elements are displayed in the display box; when the user selects any element in the display box, the element addition instruction is triggered. At this time, the large-screen visualization method proposed in this application adds the element selected by the user to the display interface to realize the customized addition of elements; when the user selects any element on the display interface, the element editing instruction is triggered. At this time, the large-screen visualization method proposed in this application will edit the element selected by the user based on the specific editing content in the element editing instruction. The large-screen visualization method proposed in this application can also process the overlapping parts of the overlapping elements on the display interface and then display them, so as to more comprehensively display all elements on the display interface.
[0054] The execution subject of the large-screen visualization method proposed in this application is a large-screen visualization device, which can have its own display screen or an external display screen to display the display interface through the display screen. Figure 1 and attached Figure 2 The specific operation process of implementing the above large-screen visualization method through large-screen visualization equipment is described in detail as follows:
[0055] Step 101, displaying a number of preset elements;
[0056] In implementation, the large-screen visualization device can display an element selection button on a preset display interface. When the user touches the element selection button, the large-screen visualization device will pop up a display box, in which a number of logo buttons are displayed. Each logo button represents an element. The logo button can correspond to the element to be represented in the form of text. For example, for an element logo representing a text box, "text box" can be used to represent it, and for an element logo representing a trend chart, "trend chart" can be used to represent it...
[0057] Step 102, receiving an element adding instruction, based on the element adding instruction, adding the element to be added to the preset display interface according to the dragging trajectory, adding the position information of the element to be added on the preset display interface to the element information, and storing it in the preset interface information table; wherein, the element adding instruction includes the element information of the element to be added and the dragging trajectory.
[0058] ] In implementation, each element has corresponding element information, and the element information includes element attributes. The element attributes are used to distinguish elements. The specific expression form of the element mark mentioned above can be used as the element attribute. For example, the element corresponding to the element attribute "text box" is the text box.
[0059] When the user needs to add an element to the display interface, he can first touch the element selection button. At this time, the large-screen visualization device will pop up a display box. When the user touches a mark button in the display box, the element adding instruction is triggered. At this time, the large-screen visualization device receives the element adding instruction and adds the element information of the element corresponding to the touched mark button (that is, the element to be added) to the element adding instruction. Then the large-screen visualization device generates the element to be added at the mark button of the element to be added and adds the generated element to be added to the display interface along the dragging track. The dragging track can be formed in two ways:
[0060] The first method is applicable to the scenario where the user directly touches the display interface with his hand to drag the elements to be added. First, two-dimensional coordinates are established for the display interface in advance. When the display screen of the large-screen visualization device senses the user's touch, the specific coordinates of the touch position can be obtained. Since the user's finger is always in contact with the display screen during the dragging process, the display screen of the large-screen visualization device can obtain the specific coordinates of the position touched by the user in real time during the movement of the user's finger. The straight line connected by all the above touch positions forms a drag trajectory; the second method is applicable to the scenario where the user touches the elements to be added in the form of a mouse. Similarly, when the user touches the elements to be added, the large-screen visualization device will acquire the image of the display interface with the mouse in real time, determine the specific coordinates of the mouse in the image, and stop acquiring the image when the specific coordinates of the mouse in the images with adjacent acquisition times are the same. According to the order of the acquisition time of each image, the specific coordinate lines of the mouse corresponding to all images are connected to form a drag trajectory.
[0061] ] The embodiment of the present application determines the end point coordinates of the dragging trajectory as the coordinates corresponding to the upper left corner edge position of the element to be added by default. The large-screen visualization device pre-stores the initial size information of each element. The large-screen visualization device can determine the coordinate information of all positions of the element to be added based on the initial size information of the element to be added and the determined coordinate information of the upper left corner of the element to be added. The above coordinate information can be expressed in the form of a coordinate range. The large-screen visualization device adds the above coordinate information as the position information of the element to be added to the element information, and then stores the element information in a preset interface information table, and finally completes the operation of adding the element; wherein, the interface information table is used to store the element information of each element on the display interface.
[0062] ]Optionally, the elements that can be added include an element with an element attribute of Tab tab. Tab tab is similar to a jump button. When Tab tab is added to the display interface and the user touches Tab tab, the large-screen visualization device will jump from the display interface to another sub-page. The content displayed on the sub-page is the content corresponding to Tab tab. The content corresponding to Tab tab can be manually customized. The specific configuration method is as follows:
[0063] In step 102, “based on the element adding instruction, adding the element to be added to the preset display interface according to the dragging track” includes the following sub-steps:
[0064] If the element attribute is a Tab page, the specific content of the preset loading container is displayed, so that the user can select the specific content of the preset loading container;
[0065] Receiving page content information, generating a subpage based on the page content information, and storing the correspondence between the subpage and the element information in a preset correspondence table, wherein the page content information includes the specific content of the loading container;
[0066] Add the element to be added to the preset display interface according to the dragging track, and update the position information of the element to be added on the display interface into the corresponding relationship table;
[0067] A Tab page display instruction is received, wherein the Tab page display instruction includes a selected element, element information of the selected element is determined, and a corresponding sub-page is displayed based on a corresponding relationship table.
[0068] ]In implementation, when the user touches the mark button in the display box used to represent the Tab tab, the large-screen visualization device will display a preset loading container. The function of the loading container is the same as that of the display box. The loading container pre-displays mark icons corresponding to several selectable elements. Each mark icon includes a selection button. The selection button is used to display whether the user selects the corresponding mark icon. In this embodiment, when the user selects a mark icon, the corresponding selection button will be displayed in red, otherwise it will be white. The user can select multiple mark icons. A confirmation button is also pre-displayed in the loading container. When the user completes the selection and touches the confirmation button, the tab content information is triggered. The large-screen visualization device will automatically generate sub-pages based on all elements whose selection buttons are red, and store the correspondence between the above-mentioned Tab tabs and the corresponding sub-pages in the correspondence table. Then, the large-screen visualization device drags the Tab tab to the display interface according to the above method.
[0069] ]When the user touches the display interface, the large-screen visualization device will determine the coordinates of the touch position, and then determine the element containing the above coordinates from the interface information table based on the above coordinates, and then determine the element attributes of the above element. If the element attribute of the element is a Tab tab, the Tab tab display instruction is triggered. At this time, the large-screen visualization device will determine the sub-page corresponding to the above Tab tab according to the correspondence table, and then switch the current display interface to the sub-page for display. A "Home" button can be preset on the sub-page. When the user clicks the "Home" button, the large-screen visualization device switches from the sub-page to the display interface for display.
[0070] ]Step 103, receive an element editing instruction, edit the element to be edited based on the element editing instruction, and update the specific editing content to the interface information table; wherein the element editing instruction includes the element information of the element to be edited and the specific editing content.
[0071] ] In implementation, the triggering of the element editing instruction can take many forms. For example, when the large-screen visualization device senses at least two touches within a preset time (such as within 5 seconds), and the touch position coordinates corresponding to the above multiple touches are the same or the coordinate deviation value is lower than the preset deviation value, the element editing instruction is triggered. Alternatively, the element editing button and the confirmation selection button can be pre-displayed on the display interface. When the user touches the element editing button, the large-screen visualization device will begin to record all the positions touched by the user on the display interface until it senses that the user touches the confirmation selection button. The large-screen visualization device determines the corresponding element based on all the recorded positions, and the above element is the element to be edited, and then displays the editing box according to the element attributes of the element to be edited.
[0072] ] The specific editable content in the edit box corresponding to different element attributes is different. For example, the content displayed in the edit box corresponding to the element attribute of a text box may include specific text content, text color, text box size, text box background color, etc. For example, the edit box corresponding to the element attribute of a trend chart will display the specific style of the trend chart (bar chart, curve chart, etc.), the background color of the trend chart, the color of all text and numbers in the trend chart, and the data source search box for users to enter keywords. The large-screen visualization device can retrieve pre-stored data based on the keywords entered by the user, and then generate a trend chart based on the above data. For example, if keywords such as "May 2022" and "temperature" are entered, then The large-screen visualization device will retrieve the relationship table corresponding to temperature and time, then retrieve the temperature in May from the above relationship table, and generate a temperature trend chart for the specified time unit (24 hours or 1 hour). Finally, the large-screen visualization device will replace the elements before editing on the display interface with the edited elements, and then update the element information of the above elements in the interface information table based on the specific editing content of the elements. For example, if the size of an element is edited, the large-screen visualization device will redetermine the coordinate range of the element on the display interface according to the edited size, and then replace the element information of the above elements in the interface information table with the above coordinate range and updated size information to achieve the update.
[0073] ]Step 104, if there is an overlapping portion on the display interface, the overlapping portion is processed and displayed, wherein the overlapping portion refers to the position where the elements on the display interface overlap with each other.
[0074] ] In implementation, when multiple elements are displayed on the display interface, it is easy for adjacent elements to overlap each other, i.e., overlapping parts. If the above situation exists, the large-screen visualization device will process the overlapping parts before displaying them. The specific processing method is as follows:
[0075] Accordingly, step 104 specifically includes:
[0076] Step 1041, if there are overlapping parts on the display interface, the sizes of the elements belonging to the overlapping parts are scaled and adjusted until the elements belonging to the overlapping parts do not overlap each other, and all elements on the preset display interface are displayed.
[0077] ] In implementation, if the same coordinates exist in the position information corresponding to any two or more elements on the display interface, it means that there are overlapping parts between the above elements. The large-screen visualization device determines the coordinate range of the above overlapping parts, and then automatically adjusts the size of each element corresponding to the above overlapping parts. The specific adjustment method is to reduce the size until the above overlapping parts disappear, that is, the same coordinates do not exist in the position information corresponding to any two or more elements.
[0078] ] Optionally, the "scaling and adjusting the size of the element to which the overlapping portion belongs" in step 1041 specifically includes the following processing contents:
[0079] The element to which the overlapping portion belongs is determined as the first element, and the priorities corresponding to all the first elements are determined based on a preset priority table, and the sizes of the first elements with low priorities are reduced and adjusted; wherein the priority table pre-stores the correspondence between element attributes and priorities.
[0080] ] In implementation, each element attribute corresponds to a priority. The higher the priority, the more important the content to be displayed by the corresponding element. The large-screen visualization device pre-stores the priority order of all element attributes, and the above order is set manually; the first element refers to the element that overlaps with other elements. Before the large-screen visualization device adjusts the size of the first element, it first determines the respective priorities of two or more overlapping elements, and gives priority to reducing the size of the element with the lowest priority. When the size of the element with the lowest priority is reduced to a preset size threshold, the reduction is stopped, and the size of the elements that are just higher than the minimum priority is reduced again, until the overlapping elements do not overlap with each other; the preset size threshold mentioned above refers to the minimum size of the element set manually, and different element attributes correspond to different preset size thresholds.
[0081] ] Optionally, since the formation of overlapping parts is necessarily based on the existence of at least two elements, and the coordinate range of a certain part of the two elements on the display interface is the same, when overlapping occurs, one of the elements will inevitably block the other element. Therefore, the overlapping parts include covering parts and covered parts. The covering parts are the parts of the elements that block other elements, and the covered parts are the parts of the elements that are blocked by other elements. Accordingly, step 104 may also include the following operations to process the overlapping parts:
[0082] If there are overlapping parts on the display interface, the covering part and the covered part are determined, and the transparency of the covering part is adjusted so that the transparency of the covering part is lower than that of the covered part, and all elements on the preset display interface are displayed.
[0083] ] In implementation, when the large-screen visualization device adds an element to the display interface, it will record the adding time, and add the adding time as the reference time to the element information, and store it in the interface information table. After receiving the element editing instruction and completing the editing of the element, the large-screen visualization device will replace the reference time of the corresponding element in the interface information table with the time when the editing is completed; therefore, when there is an overlapping part, the large-screen visualization device first determines the element to which the overlapping part belongs, determines the reference time of the above element in the element information table, and determines the covering part and the covered part according to the order of the reference time. For any two overlapping elements, the overlapping part corresponding to the element with a smaller reference time is the covered part, and the overlapping part corresponding to the element with a larger reference time is the covering part; after determining the covering part and the covered part, the large-screen visualization device will change the transparency of the covering part until the transparency of the covering part is lower than the transparency of the covered part, and then update and display all elements on the display interface.
[0084] ] Optionally, in addition to the method described above to process the overlapping parts, the embodiment of the present application also provides the following method. Specifically, the element information in the interface information table includes the key area of the element, and the key area refers to the location of the content that needs to be displayed emphatically by the element; step 104 also includes:
[0085] Determine the elements corresponding to the overlapping parts and their corresponding key areas, and determine whether the key areas have the same area as the overlapping parts;
[0086] If the key area of the element corresponding to the overlapping part has the same area as the overlapping part, the element is the second element, otherwise it is the third element;
[0087] If the elements corresponding to the overlapping portion include the second element and the third element, the overlapping portion corresponding to the second element is used to cover the overlapping portion corresponding to the third element;
[0088] If the elements corresponding to the overlapping parts are all second elements, the area of the same region corresponding to each second element is determined, and the sizes of the corresponding second elements are reduced in order from small to large until the key area of the element corresponding to the overlapping part does not have the same area as the overlapping part.
[0089] ] In implementation, each element includes key content that needs to be emphasized, such as text boxes need to emphasize text, trend charts need to emphasize coordinate axes, data, etc. When editing the above elements to generate edited elements, such as drawing a trend chart based on a data source, and generating a text box with specific content based on the input text, the large-screen visualization device will determine whether there is any color editing of the element during the editing process. If not, the large-screen visualization device will default to setting the color of important content such as text and data in the element to red, and setting the rest of the element to white or other colors different from red. The above edited elements will be displayed on the display interface according to the size requirements, and the coordinate information of the red part will be determined. The sum of the coordinate information is the key area of the element. If the color of the element is edited in the specific editing content of the element, the corresponding color will be edited and displayed after the determination of the above key area is completed.
[0090] ] Then, when there is an overlapping part, the large-screen visualization device can first determine the key area of the element to which the overlapping part belongs, and determine whether the key area and the overlapping part have the same area based on the coordinate range of the key area and the coordinate range of the overlapping part. If two overlapping elements, one of which is the second element and the other is the third element, then it is preferred to cover the overlapping part of the third element with the overlapping part of the second element. If multiple overlapping elements are all second elements, the large-screen visualization device will calculate the area of the same area, and give priority to reducing the size of the second element with the smallest area until the size of the second element is reduced to the size threshold, and then reduce the size of the second element that is only larger than the minimum area, and so on, until the key area of the element corresponding to the overlapping part does not have the same area as the overlapping part.
[0091] ] Optionally, when the user needs to swap the positions of two or more elements on the display interface, the following method can be used:
[0092] receiving a position swap instruction, the position swap instruction including element information of the element to be swapped, a selection time of the element to be swapped, and a swap direction;
[0093] If the number of elements to be swapped in the position swap instruction is 2, the positions of the two elements are swapped;
[0094] If the number of elements to be adjusted in the position swap instruction is greater than 2, the target position of each element to be adjusted is determined based on the order of selection time of all elements to be adjusted, and the positions of all elements to be adjusted are adjusted according to the target position.
[0095] ] In implementation, a position adjustment button is pre-displayed on the display interface. When the user touches the above-mentioned position adjustment button, the position swap instruction is triggered. Then the large-screen visualization device will record the coordinate information of the user's touch position on the display interface within the time after the position swap instruction is triggered until the user touches the preset confirmation adjustment button. The large-screen visualization device stops recording and determines the element to be adjusted selected by the user based on all the recorded position information, and then determines the destination position of each element to be adjusted based on the sequence of selection time of all the elements to be adjusted, such as the destination position of the Nth selected element to be adjusted is the initial position of the Nth selected element to be adjusted (the initial position is the position before adjustment), and the destination position of the last selected element to be adjusted is the initial position of the first selected element to be adjusted, thereby realizing precise adjustment of multiple elements at one time.
[0096] The present application also discloses a multi-frame large-screen visualization system, including:
[0097] An element display module 1 is used to display a number of preset elements;
[0098] The element adding module 2 is used to receive an element adding instruction, and based on the element adding instruction, add the element to be added to the preset display interface according to the dragging trajectory, add the position information of the element to be added on the preset display interface to the element information, and store it in the preset interface information table; wherein the element adding instruction includes the element information of the element to be added and the dragging trajectory;
[0099] The element editing module 3 is used to receive an element editing instruction, edit the element to be edited based on the element editing instruction, and update the specific editing content to the interface information table; wherein the element editing instruction includes the element information of the element to be edited and the specific editing content;
[0100] The overlapping portion processing module 4 is used to process and display the overlapping portions when there are overlapping portions on the display interface, wherein the overlapping portions refer to the positions where the elements on the display interface overlap with each other.
[0101] ] Optionally, the element information specifically includes element attributes, and the element adding module 2 is also used to display the specific content of the preset loading container when the element attribute is a Tab tab, so that the user can select the specific content of the preset loading container; it is also used to receive the tab content information, generate a sub-page based on the tab content information, and store the correspondence between the sub-page and the element information in a preset correspondence table, wherein the tab content information includes the specific content of the loading container; it is also used to add the element to be added to the preset display interface according to the drag trajectory, and update the position information of the element to be added on the display interface to the correspondence table; it is also used to receive the Tab tab display instruction, wherein the Tab tab display instruction includes the selected element, determines the element information of the selected element, and displays the corresponding sub-page based on the correspondence table.
[0102] ] Optionally, the overlapping portion processing module 4 is also used to scale the size of the elements belonging to the overlapping portions when there are overlapping portions on the display interface, until the elements belonging to the overlapping portions do not overlap with each other, and display all elements on the preset display interface.
[0103] ] Optionally, the overlapping part processing module 4 is also used to determine the element to which the overlapping part belongs as the first element, determine the priority corresponding to all the first elements based on a preset priority table, and reduce the size of the first elements with low priority; wherein the priority table pre-stores the correspondence between element attributes and priorities.
[0104] ] Optionally, the overlapping part includes a covering part and a covered part, the covered part is the part of the element that is blocked, and the covering part is the part of the element that blocks other elements; the overlapping part processing module 4 is also used to determine the covering part and the covered part when there are overlapping parts on the display interface, adjust the transparency of the covering part so that the transparency of the covering part is lower than the transparency of the covered part, and display all elements on the preset display interface.
[0105] ] Optionally, the element information in the interface information table includes the key area of the element, and the key area refers to the location of the content that the element needs to emphasize on displaying; the overlapping part processing module 4 is also used to determine the element corresponding to the overlapping part and its corresponding key area, and determine whether the key area has the same area as the overlapping part; when the key area of the element corresponding to the overlapping part has the same area as the overlapping part, the element is the second element, otherwise it is the third element; it is also used to cover the overlapping part corresponding to the third element with the overlapping part corresponding to the second element when the element corresponding to the overlapping part includes the second element and the third element; it is also used to determine the area of the same area corresponding to each second element when the elements corresponding to the overlapping parts are all second elements, and reduce the size of the corresponding second element in order from small to large in area area until the key area of the element corresponding to the overlapping part has no same area as the overlapping part.
[0106] ] Optionally, the multi-frame large-screen visualization system also includes an element repositioning module, which is used to receive a position swap instruction, the position swap instruction including element information of the element to be adjusted, the selection time of the element to be adjusted, and the repositioning direction; it is also used to swap the positions of two elements when the number of elements to be adjusted in the position swap instruction is 2; it is also used to determine the destination position of each element to be adjusted based on the order of selection time of all elements to be adjusted when the number of elements to be adjusted in the position swap instruction is greater than 2, and adjust the positions of all elements to be adjusted according to the destination position.
[0107] ]An embodiment of the present application also discloses a multi-frame large-screen visualization device, which includes a memory and a processor, and the memory stores a computer program that can be loaded by the processor and execute the multi-frame large-screen visualization method as described above.
[0108] The embodiment of the present application also discloses a computer-readable storage medium, which stores a computer program that can be loaded by a processor and executes a multi-frame large-screen visualization method such as the above-mentioned method. The computer-readable storage medium includes, for example: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0109] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit the protection scope of the application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on these embodiments, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
Claims
1. A multi-frame large-screen visualization method, characterized in that: include: Display several preset elements; Receive an element adding instruction, and based on the element adding instruction, add the element to be added to a preset display interface according to the dragging trajectory, add the position information of the element to be added on the preset display interface to the element information, and store it in a preset interface information table; wherein the element adding instruction includes the element information of the element to be added and the dragging trajectory; Receiving an element editing instruction, and based on the element editing instruction, editing the element to be edited, and updating the specific editing content into the interface information table; wherein the element editing instruction includes the element information of the element to be edited and the specific editing content; If there is an overlapping portion on the display interface, the overlapping portion is processed and then displayed, wherein the overlapping portion refers to a position where elements on the display interface overlap with each other; The element information in the interface information table includes a key area of the element, where the key area refers to the location of the content that needs to be displayed emphatically; if there is an overlapping part on the display interface, the overlapping part is processed and displayed, including: Determine the element corresponding to the overlapping part and its corresponding key area, and determine whether the key area has the same area as the overlapping part; If the key area of the element corresponding to the overlapping part has the same area as the overlapping part, then the element is the second element, otherwise it is the third element; If the elements corresponding to the overlapping portion include a second element and a third element, the overlapping portion corresponding to the third element is covered with the overlapping portion corresponding to the second element; If the elements corresponding to the overlapping parts are all second elements, the area of the same area corresponding to each second element is determined, and the size of the corresponding second elements is reduced in order from small to large, and the size of the reduced second elements is not less than the size threshold, until the key area of the element corresponding to the overlapping part does not have the same area as the overlapping part; The method further comprises: receiving a position swap instruction, wherein the position swap instruction includes element information of an element to be swapped, a time when the element to be swapped was selected, and a swap direction; If the number of elements to be swapped in the position swap instruction is 2, the positions of the two elements are swapped; If the number of elements to be adjusted in the position swap instruction is greater than 2, the target position of each element to be adjusted is determined based on the order of selection time of all elements to be adjusted, and the positions of all elements to be adjusted are adjusted according to the target position.
2. The multi-frame large-screen visualization method according to claim 1, characterized in that: The element information specifically includes element attributes, and the step of adding the element to be added to the preset display interface according to the dragging track based on the element adding instruction includes: If the element attribute is a Tab page, the specific content of the preset loading container is displayed, so that the user can select the specific content of the preset loading container; receiving page content information, generating a subpage based on the page content information, and storing a correspondence between the subpage and the element information in a preset correspondence table, wherein the page content information includes specific content of a loading container; Adding the element to be added to the preset display interface according to the dragging track, and updating the position information of the element to be added on the display interface into the corresponding relationship table; A Tab page display instruction is received, wherein the Tab page display instruction includes a selected element, element information of the selected element is determined, and a corresponding sub-page is displayed based on the correspondence table.
3. The multi-frame large-screen visualization method according to claim 1, characterized in that: If there are overlapping parts on the display interface, processing the overlapping parts and then displaying them includes: If there are overlapping parts on the display interface, the sizes of the elements belonging to the overlapping parts are scaled and adjusted until the elements belonging to the overlapping parts do not overlap each other, and all elements on the preset display interface are displayed.
4. The multi-frame large-screen visualization method according to claim 3, characterized in that: The step of scaling the size of the element to which the overlapping portion belongs includes: The element to which the overlapping portion belongs is determined as the first element, and based on a preset priority table, the priorities corresponding to all the first elements are determined, and the sizes of the first elements with low priorities are reduced and adjusted; wherein the priority table pre-stores the correspondence between element attributes and priorities.
5. The multi-frame large-screen visualization method according to claim 1, characterized in that: The overlapping part includes a covering part and a covered part, the covered part is an element part that is blocked, and the covering part is an element part that blocks other elements; if there is an overlapping part on the display interface, the overlapping part is processed and displayed, including: If there are overlapping parts on the display interface, the covering part and the covered part are determined, and the transparency of the covering part is adjusted so that the transparency of the covering part is lower than the transparency of the covered part, and all elements on the preset display interface are displayed.
6. A multi-frame large-screen visualization system, characterized in that: include, An element display module (1), used for displaying a plurality of preset elements; An element adding module (2) is used to receive an element adding instruction, and based on the element adding instruction, add the element to be added to a preset display interface according to the dragging trajectory, add the position information of the element to be added on the preset display interface to the element information, and store it in a preset interface information table; wherein the element adding instruction includes the element information of the element to be added and the dragging trajectory; An element editing module (3), used for receiving an element editing instruction, editing the element to be edited based on the element editing instruction, and updating the specific editing content into the interface information table; wherein the element editing instruction includes element information of the element to be edited and the specific editing content; An overlapping portion processing module (4) is used to process and display the overlapping portion when there is an overlapping portion on the display interface, wherein the overlapping portion refers to a position where elements on the display interface overlap with each other; The element information in the interface information table includes the key area of the element. The key area refers to the location of the content that the element needs to focus on displaying; The overlapping part processing module (4) is also used to determine the element corresponding to the overlapping part and its corresponding key area, and determine whether the key area has the same area as the overlapping part; when the key area of the element corresponding to the overlapping part has the same area as the overlapping part, the element is the second element, otherwise it is the third element; it is also used to cover the overlapping part corresponding to the third element with the overlapping part corresponding to the second element when the element corresponding to the overlapping part includes the second element and the third element; it is also used to determine the area of the same area corresponding to each second element when the elements corresponding to the overlapping part are all second elements, and reduce the size of the corresponding second element in order from small to large in area area, and the size of the reduced second element is not less than the size threshold, until the key area of the element corresponding to the overlapping part has no same area as the overlapping part; It also includes an element repositioning module, which is used to receive a position repositioning instruction, the position repositioning instruction including element information of the element to be repositioned, the selection time of the element to be repositioned, and the repositioning direction; it is also used to swap the positions of two elements when the number of elements to be repositioned in the position repositioning instruction is 2; it is also used to determine the destination position of each element to be repositioned based on the order of the selection time of all the elements to be repositioned when the number of elements to be repositioned in the position repositioning instruction is greater than 2, and adjust the positions of all the elements to be repositioned according to the destination position.
7. A multi-frame large-screen visualization device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Interface edition and operation system and method for ordinary users
CN103425485A
Management method and manager for tab page in user interface
CN103914286A
Placement position adjusting method and device
CN106681586A
Interface editing method, device and equipment and storage medium
CN111399711A
Data processing method and device, electronic equipment and computer readable medium
CN111459601A
