Financial market list display method and device, storage medium and equipment

By obtaining the drawing instruction triggered by the update event in the financial market list and calling the cell drawer to redraw the content of the target cell, the problem of low response efficiency of traditional controls is solved, and efficient data display and real-time updates are achieved.

CN115329161BActive Publication Date: 2025-12-19SHENZHEN FUTU NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210988920.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-17
Publication Date
2025-12-19
Estimated Expiration
2042-08-17

AI Technical Summary

Technical Problem

Traditional financial market data list controls are inefficient in responding to data changes, failing to meet the requirements for efficient display, and are difficult to customize cell content with poor reusability.

Method used

By obtaining the drawing instructions triggered by the list update event, the target cell is determined and the cell drawer is called to redraw the target content. The list data module and list content drawer included in the cell drawer are used to make local changes in response to data updates.

Benefits of technology

It improves the efficiency of drawing financial market data lists and displaying virtual resources, achieving more efficient data response and real-time performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115329161B_ABST
    Figure CN115329161B_ABST
Patent Text Reader

Abstract

The application discloses a financial market list display method and device, a storage medium and equipment. The method comprises the following steps: acquiring a list drawing instruction triggered based on a list update event, wherein the list update event comprises an information update record of a target financial market in a financial market list; determining a target cell corresponding to the target financial market in the financial market list based on the list drawing instruction, and calling a cell drawer corresponding to the target cell to redraw target content of the target cell based on the information update record of the target financial market; and displaying the redrawn target content of the target cell in the financial market list displayed on a display interface. The embodiment of the application can call the cell drawer corresponding to the target cell of the financial market in the list to redraw the target content of the target cell, so that the cell granularity local change is realized, the efficiency of responding to data change is high, the drawing efficiency is improved, and the display efficiency and real-time performance of virtual resources are 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 computer, in particular to a financial market list display method and device, a storage medium and equipment. BACKGROUND

[0002] The state values such as financial prices and trading volumes change very quickly when the financial market is active. The market list, as one of the main controls for displaying financial data, has the characteristics that a large amount of financial data is displayed at a time, and the content changes very quickly in real time.

[0003] The traditional list control has the problems of difficult cell content customization, poor reusability, and low efficiency in responding to data changes, which cannot meet the requirements of efficient list display. SUMMARY

[0004] The embodiments of the present application provide a financial market list display method and device, a storage medium and equipment, which can call a cell painter corresponding to a target cell in which the financial market has changed to redraw the target content of the target cell, so as to realize cell granularity local change, improve the efficiency of responding to data changes, improve the drawing efficiency, and further improve the display efficiency and real-time performance of virtual resources.

[0005] In one aspect, the embodiments of the present application provide a financial market list display method, which comprises:

[0006] obtaining a list drawing instruction triggered based on a list update event, wherein the list update event comprises an information update record of a target financial market in a financial market list;

[0007] based on the list drawing instruction, determining a target cell corresponding to the target financial market in the financial market list, and calling a cell painter corresponding to the target cell to redraw target content of the target cell based on the information update record of the target financial market;

[0008] displaying the redrawn target content of the target cell in the financial market list displayed on a display interface.

[0009] In some embodiments, the cell painter comprises a list data module and a list content painter.

[0010] The calling of the cell painter corresponding to the target cell to redraw the content of the target cell based on the information update record of the target financial market comprises:

[0011] calling the cell painter corresponding to the target cell;

[0012] Based on the list data module in the cell renderer, list data of the target financial market is provided, and based on information update records in the list data of the target financial market, drawing content indication information is generated;

[0013] Based on the list content renderer in the cell renderer, the target content of the target cell is redrawn according to the drawing content indication information.

[0014] In some embodiments, before the list data of the target financial market is provided based on the list data module in the cell renderer, the method further comprises:

[0015] Based on data changes in a preset time period, change data that has changed is determined;

[0016] The change data and business logic for processing lists are encapsulated, and a unified interface is generated, so as to build the list data module, which is used to provide all information required by the list content renderer for drawing.

[0017] In some embodiments, before the target content of the target cell is redrawn according to the drawing content indication information based on the list content renderer in the cell renderer, the method further comprises:

[0018] The display mode of all list cell contents is encapsulated to build the list content renderer.

[0019] In some embodiments, before the list drawing instruction triggered by the list update event is obtained, the method further comprises:

[0020] When a change in a financial market is detected, a list update event is generated;

[0021] Information update records in the list update event for a target financial market in a financial market list are stored in a flashing dictionary;

[0022] A timer is started, and when the timer expires, the target financial market in which a change has occurred in the flashing dictionary is traversed;

[0023] The number of time slices corresponding to the target financial market is obtained, and when the number of time slices corresponding to the target financial market becomes zero, a list drawing instruction is triggered.

[0024] In some embodiments, before the number of time slices corresponding to the target financial market is obtained, the method further comprises:

[0025] The number of time slices corresponding to the target financial market is reduced.

[0026] In some embodiments, the target content includes cell data and cell background, and the displaying the re-drawn target content of the target cell further includes:

[0027] If the target content indicates that the price of the target financial product rises, the cell data and / or the cell background of the target cell are displayed based on a first preset display mode in a preset time period, the first preset display mode including any one of flashing display, background color change display, and cell data color change display.

[0028] If the target content indicates that the price of the target financial product falls, the cell data and / or the cell background of the target cell are displayed based on a second preset display mode in a preset time period, the second preset display mode including any one of flashing display, background color change display, and cell data color change display.

[0029] In another aspect, the embodiments of the present application provide a financial market list display device, the device comprising:

[0030] a obtaining unit configured to obtain a list drawing instruction triggered based on a list update event, the list update event including an information update record of a target financial market in a financial market list;

[0031] a processing unit configured to determine a target cell corresponding to the target financial market in the financial market list based on the list drawing instruction, and call a cell drawer corresponding to the target cell to re-draw target content of the target cell based on the information update record of the target financial market;

[0032] a display unit configured to display the re-drawn target content of the target cell in the financial market list displayed on a display interface.

[0033] In another aspect, the embodiments of the present application provide a computer device, the computer device comprising a processor and a memory, the memory storing a computer program, and the processor being configured to execute the image color matching method according to any one of the above embodiments by calling the computer program stored in the memory.

[0034] In another aspect, the embodiments of the present application provide a computer readable storage medium, the computer readable storage medium storing a computer program, and the computer program being adapted to be loaded by a processor to execute the financial market list display method according to any one of the above embodiments.

[0035] The embodiment of the present application provides a financial market list display method, device, storage medium and equipment, a list drawing instruction triggered based on a list update event is acquired, the list update event includes information update records of a target financial market in a financial market list; based on the list drawing instruction, a target cell corresponding to the target financial market in the financial market list is determined, and a cell drawer corresponding to the target cell is called to redraw target content of the target cell based on the information update records of the target financial market; and the redrawn target content of the target cell is displayed in the financial market list displayed on a display interface. The embodiment of the present application can call the cell drawer corresponding to the target cell of the financial market in the list to redraw the target content of the target cell, so as to realize cell granularity local change, high response efficiency to data change, improve drawing efficiency, and further improve the display efficiency and real-time performance of virtual resources. BRIEF DESCRIPTION OF DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0037] Figure 1 The flowchart of the financial market list display method provided by the embodiment of the present application.

[0038] Figure 2 The application scenario diagram of the financial market list display method provided by the embodiment of the present application.

[0039] Figure 3 The framework diagram of the financial market list provided by the embodiment of the present application.

[0040] Figure 4 The flowchart of the drawing cell content provided by the embodiment of the present application.

[0041] Figure 5 The structural diagram of the financial market list display device provided by the embodiment of the present application.

[0042] Figure 6 The structural diagram of the terminal equipment provided by the embodiment of the present application. DETAILED DESCRIPTION

[0043] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0044] The embodiments of the present application provide a financial market list display method and device, a storage medium and equipment. Specifically, the financial market list display method of the embodiments of the present application can be executed by a terminal device, wherein the terminal device can be a terminal or a server and the like. The terminal can be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA) and the like. The terminal can also include a client, which can be a financial application client, a browser client carrying a financial transaction program or an instant messaging client and the like. The server can be a stand-alone physical server, a server cluster or a distributed system composed of multiple physical servers, a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution network services, and basic cloud computing services such as big data and artificial intelligence platforms, but is not limited thereto.

[0045] The following will be described in detail. It should be noted that the order of the following embodiments is not limited as the order of priority of the embodiments.

[0046] The embodiments of the present application provide a financial market list display method, which can be executed by a terminal or a server, or jointly executed by a terminal and a server. The embodiments of the present application take the case that the financial market list display method is executed by a terminal as an example for description.

[0047] Please refer to Figures 1 to 4 , wherein, Figure 1 The flowchart of the financial market list display method provided by the embodiments of the present application is shown in Figure 2 The application scenario diagram of the financial market list display method provided by the embodiments of the present application is shown in Figure 3 The framework diagram of the financial market list provided by the embodiments of the present application is shown in Figure 4A flowchart for drawing cell content is provided in the embodiments of the present application. It should be noted that the financial market list display method in the embodiments of the present application can be applied to the financial market list display device in the embodiments of the present application, and the financial market list display device can be configured on a terminal device. The terminal device is configured with a client, and a graphical user interface is provided on the client of the terminal device, and the financial market list can be displayed on the graphical user interface. The method comprises the following steps 101 to 103:

[0048] In step 101, a list drawing instruction triggered based on a list update event is obtained, and the list update event comprises an information update record for a target financial market in a financial market list.

[0049] For example, the financial market can include any one or more of stock, bond, fund, foreign exchange, index, exchange traded fund (ETF), option, futures, etc. The financial market list can include a stock market list, a bond market list, a fund market list, a foreign exchange market list, an index market list, an ETF market list, an option market list, a futures market list, etc.

[0050] In some embodiments, before the list drawing instruction triggered based on the list update event is obtained, the method further comprises:

[0051] When a change in the financial market is detected, a list update event is generated;

[0052] The information update record for the target financial market in the financial market list in the list update event is stored in a flashing dictionary;

[0053] A timer is started, and when the timer expires, the target financial market in the flashing dictionary in which the financial market has changed is traversed;

[0054] The number of time slices corresponding to the target financial market is obtained, and when the number of time slices corresponding to the target financial market becomes zero, the list drawing instruction is triggered.

[0055] In some embodiments, before the number of time slices corresponding to the target financial market is obtained, the method further comprises:

[0056] The number of time slices corresponding to the target financial market is reduced.

[0057] For example, as Figure 2The application scenario diagram shows that in step 11, the financial details information is obtained through the subscription manager, and the financial details information is updated to the financial details dictionary; in step 12, when the financial market changes, the financial market list is notified of the change of the market, and a list update event is generated; in step 13, the financial market list adds the flashing field containing the list update event to the flashing dictionary, where the flashing dictionary is an auxiliary object of the financial market list and can be placed in the data layer of the financial market list; in step 14, when the financial market change is identified, a timer is started, and each timeout will go through the financial items in the flashing dictionary that have changed in the financial market, the financial item that has changed in the financial market is the target financial, and the number of time slices corresponding to the financial item is reduced, when the number of time slices becomes 0, a timeout notification is automatically sent, such as a 200 millimeter timeout notification, such as a 1200 millimeter timeout notification, then in step 15, the list drawing instruction is triggered to notify the financial market list to refresh the UI; in step 16, after the financial market list receives the list drawing instruction for indicating the UI refresh, it queries which cells need to be redrawn by judging whether there is a field change in the flashing dictionary, if there is a field change in the flashing dictionary, step 17 is executed, if there is no field change in the flashing dictionary, step 19 is executed; in step 17, if there is a field change in the flashing dictionary, the refresh cell is recorded, the refresh cell is the target cell corresponding to the target financial market that has changed in the financial market list that needs to be redrawn, and the refresh cell (target cell) is provided based on the cell refresh dictionary; in step 18, the target cell corresponding to the cell drawer is called to redraw the target content of the target cell to realize the partial refresh of the financial market list; in step 19, if there is no field change in the flashing dictionary, there is no need to refresh.

[0058] Among them, steps 11 to 12 belong to the market change stage; steps 13 to 14 belong to the flashing process stage; steps 15 to 19 are the refresh operation stage.

[0059] Among them, in the flashing process, it can include processes such as highlighting, keeping highlighting, and canceling highlighting.

[0060] Step 102, based on the list drawing instruction, determine the target cell corresponding to the target financial market in the financial market list, and call the cell drawer corresponding to the target cell to update and redraw the target content of the target cell based on the information of the target financial market recorded.

[0061] For example, as Figure 2The steps 16 to 18 shown: in step 16, after the financial market list receives the list drawing instruction for indicating the UI refresh, the list drawing instruction is used to query which cells need to be redrawn by judging whether there is a field change in the flashing dictionary, if there is a field change in the flashing dictionary, step 17 is executed, if there is no field change in the flashing dictionary, step 19 is executed; in step 17, if there is a field change in the flashing dictionary, the refresh cell is recorded, the refresh cell is the target cell corresponding to the target financial market with changed financial market in the financial market list which needs to be redrawn, and the refresh cell (target cell) is provided based on the cell refresh dictionary; in step 18, the target cell corresponding to the cell drawer is called to redraw the target content of the target cell, so as to realize the partial refresh of the financial market list.

[0062] In some embodiments, the cell drawer includes a list data module and a list content drawer;

[0063] The calling of the cell drawer corresponding to the target cell redraws the content of the target cell based on the information update record of the target financial market, including:

[0064] The calling of the cell drawer corresponding to the target cell;

[0065] Based on the list data module in the cell drawer, the list data of the target financial market is provided, and the drawing content instruction information is generated based on the information update record in the list data of the target financial market;

[0066] Based on the list content drawer in the cell drawer, the target content of the target cell is redrawn according to the drawing content instruction information.

[0067] As Figure 3 The framework diagram of the financial market list, which can include an original data layer, a basic control layer and a business layer. Among them, the basic control layer can include a basic control window, a list core control layer, a list control content drawing layer, a list expansion function support layer, a list data module (list model) and a list content drawer. Among them, the business layer includes market customization list basic control, and each list, each market model, and each market drawer.

[0068] Among them, the two key parts of the cell drawer are: the list data module (list model) and the list content drawer in the basic control layer constitute the cell drawer.

[0069] In some embodiments, before the list data of the target financial market is provided based on the list data module in the cell drawer, it further includes:

[0070] determine the changed data based on the data change in the adjacent preset time period;

[0071] encapsulate the changed data and the business logic for processing the list, and generate a unified interface to build the list data module, the list data module providing all information required for the list content renderer to render.

[0072] The list data module (list model) encapsulates the changed data and the business logic in the adjacent time period, and generates a unified interface to build the list data module, wherein the business logic is used to determine the display mode of the list based on the data change. The list data module provides all information required for the list content renderer to render. When the internal data of the list model changes, the content rendered by the list content renderer also changes accordingly. Specifically, based on the list data module in the cell renderer, the list data of the target financial market is provided, and based on the information update record in the list data of the target financial market, the rendering content indication information is generated.

[0073] In the process of encapsulating the list data in this embodiment, the changed data is determined by comparing the data in the adjacent time period, and the changed data is encapsulated with the business logic. Further, in the encapsulation process, the target data value Dat_i of the current period Ti and the target data value Dat i-1 of the previous period T i-1 The corresponding change parameter is:

[0074]

[0075] Wherein, a represents a preset change factor, and in this embodiment, the target data value Dat i-1 of the previous period T is composed of multiple adjacent time periods. After the change parameter is determined, the preset change parameter threshold range and the corresponding display logic are encapsulated into the list data module. When the data change in a certain period exceeds the threshold, the corresponding display mode is displayed. The above list data module can only encapsulate the changed data, and also consider the problem of data change amplitude in the data display process, avoiding data redundancy caused by encapsulating all data, reducing data processing amount, and improving data processing and display efficiency.

[0076] In some embodiments, before the list content renderer in the cell renderer re-renders the target content of the target cell according to the rendering content indication information, the method further includes:

[0077] The display mode of all list cell contents is encapsulated to build the list content painter.

[0078] The list content painter is built by encapsulating the display mode of all list cell contents. The list content painter is different from the cell UI object in a conventional list. The list content painter is not a child UI object of the table. When the list content changes, the list content painter does not need to perform additional layout calculation, thereby saving a large amount of layout time. Meanwhile, the list content painter is an object, and various painter objects can be customized through polymorphism. Specifically, based on the list content painter in the cell painter, the target content of the target cell is redrawn according to the drawing content indication information.

[0079] For example, after the financial market list receives a list update event to trigger the list drawing instruction of the list, the list cell content list is not actually drawn, but is delegated to the corresponding cell painter to perform the drawing operation. By default, the cell painter is bound to a column of the financial market list, and the cell painter defines how the cell of the specific column is displayed. The content information that needs to be displayed by the cell can be obtained through the list data module.

[0080] As shown in the flowchart of drawing a cell content, the specific description is as follows: Figure 4

[0081] CGridview, the main object of the list;

[0082] IGridModelAdapter, similar to the list controller, mainly provides the data required for display to the list; and processes the business logic of the list;

[0083] ICellPresenter, the painter object of the list, different cells correspond to different cell painters, and all cell painters provide the display service of the content of the cell to the list according to a unified interface.

[0084] The steps are described as follows:

[0085] 21. Notification: Notify ( );

[0086] 22. Update table: UpdateGridView ( );

[0087] 23. Draw table: Onpaint ( );

[0088] 24. Draw cell: DrawCell ( );

[0089] ​25. GetCellPresenter() to get the cell presenter of the corresponding cell;

[0090] 26. FillGridCtrlInfo() to fill the information of the grid control;

[0091] 27. Paint() to call the paint of the cell presenter;

[0092] 28. GetCellInfo() to query the paint information from the list data module (list model) by the cell presenter;

[0093] 29. DrawTextInner() to draw the text (the paint work done by the text cell).

[0094] In the financial market list, when the price of a target financial changes, the corresponding displayed data of the target financial also needs to change. At this time, only the target content of the target cell corresponding to the target financial that has changed needs to be redrawn, and the entire list does not need to be redrawn. Using the cell presenter to draw the target content of the target cell greatly improves the drawing efficiency.

[0095] In step 103, the target content of the target cell is displayed in the financial market list displayed on the display interface. In some embodiments, the target content includes cell data and cell background, and when the target content of the target cell is displayed, the following is also included:

[0096] If the target content indicates that the price of the target financial rises, the cell data and / or the cell background of the target cell are displayed based on a first preset display mode in a preset time period, and the first preset display mode includes any one of flashing display, background color change display, and cell data color change display.

[0097] If the target content indicates that the price of the target financial falls, the cell data and / or the cell background of the target cell are displayed based on a second preset display mode in a preset time period, and the second preset display mode includes any one of flashing display, background color change display, and cell data color change display.

[0098] For example, when the target content of the target cell is displayed, the cell data or the cell background in the target content of the target cell is highlighted. For example, highlighting can include flashing display, background color change display, and cell data color change display.

[0099] For example, when the first preset display method is to display cell data color changes, if the target content indicates that the price of the target financial product is rising, the cell data of the target cell will be displayed in red for a preset time period.

[0100] For example, when the second preset display method is to display cell data color changes, if the target content indicates that the price of the target financial product has fallen, the cell data of the target cell will be displayed in green within a preset time period.

[0101] For example, the cell plotter can simultaneously support the red-up and green-down functions for financial prices. That is, when the price rises, the cell data corresponding to the financial price in the target cell will turn red for a period of time; when the price falls, the cell data will turn green for a period of time.

[0102] For example, when the first preset display method is a background color change display, if the target content indicates that the price of the target financial product is rising, the background of the target cell will be displayed as red for a preset time period.

[0103] For example, when the second preset display mode is a background color change display, if the target content indicates that the price of the target financial product has fallen, the background of the target cell will be displayed as green for a preset time period.

[0104] For example, the cell plotter can simultaneously support the red-up and green-down functions for financial prices. That is, when the price rises, the background of the cell corresponding to the financial price in the target cell will turn red for a period of time; when the price falls, the cell background will turn green for a period of time.

[0105] To efficiently implement red (increase) and green (decrease) indicators and support localized changes in cell granularity, the cell plotter can combine a refresh dictionary with time slices. For example, it can locate the cells to be highlighted based on the refresh dictionary and then adjust the time slice accordingly.

[0106] The system uses images to monitor whether the preset time period has been reached.

[0107] For example, when both the first preset display mode and the first preset display mode are flashing displays, if the target content indicates that the price of the target financial product is rising, the cell data and / or cell background of the target cell are displayed in a way that flashes between black and red within a preset time period; if the target content indicates that the price of the target financial product is falling, the cell data and / or cell background of the target cell are displayed in a way that flashes between black and green within a preset time period.

[0108] In the embodiments of the present application, the cell drawing of the list is responsible for the corresponding cell drawer, the cell drawer is a set of abstract interfaces of content drawing, and sufficient customization and expansion capabilities can be provided. Moreover, the cell drawer is independent of the family tree of the table UI control, so that the cell drawer does not increase the calculation consumption of the table UI layout, and the drawing efficiency is greatly improved. In addition, the cell highlight display logic based on time slices and based on the refresh dictionary can control the local refresh operation of the cell granularity, so that the list can provide efficient and smooth red rise and green fall change effect.

[0109] All the above technical solutions can be combined to form optional embodiments of the present application, which will not be repeated here.

[0110] The embodiments of the present application obtain a list drawing instruction triggered based on a list update event, the list update event includes an information update record of a target financial market in a financial market list; based on the list drawing instruction, a target cell corresponding to the target financial market in the financial market list is determined, and a cell drawer corresponding to the target cell is called to redraw target content of the target cell based on the information update record of the target financial market; and the redrawn target content of the target cell is displayed in the financial market list displayed on the display interface. The embodiments of the present application can call the cell drawer corresponding to the target cell of the financial market in the list to redraw the target content of the target cell, so as to realize the local change of the cell granularity, the efficiency of responding to the data change is high, the drawing efficiency is improved, and then the display efficiency and real-time performance of the virtual resource are improved.

[0111] In order to better implement the financial market list display method of the embodiments of the present application, the embodiments of the present application also provide a financial market list display device. Please refer to Figure 5 , Figure 5 The structure diagram of the financial market list display device provided by the embodiments of the present application. Wherein, the financial market list display device 200 can include:

[0112] The obtaining unit 201 is configured to obtain a list drawing instruction triggered based on a list update event, the list update event includes an information update record of a target financial market in a financial market list;

[0113] The processing unit 202 is configured to determine a target cell corresponding to the target financial market in the financial market list based on the list drawing instruction, and call a cell drawer corresponding to the target cell to redraw target content of the target cell based on the information update record of the target financial market;

[0114] The display unit 203 is configured to display the target content of the target cell in the financial market list displayed on the display interface.

[0115] In some embodiments, the cell renderer comprises a list data module and a list content renderer; when the processing unit 202 invokes the cell renderer corresponding to the target cell to update the content of the target cell based on the information update record of the target financial market, the processing unit 202 is specifically configured to:

[0116] invoke the cell renderer corresponding to the target cell;

[0117] based on the list data module in the cell renderer, provide list data of the target financial market, and based on the information update record in the list data of the target financial market, generate rendering content instruction information;

[0118] based on the list content renderer in the cell renderer, re-render the target content of the target cell according to the rendering content instruction information.

[0119] In some embodiments, before the processing unit 202 provides the list data of the target financial market based on the list data module in the cell renderer, the processing unit 202 is further configured to:

[0120] based on the data change in the adjacent preset time period, determine the changed data;

[0121] encapsulate the changed data and the business logic for processing the list, and generate a unified interface to build the list data module, the list data module being configured to provide all information required by the list content renderer for rendering.

[0122] In some embodiments, before the processing unit 202 re-renders the target content of the target cell according to the rendering content instruction information based on the list content renderer in the cell renderer, the processing unit 202 is further configured to:

[0123] encapsulate the display mode of all list cell contents to build the list content renderer.

[0124] In some embodiments, before the obtaining unit 201 obtains the list rendering instruction triggered based on the list update event, the obtaining unit 201 is further configured to:

[0125] generate a list update event when detecting a change in a financial market;

[0126] store the information update record for the target financial market in the financial market list in the list update event in a flashing dictionary.

[0127] starting a timer, and traversing a target finance in which a financial market changes in the flashing dictionary every time the timer expires;

[0128] obtaining a number of time slices corresponding to the target finance, and triggering a list drawing instruction when the number of time slices corresponding to the target finance becomes zero.

[0129] In some embodiments, the obtaining unit 201, before the obtaining of the number of time slices corresponding to the target finance, is further configured to: reduce the number of time slices corresponding to the target finance.

[0130] In some embodiments, the target content includes cell data and cell background, and the displaying unit 203, when displaying the target content of the redrawn target cell, is further configured to:

[0131] if the target content indicates that the price of the target finance rises, display the cell data and / or the cell background of the target cell based on a first preset display mode within a preset time period, the first preset display mode including any one of flashing display, background color change display, and cell data color change display;

[0132] if the target content indicates that the price of the target finance falls, display the cell data and / or the cell background of the target cell based on a second preset display mode within a preset time period, the second preset display mode including any one of flashing display, background color change display, and cell data color change display.

[0133] All the above technical solutions can be combined in any manner to form optional embodiments of the present application, which will not be described here again.

[0134] It should be understood that the device embodiments and the method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, it will not be described here again. Specifically, Figure 5 The device shown can perform the above financial market list display method embodiments, and the foregoing and other operations and / or functions of each unit in the device respectively realize the corresponding processes of the above method embodiments. For the sake of brevity, it will not be described here again.

[0135] In some embodiments, the embodiments of the present application also provide a computer device, including a memory and a processor, the memory stores a computer program, and the processor executes the computer program to realize the steps in the above method embodiments.

[0136] Correspondingly, the embodiments of the present application also provide a terminal device, which can be a terminal or a server. As shown, Figure 6 ​Figure 6 A structural schematic diagram of a terminal device is provided in the embodiments of the present application. The terminal device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art can understand that the terminal device structure shown in the figure does not constitute a limitation on the terminal device, and can include more or fewer components than shown in the figure, or combine certain components, or different component arrangements.

[0137] The processor 301 is the control center of the terminal device 300, and connects all parts of the terminal device 300 through various interfaces and lines. By running or loading the software programs and / or modules stored in the memory 302 and calling the data stored in the memory 302, the processor 301 performs various functions and processes data of the terminal device 300, thereby overall monitoring the terminal device 300.

[0138] In the embodiments of the present application, the processor 301 in the terminal device 300 will load the instructions corresponding to the processes of one or more application programs into the memory 302, and run the application programs stored in the memory 302 by the processor 301, thereby realizing various functions:

[0139] Obtain a list drawing instruction triggered based on a list update event, the list update event including an information update record of a target financial market in a financial market list; based on the list drawing instruction, determine a target cell corresponding to the target financial market in the financial market list, and call a cell drawer corresponding to the target cell to redraw target content of the target cell based on the information update record of the target financial market; and display the redrawn target content of the target cell in the financial market list displayed on a display interface.

[0140] The specific implementation of each operation can be referred to the foregoing embodiments, which will not be described here.

[0141] In some embodiments, as shown in Figure 6 The terminal device 300 further includes a display unit 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the display unit 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art can understand that the terminal device structure shown in the figure does not constitute a limitation on the terminal device, and can include more or fewer components than shown in the figure, or combine certain components, or different component arrangements. Figure 6 The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and can include more or fewer components than shown in the figure, or combine certain components, or different component arrangements.

[0142] The display unit 303 can be used to display information input by a user or information provided to the user, as well as various graphical user interfaces of the terminal device, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 303 can include a display panel and a touch panel.

[0143] The radio frequency circuit 304 can be used to transceive radio frequency signals to establish wireless communication with a network device or other terminal device, and transceive signals between the network device or other terminal device.

[0144] The audio circuit 305 can be used to provide an audio interface between a user and the terminal device through a speaker and a microphone. The audio circuit 305 can convert received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal for output. On the other hand, the microphone collects a sound signal and converts it into an electrical signal, which is received by the audio circuit 305 and converted into audio data. The audio data is then output to the processor 301 for processing, and then transmitted to another terminal device via the radio frequency circuit 304, or output to the memory 302 for further processing. The audio circuit 305 can also include an earphone jack to provide communication between an external earphone and the terminal device.

[0145] The input unit 306 can be used to receive inputted digital, character information or user feature information (such as fingerprint, iris, facial information, etc.), as well as keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0146] The power supply 307 is used to supply power to each component of the terminal device 300. In some embodiments, the power supply 307 can be logically connected to the processor 301 through a power management system, so that functions such as charge management, discharge management, and power consumption management can be realized through the power management system. The power supply 307 can also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.

[0147] Although Figure 6 The terminal device 300 can also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which are not shown in the figure.

[0148] The specific implementation of each operation can refer to the previous embodiments, which will not be repeated here.

[0149] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by relevant hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0150] To this end, the embodiments of the present application provide a computer readable storage medium, which stores a plurality of computer programs. The computer programs can be loaded by a processor to perform the steps in any of the financial market list display methods provided by the embodiments of the present application.

[0151] The specific implementation of the above operations can refer to the foregoing embodiments, which will not be described here.

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

[0153] Since the computer programs stored in the storage medium can perform the steps in any of the financial market list display methods provided by the embodiments of the present application, the beneficial effects of any of the financial market list display methods provided by the embodiments of the present application can be achieved. Details can be found in the foregoing embodiments, which will not be described here.

[0154] The present application also provides a computer program product, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium. The processor executes the computer instructions, so that the computer device performs the corresponding processes in the financial market list display method in the embodiments of the present application. For brevity, details will not be described here.

[0155] The present application also provides a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium. The processor executes the computer instructions, so that the computer device performs the corresponding processes in the financial market list display method in the embodiments of the present application. For brevity, details will not be described here.

[0156] The financial market list display method, device, storage medium and equipment provided by the embodiments of the present application are described in detail above, and the principles and implementation manners of the present application are described by applying specific examples. The above embodiment description is only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range will be changed, and the above description should not be understood as a limitation on the present application.

Claims

1. A method for displaying a financial quote list, characterized by, The method comprises: acquiring a list drawing instruction triggered based on a list update event, the list update event comprising information update records for a target financial market in a financial market list; based on the list drawing instruction, determining a target cell corresponding to the target financial market in the financial market list, and calling a cell drawer corresponding to the target cell to redraw target content of the target cell based on the information update records of the target financial market; in the financial market list displayed on a display interface, displaying the redrawn target content of the target cell; wherein the cell drawer comprises a list data module and a list content drawer, and the method further comprises: based on data changes in a neighboring preset time period, determining changed data; encapsulating the changed data and business logic for processing the list, and generating a unified interface to build the list data module, the list data module being configured to provide all information required for drawing for the list content drawer; and encapsulating the display mode of all list cell content to build the list content drawer.

2. The financial quote list display method of claim 1, wherein, The calling of the cell drawer corresponding to the target cell to redraw the content of the target cell based on the information update records of the target financial market comprises: calling the cell drawer corresponding to the target cell; based on the list data module in the cell drawer, providing list data of the target financial market, and based on the information update records in the list data of the target financial market, generating drawing content instruction information; based on the list content drawer in the cell drawer, redrawing the target content of the target cell according to the drawing content instruction information.

3. The financial quote list display method of claim 1, wherein, Before the acquiring of the list drawing instruction triggered based on the list update event, the method further comprises: when detecting a change in a financial market, generating a list update event; storing information update records for a target financial market in a financial market list in a flashing dictionary in the list update event; starting a timer, and whenever the timer expires, traversing the target financials in the flashing dictionary in which the financial market has changed; acquiring the number of time slices corresponding to the target financial, and when the number of time slices corresponding to the target financial becomes zero, triggering a list drawing instruction.

4. The financial quote list display method of claim 3, wherein, Before the acquiring of the number of time slices corresponding to the target financial, the method further comprises: decreasing the number of time slices corresponding to the target financial.

5. The financial quote list display method according to any one of claims 1 to 4, wherein, The target content comprises cell data and cell background, and when displaying the redrawn target content of the target cell, the method further comprises: if the target content indicates that the price of the target financial has risen, displaying the cell data and / or the cell background of the target cell based on a first preset display mode in a preset time period, the first preset display mode comprising any one of flashing display, background color change display, and cell data color change display. If the target content indicates a price drop of the target financial, the cell data and / or cell background of the target cell are displayed based on a second preset display mode in a preset time period, the second preset display mode including any one of flashing display, background color change display, and cell data color change display.

6. A financial market list display device characterized by comprising: The device comprises: An acquisition unit is configured to acquire a list drawing instruction triggered based on a list update event, the list update event including an information update record of a target financial market in a financial market list; A processing unit is configured to determine a target cell corresponding to the target financial market in the financial market list based on the list drawing instruction, and to call a cell drawer corresponding to the target cell to redraw target content of the target cell based on the information update record of the target financial market; A display unit is configured to display the redrawn target content of the target cell in the financial market list displayed on a display interface. The cell drawer comprises a list data module and a list content drawer, and the processing unit is further configured to determine changed data based on data changes in a preset adjacent time period, to encapsulate the changed data and business logic for processing the list, and to generate a unified interface to construct the list data module, the list data module being configured to provide all information required by the list content drawer for drawing, and to encapsulate display modes of all list cell contents to construct the list content drawer.

7. A computer readable storage medium characterized by The computer readable storage medium stores a computer program, and the computer program is adapted to be loaded by a processor to execute the financial market list display method according to any one of claims 1-5.

8. A computer device, comprising: The computer device comprises a processor and a memory, and the memory stores a computer program, and the processor is configured to execute the financial market list display method according to any one of claims 1-5 by calling the computer program stored in the memory.

Citation Information

Patent Citations

  • Device and method for positioning unit grid position in electronic form designated area

    CN101211334A

  • Operation method and application for quickly generating information form by adopting predefined layout component

    CN110609989A