Data processing method and device, electronic equipment and storage medium

By acquiring and combining settled and unsettled business data, complete asset trend information is displayed, solving the problem of uncontrollable asset settlement results in existing technologies and improving the efficiency and experience of user information acquisition.

CN116127151BActive Publication Date: 2026-05-15FUTU NETWORK TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
FUTU NETWORK TECH (SHENZHEN) CO LTD
Filing Date
2022-12-30
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In existing technologies, asset settlement procedures are easily affected by external processes and holidays, resulting in uncontrollable settlement time. Users can only obtain limited information on the trend of existing assets and need to go through complex application procedures to obtain unsettled data, which is inefficient.

Method used

By acquiring the settled and unsettled business data of the target user and combining it with the identified target business information, the system feeds back to the terminal device to display complete asset trend information.

Benefits of technology

This allows users to instantly access complete asset trend information, improving the amount of information and display efficiency, and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116127151B_ABST
    Figure CN116127151B_ABST
Patent Text Reader

Abstract

The application discloses a data processing method and device, electronic equipment and a storage medium, wherein the method comprises: when receiving a first request for viewing first target asset trend information of a target user sent by a terminal device, obtaining first business information and second business information of the target user, the first business information comprising settled business data, and the second business information comprising unsettled business data; determining first target business information based on the first business information and the second business information; and feeding back the first target business information to the terminal device, so that the terminal device displays the first target asset trend information according to the first target business information, thereby increasing the amount of asset trend information provided to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of computer technology, and in particular relates to a data processing method, apparatus, electronic device and storage medium. Background Technology

[0002] In related technologies, asset settlement procedures can settle relevant business data information and update user asset information in the database based on the settlement results. However, since the settlement process is easily affected by external processes and holidays, the time to obtain settlement results is relatively uncontrollable. During the settlement process, only the existing user asset trend information in the database can be obtained and displayed to the user. If the user needs to obtain unsettled data, a complex and cumbersome application process is required, which is time-consuming and the efficiency of providing users with asset trend information is low. Summary of the Invention

[0003] This application provides an implementation scheme that differs from related technologies, in order to solve the technical problem of low efficiency in providing asset trend information to users in related technologies.

[0004] Firstly, this application provides a data processing method, including:

[0005] When a first request is received from a terminal device to view the trend information of a target user's first target asset, the first business information and the second business information of the target user are obtained. The first business information includes settled business data, and the second business information includes unsettled business data.

[0006] The first target business information is determined based on the first business information and the second business information;

[0007] The first target business information is fed back to the terminal device, so that the terminal device can display the trend information of the first target asset based on the first target business information.

[0008] Secondly, this application provides a data processing method, including:

[0009] When a first viewing instruction is detected for viewing the first target asset trend information of a target user, a first request is sent to the server to view the first target asset trend information of the target user. The first request is used to instruct the server to obtain the first business information and the second business information of the target user. The first business information includes settled business data, and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information.

[0010] Receive the first target service information fed back by the server;

[0011] Display the trend information of the first target asset based on the first target business information.

[0012] Thirdly, this application provides a data processing apparatus, comprising:

[0013] The acquisition unit is configured to acquire first business information and second business information of the target user when it receives a first request from a terminal device for viewing the trend information of the first target asset of the target user. The first business information includes settled business data and the second business information includes unsettled business data.

[0014] The determining unit is configured to determine the first target service information based on the first service information and the second service information;

[0015] The feedback unit is used to feed back the first target business information to the terminal device, so that the terminal device can display the trend information of the first target asset based on the first target business information.

[0016] Fourthly, this application provides a data processing apparatus, comprising:

[0017] The sending unit is configured to, when a first viewing instruction for viewing the first target asset trend information of a target user is detected, send a first request to the server for viewing the first target asset trend information of the target user. The first request is configured to instruct the server to obtain the first business information and the second business information of the target user. The first business information includes settled business data, and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information.

[0018] The receiving unit is used to receive the first target service information fed back by the server;

[0019] The display unit is used to display the trend information of the first target asset based on the first target business information.

[0020] Fifthly, this application provides an electronic device, comprising:

[0021] Processor; and

[0022] Memory for storing the executable instructions of the processor;

[0023] The processor is configured to execute the first aspect or any of the possible implementations of the first aspect by executing the executable instructions.

[0024] Sixthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the methods in the various possible implementations of the above aspects.

[0025] In a seventh aspect, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements any of the methods described in the various possible implementations of the above aspects.

[0026] The technical solution provided in this application, upon receiving a first request from a terminal device to view the trend information of a target user's first target asset, acquires the target user's first business information and second business information, wherein the first business information includes settled business data and the second business information includes unsettled business data; determines first target business information based on the first and second business information; and feeds back the first target business information to the terminal device, enabling the terminal device to display the first target asset trend information based on the first target business information. This solution can acquire unsettled business data and combine it with settled business data to obtain more comprehensive user asset trend information, thereby increasing the amount of information provided to the user and improving the efficiency of providing asset trend information to the user. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0028] Figure 1 A schematic diagram of the structure of a system provided for an exemplary embodiment of this application;

[0029] Figure 2 A flowchart illustrating a data processing method provided for an exemplary embodiment of this application;

[0030] Figure 3 A schematic diagram of a server provided in one embodiment of this application;

[0031] Figure 4 A schematic diagram illustrating the trend information of a first target asset provided in an embodiment of this application;

[0032] Figure 5 This is a schematic diagram illustrating the trend information of a second target asset provided in an embodiment of this application;

[0033] Figure 6 A schematic flowchart illustrating a data processing method provided in an embodiment of this application;

[0034] Figure 7 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;

[0035] Figure 8 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;

[0036] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0037] The embodiments of this application 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 application, and should not be construed as limiting this application.

[0038] The terms "first" and "second," etc., used in the specification, claims, and drawings of this application 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 application 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 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.

[0039] First, some terms used in the embodiments of this application will be explained below to facilitate understanding by those skilled in the art.

[0040] Flink is a framework and distributed processing engine for stateful computation on both unrestricted and restricted datasets. Flink is designed to run in all common cluster environments, performing computations at memory speeds and at any scale.

[0041] Change Data Capture (CDC) is a database-related architectural design pattern. Its core idea is to monitor and capture changes to the database (including the insertion, updating, and deletion of data or tables), record these changes in the order they occur, and write them to a message broker for other services to subscribe to and consume.

[0042] SQL (Structured Query Language) is a database language with multiple functions, including data manipulation and definition. This interactive language provides great convenience to users, and database management systems should fully utilize SQL to improve the quality and efficiency of computer application systems. SQL can not only be used independently in the terminal but also serve as a sub-language to effectively assist in other program design. In program applications, SQL can work with other programming languages ​​to optimize program functionality, thereby providing users with more comprehensive information.

[0043] Kafka is an open-source stream processing platform, a high-throughput distributed publish-subscribe messaging system that can process all action streams of data from consumers on a website.

[0044] Sliding Window is a sliding mechanism that allows windows to overlap within a streaming data stream, enabling smooth aggregation of incoming data.

[0045] The inventors discovered through research that in related technologies, the settlement process can settle business data information and update user asset information in the database based on the settlement results. However, because the settlement process is easily affected by external processes and holidays, the time to obtain the settlement results is relatively uncontrollable, ranging from 1-2 days to 3-5 days. During the settlement process, the server can only obtain user asset trend information from the database a few days ago and display it to the user. The amount of asset trend information provided to the user is relatively small. If the user needs to obtain unsettled data, a complex and cumbersome application process is required, which is time-consuming and results in a poor user experience. The efficiency of providing users with asset trend information is low.

[0046] This application provides a data processing method, apparatus, electronic device, and storage medium to solve the technical problems in related technologies, such as the inability to obtain business data information that is being settled, resulting in a small amount of asset trend information provided to users and low efficiency in providing asset trend information to users.

[0047] The technical solution of this application and how it solves the above-mentioned 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 described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0048] Figure 1 This is a schematic diagram of the structure of a system provided for an exemplary embodiment of this application. The structure includes a server 10 and a terminal device 11, which are connected via a network, such as a wired or wireless network.

[0049] Server 10 is used for:

[0050] When a first request is received from a terminal device to view the trend information of a target user's first target asset, the first business information and the second business information of the target user are obtained. The first business information includes settled business data, and the second business information includes unsettled business data.

[0051] The first target business information is determined based on the first business information and the second business information;

[0052] The first target business information is fed back to the terminal device, so that the terminal device can display the trend information of the first target asset based on the first target business information.

[0053] Terminal device 11 is used for:

[0054] When a first viewing instruction is detected for viewing the first target asset trend information of a target user, a first request is sent to the server to view the first target asset trend information of the target user. The first request is used to instruct the server to obtain the first business information and the second business information of the target user. The first business information includes settled business data, and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information.

[0055] Receive the first target service information fed back by the server;

[0056] Display the trend information of the first target asset based on the first target business information.

[0057] Server 10 can be a single server or a cluster of servers.

[0058] Terminal device 11 can be a smartphone, tablet computer, etc. Terminal device 11 can be used to display a graphical user interface, wherein the terminal device 11 is used to interact with the user through the graphical user interface, for example, by downloading, installing and running the corresponding client through the terminal device 11.

[0059] The execution principles and interaction processes of each component unit in this system embodiment, such as the server and terminal device, can be found in the descriptions of the following method embodiments.

[0060] Figure 2 This application provides a schematic flowchart of a data processing method for an exemplary embodiment of the present application. The method is applicable to the aforementioned server 10, such as... Figure 2 As shown, the method includes at least S21-S23:

[0061] S21. When a first request is received from a terminal device to view the first target asset trend information of a target user, the first business information and the second business information of the target user are obtained. The first business information includes settled business data, and the second business information includes unsettled business data.

[0062] Optionally, the target user can be any user among all users.

[0063] Optionally, the first business information may include multiple second asset data and multiple second update times for the multiple asset data.

[0064] Optionally, the second business information may include multiple first asset data and multiple first update times of the multiple first asset data.

[0065] Optionally, the interval between any two adjacent first update moments in the multiple first update moments can be flexibly set by relevant personnel. For example, the interval between any two adjacent first update moments in the multiple first update moments can be 60 seconds. Correspondingly, the interval between any two adjacent second update moments in the multiple second update moments can also be flexibly set by relevant personnel. The interval between any two adjacent first update moments and the interval between any two adjacent second update moments can be the same or different.

[0066] The interval between any first update time and its adjacent previous first update time is the same as the interval between the first update time and its adjacent next first update time.

[0067] The interval between any second update time and its adjacent previous second update time is the same as the interval between the second update time and its adjacent next second update time.

[0068] Optionally, the asset data in this application may be stock asset value, fund asset value, etc.

[0069] Optionally, the first asset data corresponds one-to-one with the first update time, and the first update time corresponding to the first asset data represents the settlement time of the first asset data.

[0070] Optionally, the second asset data corresponds one-to-one with the second update time, and the second update time corresponding to the second asset data represents the time when the second asset data was acquired.

[0071] Optionally, the first business information and the second business information can be stored in a first database, which can be set in the server.

[0072] Specifically, see Figure 3 , Figure 3This is a schematic diagram of a server provided in an embodiment of this application. Optionally, the server may include a first database, a second database, a settlement unit, and a preset stream computing engine.

[0073] Optionally, the settlement unit can be used to settle business data and store the settled business data (i.e., the first business information) in the first database.

[0074] Optionally, the second database is used to store transaction information of multiple users, wherein the transaction information may include transaction time, original amount before transaction, transaction amount and amount after transaction, and the transaction may include at least one of the following: buying stocks, selling stocks, buying funds.

[0075] Optionally, the preset stream computing engine is used to determine the second business information of multiple users based on the transaction information of multiple users stored in the second database.

[0076] Optionally, for obtaining the second business information of the target user, the method further includes S01-S02:

[0077] S01. Obtain the transaction information of the target user and store the transaction information in a preset message queue;

[0078] Optionally, it can receive continuously updated transaction information from the second database and continuously maintain the latest asset cross-section, i.e., the most recently updated asset data, within the preset stream computing engine; here, the upstream data update time field update_time can be used as the version basis for user asset data to achieve sequential updates of user assets.

[0079] Optionally, since transaction data may contain errors, the transaction information of the target user can be obtained using the Sliding Window method to reduce the amount of transaction information of the target user, thereby reducing the probability of inaccurate second business information caused by inaccurate transaction information.

[0080] S02. The transaction information in the preset message queue is processed using a preset stream computing engine to obtain the second business information.

[0081] Optionally, the aforementioned preset stream computing engine can be any of the following: FlinkCDC, FlinkSQL, and FlinkStreaming.

[0082] Optionally, the transaction information can be data from the upstream of the real-time data warehouse Kafka.

[0083] In some optional embodiments provided in this application, the second business information can also be processed, that is, the second business information can be processed second business information. Regarding the determination of the processed second business information, the method further includes S31-S32:

[0084] S31. Obtain the first preset cycle;

[0085] Optionally, the first preset period can be flexibly set by relevant personnel; for example, the first preset period can be 24 hours.

[0086] S32. Preprocess the second business information according to the first preset period to obtain the processed second business information;

[0087] In some optional implementations provided in this application, the second business information includes multiple first asset data and multiple first update times of the multiple first asset data, with each first asset data and each first update time corresponding one-to-one;

[0088] Optionally, in S32, the second service information is preprocessed according to the first preset period to obtain the processed second service information, including S321-S322:

[0089] S321. Based on the first preset period, determine a plurality of first target update times from the plurality of first update times;

[0090] Optionally, in S321, a plurality of first target update times are determined from the plurality of first update times according to the first preset period, including S3211-S3212:

[0091] S3211. Determine a first reference update time from the plurality of first update times;

[0092] Optionally, the first reference update time can be any one of the plurality of first update times. For example, the first reference update time can be 10:00 on November 11, 2022.

[0093] S3212. Select a plurality of first update times from the plurality of first update times whose interval with the first reference update time is an integer multiple of the first preset period as a plurality of first target update times.

[0094] Optionally, a timer can be used to select multiple first update times from the plurality of first update times whose interval with the first reference update time is an integer multiple of the first preset period as multiple first target update times, wherein the timer is included in the server.

[0095] When the first preset period is 24 hours and the first reference update time can be 10:00 on November 11, 2022, the plurality of first target update times can include T11-T14, where T11 is 10:00 on November 09, 2022, T12 is 10:00 on November 10, 2022, T13 is 10:00 on November 11, 2022, T14 is 10:00 on November 12, 2022, and T15 is 10:00 on November 13, 2022.

[0096] S322. Based on the multiple first target update times and the multiple target asset data updated at the multiple first target update times, determine the processed second business information.

[0097] Optionally, in S322, the processed second business information is determined based on the plurality of first target update times and the plurality of target asset data updated at the plurality of first target update times, including S3221-S3223:

[0098] S3221. The multiple target asset data updated at the multiple first target update times are taken as multiple first asset data;

[0099] S3222, The multiple first target update times are taken as multiple first update times of multiple first asset data;

[0100] S3223. The plurality of first asset data and the plurality of first update times of the plurality of first asset data are used as the processed second business information.

[0101] Optionally, the multiple target asset data updated at the multiple first target update times T11-T15 can be represented as CA11-CA15 respectively. Then, the processed second business information includes multiple first asset data CA11-CA15 and multiple first update times T11-T15 of multiple first asset data CA11-CA15.

[0102] Optionally, when the terminal device detects a first viewing instruction for viewing the first target asset trend information of the target user, it sends a first request to the server for viewing the first target asset trend information of the target user.

[0103] Optionally, the graphical user interface of the terminal device may display a relevant page, which includes a first virtual button. Clicking the first virtual button can trigger a first viewing instruction for the target user to view the trend information of the first target asset.

[0104] S22. Determine the first target service information based on the first service information and the second service information;

[0105] In some embodiments, in S22, determining the first target service information based on the first service information and the second service information includes:

[0106] The first business information and the second business information are used as the first target business information.

[0107] In other embodiments, in S22, determining the first target service information based on the first service information and the second service information includes: determining the first target service information based on the first service information and the processed second service information.

[0108] Optionally, the first business information includes multiple second asset data and multiple second update times of the multiple second asset data.

[0109] Optionally, the multiple second asset data included in the first business information can be represented as CA21-CA23, and multiple second update times T21-T23 of the multiple second asset data CA21-CA23.

[0110] Optionally, determining the first target service information based on the first service information and the processed second service information includes S221-S224:

[0111] S221. Obtain the latest second target update time among the plurality of second update times contained in the first service information;

[0112] S222. Determine a third target update time that is no later than the second target update time from the plurality of first target update times;

[0113] S223. Delete the second asset data updated at the third target update time and the third target update time from the second business information to obtain the updated second business information;

[0114] S224. Use the first service information and the updated second service information as the first target service information.

[0115] For example, assuming that the latest second target update time among the multiple second update times T21-T23 included in the first business information is T23, if the third target update times no later than the second target update time are determined from the multiple first target update times T11-T15, then the second asset data CA11, CA12, CA13 updated at the third target update times T11, T12, and T13, and the third target update times CA11, CA12, CA13 will be deleted, and the updated second business information will include the first update times T14 and T15, and the first asset data CA14 and CA15 updated at the first update times T14 and T15 respectively.

[0116] Furthermore, the first target business information includes multiple second update times T21-T23 included in the aforementioned first business information, and second asset data CA21-CA23 updated at multiple second update times T21-T23, as well as first update times T14 and T15 included in the updated second business information, and first asset data CA14 and CA15 updated at second update times T14 and T15.

[0117] S23. Feed back the first target business information to the terminal device, so that the terminal device can display the trend information of the first target asset based on the first target business information.

[0118] Optionally, the trend information of the first target asset can be a line chart. The horizontal axis of the trend information of the first target asset can be time, and the vertical axis can be the asset.

[0119] In some optional embodiments provided in this application, the method further includes S41-S43:

[0120] S41. Obtain the first display format corresponding to the first service information, wherein the first display format includes at least one of the following: first line thickness information, first line color information, first line category information, and first font information;

[0121] S42. Obtain the second display format corresponding to the second business information. The second display format includes at least one of the following: second line thickness information, second line color information, second line category information, and second font information.

[0122] Optionally, the first display format and the second display format are different.

[0123] Optionally, when the trend information of the first target asset can be a line graph, the first display format corresponding to the first business information is the display format of the line between the multiple second asset data; the second display format corresponding to the second business information is the display format of the line between the latest updated second asset data and the multiple first asset data in the second business information, and the display format of the line between the multiple first asset data.

[0124] Optionally, when the first display format includes first line color information and the second display format includes second line color information, the first line color information can be red and the second line color information can be blue.

[0125] Optionally, when the first display format includes first line category information and the second display format includes second line category information, the first line category information can be a solid line and the second line category information can be a dashed line.

[0126] S43. Send the first display format and the second display format to the terminal device, so that the terminal device displays the trend information of the first target asset according to the first display format and the second display format.

[0127] Optionally, when the second asset data CA21 is 300 yuan, the second asset data CA22 is 400 yuan, the second asset data CA23 is 600 yuan, and the first asset data CA14 is 100 yuan and CA15 is 300 yuan in the aforementioned first target business information, see [reference needed]. Figure 4 , Figure 4 This is a schematic diagram of the trend information of a first target asset provided in an embodiment of this application. The first display format corresponding to the first business information includes red and solid lines; the second display format corresponding to the second business information includes blue and dashed lines. That is, the broken line between the second asset data CA21 and the second asset data CA23 is displayed as a red solid line, the broken line between the latest updated second asset data CA23 in the second asset data and multiple first asset data CA14-CA15 in the second business information, and the broken line between the multiple first asset data CA14-CA15 are displayed as blue.

[0128] Optionally, the terminal device receives the first display format corresponding to the first service information and the second display format corresponding to the second service information sent by the server, and displays the trend information of the first target asset according to the first display format and the second display format.

[0129] In some optional embodiments provided in this application, the method further includes S51-S53 for displaying target asset trend information at different granularities:

[0130] S51. When a second request is received from a terminal device to view the trend information of the second target asset of the target user, the original business information corresponding to the first business information is obtained, wherein the original business information includes multiple third asset data and multiple third update times of the multiple third asset data, wherein the time interval between two adjacent third update times is less than the time interval between two adjacent second update times.

[0131] Optionally, the time interval between two adjacent third update times and the time interval between two adjacent second update times can be flexibly set. For example, the time interval between two adjacent third update times can be 60 seconds, and the time interval between two adjacent second update times can be 24 hours.

[0132] Optionally, regarding the determination of the first business information, the method further includes S511-S514:

[0133] S511, Obtain the second preset cycle;

[0134] S512. Based on the second preset period, determine a plurality of second update times from the plurality of third update times.

[0135] Optionally, in S512, a plurality of second update times are determined from the plurality of third update times according to the second preset period, including:

[0136] A second reference update time is determined from the plurality of third update times, wherein the second reference update time can be any one of the plurality of third update times;

[0137] Among the plurality of third update times, the plurality of third update times whose interval with the second reference update time is an integer multiple of the second preset period are taken as the plurality of second update times;

[0138] The multiple third asset data updated at the multiple second update times shall be referred to as the multiple second asset data;

[0139] The plurality of second asset data and the plurality of second update times of the plurality of second asset data are used as the first business information.

[0140] Optionally, the second preset period can be 24 hours, that is, the time interval between two adjacent second update times can be 24 hours.

[0141] S52. Determine the second target business information based on the original business information and the second business information;

[0142] Optionally, in S52, determining the second target service information based on the original service information and the second service information includes:

[0143] The original business information and the second business information are determined as the second target business information.

[0144] S53. Feed back the second target business information to the terminal device, so that the terminal device can display the trend information of the second target asset based on the second target business information.

[0145] Optionally, when the time interval between two adjacent third update times and the time interval between two adjacent first update times are both 60 seconds, the second target asset trend information is minute-level asset trend information.

[0146] Optionally, the time interval between two adjacent third update times and the time interval between two adjacent first update times can be appropriately increased to reduce the probability of inaccurate trend information of the second target asset caused by the third asset data and the first asset data.

[0147] See Figure 5 , Figure 5 This is a schematic diagram of the trend information of a second target asset provided in an embodiment of this application. The trend information of the second target asset can be a line graph. The horizontal axis of the trend information of the second target asset can be time (first update time / second update time), and the vertical axis can be asset (first asset data / second asset data). Figure 5 The broken line represents the changes in the target user's assets between time T21 and time T15.

[0148] Optionally, the graphical user interface of the terminal device may display a relevant page, which includes a second virtual button. Clicking the second virtual button can trigger a second viewing instruction for the target user to view the trend information of the second target asset.

[0149] Optionally, when a second viewing instruction is detected for viewing the second target asset trend information of the target user, a second request for viewing the second target asset trend information of the target user is sent to the server, the second request being used to instruct the server to provide feedback on the second business information.

[0150] The technical solution provided in this application, upon receiving a first request from a terminal device to view the trend information of a target user's first target asset, acquires the target user's first business information and second business information, wherein the first business information includes settled business data and the second business information includes unsettled business data; determines first target business information based on the first and second business information; and feeds back the first target business information to the terminal device, enabling the terminal device to display the first target asset trend information based on the first target business information. This solution can acquire unsettled business data and combine it with settled business data to obtain more comprehensive user asset trend information, thereby increasing the amount of information provided to the user and improving the efficiency of providing asset trend information to the user.

[0151] Since the time interval between two adjacent third update times and the time interval between two adjacent first update times can be flexibly set, such as both being set to 60 seconds, minute-level asset trend information can be provided to users. Furthermore, by adding corresponding tab pages and calling relevant interfaces, the front end can display minute-level asset trend information such as today's and the past 5 days to users, increasing the amount of asset trend information displayed to users and improving the flexibility for users to query asset trend information at different times, thereby enhancing the user experience.

[0152] Figure 6 This is a flowchart illustrating a data processing method according to an embodiment of the present application. The method is applicable to the aforementioned terminal device and includes steps S61-S63:

[0153] S61. When a first viewing instruction for viewing the first target asset trend information of a target user is detected, a first request for viewing the first target asset trend information of the target user is sent to the server. The first request is used to instruct the server to obtain the first business information and the second business information of the target user. The first business information includes settled business data, and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information.

[0154] S62. Receive the first target service information fed back by the server;

[0155] S63. Display the trend information of the first target asset based on the first target business information.

[0156] In some optional embodiments provided in this application, the first business information includes multiple second asset data and multiple second update times of the multiple second asset data, and the method further includes:

[0157] When a second viewing instruction is detected for viewing the trend information of the second target asset of the target user, a second request is sent to the server to view the trend information of the second target asset of the target user. The second request is used to instruct the server to obtain the original business information corresponding to the first business information. The original business information includes multiple third asset data and multiple third update times of the multiple third asset data. The time interval between two adjacent third update times is less than the time interval between two adjacent second update times. The second target business information is determined based on the original business information and the second business information.

[0158] Receive the second target service information fed back by the server;

[0159] Display the trend information of the second target asset based on the second target business information;

[0160] The second business information includes multiple first asset data and multiple first update times of the multiple first asset data.

[0161] In some optional embodiments provided in this application, the method further includes:

[0162] The server receives a first display format corresponding to the first service information and a second display format corresponding to the second service information; wherein the first display format includes at least one of the following: first line thickness information, first line color information, first line category information, and first font information; and the second display format includes at least one of the following: second line thickness information, second line color information, second line category information, and second font information.

[0163] The trend information of the first target asset is displayed according to the first display format and the second display format.

[0164] For details on the specific implementation of this data processing method, please refer to the foregoing content, which will not be repeated here.

[0165] Figure 7 A schematic diagram of the structure of a data processing apparatus provided for an exemplary embodiment of this application; wherein the apparatus 70 includes:

[0166] The acquisition unit 71 is configured to acquire first business information and second business information of the target user when it receives a first request from the terminal device for viewing the first target asset trend information of the target user. The first business information includes settled business data and the second business information includes unsettled business data.

[0167] Determining unit 72 is used to determine first target service information based on the first service information and the second service information;

[0168] Feedback unit 73 is used to feed back the first target business information to the terminal device, so that the terminal device can display the trend information of the first target asset based on the first target business information.

[0169] In some optional embodiments provided in this application, the device 70 is further used for:

[0170] Obtain the first preset period;

[0171] The second business information is preprocessed according to the first preset period to obtain the processed second business information.

[0172] Determining the first target business information based on the first business information and the second business information includes: determining the first target business information based on the first business information and the processed second business information.

[0173] In some optional embodiments provided in this application, the second business information includes multiple first asset data and multiple first update times of the multiple first asset data. When the device 70 preprocesses the second business information according to the first preset period to obtain processed second business information, it is specifically used for:

[0174] Based on the first preset period, a plurality of first target update times are determined from the plurality of first update times;

[0175] The processed second business information is determined based on the multiple first target update times and the multiple target asset data updated at the multiple first target update times.

[0176] In some optional embodiments provided in this application, when the device 70 is used to determine a plurality of first target update times from the plurality of first update times according to the first preset period, it is specifically used for:

[0177] A first reference update time is determined from the plurality of first update times;

[0178] The plurality of first update times that are spaced from the first reference update time by an integer multiple of the first preset period are taken as the plurality of first target update times.

[0179] In some optional embodiments provided in this application, the first business information includes multiple second asset data and multiple second update times of the multiple second asset data. When the device 70 is used to determine the first target business information based on the first business information and the processed second business information, it is specifically used for:

[0180] Obtain the latest second target update time among the plurality of second update times contained in the first service information;

[0181] A third target update time no later than the second target update time is determined from the plurality of first target update times;

[0182] The updated second asset data and the third target update time are deleted from the second business information to obtain the updated second business information.

[0183] The first business information and the updated second business information are used as the first target business information.

[0184] In some optional embodiments provided in this application, the first business information includes multiple second asset data and multiple second update times of the multiple second asset data, and the device 70 is further used for:

[0185] When a second request is received from a terminal device to view the trend information of the second target asset of the target user, the original business information corresponding to the first business information is obtained. The original business information includes multiple third asset data and multiple third update times of the multiple third asset data. The time interval between two adjacent third update times is less than the time interval between two adjacent second update times.

[0186] The second target business information is determined based on the original business information and the second business information;

[0187] The second target business information is fed back to the terminal device, so that the terminal device can display the trend information of the second target asset based on the second target business information.

[0188] In some optional embodiments provided in this application, the device 70 is further used for:

[0189] Obtain the first display format corresponding to the first business information, wherein the first display format includes at least one of the following: first line thickness information, first line color information, first line category information, and first font information;

[0190] Obtain the second display format corresponding to the second business information. The second display format includes at least one of the following: second line thickness information, second line color information, second line category information, and second font information.

[0191] The first display format and the second display format are sent to the terminal device, so that the terminal device displays the trend information of the first target asset according to the first display format and the second display format.

[0192] Figure 8 A schematic diagram of the structure of a data processing apparatus provided for an exemplary embodiment of this application; wherein the apparatus 80 includes:

[0193] Sending unit 81 is configured to send a first request to the server to view the first target asset trend information of the target user when a first viewing instruction for viewing the first target asset trend information of the target user is detected. The first request is configured to instruct the server to obtain the first business information and the second business information of the target user. The first business information includes settled business data and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information.

[0194] Receiving unit 82 is used to receive the first target service information fed back by the server;

[0195] The display unit 83 is used to display the trend information of the first target asset based on the first target business information.

[0196] In some optional embodiments provided in this application, the first business information includes multiple second asset data and multiple second update times of the multiple second asset data, and the device 80 is further used for:

[0197] When a second viewing instruction is detected for viewing the trend information of the second target asset of the target user, a second request is sent to the server to view the trend information of the second target asset of the target user. The second request is used to instruct the server to obtain the original business information corresponding to the first business information. The original business information includes multiple third asset data and multiple third update times of the multiple third asset data. The time interval between two adjacent third update times is less than the time interval between two adjacent second update times. The second target business information is determined based on the original business information and the second business information.

[0198] Receive the second target service information fed back by the server;

[0199] Display the trend information of the second target asset based on the second target business information;

[0200] The second business information includes multiple first asset data and multiple first update times of the multiple first asset data.

[0201] In some optional embodiments provided in this application, the device 80 is further used for:

[0202] The server receives a first display format corresponding to the first service information and a second display format corresponding to the second service information; wherein the first display format includes at least one of the following: first line thickness information, first line color information, first line category information, and first font information; and the second display format includes at least one of the following: second line thickness information, second line color information, second line category information, and second font information.

[0203] The trend information of the first target asset is displayed according to the first display format and the second display format.

[0204] 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, further details are omitted 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 respective processes in the methods of the above method embodiments. For the sake of brevity, these details are omitted here.

[0205] The apparatus of this application 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 application 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 application 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.

[0206] Figure 9 This is a schematic block diagram of an electronic device provided in an embodiment of this application. The electronic device may include:

[0207] 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 the embodiments of this application.

[0208] For example, the processor 902 can be used to execute the above-described method embodiments according to instructions in the computer program.

[0209] In some embodiments of this application, the processor 902 may include, but is not limited to:

[0210] 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.

[0211] In some embodiments of this application, the memory 901 includes, but is not limited to:

[0212] 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).

[0213] In some embodiments of this application, 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 application. 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.

[0214] like Figure 9 As shown, the electronic device may further include:

[0215] Transceiver 903, which can be connected to processor 902 or memory 901.

[0216] 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.

[0217] 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.

[0218] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a computer, enables the computer to perform the methods of the above-described method embodiments. Alternatively, embodiments of this application 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.

[0219] It is understood that in the specific implementation of this application, data related to business data, asset data, transaction information, etc. are involved. When the above embodiments of this application 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.

[0220] When implemented using software, it can be implemented entirely 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 application 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 that a computer can access 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)).

[0221] 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 application.

[0222] In the several embodiments provided in this application, 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.

[0223] 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 application 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.

[0224] The above are merely specific embodiments of this application, but the scope of protection of this application 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 application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A data processing method, characterized in that, include: When a first request is received from a terminal device to view the trend information of a target user's first target asset, the first business information and the second business information of the target user are obtained. The first business information includes settled business data, and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information; The first target business information is fed back to the terminal device, so that the terminal device can display the trend information of the first target asset based on the first target business information. The method further includes: Obtain the first preset period; The second business information is preprocessed according to the first preset period to obtain the processed second business information. Determining first target business information based on the first business information and the second business information includes: determining first target business information based on the first business information and the processed second business information; The second business information includes multiple first asset data and multiple first update times of the multiple first asset data. The second business information is preprocessed according to the first preset period to obtain processed second business information, including: Based on the first preset period, a plurality of first target update times are determined from the plurality of first update times; The processed second business information is determined based on the multiple first target update times and the multiple target asset data updated at the multiple first target update times; Based on the first preset period, a plurality of first target update times are determined from the plurality of first update times, including: A first reference update time is determined from the plurality of first update times; Among the plurality of first update times, the plurality of first update times whose interval with the first reference update time is an integer multiple of the first preset period are taken as the plurality of first target update times; The first business information includes multiple second asset data and multiple second update times of the multiple second asset data. Based on the first business information and the processed second business information, the first target business information is determined, including: Obtain the latest second target update time among the plurality of second update times contained in the first service information; A third target update time no later than the second target update time is determined from the plurality of first target update times; The updated second asset data and the third target update time are deleted from the second business information to obtain the updated second business information. The first business information and the updated second business information are used as the first target business information.

2. The method according to claim 1, characterized in that, The first business information includes multiple second asset data and multiple second update times of the multiple second asset data, and the method further includes: When a second request is received from a terminal device to view the trend information of the second target asset of the target user, the original business information corresponding to the first business information is obtained. The original business information includes multiple third asset data and multiple third update times of the multiple third asset data. The time interval between two adjacent third update times is less than the time interval between two adjacent second update times. The second target business information is determined based on the original business information and the second business information; The second target business information is fed back to the terminal device, so that the terminal device can display the trend information of the second target asset based on the second target business information.

3. The method according to claim 1, characterized in that, The method further includes: Obtain the first display format corresponding to the first business information, wherein the first display format includes at least one of the following: first line thickness information, first line color information, first line category information, and first font information; Obtain the second display format corresponding to the second business information. The second display format includes at least one of the following: second line thickness information, second line color information, second line category information, and second font information. The first display format and the second display format are sent to the terminal device, so that the terminal device displays the trend information of the first target asset according to the first display format and the second display format.

4. A data processing method, characterized in that, include: When a first viewing instruction is detected for viewing the first target asset trend information of a target user, a first request is sent to the server to view the first target asset trend information of the target user. The first request is used to instruct the server to obtain the first business information and the second business information of the target user. The first business information includes settled business data, and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information. Receive the first target service information fed back by the server; Display the trend information of the first target asset based on the first target business information; The first business information includes multiple second asset data and multiple second update times of the multiple second asset data, and the method further includes: When a second viewing instruction is detected for viewing the trend information of the second target asset of the target user, a second request is sent to the server to view the trend information of the second target asset of the target user. The second request is used to instruct the server to obtain the original business information corresponding to the first business information. The original business information includes multiple third asset data and multiple third update times of the multiple third asset data. The time interval between two adjacent third update times is less than the time interval between two adjacent second update times. The second target business information is determined based on the original business information and the second business information. Receive the second target service information fed back by the server; Display the trend information of the second target asset based on the second target business information; The second business information includes multiple first asset data and multiple first update times of the multiple first asset data.

5. The method according to claim 4, characterized in that, The method further includes: The server receives a first display format corresponding to the first service information and a second display format corresponding to the second service information; wherein the first display format includes at least one of the following: first line thickness information, first line color information, first line category information, and first font information; and the second display format includes at least one of the following: second line thickness information, second line color information, second line category information, and second font information. The trend information of the first target asset is displayed according to the first display format and the second display format.

6. A data processing apparatus, characterized in that, For implementing the method as described in any one of claims 1-3, comprising: The acquisition unit is configured to acquire first business information and second business information of the target user when it receives a first request from a terminal device for viewing the trend information of the first target asset of the target user. The first business information includes settled business data and the second business information includes unsettled business data. The determining unit is configured to determine the first target service information based on the first service information and the second service information; The feedback unit is used to feed back the first target business information to the terminal device, so that the terminal device can display the trend information of the first target asset based on the first target business information.

7. A data processing apparatus, characterized in that, For implementing the method as described in any one of claims 4-5, comprising: The sending unit is configured to, when a first viewing instruction for viewing the first target asset trend information of a target user is detected, send a first request to the server for viewing the first target asset trend information of the target user. The first request is configured to instruct the server to obtain the first business information and the second business information of the target user. The first business information includes settled business data, and the second business information includes unsettled business data. The first target business information is determined based on the first business information and the second business information. The receiving unit is used to receive the first target service information fed back by the server; The display unit is used to display the trend information of the first target asset based on the first target business information.

8. 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-5 by executing the executable instructions.

9. 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-5.