Kanban display method and device and related product

By analyzing and filtering the component sets in the remote component library, displaying the board according to the target board version number, the problem of low display performance of the board is solved, the adaptation between the board and components is achieved, and the display efficiency and stability are improved.

CN119225867APending Publication Date: 2024-12-31BANK OF NINGBO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411383640.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The performance of Kanban display is lower than expected, especially when the Kanban is incompatible after component updates, resulting in lower display efficiency and efficiency.

Method used

By obtaining the component set of different version numbers in the remote component library and the display request for the target kanban, parsing and processing is made to obtain the current kanban version number, and filtering out the appropriate component set based on the version number to register and display the component.

Benefits of technology

It effectively avoids the incompatible components of the Kanban board, improves the performance and efficiency of Kanban board display, and reduces the time and energy of development and testers for updates and debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225867A_ABST
    Figure CN119225867A_ABST
Patent Text Reader

Abstract

The invention discloses a billboard display method and device and a related product. Comprising the following steps: acquiring component sets respectively corresponding to different version numbers in a remote component library and a display request for a target billboard; performing analysis processing on the display request to obtain a current billboard version number corresponding to the target billboard; according to the current Kanban version number, screening the component sets corresponding to the different version numbers to obtain a target component set corresponding to the current Kanban version number in the component sets corresponding to the different version numbers; and displaying the target billboard according to the target component set. Visibly, the component set of the version number currently required by the target board can be obtained from the remote component library based on the current board version number of the target board, so that the target board can be displayed, the situation that the board is not compatible with the component in the related technology can be avoided, the board can be adapted to the corresponding component set, and the display efficiency of the target board is improved. Therefore, the display performance of the billboard is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of billboard display, and in particular to a billboard display method, device and related products. Background Art

[0002] The kanban board is a key tool for business operation. It can support the display of line graphs or tables corresponding to the business, and the display of the kanban board is usually achieved through components. As the business continues to develop and change, the components will also be updated with the continuous changes of the business. At this time, displaying the kanban board based on the continuously updated components may cause the kanban board to be incompatible with the components, resulting in low display performance of the kanban board. Therefore, how to improve the display performance of the kanban board is a key issue that technicians in this field are concerned about. Summary of the invention

[0003] Based on the above problems, the present application provides a billboard display method, device and related products, aiming to improve the billboard display performance. The present application embodiment discloses the following technical solutions:

[0004] In a first aspect, the present application discloses a billboard display method, comprising:

[0005] Obtain component sets corresponding to different version numbers in the remote component library and display requests for the target dashboard;

[0006] Parsing the display request to obtain a current dashboard version number corresponding to the target dashboard;

[0007] Filter the component sets corresponding to the different version numbers according to the current kanban version number to obtain a target component set corresponding to the current kanban version number among the component sets corresponding to the different version numbers;

[0008] The target dashboard is displayed according to the target component set.

[0009] In an achievable implementation manner, before parsing the display request to obtain the current billboard version number corresponding to the target billboard, the method further includes:

[0010] Obtain a version number management library, wherein the version number management library includes a plurality of kanban boards corresponding to respective kanban board names and kanban board version numbers, the target kanban board is any one of the plurality of kanban boards, and one kanban board name corresponds to one kanban board version number;

[0011] The parsing and processing of the display request to obtain the current dashboard version number corresponding to the target dashboard includes:

[0012] Parsing the display request to obtain a target dashboard name corresponding to the target dashboard;

[0013] Calling a first execution function to filter the kanban version numbers corresponding to the multiple kanbans according to the target kanban name, and obtaining the target kanban version number corresponding to the target kanban name from the kanban version numbers corresponding to the multiple kanbans;

[0014] The target kanban version number is used as the current kanban version number corresponding to the target kanban.

[0015] In an achievable implementation, the filtering of the component sets corresponding to the different version numbers according to the current kanban version number to obtain the target component set corresponding to the current kanban version number from the component sets corresponding to the different version numbers includes:

[0016] Calling a second execution function to perform component set screening on the component sets corresponding to the different version numbers according to the current kanban version number, and determining a target component set corresponding to the target version number that is the same as the current kanban version number among the component sets corresponding to the different version numbers;

[0017] The target component set corresponding to the target version number same as the current kanban version number in the component sets corresponding to the different version numbers is determined as the target component set corresponding to the current kanban version number in the component sets corresponding to the different version numbers.

[0018] In an achievable implementation, displaying the target dashboard according to the target component set includes:

[0019] Calling a third execution function to register the target component set, and obtaining the registered target component set;

[0020] The target dashboard is displayed according to the registered target component set.

[0021] In an implementable implementation, the first execution function includes a loadAndProcessComponents function, the second execution function includes a loadComponent function, and the third execution function includes a loadRemoteUMD function.

[0022] In an achievable implementation, before obtaining component sets corresponding to different version numbers in the remote component library, the method further includes:

[0023] Obtaining multiple initial components and version numbers corresponding to the multiple initial components respectively;

[0024] The remote component library performs grouping processing on the multiple initial components according to the version numbers respectively corresponding to the multiple initial components, so as to obtain initial component sets respectively corresponding to different version numbers;

[0025] The obtaining of component sets corresponding to different version numbers in the remote component library includes:

[0026] The initial component sets corresponding to the different version numbers are packaged through the remote component library to obtain component sets corresponding to the different version numbers in the remote component library.

[0027] In an achievable implementation, the packaging of the initial component sets corresponding to the different version numbers respectively through the remote component library to obtain the component sets corresponding to the different version numbers respectively in the remote component library includes:

[0028] Calling a packaging method through the remote component library to package multiple initial components in the initial component set corresponding to the different version numbers, respectively, to obtain component files corresponding to the multiple initial components in the initial component set corresponding to the different version numbers, respectively;

[0029] According to the component files respectively corresponding to the multiple initial components in the initial component sets respectively corresponding to the different version numbers, component sets respectively corresponding to the different version numbers in the remote component library are obtained.

[0030] In a second aspect, the present application discloses a billboard display device, comprising:

[0031] A component request acquisition unit, used to acquire component sets corresponding to different version numbers in a remote component library and display requests for a target dashboard;

[0032] A display request parsing unit, used to parse the display request and obtain a current kanban version number corresponding to the target kanban;

[0033] A component set screening unit, configured to screen the component sets corresponding to the different version numbers according to the current kanban version number, and obtain a target component set corresponding to the current kanban version number from the component sets corresponding to the different version numbers;

[0034] A target signboard display unit is used to display the target signboard according to the target component set.

[0035] In one feasible embodiment, the device further includes:

[0036] A version number management library acquisition unit is used to acquire a version number management library, wherein the version number management library includes a plurality of kanban boards corresponding to the kanban board names and kanban board version numbers, the target kanban board is any one of the plurality of kanban boards, and one kanban board name corresponds to one kanban board version number;

[0037] The display request parsing unit is specifically used to:

[0038] Parsing the display request to obtain a target dashboard name corresponding to the target dashboard;

[0039] Calling a first execution function to filter the kanban version numbers corresponding to the multiple kanbans according to the target kanban name, and obtaining the target kanban version number corresponding to the target kanban name from the kanban version numbers corresponding to the multiple kanbans;

[0040] The target kanban version number is used as the current kanban version number corresponding to the target kanban.

[0041] In an achievable implementation, the component set screening unit is specifically used to:

[0042] Calling a second execution function to perform component set screening on the component sets corresponding to the different version numbers according to the current kanban version number, and determining a target component set corresponding to the target version number that is the same as the current kanban version number among the component sets corresponding to the different version numbers;

[0043] The target component set corresponding to the target version number same as the current kanban version number in the component sets corresponding to the different version numbers is determined as the target component set corresponding to the current kanban version number in the component sets corresponding to the different version numbers.

[0044] In an achievable implementation, the target billboard display unit is used to:

[0045] Calling a third execution function to register the target component set, and obtaining the registered target component set;

[0046] The target dashboard is displayed according to the registered target component set.

[0047] In an implementable implementation, the first execution function includes a loadAndProcessComponents function, the second execution function includes a loadComponent function, and the third execution function includes a loadRemoteUMD function.

[0048] In one feasible embodiment, the device further includes:

[0049] An initial component acquisition unit, used to acquire a plurality of initial components and version numbers respectively corresponding to the plurality of initial components;

[0050] An initial component grouping unit, used to group the multiple initial components according to the version numbers respectively corresponding to the multiple initial components through a remote component library, to obtain initial component sets respectively corresponding to different version numbers;

[0051] The component request obtaining unit includes:

[0052] The component set packaging unit is used to package the initial component sets corresponding to the different version numbers through the remote component library to obtain the component sets corresponding to the different version numbers in the remote component library.

[0053] In an achievable implementation, the component set packaging unit is specifically used to:

[0054] Calling a packaging method through the remote component library to package multiple initial components in the initial component set corresponding to the different version numbers, respectively, to obtain component files corresponding to the multiple initial components in the initial component set corresponding to the different version numbers, respectively;

[0055] According to the component files respectively corresponding to the multiple initial components in the initial component sets respectively corresponding to the different version numbers, component sets respectively corresponding to the different version numbers in the remote component library are obtained.

[0056] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0057] Memory for storing computer programs;

[0058] A processor is used to implement the steps of the billboard display method in the first aspect when executing the computer program.

[0059] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the billboard display method in the first aspect are implemented.

[0060] Compared with the prior art, this application has the following beneficial effects:

[0061] In the present application, firstly, component sets corresponding to different version numbers in the remote component library and display requests for the target kanban board can be obtained; after that, the display request can be parsed and processed to obtain the current kanban board version number corresponding to the target kanban board, and the component sets corresponding to different version numbers can be screened according to the current kanban board version number to obtain the target component set corresponding to the current kanban board version number in the component sets corresponding to different version numbers; finally, the target kanban board can be displayed according to the target component set. It can be seen that in the present application, based on the current kanban board version number of the target kanban board, the component set of the currently required version number of the target kanban board can be obtained from the remote component library, so as to realize the display of the target kanban board, which can avoid the situation of incompatible components of the kanban board in the related technology, and can make the kanban board adapt to the corresponding component set, thereby improving the display performance of the kanban board. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0063] Figure 1 A flowchart of a billboard display method provided in an embodiment of the present application;

[0064] Figure 2 A schematic diagram of a code for performing a packaging operation in a billboard display method provided in an embodiment of the present application;

[0065] Figure 3 A schematic diagram of a component file in a billboard display method provided in an embodiment of the present application;

[0066] Figure 4 A schematic diagram of a version number management library in a billboard display method provided in an embodiment of the present application;

[0067] Figure 5 A schematic diagram of the structure of a billboard display device provided in an embodiment of the present application;

[0068] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0070] It should be noted that the billboard display method, device and related products provided in the present application are used in the field of billboard display technology. The above are only examples and do not limit the application field of the method and device names provided in the present application.

[0071] As described above, the Kanban board is a key tool for business operations. It can support the display of line charts or tables corresponding to the business, and the display of the Kanban board is usually achieved through components. For example, the display of Kanban board Q can be achieved based on component A of version 1 and component B of version 1.

[0072] As the business continues to develop and change, the components will also be updated as the business continues to change. At this time, displaying the dashboard based on the continuously updated components may cause the dashboard to be incompatible with the components. For example, business Q is constantly developing and changing. At this time, component A and component B may be updated from version 1 to version 3, so that the display of dashboard Q can be realized based on version 3 component A and version 3 component B. At this time, the dashboard is not updated with the components, so there may be a situation where the dashboard is incompatible with the components, resulting in a low display performance of the dashboard. Therefore, how to improve the display performance of the dashboard is a key issue that technicians in this field are concerned about.

[0073] It should be noted that the relevant technology also proposes that development and testing personnel update and debug the dashboard to make the dashboard compatible with components, but at this time, development and testing personnel need to spend a lot of time updating and debugging the dashboard, which may also result in low display efficiency of the dashboard.

[0074] Therefore, the inventor proposed the technical solution of the present application. First, the component sets corresponding to different version numbers in the remote component library and the display request for the target kanban can be obtained. After that, the display request can be parsed and processed to obtain the current kanban version number corresponding to the target kanban, and the component sets corresponding to different version numbers can be screened according to the current kanban version number to obtain the target component set corresponding to the current kanban version number in the component sets corresponding to different version numbers. Finally, the target kanban can be displayed according to the target component set. It can be seen that in the present application, based on the current kanban version number of the target kanban, the component set of the currently required version number of the target kanban can be obtained from the remote component library, so as to realize the display of the target kanban. In this way, the situation of incompatible components of the kanban in the related technology can be avoided, and the kanban can be adapted to the corresponding component set, thereby improving the display performance of the kanban. In addition, the present application can also avoid the situation of spending a lot of time updating and debugging the kanban in the related technology, thereby improving the display efficiency of the kanban.

[0075] The method provided in the embodiment of the present application may be executed by software on a terminal device. The terminal device may be, for example, a mobile phone, a tablet computer, a computer, etc. The software may be, for example, system software.

[0076] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0077] The following is an example of an embodiment to illustrate a billboard display method provided by the present application.

[0078] See also Figure 1 , which is a flow chart of a billboard display method provided in an embodiment of the present application, such as Figure 1 As shown, the method includes:

[0079] S101: Obtain component sets corresponding to different version numbers in a remote component library and a display request for a target dashboard.

[0080] In this step, there are component sets corresponding to different version numbers in the remote component library, one version number can correspond to multiple components, and one component may have multiple version numbers. For example: component A with version number 1 and component B with version number 1 can exist in the component set with version number 1. If component A and component B are updated in version number, component A with version number 2 and component B with version number 2 can exist in the component set with version number 2. And the display request can be generated according to the user's click operation on the terminal device, and the remote component library and the target dashboard are located on different server ends, so as to avoid confusion in extracting components and better store component sets corresponding to different version numbers.

[0081] It should be noted that before executing the operation of obtaining component sets corresponding to different version numbers in the remote component library, the present application can also obtain multiple initial components and version numbers corresponding to multiple initial components, wherein the multiple initial components include unupdated components and updated components, and each initial component has a corresponding version number, which can be determined according to the update date of the initial component. For example: the initial component A-1 is a component generated for the first time, and the version number corresponding to the initial component A-1 can be determined according to its generation date (i.e., 20240101); the initial component A-2 is a component generated after the initial component A-1 is updated, and the version number of the initial component A-2 can be determined according to its update date (i.e., 20240102).

[0082] Furthermore, the present application can group multiple initial components according to the version numbers corresponding to the multiple initial components through the remote component library to obtain initial component sets corresponding to different version numbers. For example: the multiple initial components include initial component A, initial component B and initial component C, and the version numbers corresponding to the multiple initial components include initial component A corresponding to version number 1, initial component A corresponding to version number 2, initial component B corresponding to version number 1, initial component C corresponding to version number 1 and initial component C corresponding to version number 2. At this time, the initial component set with version number 1 (initial component A corresponding to version number 1, initial component B corresponding to version number 1 and initial component C corresponding to version number 1) and the initial component set with version number 2 (initial component A corresponding to version number 2 and initial component C corresponding to version number 2) can be obtained. In this way, it can be determined that the components corresponding to each version number are independent of each other and do not depend on each other, and the component set corresponding to the version number required by the target dashboard can be accurately extracted in the subsequent process.

[0083] Furthermore, in the present application, the initial component sets corresponding to different version numbers can be packaged through the remote component library to obtain component sets corresponding to different version numbers in the remote component library. Specifically, in the present application, the remote component library can first call a packaging method to package multiple initial components in the initial component sets corresponding to different version numbers to obtain component files corresponding to multiple initial components in the initial component sets corresponding to different version numbers, and then obtain component sets corresponding to different version numbers in the remote component library based on the component files corresponding to multiple initial components in the initial component sets corresponding to different version numbers.

[0084] It can be understood that in the present application, a packaging method can be called to package each initial component to obtain a component file corresponding to each initial component. At this time, the component file corresponding to each initial component is determined as the component corresponding to each initial component to be stored in the remote component library. This facilitates the management of the corresponding components of the remote component library and facilitates the subsequent search for components.

[0085] It should be noted that the packaging method includes the entry method of webpack, which is used to perform packaging operations on components. The expression form of the component file corresponding to the initial component may include ianc-button.js and ianc-table.js. And in this application, the remote component library can also ignore the commonly used third-party libraries (such as vue, axios, element-ui, etc.) when performing packaging operations to ensure that the instances do not conflict. It can be understood that this application can deploy resources such as vue, axios, element-ui in the form of CDN through the externals configuration in html-webpack-externals-plugin, which not only reduces the packaging volume of the component library, but also solves the problem of instance conflicts. Resource compression is used to extract, and compression of resources is achieved, which improves the loading speed to a certain extent.

[0086] like Figure 2 As shown, Figure 2 A schematic diagram of a code for performing a packaging operation in a billboard display method provided in an embodiment of the present application. Figure 2 The figure shows the process of independently packaging each initial component in the src directory using the entry method of webpack, combined with path and fs.

[0087] like Figure 3 As shown, Figure 3 A schematic diagram of a component file in a billboard display method provided in an embodiment of the present application. Figure 3The component set corresponding to the version number 20240620 is shown in the figure, which may include components such as ianc-arrow-label.min.js and ianc-basic-chart-render.min.js.

[0088] S102: Parse the display request to obtain a current dashboard version number corresponding to the target dashboard.

[0089] It should be noted that before executing the parsing process of the display request and obtaining the current kanban version number corresponding to the target kanban, the application can also obtain a version number management library, wherein the version number management library includes kanban names and kanban version numbers corresponding to multiple kanbans, and the target kanban is any one of the multiple kanbans, and one kanban name corresponds to one kanban version number. For example, the kanban name corresponding to kanban 1 is name 1, and the kanban version number corresponding to kanban 1 is version number 1. At this time, the kanban version number of kanban 1 can be determined to be version 1 based on name 1.

[0090] Specifically, in the present application, the display request can first be parsed to obtain the target kanban name corresponding to the target kanban, after which the first execution function can be called to filter the kanban names corresponding to the multiple kanbans according to the target kanban name, so as to determine the kanban names that are the same as the target kanban name among the kanban names corresponding to the multiple kanbans. Then, based on the kanban names that are the same as the target kanban name among the kanban names corresponding to the multiple kanbans, the kanban version numbers corresponding to the multiple kanbans can be filtered to obtain the target kanban version number corresponding to the target kanban name among the kanban version numbers corresponding to the multiple kanbans, and the target kanban version number can be used as the current kanban version number corresponding to the target kanban. In this way, the kanban version number of the target kanban can be determined based on the kanban name, duplicate data is eliminated, and duplicate requests are reduced, so that the component set of the corresponding version number can be extracted based on the kanban version number in the subsequent process.

[0091] The first execution function includes a loadAndProcessComponents function, which can execute corresponding code to implement an operation of determining a kanban version number of a target kanban based on a kanban name. And the loadAndProcessComponents function can execute corresponding code to determine components required for the target kanban. In this way, the accuracy of extracting component sets in subsequent processes can be improved.

[0092] It should also be noted that in this application, a visual interface can be provided for the version number management library in the background management system, and the board names and board version numbers of all boards can be viewed and managed in this visual interface. Figure 4 As shown, Figure 4 A schematic diagram of a version number management library in a billboard display method provided in an embodiment of the present application, in Figure 4 The visualization interface of the version number management library is shown. In the visualization interface, it can be seen that the kanban board named ASD has a kanban board version number of 111, and the kanban board named ASF has a kanban board version number of 222, etc. It should be noted that the version number management library can also include kanban components (including component categories and component subcategories), component IDs, and operator numbers, etc. For example, in the visualization interface, the components of the kanban board with a serial number of 1 and a name of ASD are different from the components of the kanban board with a serial number of 2 and a name of ASD. And the visualization interface also supports a filtering function to facilitate subsequent manual viewing.

[0093] It should be further explained that in this application, a custom cache method can be encapsulated so that the version number management library can be cached and effective in various environments, so as to ultimately improve the component loading speed and system performance. For example, in the browser environment, the version number management library can be stored in IndexedDB (secondary encapsulation of localforage), and in the native end environment, the version number management library can be stored in the hard disk (secondary encapsulation of the Pluto method).

[0094] S103: Filter the component sets corresponding to the different version numbers according to the current kanban version number, and obtain the target component set corresponding to the current kanban version number from the component sets corresponding to the different version numbers.

[0095] Specifically, in this step, the second execution function can be called to perform component set screening on component sets corresponding to different version numbers according to the current kanban version number, and determine the target component set corresponding to the target version number same as the current kanban version number in the component sets corresponding to different version numbers, and the target component set corresponding to the target version number same as the current kanban version number in the component sets corresponding to different version numbers can be determined as the target component set corresponding to the current kanban version number in the component sets corresponding to different version numbers.

[0096] That is, after determining the target version number that is the same as the current kanban version number among the different version numbers, the component set corresponding to the target version number among the different version numbers can be determined as the target component set corresponding to the current kanban version number. In this way, the component set required for the kanban can be accurately determined.

[0097] It should be noted that the second execution function includes a loadComponent function, which can execute corresponding code to implement the operation of determining the component set corresponding to the version number of the kanban board. It should also be noted that the loadComponent function can also execute corresponding code (such as try-catch, etc.) to execute component downgrade logic. It can be understood that if there is an exception in the component corresponding to the required version number, the component corresponding to the previous version number of the required version number can be determined as the component corresponding to the required version number, where the previous version number is lower than the required version number. In this way, the downgrade process can be automatically run to reduce the risk of abnormalities.

[0098] S104: Displaying the target dashboard according to the target component set.

[0099] Specifically, in this step, the third execution function can be called to register the target component set to obtain the registered target component set, and then the target dashboard can be displayed according to the registered target component set. It can be understood that the components need to be registered before running in order to realize the subsequent operation of displaying the target dashboard based on the components. The third execution function includes the loadRemoteUMD function, which can be responsible for asynchronously creating a script and initiating a component request to execute the Vue component registration function. This avoids the situation in the related art where a lot of time is spent on updating and debugging the dashboard, and improves the efficiency of the dashboard display.

[0100] It should be noted that in this application, the display of the corresponding target dashboard can also be realized based on the delayed loading technology, that is, for resources that are not needed for the first screen or after user interaction, they are loaded when needed to reduce the amount of resources initially loaded and increase the page loading speed. For example, the title component has a comment pop-up function, and the pop-up subcomponent contains pictures and icons. Through the delayed loading method, the pop-up resource request is initiated only after the user clicks the pop-up window, thereby improving the performance of the title component.

[0101] It should also be noted that in this application, the display of the corresponding target dashboard can also be achieved based on code segmentation technology, that is, the code can be split into multiple small blocks through the SplitChunks resource segmentation technology in Webpack, loaded on demand, reducing the amount of code initially loaded, and speeding up the page loading speed while improving code coverage.

[0102] In summary, in this embodiment, based on the current version number of the target kanban board, the component set of the target kanban board's currently required version number can be obtained from the remote component library to display the target kanban board, thereby avoiding the situation of incompatible components of the kanban board in the related technology, and enabling the kanban board to adapt to the corresponding component set, thereby improving the kanban board display performance. In addition, the present application can also avoid the situation in the related technology where a lot of time is spent on updating and debugging the kanban board, thereby improving the kanban board display efficiency and ensuring the operational stability of the kanban board.

[0103] A billboard display device provided in an embodiment of the present application is introduced below. The billboard display device described below and the billboard display method described above can refer to each other.

[0104] See also Figure 5 , which is a structural schematic diagram of a billboard display device provided in an embodiment of the present application, such as Figure 5 As shown, the billboard display device includes:

[0105] The component request acquisition unit 501 is used to acquire component sets corresponding to different version numbers in the remote component library and display requests for the target dashboard;

[0106] A display request parsing unit 502 is used to parse the display request and obtain a current kanban version number corresponding to the target kanban;

[0107] A component set screening unit 503 is used to screen the component sets corresponding to the different version numbers according to the current kanban version number, and obtain a target component set corresponding to the current kanban version number from the component sets corresponding to the different version numbers;

[0108] The target board display unit 504 is used to display the target board according to the target component set.

[0109] In one feasible embodiment, the device further includes:

[0110] A version number management library acquisition unit is used to acquire a version number management library, wherein the version number management library includes a plurality of kanban boards corresponding to the kanban board names and kanban board version numbers, the target kanban board is any one of the plurality of kanban boards, and one kanban board name corresponds to one kanban board version number;

[0111] The display request parsing unit 502 is specifically used to:

[0112] Parsing the display request to obtain a target dashboard name corresponding to the target dashboard;

[0113] Calling a first execution function to filter the kanban version numbers corresponding to the multiple kanbans according to the target kanban name, and obtaining the target kanban version number corresponding to the target kanban name from the kanban version numbers corresponding to the multiple kanbans;

[0114] The target kanban version number is used as the current kanban version number corresponding to the target kanban.

[0115] In an achievable implementation, the component set screening unit 503 is specifically used to:

[0116] Calling a second execution function to perform component set screening on the component sets corresponding to the different version numbers according to the current kanban version number, and determining a target component set corresponding to the target version number that is the same as the current kanban version number among the component sets corresponding to the different version numbers;

[0117] The target component set corresponding to the target version number same as the current kanban version number in the component sets corresponding to the different version numbers is determined as the target component set corresponding to the current kanban version number in the component sets corresponding to the different version numbers.

[0118] In an achievable implementation, the target billboard display unit 504 is used to:

[0119] Calling a third execution function to register the target component set, and obtaining the registered target component set;

[0120] The target dashboard is displayed according to the registered target component set.

[0121] In an implementable implementation, the first execution function includes a loadAndProcessComponents function, the second execution function includes a loadComponent function, and the third execution function includes a loadRemoteUMD function.

[0122] In one feasible embodiment, the device further includes:

[0123] An initial component acquisition unit, used to acquire a plurality of initial components and version numbers respectively corresponding to the plurality of initial components;

[0124] An initial component grouping unit, used to group the multiple initial components according to the version numbers respectively corresponding to the multiple initial components through a remote component library, to obtain initial component sets respectively corresponding to different version numbers;

[0125] The component request obtaining unit 501 includes:

[0126] The component set packaging unit is used to package the initial component sets corresponding to the different version numbers through the remote component library to obtain the component sets corresponding to the different version numbers in the remote component library.

[0127] In an achievable implementation, the component set packaging unit is specifically used to:

[0128] Calling a packaging method through the remote component library to package multiple initial components in the initial component set corresponding to the different version numbers, respectively, to obtain component files corresponding to the multiple initial components in the initial component set corresponding to the different version numbers, respectively;

[0129] According to the component files respectively corresponding to the multiple initial components in the initial component sets respectively corresponding to the different version numbers, component sets respectively corresponding to the different version numbers in the remote component library are obtained.

[0130] The billboard display device provided in the embodiment of the present application has the same beneficial effects as the billboard display method provided in the above embodiment, so they are not described in detail.

[0131] Electronic device embodiment

[0132] See also Figure 6 , which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 6 As shown, including:

[0133] A memory 11, used for storing computer programs;

[0134] The processor 12 is used to implement the steps of the billboard display method described in any of the above method embodiments when executing the computer program.

[0135] In this embodiment, the device may be a PC (Personal Computer), or may be a terminal device such as a smart phone, a tablet computer, a PDA, or a portable computer.

[0136] The device may include a memory 11, a processor 12 and a bus 13. The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 11 may be an internal storage unit of the device in some embodiments, such as a hard disk of the device. The memory 11 may also be an external storage device of the device in other embodiments, such as a plug-in hard disk equipped on the device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 11 may also include both an internal storage unit of the device and an external storage device. The memory 11 may be used not only to store application software and various types of data installed on the device, but also to temporarily store data that has been output or is to be output.

[0137] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run program codes stored in the memory 11 or process data.

[0138] The bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0139] Furthermore, the device may also include a network interface 14, which may optionally include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the device and other electronic devices.

[0140] Optionally, the device may further include a user interface 15, which may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 15 may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the device and to display a visual user interface.

[0141] Figure 6 Only the device with components 11-15 is shown, and it can be understood by those skilled in the art that Figure 6 The structure shown does not constitute a limitation of the device, and may include fewer or more components than shown, or combine certain components, or arrange the components differently.

[0142] Readable storage medium embodiment

[0143] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned billboard display method are implemented. The storage medium may include: a USB flash drive, 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.

[0144] It should also be noted that the "first" and "second" (if any) in the names such as "first" and "second" mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.

[0145] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0146] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0147] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0148] The above is a detailed introduction to a billboard display method, device and related products provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A billboard display method, characterized in that: include: Obtain component sets corresponding to different version numbers in the remote component library and display requests for the target dashboard; Parsing the display request to obtain a current dashboard version number corresponding to the target dashboard; Filter the component sets corresponding to the different version numbers according to the current kanban version number to obtain a target component set corresponding to the current kanban version number among the component sets corresponding to the different version numbers; The target dashboard is displayed according to the target component set.

2. The method according to claim 1, characterized in that Before parsing the display request to obtain the current billboard version number corresponding to the target billboard, the method further includes: Obtain a version number management library, wherein the version number management library includes a plurality of kanban boards corresponding to respective kanban board names and kanban board version numbers, the target kanban board is any one of the plurality of kanban boards, and one kanban board name corresponds to one kanban board version number; The parsing and processing of the display request to obtain the current dashboard version number corresponding to the target dashboard includes: Parsing the display request to obtain a target dashboard name corresponding to the target dashboard; Calling a first execution function to filter the kanban version numbers corresponding to the multiple kanbans according to the target kanban name, and obtaining the target kanban version number corresponding to the target kanban name from the kanban version numbers corresponding to the multiple kanbans; The target kanban version number is used as the current kanban version number corresponding to the target kanban.

3. The method according to claim 2, characterized in that The filtering and processing of the component sets corresponding to the different version numbers according to the current kanban version number to obtain the target component set corresponding to the current kanban version number from the component sets corresponding to the different version numbers includes: Calling a second execution function to perform component set screening on the component sets corresponding to the different version numbers according to the current kanban version number, and determining a target component set corresponding to the target version number that is the same as the current kanban version number among the component sets corresponding to the different version numbers; The target component set corresponding to the target version number same as the current kanban version number in the component sets corresponding to the different version numbers is determined as the target component set corresponding to the current kanban version number in the component sets corresponding to the different version numbers.

4. The method according to claim 3, characterized in that The step of displaying the target dashboard according to the target component set includes: Calling a third execution function to register the target component set, and obtaining the registered target component set; The target dashboard is displayed according to the registered target component set.

5. The method according to claim 4, characterized in that The first execution function includes a loadAndProcessComponents function, the second execution function includes a loadComponent function, and the third execution function includes a loadRemoteUMD function.

6. The method according to claim 1, characterized in that Before obtaining component sets corresponding to different version numbers in the remote component library, the method further includes: Obtaining multiple initial components and version numbers corresponding to the multiple initial components respectively; The remote component library performs grouping processing on the multiple initial components according to the version numbers respectively corresponding to the multiple initial components, so as to obtain initial component sets respectively corresponding to different version numbers; The obtaining of component sets corresponding to different version numbers in the remote component library includes: The initial component sets corresponding to the different version numbers are packaged through the remote component library to obtain component sets corresponding to the different version numbers in the remote component library.

7. The method according to claim 6, characterized in that The step of packaging the initial component sets corresponding to the different version numbers respectively through the remote component library to obtain the component sets corresponding to the different version numbers respectively in the remote component library includes: Calling a packaging method through the remote component library to package multiple initial components in the initial component set corresponding to the different version numbers, respectively, to obtain component files corresponding to the multiple initial components in the initial component set corresponding to the different version numbers, respectively; According to the component files respectively corresponding to the multiple initial components in the initial component sets respectively corresponding to the different version numbers, component sets respectively corresponding to the different version numbers in the remote component library are obtained.

8. A billboard display device, characterized in that: include: A component request acquisition unit, used to acquire component sets corresponding to different version numbers in a remote component library and display requests for a target dashboard; A display request parsing unit, used to parse the display request and obtain a current kanban version number corresponding to the target kanban; A component set screening unit, configured to screen the component sets corresponding to the different version numbers according to the current kanban version number, and obtain a target component set corresponding to the current kanban version number from the component sets corresponding to the different version numbers; A target signboard display unit is used to display the target signboard according to the target component set.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of a billboard display method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a billboard display method as described in any one of claims 1 to 7 are implemented.