Information display method and device, electronic equipment and computer medium
Patent Information
- Application Number
- CN202311732952.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2026-10-13
- Estimated Expiration
- 2043-12-15
AI Technical Summary
[0003]本公开实施例提供一种与相关技术不同的实现方案,以解决相关技术中信息展示效率较低的技术问题
[0023]本公开提供的当检测到针对目标企业对应企业信息的查看指令时,从业务服务器中获取所述目标企业对应的业务数据信息,所述业务数据信息包括多个时间点以及所述目标企业在所述多个时间点对应的多个营业额;根据所述业务数据信息构建目标坐标系,并基于所述目标坐标系以及所述业务数据信息在第一图层绘制所述业务数据信息对应的业务数据折线,以得到折线图层;确定所述业务数据折线中第一坐标点以及第二坐标点到所述目标坐标系对应横轴的第一垂线以及第二垂线;所述第一坐标点以及第二坐标点分别为所述业务数据折线中最早时间点对应营业额以及最晚时间点对应营业额在目标坐标系中的坐标点;根据第一预设颜色,在第二图层中对所述横轴、所述业务数据折线、所述第一垂线和所述第二垂线围成的图层区域进行填充,以得到面积图层;根据所述目标坐标系,在第三图层绘制分割线,以得到分割线图层;将所述分割线图层、所述面积图层以及折线图层依次进行叠加,得到所述查看指令对应的企业信息图像,通过显示装置展示所述企业信息图像的方案,可利用业务数据信息中包括的多个时间点以及目标企业在所述多个时间点对应的多个营业额,绘制生成对应的折线图层、面积图层以及分割线图层,进而叠加生成对应的企业信息图像,可以通过多个图层展示更加丰富的信息,提高了数据的可读性,以及提高了信息展示效率。
Smart Images

Figure CN117708443B_ABST
Abstract
Description
Technical Field
[0001] This disclosure belongs to the field of display technology, and in particular relates to an information display method, device, electronic device and computer medium. Background Technology
[0002] In related technologies, the trend of changes in data such as a company's turnover over many years is usually displayed by showing the corresponding line chart on a solid color background. However, this display method is relatively simple and the display effect is monotonous, which may affect the readability of the data and thus lead to low information display efficiency. Summary of the Invention
[0003] This disclosure provides an implementation scheme that differs from related technologies, in order to solve the technical problem of low information display efficiency in related technologies.
[0004] Firstly, this disclosure provides an information display method, including:
[0005] When a viewing instruction for the target company's corresponding company information is detected, the business data information corresponding to the target company is obtained from the business server. The business data information includes multiple time points and multiple turnovers of the target company at the multiple time points.
[0006] A target coordinate system is constructed based on the business data information, and a business data polyline corresponding to the business data information is drawn on the first layer based on the target coordinate system and the business data information to obtain a polyline layer;
[0007] Determine the first and second perpendicular lines from the first and second coordinate points in the business data polyline to the corresponding horizontal axis of the target coordinate system; the first and second coordinate points are the coordinate points of the earliest and latest time points of the business data polyline in the target coordinate system, respectively.
[0008] Based on the first preset color, the area enclosed by the horizontal axis, the business data polyline, the first vertical line, and the second vertical line is filled in the second layer to obtain an area layer;
[0009] Based on the target coordinate system, draw the dividing lines on the third layer to obtain the dividing line layer;
[0010] The dividing line layer, the area layer, and the polyline layer are superimposed sequentially to obtain the enterprise information image corresponding to the viewing command, and the enterprise information image is displayed through a display device.
[0011] Secondly, this disclosure provides an information display device, including:
[0012] The acquisition unit is used to acquire business data information corresponding to the target enterprise from the business server when a viewing instruction for the target enterprise's corresponding enterprise information is detected. The business data information includes multiple time points and multiple turnovers of the target enterprise corresponding to the multiple time points.
[0013] A drawing unit is used to construct a target coordinate system based on the business data information, and draw a business data polyline corresponding to the business data information on a first layer based on the target coordinate system and the business data information to obtain a polyline layer;
[0014] The determining unit is used to determine the first perpendicular line and the second perpendicular line from the first coordinate point and the second coordinate point in the business data polyline to the corresponding horizontal axis of the target coordinate system; the first coordinate point and the second coordinate point are the coordinate points of the earliest time point corresponding to the turnover and the latest time point corresponding to the turnover in the target coordinate system, respectively.
[0015] A fill unit is used to fill the layer area enclosed by the horizontal axis, the business data polyline, the first vertical line and the second vertical line in the second layer according to the first preset color, so as to obtain an area layer;
[0016] The drawing unit is also used to draw dividing lines on the third layer according to the target coordinate system to obtain a dividing line layer;
[0017] The overlay unit is used to sequentially overlay the dividing line layer, the area layer, and the polyline layer to obtain the enterprise information image corresponding to the viewing instruction, and to display the enterprise information image through a display device.
[0018] Thirdly, this disclosure provides an electronic device, including:
[0019] Processor; and
[0020] Memory for storing the executable instructions of the processor;
[0021] The processor is configured to execute the first aspect and any of the methods in each possible implementation of the first aspect by executing the executable instructions.
[0022] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the first aspect and any of the methods in the possible implementations of the first aspect.
[0023] This disclosure provides that when a viewing instruction for a target company's corresponding company information is detected, business data information corresponding to the target company is obtained from a business server. The business data information includes multiple time points and multiple turnovers of the target company at those time points. A target coordinate system is constructed based on the business data information, and a business data polyline corresponding to the business data information is drawn on a first layer based on the target coordinate system and the business data information to obtain a polyline layer. A first perpendicular line and a second perpendicular line from a first coordinate point and a second coordinate point in the business data polyline to the corresponding horizontal axis of the target coordinate system are determined. The first coordinate point and the second coordinate point are respectively the coordinate points of the turnover corresponding to the earliest time point and the turnover corresponding to the latest time point in the business data polyline in the target coordinate system. Based on the first... A preset color is used to fill the area enclosed by the horizontal axis, the business data polyline, the first vertical line, and the second vertical line in the second layer to obtain an area layer. A dividing line is drawn in the third layer according to the target coordinate system to obtain a dividing line layer. The dividing line layer, the area layer, and the polyline layer are then superimposed sequentially to obtain the enterprise information image corresponding to the viewing command. This scheme, which displays the enterprise information image through a display device, utilizes multiple time points included in the business data information and multiple turnovers of the target enterprise at those time points to draw and generate corresponding polyline layers, area layers, and dividing line layers, which are then superimposed to generate the corresponding enterprise information image. This allows for the display of richer information through multiple layers, improving data readability and information display efficiency. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments or related technologies of this disclosure, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:
[0025] Figure 1 A schematic diagram of the structure of a system provided for an exemplary embodiment of this disclosure;
[0026] Figure 2 A flowchart illustrating an information display method provided as an exemplary embodiment of this disclosure;
[0027] Figure 3 This is a first schematic diagram of a target coordinate system provided in an embodiment of the present disclosure;
[0028] Figure 4 This is a schematic diagram of the structure of a stacked area layer provided in an embodiment of the present disclosure;
[0029] Figure 5 This is a flowchart illustrating a method for obtaining the horizontal and vertical coordinate values of a business data group according to an embodiment of this disclosure.
[0030] Figure 6 A flowchart illustrating a method for determining intersection coordinates according to an embodiment of this disclosure;
[0031] Figure 7 This is a second schematic diagram of a target coordinate system provided in an embodiment of the present disclosure;
[0032] Figure 8 This is a schematic diagram of the structure of an information display device provided in an embodiment of the present disclosure;
[0033] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0034] Embodiments of this disclosure are described in detail below, with examples of these embodiments illustrated in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting it.
[0035] The terms "first" and "second," etc., used in the specification, claims, and drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the present disclosure described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0036] First, some terms used in the embodiments of this disclosure will be explained below to facilitate understanding by those skilled in the art.
[0037] An area map, also known as a region map, emphasizes the extent to which quantities change over time and can also be used to draw attention to trends in total value.
[0038] In related technologies, the trend of a company's turnover and other data over many years is usually displayed as a line chart on a solid-color background. However, this display method is relatively simple and monotonous, which may affect the readability of the data and thus lead to low information display efficiency. Therefore, this disclosure provides an information display method, apparatus, electronic device, and computer medium to solve the technical problem of low information display efficiency in related technologies.
[0039] The technical solutions of this disclosure and how they solve the aforementioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this disclosure will now be described with reference to the accompanying drawings.
[0040] Figure 1 This is a schematic diagram of the structure of a system provided for an exemplary embodiment of the present disclosure. The structure includes a terminal device 11 and a service server 12, wherein the terminal device 11 and the service server 12 are connected via a network, such as a wired or wireless network connection.
[0041] Terminal device 11 is configured to: when a viewing instruction for the enterprise information corresponding to the target enterprise is detected, retrieve business data information corresponding to the target enterprise from business server 12, the business data information including multiple time points and multiple turnovers of the target enterprise corresponding to the multiple time points; construct a target coordinate system based on the business data information, and draw a business data polyline corresponding to the business data information on a first layer based on the target coordinate system and the business data information to obtain a polyline layer; determine the first perpendicular line and the second perpendicular line from the first coordinate point and the second coordinate point in the business data polyline to the corresponding horizontal axis of the target coordinate system. The first and second coordinate points are respectively the coordinates of the earliest and latest time points of the turnover in the business data polyline in the target coordinate system; according to the first preset color, the layer area enclosed by the horizontal axis, the business data polyline, the first vertical line, and the second vertical line is filled in the second layer to obtain an area layer; according to the target coordinate system, a dividing line is drawn in the third layer to obtain a dividing line layer; the dividing line layer, the area layer, and the polyline layer are superimposed in sequence to obtain the enterprise information image corresponding to the viewing instruction, and the enterprise information image is displayed through a display device.
[0042] The business server 12 is used to send business data information corresponding to the target enterprise to the terminal device 11.
[0043] The aforementioned business server 12 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms; the terminal device 11 can be a smartphone, tablet computer, laptop computer, smart voice interaction device, smart home appliance, etc., and the terminal device 11 includes a display device.
[0044] The specific execution principles and interaction processes in this system embodiment can be found in the descriptions of the following method embodiments.
[0045] Figure 2 This is a flowchart illustrating an exemplary embodiment of an information display method provided by the present disclosure. The method is applicable to the aforementioned terminal device 11 and includes at least the following steps S11-S17:
[0046] S11. When a viewing instruction for the corresponding enterprise information of the target enterprise is detected, the business data information corresponding to the target enterprise is obtained from the business server. The business data information includes multiple time points and multiple turnovers of the target enterprise at the multiple time points.
[0047] In some embodiments, a relevant application may be installed on the terminal device, which includes a display page. Users of the terminal device can trigger a viewing command by clicking a preset button on the display page to view the enterprise information corresponding to the target enterprise.
[0048] In some embodiments, the enterprise information corresponding to the target enterprise may include the target enterprise's business data, where time points and turnover correspond one-to-one. Multiple time points can be multiple years, multiple quarters, or multiple months, etc. In addition, the enterprise information corresponding to the target enterprise may also include the target enterprise's basic information (such as enterprise name, registered address, establishment date, enterprise type, etc.).
[0049] In some embodiments, the business data information may include multiple business data groups, each business data group including a point in time and the corresponding turnover at that point in time.
[0050] S12. Construct a target coordinate system based on the business data information, and draw the business data polyline corresponding to the business data information on the first layer based on the target coordinate system and the business data information to obtain the polyline layer;
[0051] In some embodiments, business data line graphs can be used to characterize the changing trends of the target enterprise's revenue at multiple points in time.
[0052] The target coordinate system refers to the target coordinate system applied in multiple layers such as the first layer, the second layer, and the third layer, which is used to assist in drawing polylines, area charts, and dividing lines.
[0053] In some optional embodiments provided in this disclosure, in S12, a target coordinate system is constructed based on the business data information, including S121-S123:
[0054] S121. Determine the time span corresponding to the business data information based on the time points of each business data group in the business data information;
[0055] In some embodiments, in S121, determining the time span corresponding to the business data information based on the time points of each business data group in the business data information includes:
[0056] Retrieve multiple time points from multiple business data information;
[0057] The time interval between the latest and earliest times among the multiple time points is taken as the time span corresponding to the business data information.
[0058] For example, suppose the business data includes the monthly revenue of target company A from January to July 2022. Specifically, target company A's revenue in January was 50,000 yuan, in February it was 90,000 yuan, in March it was 110,000 yuan, in April it was 125,000 yuan, in May it was 150,000 yuan, in June it was 175,000 yuan, and in July it was 200,000 yuan. The data includes multiple time points: January 2022, February 2022, March 2022, April 2022, May 2022, June 2022, and July 2022. The figures of 50,000 yuan, 90,000 yuan, 110,000 yuan, 125,000 yuan, 150,000 yuan, 175,000 yuan, and 200,000 yuan represent different revenue figures for each of these time points. The latest time point is July 2022, and the earliest is January 2022. Therefore, the time span corresponding to the business data information is from January to July 2022.
[0059] S122. Determine the revenue span corresponding to the business data information based on the revenue of each business data group in the business data information;
[0060] In some embodiments, in S122, determining the revenue span corresponding to the business data information based on the revenue of each business data group in the business data information includes:
[0061] Retrieve multiple revenue figures from multiple business data points;
[0062] The revenue range between the highest and lowest revenue among the multiple revenues is taken as the revenue span corresponding to the business data information.
[0063] Taking the above example, among the various revenue figures for target company A from January to July 2022, the highest revenue was 200,000 yuan and the lowest revenue was 50,000 yuan. The revenue range between the highest and lowest revenues is [50,000, 200,000] yuan, which means that the revenue span corresponding to the business data information is [50,000, 200,000] yuan.
[0064] S123. Construct an initial coordinate system. Determine the time value of the horizontal axis coordinate point and the turnover value of the vertical axis coordinate point corresponding to the initial coordinate system based on the time span and the turnover span to obtain the target coordinate system.
[0065] For the initial horizontal axis in the initial coordinate system, the time span can be defined as the time range included by the initial horizontal axis. Furthermore, based on the number of time points included in the business data information, multiple first coordinate points corresponding to multiple time points can be determined in the initial horizontal axis, with a one-to-one correspondence between each time point and a first coordinate point. The horizontal coordinate of the first coordinate point represents the corresponding time point, and the vertical coordinate is 0. For example... Figure 3 , Figure 3 This is a schematic diagram of the target coordinate system provided in an embodiment of the present disclosure. Taking the above example, the time span corresponding to the business data information is from January to July 2022. Therefore, the initial horizontal axis can be made to include the time range from January to July 2022. Furthermore, the business data information includes 7 time points, so 7 first coordinate points corresponding to the 7 time points can be determined in the initial horizontal axis.
[0066] For the initial vertical axis in the initial coordinate system, the sales span can be defined as the range of sales included by the initial vertical axis. Further, based on the sales range, multiple second coordinate points corresponding to multiple sales can be determined on the initial vertical axis. Optionally, the sales range can be divided into multiple sales sub-ranges, and then multiple second coordinate points can be determined on the initial vertical axis based on these multiple sales sub-ranges. These second coordinate points are used to divide the sales range on the initial vertical axis into multiple sales sub-ranges. See also... Figure 3If the revenue span corresponding to the business data information is [50,000, 200,000] yuan, then the initial vertical axis can be set to include the revenue range of 50,000 yuan to 200,000 yuan. Further, the revenue range of 50,000 yuan to 200,000 yuan can be divided into the following four sub-ranges:
[0067] [0,50000],(50000,100000],(100000,150000] and(150000,200000). Furthermore, the coordinates of multiple second coordinate points determined on the initial vertical axis based on multiple revenue sub-ranges are as follows:
[0068] (0,50000),(0,100000),(0,150000) and(0,200000).
[0069] By determining the time span and turnover span through business data information, specific parameters of the target coordinate system applied to each layer are then set based on the time span and turnover span, so that the target coordinate system can more accurately reflect the changes in time points and turnover in the business data information.
[0070] Once the target coordinate system is determined, it can be applied to various layers, such as the first layer for drawing the corresponding polylines of business data information, the second layer for drawing the corresponding area maps of business data information, and the third layer for drawing dividing lines, etc., to determine the coordinate values of each pixel on each layer, making it easier to draw enterprise information images on the layers.
[0071] In some optional embodiments provided in this disclosure, in S12, a business data polyline corresponding to the business data information is drawn on the first layer based on the target coordinate system and the business data information to obtain a polyline layer, including S124-S127:
[0072] In some embodiments, the first layer may be a layer with a second preset color.
[0073] S124. For each business data group in the business data information, determine the horizontal coordinate value of the business data group in the target coordinate system based on the time point in the business data group, and determine the vertical coordinate value of the business data group in the target coordinate system based on the turnover in the business data group.
[0074] In some embodiments, the horizontal and vertical coordinate values of the business data group in the target coordinate system can be obtained by the stacked area layer from the coordinate system drawing assistant drawHelper. Figure 4This is a schematic diagram of the structure of a stacked area layer provided in an embodiment of the present disclosure; the stacked area layer corresponding to the enterprise information image may include: a polyline layer, a background color area layer, a dividing line layer, a coordinate system drawing assistant, and a coordinate axis database. Figure 5 This is a flowchart illustrating a method for obtaining the horizontal and vertical coordinate values corresponding to a business data group according to an embodiment of this disclosure, as shown below. Figure 5 As shown, the stacked area layer can obtain the horizontal coordinate value of each business data group in the target coordinate system and the vertical coordinate value of the business data group in the target coordinate system from the coordinate system drawing assistant.
[0075] S125. Based on the horizontal coordinate value and the vertical coordinate value, determine the target point corresponding to the business data group in the first layer;
[0076] Specifically, the horizontal coordinate can be used as the horizontal coordinate of the target point corresponding to the business data group, and the vertical coordinate can be used as the vertical coordinate of the target point corresponding to the business data group, so as to determine the target point corresponding to the business data group.
[0077] S126. Determine the connection order of multiple target points corresponding to the multiple business data groups according to the size relationship of the multiple time points included in the multiple business data groups;
[0078] In some embodiments, multiple time points can be sorted from smallest to largest or from largest to smallest to obtain the size relationship of the multiple time points. Accordingly, the connection order of multiple target points can be in ascending order of time points or in descending order of time points.
[0079] S127. Based on the connection order, the multiple target points are connected sequentially in the first layer to obtain the business data polyline corresponding to the business data information, so as to obtain the polyline layer.
[0080] See also Figure 3 , Figure 3 Line 1 in the diagram can be the business data line corresponding to the business data information of target company A from January to July 2022, which includes the corresponding turnover of each month.
[0081] See Figure 4 , Figure 4 The stacked area layer can be used to connect the multiple target points sequentially in the first layer based on the connection order to obtain the business data polyline corresponding to the business data information, so as to obtain the polyline layer.
[0082] The above solution, by constructing an initial coordinate system and drawing business data polylines, can intuitively present business data information in the target coordinate system, making it easier for users to understand the data and analyze trends.
[0083] S13. Determine the first and second perpendicular lines from the first and second coordinate points in the business data polyline to the corresponding horizontal axis of the target coordinate system; the first and second coordinate points are the coordinate points of the earliest and latest time points of the business data polyline in the target coordinate system, respectively.
[0084] See Figure 3 In line 1, the earliest time point in January corresponds to a turnover of 50,000, so the coordinates of the first coordinate point are (1, 50,000). The latest time point in July corresponds to a turnover of 200,000, so the coordinates of the first coordinate point in the target coordinate system are (7, 200,000).
[0085] Figure 6 This is a flowchart illustrating a method for determining intersection coordinates according to an embodiment of this disclosure, as shown below. Figure 6 As shown, the stacked area layer can obtain the coordinates of the first intersection point (foot of the perpendicular) of the first perpendicular line with the horizontal axis of the target coordinate system and the coordinates of the second intersection point (foot of the perpendicular) of the second perpendicular line with the horizontal axis of the target coordinate system through the coordinate axis database. Then, the vertical coordinates corresponding to the first and second intersection points can be obtained through the "Coordinate System Drawing Assistant". The area layer can then be drawn based on the horizontal axis, the business data polyline, the first perpendicular line and the second perpendicular line.
[0086] S14. According to the first preset color, fill the layer area enclosed by the horizontal axis, the business data polyline, the first vertical line and the second vertical line in the second layer to obtain the area layer.
[0087] See Figure 3 , Figure 3 The layer area L1 in the text refers to the layer area enclosed by the horizontal axis, the business data polyline (polyline 1), the first vertical line, and the second vertical line.
[0088] In some embodiments, the layer area can be adjusted according to a first preset color during filling. When there are multiple target companies, different preset colors can be used to fill the layer areas determined based on the business data information of different target companies.
[0089] Understandably, the overlay display of a line layer and an area layer drawn from the line data corresponding to the line layer can produce an area map of the target company's business data information, which can represent the changes in the target company's business data information over time.
[0090] S15. Draw dividing lines on the third layer according to the target coordinate system to obtain the dividing line layer;
[0091] In some embodiments, the first layer, the second layer, and the third layer are all different, and the third layer may also be a transparent layer.
[0092] In some optional embodiments provided in this disclosure, in S15, a dividing line is drawn on the third layer according to the target coordinate system to obtain a dividing line layer, including S151-S153:
[0093] S151, Obtain the preset step size;
[0094] In some embodiments, the preset step size can be flexibly set according to needs. For example, the preset step size can be the step size corresponding to each of the above-mentioned multiple revenue sub-ranges. Figure 3 The preset step size is 50,000 (yuan).
[0095] S152. Based on the preset step size and the origin of the target coordinate system, determine multiple target segmentation points on the vertical axis of the target coordinate system;
[0096] In some embodiments, the range between any two adjacent target segmentation points among the plurality of target segmentation points is the range corresponding to the preset step size. When the preset step size can be the step size corresponding to each of the plurality of revenue sub-ranges, the plurality of target segmentation points are the plurality of second coordinate points, with coordinates of (0, 50000), (0, 100000), (0, 150000), and (0, 200000).
[0097] S153. For each of the plurality of target segmentation points, draw a segmentation line parallel to the horizontal axis of the target coordinate system from the target segmentation point in the third layer to obtain a segmentation line layer.
[0098] See Figure 3 , Figure 3 In this context, d1, d2, d3, and d4 are the dividing lines parallel to the horizontal axis of the target coordinate system.
[0099] S16. The dividing line layer, the area layer, and the polyline layer are superimposed sequentially to obtain the enterprise information image corresponding to the viewing instruction, and the enterprise information image is displayed through a display device.
[0100] In some embodiments, the dividing line layer, the area layer, and the polyline layer are all the same size and shape. The polyline layer can be used as a background layer and placed at the bottom of multiple layers, while the dividing line layer can be used as the topmost layer and placed at the top of multiple layers.
[0101] The above solution, by drawing dividing lines in the third layer, clearly displays different revenue ranges in the coordinate system, facilitating user understanding of the business data information corresponding to the area chart and trend analysis based on the area chart. Furthermore, by overlaying the dividing line layer on top of the line layer and the area layer drawn from the line data corresponding to the line layer, a transparency effect can be achieved in the area chart. Preset step sizes can be flexibly set according to requirements to meet the needs of different businesses. In addition, the dividing line layer, area layer, and line layer can be developed as independent modules, facilitating integration into other systems and improving maintenance efficiency.
[0102] In some optional embodiments provided in this disclosure, in S16, the enterprise information image is displayed via a display device, including S161-S164:
[0103] S161. Obtain first size information of the enterprise information image and second size information of the display device;
[0104] In some embodiments, the display device is included in the aforementioned terminal equipment, and may specifically be a display screen, such as an LED screen. The first size information may be the height and width of the enterprise information image. The second size information may be the height and width of the display device.
[0105] S162. Based on the first size information and the second size information, determine the ratio of the enterprise information image to the display device;
[0106] In some embodiments, the ratio may include: a first sub-ratio of the height of the enterprise information image to the height of the display device, and a second sub-ratio of the width of the enterprise information image to the width of the display device.
[0107] S163. Based on the ratio and preset display position information, determine the multiple second pixels corresponding to the multiple first pixels in the enterprise information image in the display device;
[0108] In other words, the mapping of multiple first pixels in the enterprise information image to multiple second pixels in the display device can be achieved by interpolation algorithms or other image scaling techniques in related technologies, which will not be elaborated here.
[0109] S164. Based on the plurality of second pixels, render a display page containing the enterprise information image in the display device to display the enterprise information image.
[0110] In some embodiments, a display page containing the enterprise information image can be rendered by converting the mapped second pixel point into actual pixel coordinates in the display device and drawing an image at those coordinates, thereby displaying the enterprise information image.
[0111] In some optional embodiments provided in this disclosure, when the ratio is greater than a preset threshold, the display page further includes a sliding control, and the method further includes S171-S174:
[0112] S171. When it is detected that the sliding control is being dragged, obtain the dragging direction and dragging distance;
[0113] S172. Based on the dragging direction and the dragging distance, determine the target display position information after dragging;
[0114] S173. Based on the ratio and the target display position information, determine the multiple third pixel points corresponding to the multiple first pixel points in the enterprise information image in the display device;
[0115] S174. Based on the plurality of third pixels, render a display page containing the enterprise information image in the display device to display the enterprise information image.
[0116] In some embodiments, users can drag and slide controls using their hands or a mouse.
[0117] In some embodiments, the dragging direction can be left or right.
[0118] In some embodiments, the mapped third pixel can be converted into actual pixel coordinates in the display device to render a display page containing the undisplayed portion of the company information image, thereby showcasing the complete company infographic. This solution can adapt to display devices of different sizes and company information images. By automatically adjusting the display position according to the size of the display device and image, a good display effect can be ensured on display devices of different sizes.
[0119] This solution can automatically adjust the display position and size of the company information image on the display device based on the size information of the company information image and the display device, thus improving the flexibility of the display effect.
[0120] In some optional embodiments provided in this disclosure, when there are multiple target enterprises, there are multiple business data information. The first layer includes multiple superimposed sub-layers, and the multiple layer areas corresponding to the multiple business data information are contained in different sub-layers among the multiple sub-layers. The multiple fill colors corresponding to the multiple layer areas are all different.
[0121] In other words, when there are multiple target enterprises, there are multiple types of business data information. For each piece of business data information, a target coordinate system can be constructed first based on all the business data information. Then, based on the target coordinate system and any sub-layer included in the first layer, a business data polyline corresponding to the business data information can be drawn to obtain a corresponding sub-polyline layer, thereby obtaining the multiple sub-polyline layers. The multiple sub-polyline layers are superimposed to form the aforementioned polyline layer.
[0122] For each business data information, a first perpendicular line and a second perpendicular line from the first coordinate point and a second coordinate point in the business data polyline to the corresponding horizontal axis of the target coordinate system are determined; the first coordinate point and the second coordinate point are respectively the coordinate points of the earliest time corresponding to the turnover and the latest time corresponding to the turnover in the business data polyline in the target coordinate system; then, according to the first preset color, the layer area enclosed by the horizontal axis, the business data polyline, the first perpendicular line and the second perpendicular line is filled in the second layer to obtain a sub-area layer, and thus multiple sub-area layers can be obtained, and the multiple sub-area layers can be superimposed to form the above-mentioned area layer.
[0123] Furthermore, the dividing line layer, the area layer including multiple sub-area layers, and the line layer including multiple sub-line layers can be superimposed sequentially to obtain the enterprise information image corresponding to the viewing instruction, and the enterprise information image can be displayed through a display device.
[0124] In some embodiments, when the number of target enterprises is multiple, the area layer may further include a legend color area layer (such as...). Figure 4 The legend color area layer can be used to display legends, which can help users understand the meaning of different colors in corporate information images.
[0125] Figure 7 This is a second schematic diagram of a target coordinate system provided in an embodiment of the present disclosure, as shown below. Figure 7The number of target companies is multiple, such as two. The number of business data information is two. In addition to the monthly turnover of target company A from January to July 2022, it can also include the monthly turnover of target company B from January to July 2022. Specifically, the turnover of target company B in January is 20,000 yuan, the turnover in February is 50,000 yuan, the turnover in March is 75,000 yuan, the turnover in April is 62,500 yuan, the turnover in May is 100,000 yuan, the turnover in June is 125,000 yuan, and the turnover in July is 150,000 yuan. Among them, January 2022, February 2022, March 2022, April 2022, May 2022, June 2022, and July 2022 are multiple time points, and 20,000 yuan, 50,000 yuan, 75,000 yuan, 62,500 yuan, 100,000 yuan, 125,000 yuan, and 150,000 yuan are multiple turnovers corresponding to multiple time points. Figure 7 Line 2 in the diagram represents the business data line corresponding to the monthly revenue of target company B from January to July 2022. Layer region L2 is the layer region enclosed by the horizontal axis, the business data line (line 2), the first vertical line, and the second vertical line. A sub-area layer can be obtained by filling the layer region (L2) enclosed by the horizontal axis, the business data line (line 2), the first vertical line, and the second vertical line with a second preset color different from the first preset color.
[0126] In other words, when there are multiple target enterprises, there are multiple types of business data information. For each piece of business data information, a target coordinate system can be constructed based on the business data information, and a business data polyline corresponding to the business data information can be drawn based on the target coordinate system and any sub-layer included in the first layer to obtain a corresponding sub-polyline layer, thereby obtaining the multiple sub-polyline layers. The multiple sub-polyline layers are superimposed to form the aforementioned polyline layer.
[0127] For each business data information, determine the first and second perpendicular lines from the first and second coordinate points in the business data polyline to the corresponding horizontal axis of the target coordinate system; the first and second coordinate points are respectively the coordinate points of the earliest and latest time points of the business data polyline corresponding to the turnover in the target coordinate system; then, according to the first preset color, fill the layer area enclosed by the horizontal axis, the business data polyline, the first perpendicular line, and the second perpendicular line in the second layer to obtain a sub-area layer, and thus obtain multiple sub-area layers, which can be superimposed to form the above-mentioned area layer.
[0128] Furthermore, the dividing line layer, the area layer including multiple sub-area layers, and the line layer including multiple sub-line layers can be superimposed sequentially to obtain the enterprise information image corresponding to the viewing instruction, and the enterprise information image can be displayed through a display device.
[0129] In some embodiments, when the number of target enterprises is multiple, the area layer may further include a legend color area layer (such as...). Figure 4 The legend color area layer can be used to display legends (such as...). Figure 7 The illustrations can help users understand the meaning of different colors in corporate information images.
[0130] In some optional embodiments provided in this disclosure, after detecting a viewing instruction for the target company's corresponding company information, the company information corresponding to the target company and the target user's account information can also be obtained. The company information refers to information such as the company name, company logo, and industry sector to which the company belongs. The target user refers to the user currently logged into the corresponding application who triggered the viewing instruction by clicking a preset button on the display page. The account information includes relevant information about the target user's account, such as financial product information about the stocks held in the account, such as stock information, fund information, etc. After obtaining the company information corresponding to the target company and the target user's account information, similar companies to the target company can be obtained first based on the target company's company information. For example, companies belonging to the same industry sector as the target company can be obtained as similar companies. Then, the target company is filtered from the similar companies based on the financial product information in the target user's account information. Specifically, the target company can be filtered from the similar companies using the following formula:
[0131]
[0132] Among them, IN ent IN represents the vector representation of similar companies' information (such as company names). stkThis represents the vector representation of financial product information (such as the name of the financial product); ||*|| represents the magnitude; cos(IN) ent IN stk This represents the similarity between information about similar companies and information about similar financial products. When cos(IN) = ... ent IN stk When the value is greater than the preset value, the similar enterprise can be identified as the target enterprise.
[0133] Finally, the target company and its counterpart are selected as the final target companies to generate corresponding company information images. Using the target company's information and the target user's account information, similar companies related to the target user are selected from the target company's industry sector as counterpart companies. The counterpart company's information image is displayed simultaneously with the target company's information image, facilitating user comparison of different target companies and counterpart companies, thus improving the efficiency of company information image display.
[0134] Specifically, a target coordinate system can be constructed first based on the business data information of the target company and the target enterprise. Then, for any target company or target enterprise, based on the constructed target coordinate system and the corresponding business data information, a line graph corresponding to the business data information is drawn in one layer to obtain the line graph layer of the target company, and an area layer of the target company is drawn in another layer. By repeating this step, the line graph layer and area layer corresponding to each target company or target enterprise can be obtained. It can be understood that the step of drawing the line graph corresponding to the business data information to obtain the line graph layer or area layer of the target company or target enterprise is the same as in the above embodiment, and will not be described in detail here. Subsequently, the line graph layer and area layer corresponding to each target company or target enterprise are used as a layer overlay unit. The line graph layer and the line graph layer and area layer of each target company or target enterprise can be overlaid and displayed in a preset order among the target companies or target enterprises to obtain the final enterprise information image. For example, if there are three target companies, namely Target Company A, Target Company B, and Target Company C, after obtaining the line layer and area layer corresponding to Target Company A, Target Company B, and Target Company C, the line layer, area layer of Target Company A, line layer of Target Company B, area layer of Target Company B, line layer of Target Company C, and area layer of Target Company C can be superimposed in the order of Target Company A, Target Company B, and Target Company C to obtain the final company information image.
[0135] This disclosure provides a method for obtaining business data information corresponding to a target enterprise from a business server when a viewing instruction for that enterprise is detected. The business data information includes multiple time points and multiple revenue figures for the target enterprise at those time points. A target coordinate system is constructed based on the business data information, and a business data polyline corresponding to the business data information is drawn on a first layer based on the target coordinate system and the business data information to obtain a polyline layer. A first perpendicular line and a second perpendicular line from a first coordinate point and a second coordinate point in the business data polyline to the corresponding horizontal axis of the target coordinate system are determined. The first coordinate point and the second coordinate point are the coordinates of the earliest and latest revenue figures in the business data polyline in the target coordinate system, respectively. The layer area enclosed by the horizontal axis, the business data polyline, the first perpendicular line, and the second perpendicular line is filled in the second layer according to a first preset color. The process involves: obtaining an area layer; drawing dividing lines on a third layer according to the target coordinate system to obtain a dividing line layer; and then sequentially overlaying the dividing line layer, the area layer, and the line layer to obtain the enterprise information image corresponding to the viewing instruction. This method of displaying the enterprise information image via a display device utilizes multiple time points included in the business data information and multiple turnovers of the target enterprise at those time points. Corresponding line layers, area layers, and dividing line layers are drawn on different layers, and then overlaid to generate a stacked area map, thus obtaining the enterprise information image. This effectively avoids the situation where area maps intersect due to multiple data points, improving the accuracy and efficiency of area map drawing. Furthermore, by using stacked area layers, multiple types of information can be displayed in the same coordinate system, such as dividing lines corresponding to coordinates, line charts corresponding to business data information, and legends, improving the richness and readability of the coordinate system and enhancing information display efficiency.
[0136] Figure 8 A schematic diagram of the structure of a data processing apparatus provided for an exemplary embodiment of this disclosure;
[0137] The device includes:
[0138] The acquisition unit 81 is used to acquire business data information corresponding to the target enterprise from the business server when a viewing instruction for the target enterprise's corresponding enterprise information is detected. The business data information includes multiple time points and multiple turnovers of the target enterprise corresponding to the multiple time points.
[0139] The drawing unit 82 is used to construct a target coordinate system based on the business data information, and draw the business data polyline corresponding to the business data information on the first layer based on the target coordinate system and the business data information to obtain the polyline layer;
[0140] The determining unit 83 is used to determine the first perpendicular line and the second perpendicular line from the first coordinate point and the second coordinate point in the business data polyline to the corresponding horizontal axis of the target coordinate system; the first coordinate point and the second coordinate point are the coordinate points of the earliest time point corresponding to the turnover and the latest time point corresponding to the turnover in the target coordinate system, respectively.
[0141] Fill unit 84 is used to fill the layer area enclosed by the horizontal axis, the business data polyline, the first vertical line and the second vertical line in the second layer according to the first preset color, so as to obtain an area layer;
[0142] The drawing unit 82 is further configured to draw dividing lines on the third layer according to the target coordinate system to obtain a dividing line layer;
[0143] The overlay unit 85 is used to sequentially overlay the dividing line layer, the area layer, and the polyline layer to obtain the enterprise information image corresponding to the viewing instruction, and to display the enterprise information image through a display device.
[0144] In some optional embodiments provided in this disclosure, the drawing unit 82, when used to construct a target coordinate system based on the business data information, is specifically used for:
[0145] Based on the time points of each business data group in the business data information, determine the time span corresponding to the business data information;
[0146] Based on the turnover of each business data group in the business data information, determine the turnover span corresponding to the business data information;
[0147] Construct an initial coordinate system, and determine the time value of the horizontal axis coordinate point and the turnover value of the vertical axis coordinate point according to the time span and the turnover span to obtain the target coordinate system.
[0148] In some optional embodiments provided in this disclosure, when the drawing unit 82 is used to draw dividing lines on the third layer according to the target coordinate system to obtain a dividing line layer, it is specifically used for:
[0149] Get the preset step size;
[0150] Based on the preset step size and the origin of the target coordinate system, multiple target segmentation points are determined on the vertical axis of the target coordinate system;
[0151] For each of the multiple target segmentation points, a segmentation line parallel to the horizontal axis of the target coordinate system is drawn from the target segmentation point in the third layer to obtain a segmentation line layer.
[0152] In some optional embodiments provided in this disclosure, when the drawing unit 82 is used to draw a business data polyline corresponding to the business data information on the first layer based on the target coordinate system and the business data information to obtain a polyline layer, it is specifically used for:
[0153] For each business data group in the business data information, the horizontal coordinate value of the business data group in the target coordinate system is determined according to the time point in the business data group, and the vertical coordinate value of the business data group in the target coordinate system is determined according to the turnover in the data group.
[0154] Based on the x-coordinate value and the y-coordinate value, determine the target point corresponding to the business data group in the first layer;
[0155] Based on the size relationship of the multiple time points included in the multiple business data groups, determine the connection order of the multiple target points corresponding to the multiple business data groups;
[0156] Based on the connection order, the multiple target points are connected sequentially in the first layer to obtain the business data polyline corresponding to the business data information, thus obtaining the polyline layer.
[0157] In some optional embodiments provided in this disclosure, when there are multiple target enterprises, there are multiple business data information. The first layer includes multiple superimposed sub-layers, and the multiple layer areas corresponding to the multiple business data information are contained in different sub-layers among the multiple sub-layers. The multiple fill colors corresponding to the multiple layer areas are all different.
[0158] In some optional embodiments provided in this disclosure, when the overlay unit is used to display the enterprise information image via a display device, it is specifically used for:
[0159] Acquire the first size information of the enterprise information image and the second size information of the display device;
[0160] Based on the first size information and the second size information, determine the ratio of the enterprise information image to the display device;
[0161] Based on the ratio and preset display position information, determine the multiple second pixels corresponding to the multiple first pixels in the enterprise information image on the display device;
[0162] Based on the plurality of second pixels, a display page containing the enterprise information image is rendered in the display device to display the enterprise information image.
[0163] In some optional embodiments provided in this disclosure, when the ratio is greater than a preset threshold, the display page further includes a sliding control, and the device is further used to:
[0164] When dragging of the slider is detected, obtain the dragging direction and dragging distance;
[0165] Based on the dragging direction and the dragging distance, determine the target display position information after dragging;
[0166] Based on the ratio and the target display location information, determine the multiple third pixels corresponding to the multiple first pixels in the enterprise information image on the display device;
[0167] Based on the plurality of third pixels, a display page containing the enterprise information image is rendered in the display device to display the enterprise information image.
[0168] It should be understood that the device embodiments and method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, they will not be repeated here. Specifically, the device can execute the above method embodiments, and the foregoing and other operations and / or functions of each module in the device correspond to the corresponding processes in the various methods in the above method embodiments, which will not be repeated here for the sake of brevity.
[0169] The apparatus of this disclosure embodiment has been described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that this functional module can be implemented in hardware, in software instructions, or in a combination of hardware and software modules. Specifically, the steps of the method embodiments in this disclosure can be completed by integrated logic circuits in the processor's hardware and / or by software instructions. The steps of the method disclosed in this disclosure embodiment can be directly embodied as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. Optionally, the software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps in the above method embodiments.
[0170] It is understood that in the specific embodiments of this disclosure, data related to business data and information are involved. When the above embodiments of this disclosure are applied to specific products or technologies, user permission, consent or authorization is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0171] Figure 9This is a schematic block diagram of an electronic device provided in an embodiment of this disclosure. The electronic device may include:
[0172] The system includes a memory 901 and a processor 902. The memory 901 stores computer programs and transfers the program code to the processor 902. In other words, the processor 902 can retrieve and run the computer programs from the memory 901 to implement the methods described in this embodiment.
[0173] For example, the processor 902 can be used to execute the above-described method embodiments according to instructions in the computer program.
[0174] In some embodiments of this disclosure, the processor 902 may include, but is not limited to:
[0175] General-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0176] In some embodiments of this disclosure, the memory 901 includes, but is not limited to:
[0177] Volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
[0178] In some embodiments of this disclosure, the computer program may be divided into one or more modules, which are stored in the memory 901 and executed by the processor 902 to perform the method provided in this disclosure. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the electronic device.
[0179] like Figure 9 As shown, the electronic device may further include:
[0180] Transceiver 903, which can be connected to processor 902 or memory 901.
[0181] The processor 902 can control the transceiver 903 to communicate with other devices; specifically, it can send information or data to other devices or receive information or data sent by other devices. The transceiver 903 may include a transmitter and a receiver. The transceiver 903 may further include antennas, and the number of antennas may be one or more.
[0182] It should be understood that the various components in the electronic device are connected through a bus system, which includes a data bus, a power bus, a control bus, and a status signal bus.
[0183] This disclosure also provides a computer storage medium storing a computer program thereon, which, when executed by a computer, enables the computer to perform the methods of the above-described method embodiments. Alternatively, embodiments of this disclosure also provide a computer program product containing instructions that, when executed by a computer, cause the computer to perform the methods of the above-described method embodiments.
[0184] When implemented using software, it can be implemented wholly or partially as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0185] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0186] In the embodiments provided in this disclosure, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0187] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. For example, the functional modules in the various embodiments of this disclosure may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0188] The above are merely specific embodiments of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.
Claims
1. An information display method, characterized in that, include: When a viewing instruction for the target company's corresponding company information is detected, the business data information corresponding to the target company is obtained from the business server. The business data information includes multiple time points and multiple turnovers of the target company at the multiple time points. A target coordinate system is constructed based on the business data information, and a business data polyline corresponding to the business data information is drawn on the first layer based on the target coordinate system and the business data information to obtain a polyline layer; Determine the first and second perpendicular lines from the first and second coordinate points in the business data polyline to the corresponding horizontal axis of the target coordinate system; the first and second coordinate points are the coordinate points of the earliest and latest time points of the business data polyline in the target coordinate system, respectively. Based on the first preset color, the area enclosed by the horizontal axis, the business data polyline, the first vertical line, and the second vertical line is filled in the second layer to obtain an area layer; Based on the target coordinate system, draw the dividing lines on the third layer to obtain the dividing line layer; The dividing line layer, the area layer, and the polyline layer are superimposed sequentially to obtain the enterprise information image corresponding to the viewing command, and the enterprise information image is displayed through a display device.
2. The method according to claim 1, characterized in that, The step of constructing the target coordinate system based on the business data information includes: Based on the time points of each business data group in the business data information, determine the time span corresponding to the business data information; Based on the turnover of each business data group in the business data information, determine the turnover span corresponding to the business data information; Construct an initial coordinate system, and determine the time value of the horizontal axis coordinate point and the turnover value of the vertical axis coordinate point corresponding to the initial coordinate system based on the time span and the turnover span, to obtain the target coordinate system.
3. The method according to claim 1, characterized in that, Based on the target coordinate system, draw dividing lines on the third layer to obtain a dividing line layer, including: Get the preset step size; Based on the preset step size and the origin of the target coordinate system, multiple target segmentation points are determined on the vertical axis of the target coordinate system; For each of the multiple target segmentation points, a segmentation line parallel to the horizontal axis of the target coordinate system is drawn from the target segmentation point in the third layer to obtain a segmentation line layer.
4. The method according to claim 1, characterized in that, The step of drawing a polyline corresponding to the business data information on a first layer based on the target coordinate system and the business data information to obtain a polyline layer includes: For each business data group in the business data information, the horizontal coordinate value of the business data group in the target coordinate system is determined according to the time point in the business data group, and the vertical coordinate value of the business data group in the target coordinate system is determined according to the turnover in the business data group. Based on the x-coordinate value and the y-coordinate value, the target point corresponding to the business data group is determined in the first layer; Based on the size relationship of the multiple time points included in the multiple business data groups, determine the connection order of the multiple target points corresponding to the multiple business data groups; Based on the connection order, the multiple target points are connected sequentially in the first layer to obtain the business data polyline corresponding to the business data information, thus obtaining the polyline layer.
5. The method according to claim 1, characterized in that, When there are multiple target enterprises, there are multiple business data information. The first layer includes multiple superimposed sub-layers. Multiple layer areas corresponding to multiple business data information are contained in different sub-layers of the multiple sub-layers. The multiple fill colors corresponding to the multiple layer areas are all different.
6. The method according to claim 1, characterized in that, Displaying the enterprise information image via a display device includes: Acquire the first size information of the enterprise information image and the second size information of the display device; Based on the first size information and the second size information, determine the ratio of the enterprise information image to the display device; Based on the ratio and preset display position information, determine the multiple second pixels corresponding to the multiple first pixels in the enterprise information image on the display device; Based on the plurality of second pixels, a display page containing the enterprise information image is rendered in the display device to display the enterprise information image.
7. The method according to claim 6, characterized in that, When the ratio is greater than a preset threshold, the display page also includes a sliding control, and the method further includes: When dragging of the slider is detected, obtain the dragging direction and dragging distance; Based on the dragging direction and the dragging distance, determine the target display position information after dragging; Based on the ratio and the target display location information, determine the multiple third pixels corresponding to the multiple first pixels in the enterprise information image on the display device; Based on the plurality of third pixels, a display page containing the enterprise information image is rendered in the display device to display the enterprise information image.
8. An information display device, characterized in that, include: The acquisition unit is used to acquire business data information corresponding to the target enterprise from the business server when a viewing instruction for the target enterprise's corresponding enterprise information is detected. The business data information includes multiple time points and multiple turnovers of the target enterprise corresponding to the multiple time points. A drawing unit is used to construct a target coordinate system based on the business data information, and draw a business data polyline corresponding to the business data information on a first layer based on the target coordinate system and the business data information to obtain a polyline layer; The determining unit is used to determine the first perpendicular line and the second perpendicular line from the first coordinate point and the second coordinate point in the business data polyline to the corresponding horizontal axis of the target coordinate system; the first coordinate point and the second coordinate point are the coordinate points of the earliest time point corresponding to the turnover and the latest time point corresponding to the turnover in the target coordinate system, respectively. A fill unit is used to fill the layer area enclosed by the horizontal axis, the business data polyline, the first vertical line and the second vertical line in the second layer according to the first preset color, so as to obtain an area layer; The drawing unit is also used to draw dividing lines on the third layer according to the target coordinate system to obtain a dividing line layer; The overlay unit is used to sequentially overlay the dividing line layer, the area layer, and the polyline layer to obtain the enterprise information image corresponding to the viewing instruction, and to display the enterprise information image through a display device.
9. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1-7 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-7.
Citation Information
Patent Citations
Broken line graph broken line segmentation method and device
CN108470350A
Package made of corrugated fiberboard
JP2010064756A