CN116775187A - Data display method, device, computer equipment and storage medium - Google Patents

Data display method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN116775187A
CN116775187A CN202310695941.0A CN202310695941A CN116775187A CN 116775187 A CN116775187 A CN 116775187A CN 202310695941 A CN202310695941 A CN 202310695941A CN 116775187 A CN116775187 A CN 116775187A
Authority
CN
China
Prior art keywords
data
target
product
information
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310695941.0A
Other languages
Chinese (zh)
Inventor
庄志辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202310695941.0A priority Critical patent/CN116775187A/en
Publication of CN116775187A publication Critical patent/CN116775187A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

The embodiment of the application belongs to the field of artificial intelligence and financial science and technology, and relates to a data display method, which comprises the following steps: if a starting instruction of a target page in an application program triggered by a user is received, an interface information calling request corresponding to a display area is sent to a back-end aggregation component; receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed; calling a rear-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the rear-end interface; and filling the display data into the corresponding display area in the target page of the application program. The application also provides a data display device, computer equipment and a storage medium. Furthermore, the present application also relates to blockchain techniques in which presentation data may be stored. The application can be applied to the data display scene of the financial application of the financial scene, and ensures the timely response of the data display in the application program.

Description

Data display method, device, computer equipment and storage medium
Technical Field
The application relates to the technical field of artificial intelligence development and the technical field of finance, in particular to a data display method, a data display device, computer equipment and a storage medium.
Background
For applications of finance and technology companies, there is typically development of product data presentation. In the actual use process of application programs of finance and technology companies, when data of a plurality of modules are required to be displayed, the data of the modules are required to be aggregated by one data display interface due to different data sources of the different modules, and the multithreading aggregation mode is adopted, so that data loading in the modules cannot be responded in time due to certain delay of data display and different time consumption of the different interfaces, and the use experience of users is poor.
Disclosure of Invention
The embodiment of the application aims to provide a data display method, a device, computer equipment and a storage medium, which are used for solving the technical problems that the data loading in a module cannot be responded in time due to a certain delay of data display and different interface time consumption of the data display interface of the existing application program and poor user experience.
In order to solve the above technical problems, the embodiment of the present application provides a data display method, which adopts the following technical scheme:
judging whether a starting instruction of a target page in an application program triggered by a user is received or not; wherein the target page of the application program comprises a display area for displaying information, and the number of the display areas comprises one or more;
if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component;
receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed;
calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface;
and filling the display data into a corresponding display area in the target page of the application program.
Further, the step of calling a back-end interface based on the target interface configuration information and acquiring display data corresponding to the display area from preset cache data through the back-end interface specifically includes:
Acquiring route information from the target interface configuration information;
calling a back end interface corresponding to the routing information based on the routing information;
acquiring a display data type from the target interface configuration information;
and based on the display data type, acquiring display data corresponding to the display data type from the cache data through the back-end interface.
Further, the step of filling the display data into the corresponding display area in the target page of the application program specifically includes:
acquiring a preset information arrangement sequence;
performing position adjustment on the display data based on the information arrangement sequence to obtain adjusted target display data;
and filling the target display data into a corresponding display area in a target page of the application program.
Further, the data display method further comprises the following steps:
acquiring user information of the user, and acquiring user historical product data corresponding to the user based on the user information;
analyzing the historical product data of the user to determine historical preference products of the user;
determining a user type of the user based on the user historical product data;
Acquiring an initial recommended product corresponding to the user type;
determining a target recommended product from the initial recommended products based on the historical preference products;
acquiring target product information of a target recommended product;
and displaying the product information in a target page of the application program.
Further, the step of analyzing the historical product data of the user to determine the historical preference product of the user specifically includes:
analyzing the historical product data of the user based on a preset product analysis model to obtain the interest value of the user for each historical product contained in the historical product data;
acquiring a preset numerical threshold;
and determining the target recommended product from all the historical products based on the interest value and the value threshold.
Further, the step of determining the target recommended product from the initial recommended products based on the historical preference products specifically includes:
screening a first product with an association relation with the historical preference product from the initial recommended product;
screening a second product with risk index smaller than a preset index threshold from the first product;
And taking the second product as the target recommended product.
Further, the step of displaying the product information in the target page of the application program specifically includes:
determining a target area;
acquiring position information corresponding to the target area in a target page of the application program;
and displaying the product information in a target area of the target page based on the position information.
In order to solve the technical problems, the embodiment of the application also provides a data display device, which adopts the following technical scheme:
the judging module is used for judging whether a starting instruction of a target page in the application program triggered by a user is received or not; wherein the target page of the application program comprises a display area for displaying information, and the number of the display areas comprises one or more;
the sending module is used for sending an interface information calling request corresponding to the display area to a preset back-end aggregation component if the display area is the same as the display area;
the receiving module is used for receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed;
The first acquisition module is used for calling a rear-end interface based on the target interface configuration information and acquiring display data corresponding to the display area from preset cache data through the rear-end interface;
and the first display module is used for filling the display data into the corresponding display area in the target page of the application program.
In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical schemes:
judging whether a starting instruction of a target page in an application program triggered by a user is received or not; wherein the target page of the application program comprises a display area for displaying information, and the number of the display areas comprises one or more;
if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component;
receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed;
calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface;
And filling the display data into a corresponding display area in the target page of the application program.
In order to solve the above technical problems, an embodiment of the present application further provides a computer readable storage medium, which adopts the following technical schemes:
judging whether a starting instruction of a target page in an application program triggered by a user is received or not; wherein the target page of the application program comprises a display area for displaying information, and the number of the display areas comprises one or more;
if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component;
receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed;
calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface;
and filling the display data into a corresponding display area in the target page of the application program.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
The embodiment of the application firstly judges whether a starting instruction of a target page in an application program triggered by a user is received; if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component; then receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed; subsequently, calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface; and finally, filling the display data into a corresponding display area in the target page of the application program. When the application program of the client is detected to be started, the processing of the data display of the display area of the target page of the application program is transferred from the rear end to the front end for asynchronous distribution and calling, and the rear end is controlled to acquire the display data required to be displayed of the application program from the cache data, so that the time consumption for acquiring the display data is effectively reduced, the processing efficiency for acquiring the display data is improved, the timely response of the data display in the application program is ensured, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the solution of the present application, a brief description will be given below of the drawings required for the description of the embodiments of the present application, it being apparent that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without the exercise of inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a data presentation method according to the present application;
FIG. 3 is a schematic diagram of one embodiment of a data presentation device according to the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a computer device in accordance with the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description of the application and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to make the person skilled in the art better understand the solution of the present application, the technical solution of the embodiment of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the data display method provided by the embodiment of the present application is generally executed by a server/terminal device, and accordingly, the data display device is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow chart of one embodiment of a data presentation method according to the present application is shown. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs. The data display method provided by the embodiment of the application can be applied to any scene needing data display, and can be applied to products of the scenes, such as data display scenes of financial application in the field of financial insurance. The data display method comprises the following steps:
Step S201, judging whether a start instruction of a target page in an application program triggered by a user is received.
In this embodiment, the electronic device (e.g., the server/terminal device shown in fig. 1) on which the data presentation method operates may acquire the start instruction of the application program of the client through a wired connection manner or a wireless connection manner. The execution body is specifically a client within the electronic device. It should be noted that the wireless connection may include, but is not limited to, 3G/4G/5G connection, wiFi connection, bluetooth connection, wiMAX connection, zigbee connection, UWB (ultra wideband) connection, and other now known or later developed wireless connection. The target page refers to a data display interface in the application program, the target page comprises display areas for displaying information, and the number of the display areas comprises one or more. The presentation area may also be referred to as a footprint module. For example, there are 3 placeholder modules in the target page interface of the application program that need to display information of different modules, such as a first placeholder module for displaying the number of orders (e.g., the increase in the number of ring-to-month), a second placeholder module 2 for displaying the amount of insurance submittals (e.g., the increase in the number of ring-to-month), and a third placeholder module 3 for displaying the number of renewal people (e.g., the increase in the number of ring-to-month), where the data of all three modules come from different data sources.
Step S202, if yes, an interface information calling request corresponding to the display area is sent to a preset back-end aggregation component.
In this embodiment, the back-end aggregation component is a pre-built basic back-end aggregation function module for performing interface information interaction with the client. And the client calls the basic unified interface for the display area based on the back-end aggregation component. For example, the content of the interface information call request may include/base/info index=1.2.3.
Step S203, receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after processing the interface information call request.
In this embodiment, after receiving the interface information call request, the back-end aggregation component obtains, from a preset configuration center, the target interface configuration information corresponding to the display area through index in the request parameter of the interface information call request. The configuration center is a pre-constructed data center which stores interface configuration information corresponding to different display areas. And the target interface configuration information returned by the back-end aggregation component can be subjected to overtime strategy processing and cache strategy processing. And (3) overtime strategy processing, wherein cache strategy processing can be compiled and generated according to actual processing requirements.
Step S204, calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface.
In this embodiment, when a request is sent to the back end interface corresponding to the display area, an MQ message may be triggered to be asynchronously sent to a preset associated functional module, so that the associated functional module first aggregates service data corresponding to a target page in an application program of the client and performs cache processing, thereby obtaining the cache data. When the front end distributes the display data acquisition request to the rear end interface of the corresponding display area, the rear end is enabled to read-only cache, namely, the corresponding display data is acquired from the pre-cached service data, so that the condition that the data cannot be obtained overtime can be effectively reduced. The specific implementation process of calling the back-end interface based on the target interface configuration information and acquiring the display data corresponding to the display area from the preset cache data through the back-end interface will be described in further detail in the following specific embodiments, which are not described herein. In addition, the cache data can be subjected to overtime strategy processing and cache strategy processing.
Step S205, filling the display data into a corresponding display area in the target page of the application program.
In this embodiment, the specific implementation process of filling the presentation data into the corresponding presentation area in the target page of the application program is described in further detail in the following specific embodiments, which will not be described herein. For example, in the business context of data presentation of an insurance application of a financial insurance, presentation data may include business data, transaction data, payment data, and the like.
Firstly judging whether a starting instruction of a target page in an application program triggered by a user is received or not; if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component; then receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed; subsequently, calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface; and finally, filling the display data into a corresponding display area in the target page of the application program. When the application program of the client is detected to be started, the processing of the data display of the display area of the target page of the application program is transferred from the rear end to the front end for asynchronous distribution and calling, and the rear end is controlled to acquire the display data required to be displayed of the application program from the cache data, so that the time consumption for acquiring the display data is effectively reduced, the processing efficiency for acquiring the display data is improved, the timely response of the data display in the application program is ensured, and the use experience of a user is improved.
In some alternative implementations, step S204 includes the steps of:
and acquiring route information from the target interface configuration information.
In this embodiment, the configuration information of the target interface at least includes routing information, display document information, and may further include information such as a unit, a timeout policy, etc.
And calling a back end interface corresponding to the routing information based on the routing information.
In this embodiment, the routing information is accessed, so that call processing for the accessed back-end interface can be performed.
And acquiring the display data type from the target interface configuration information.
In this embodiment, the display data type refers to a data type corresponding to the display document information and the unit.
And based on the display data type, acquiring display data corresponding to the display data type from the cache data through the back-end interface.
In this embodiment, the display data at least includes data corresponding to the data type of the display document information and the unit, that is, includes data of the display document, the unit, and the like. When a request is sent to a back end interface corresponding to the display area, an MQ message can be triggered to be asynchronously sent to a preset association module, so that the association module can firstly aggregate target pages in an application program of a client side
And when the front end distributes the display data acquisition request to the rear end interface of the corresponding display area, the rear end can read-only cache, namely, the corresponding display data is acquired from the pre-cached service data, so that the occurrence of the condition that the data cannot be obtained overtime can be effectively reduced.
The application obtains the route information from the target interface configuration information; then, based on the routing information, calling a back end interface corresponding to the routing information; then obtaining the display data type from the target interface configuration information; and subsequently, based on the display data type, acquiring display data corresponding to the display data type from the cache data through the back-end interface. According to the application, the processing of data display is transferred from the rear end to the front end for asynchronous distribution and calling, and the display data required to be displayed by the application program is acquired from the cache data by controlling the rear end, so that the acquisition time consumption of the display data is reduced, the processing efficiency of the acquisition of the display data is improved, and the timely response of the data display in the application program is effectively ensured.
In some alternative implementations of the present embodiment, step S205 includes the steps of:
And acquiring a preset information arrangement sequence.
In this embodiment, the setting of the information arrangement sequence is not particularly limited, and may be set according to actual service requirements, for example, the information arrangement sequence according to the specifications after the functional test may be adopted.
And carrying out position adjustment on the display data based on the information arrangement sequence to obtain adjusted target display data.
In this embodiment, the position of the display data is adjusted according to the information arrangement sequence, so that the adjusted target display data conforms to the information arrangement sequence.
And filling the target display data into a corresponding display area in a target page of the application program.
The method comprises the steps of obtaining a preset information arrangement sequence; then, based on the information arrangement sequence, carrying out position adjustment on the display data to obtain adjusted target display data; and filling the target display data into a corresponding display area in a target page of the application program. According to the application, the information arrangement sequence is used for carrying out position adjustment on the display data and then displaying the display data in the target page of the application program, so that the display intelligence and standardization of the display data can be effectively ensured, and the data viewing experience of a user can be improved.
In some alternative implementations, the electronic device may further perform the steps of:
and acquiring user information of the user, and acquiring user historical product data corresponding to the user based on the user information.
In this embodiment, the user information may refer to identity information of the user, such as a name or an ID corresponding to the user. The method comprises the steps that a statistical software development kit can be embedded in an application program of the electronic equipment in advance for obtaining historical product data of a user, when the user installs the application program on the electronic equipment, the SDK requests to obtain operation behavior information of the user, namely the electronic equipment can record product behaviors of searching, browsing, purchasing, collecting and the like of the user according to the inherent statistical logic of the SDK, and corresponding historical product data is generated by combining identity information of the user. The user history product data may include a history search product, a history browse product, a history purchase product, or a history collection product corresponding to the user.
And analyzing the historical product data of the user to determine the historical preference products of the user.
In this embodiment, the foregoing analysis of the historical product data of the user determines a specific implementation process of the historical preference product of the user, which will be described in further detail in the following specific embodiments, which will not be described herein.
And determining the user type of the user based on the user historical product data.
In this embodiment, specified historical product data of a specified customer may be obtained; wherein the client is designated as other users than the user; calculating the similarity between the user historical product data and the appointed historical product data of the appointed client; wherein, the existing similarity algorithm can be adopted to calculate the similarity; if the similarity is larger than a preset similarity threshold, taking the appointed user as the same type user of the user, and acquiring the appointed user type of the appointed user; the value of the similarity threshold is not particularly limited, and can be set according to actual service requirements; and taking the appointed user type as the user type of the user. The common label can be determined from all user labels by acquiring the user labels of all specified users, and the common label is used as the specified user type.
And acquiring an initial recommended product corresponding to the user type.
In this embodiment, matching recommended products are created in advance for various user types. The initial recommended products are historical purchase products, historical browse products, historical search products, and the like, which correspond to the user type.
And determining a target recommended product from the initial recommended products based on the historical preference products.
In this embodiment, the specific implementation process of the target recommended product is determined from the initial recommended products based on the historical preference products, which will be described in further detail in the following specific embodiments, which will not be described herein.
And obtaining target product information of the target recommended product.
In this embodiment, the target product information may include a product name and a product content summary of the target recommended product.
And displaying the product information in a target page of the application program.
In this embodiment, the specific implementation process of displaying the product information in the target page of the application program is described in further detail in the following specific embodiments, which will not be described herein.
The method comprises the steps of obtaining user information of the user, and obtaining user historical product data corresponding to the user based on the user information; then analyzing the historical product data of the user to determine historical preference products of the user; then determining the user type of the user based on the user historical product data, and acquiring an initial recommended product corresponding to the user type; subsequently, determining a target recommended product from the initial recommended products based on the historical preference products; and finally, obtaining target product information of the target recommended product, and displaying the product information in a target page of the application program. When a user starts an application program of a client, user historical product data of the user can be intelligently obtained, then a target recommended product suitable for the user is obtained based on analysis of the user historical product data, and the target recommended product can be used for displaying to the user, so that product information interested in the user is intelligently recommended to the user, the product recommendation effect is improved, and the use experience of the user is improved.
In some optional implementations, the analyzing the user historical product data to determine the user's historical preference products includes the steps of:
and analyzing the historical product data of the user based on a preset product analysis model to obtain the interest numerical value of the user for each historical product contained in the historical product data.
In this embodiment, the product analysis model may specifically be a hidden markov model, which is a statistical model that describes a markov process with hidden unknown parameters. The difficulty is to determine the implicit parameters of the process from the observable parameters. These parameters are then used for further analysis, such as pattern recognition. Given an observation sequence and associated model parameters, the implicit state probability corresponding to the observation sequence may be estimated based on a certain algorithm. In this embodiment, the obtained historical product data of the user may be converted into a corresponding observation sequence, and the interest value (interest degree) of the user for each historical product included in the historical product data may be represented by a probability value corresponding to the observation sequence, so that the embodiment may correspondingly generate the interest value of the user for each historical product included in the historical product data by estimating the probability value corresponding to the observation sequence.
And acquiring a preset numerical threshold.
In this embodiment, the value of the numerical threshold is not specifically limited, and may be set according to actual use requirements.
And determining the target recommended product from all the historical products based on the interest value and the value threshold.
In this embodiment, products with interest values greater than the value threshold may be selected from all the historical products as the target recommended products.
Analyzing the historical product data of the user based on a preset product analysis model to obtain the interest value of the user for each historical product contained in the historical product data; then acquiring a preset numerical threshold; and determining the target recommended product from all the historical products based on the interest value and the value threshold. The application analyzes the historical product data of the user based on the use of the product analysis model, can rapidly and accurately determine the target recommended product suitable for the user from all the historical products, improves the generation efficiency of the target recommended product, and improves the accuracy of determining the target recommended product.
In some optional implementations of this embodiment, the determining, based on the historical preference product, the target recommended product from the initial recommended products includes the steps of:
and screening a first product with an association relation with the historical preference product from the initial recommended products.
In this embodiment, when determining a historical preference product of a user, the initial recommended product may be screened in a targeted manner based on the historical preference product, so as to screen a first product having an association relationship with the historical preference product from the initial recommended product. Wherein for the association, there may be different manifestations in different types of products. For example, the association may be similar in function, similar in price, identical in brand, and the like.
And screening a second product with risk index smaller than a preset index threshold from the first product.
In this embodiment, the value of the index threshold is not specifically limited, and may be set according to actual use requirements.
And taking the second product as the target recommended product.
The method comprises the steps of screening a first product which has an association relation with the historical preference product from the initial recommended product; and then screening a second product with risk index smaller than a preset index threshold value from the first products, and taking the second product as the target recommended product. According to the application, the initial recommended products are screened based on the association relation and the risk index, so that products which are matched with the user and have high safety coefficients can be accurately screened from the initial recommended products to serve as final target recommended products, and the determination intelligence of the target recommended products is improved.
In some optional implementations of this embodiment, the displaying the product information in the target page of the application program includes the following steps:
a target area is determined.
In this embodiment, the selection of the target area is not specifically limited, and may be set according to actual service usage requirements, for example, the selection may be determined according to personal viewing preferences of the user, or a popular information viewing area (such as a middle area and a top area of a page) may be used as the target area.
And acquiring position information corresponding to the target area in a target page of the application program.
In this embodiment, the location information may refer to coordinate information of a target area in a target page of the application program.
And displaying the product information in a target area of the target page based on the position information.
In this embodiment, the information display area of the product information may be determined by the position information, and then the product information is filled into the information display area to be pinched, so as to display the product information in the target area of the target page.
The application determines the target area; then, acquiring position information corresponding to the target area in a target page of the application program; and displaying the product information in a target area of the target page based on the position information. According to the method and the device for displaying the target recommended product, when the product information of the target recommended product corresponding to the user is obtained, the product information is intelligently displayed in the target area of the target page of the application program, so that the personal reference requirement of the user is met as much as possible, the display intelligence of the product information is improved, and the use experience of the user is improved.
It should be emphasized that, to further ensure the privacy and security of the presentation data, the presentation data may also be stored in a blockchain node.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by computer readable instructions stored in a computer readable storage medium that, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a data display device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device may be applied to various electronic devices.
As shown in fig. 3, the data display apparatus 300 according to the present embodiment includes: the device comprises a judging module 301, a sending module 302, a receiving module 303, a first obtaining module 304 and a first displaying module 305. Wherein:
the judging module 301 is configured to judge whether a start instruction of a target page in the application triggered by a user is received; wherein the target page of the application program comprises a display area for displaying information, and the number of the display areas comprises one or more;
the sending module 302 is configured to send, if yes, an interface information calling request corresponding to the display area to a preset back-end aggregation component;
a receiving module 303, configured to receive target interface configuration information corresponding to the display area returned by the back-end aggregation component after processing the interface information call request;
the first obtaining module 304 is configured to invoke a back-end interface based on the target interface configuration information, and obtain, through the back-end interface, display data corresponding to the display area from preset cache data;
And the first display module 305 is configured to populate the display data into a corresponding display area in the target page of the application program.
In this embodiment, the operations performed by the modules or units respectively correspond to the steps of the data display method in the foregoing embodiment one by one, and are not described herein again.
In some optional implementations of this embodiment, the first obtaining module 304 includes:
the first acquisition submodule is used for acquiring route information from the target interface configuration information;
a calling sub-module, configured to call a back-end interface corresponding to the routing information based on the routing information;
the second acquisition sub-module is used for acquiring the display data type from the target interface configuration information;
and the third acquisition sub-module is used for acquiring the display data corresponding to the display data type from the cache data through the back-end interface based on the display data type.
In this embodiment, the operations performed by the modules or units respectively correspond to the steps of the data display method in the foregoing embodiment one by one, and are not described herein again.
In some alternative implementations of the present embodiment, the first presentation module 305 includes:
A fourth obtaining sub-module, configured to obtain a preset information arrangement sequence;
the adjustment sub-module is used for carrying out position adjustment on the display data based on the information arrangement sequence to obtain adjusted target display data;
and the filling sub-module is used for filling the target display data into the corresponding display area in the target page of the application program.
In this embodiment, the operations performed by the modules or units respectively correspond to the steps of the data display method in the foregoing embodiment one by one, and are not described herein again.
In some optional implementations of this embodiment, the data presentation device further includes:
the second acquisition module is used for acquiring user information of the user and acquiring user historical product data corresponding to the user based on the user information;
the first determining module is used for analyzing the historical product data of the user and determining historical preference products of the user;
the second determining module is used for determining the user type of the user based on the user historical product data;
the third acquisition module is used for acquiring initial recommended products corresponding to the user types;
the third determining module is used for determining a target recommended product from the initial recommended products based on the historical preference products;
The fourth acquisition module is used for acquiring target product information of the target recommended product;
and the second display module is used for displaying the product information in the target page of the application program.
In this embodiment, the operations performed by the modules or units respectively correspond to the steps of the data display method in the foregoing embodiment one by one, and are not described herein again.
In some optional implementations of this embodiment, the first determining module includes:
the analysis sub-module is used for analyzing the historical product data of the user based on a preset product analysis model to obtain the interest numerical value of the user for each historical product contained in the historical product data;
a fifth obtaining sub-module, configured to obtain a preset numerical threshold;
and the first determining submodule is used for determining the target recommended product from all historical products based on the interest value and the value threshold.
In this embodiment, the operations performed by the modules or units respectively correspond to the steps of the data display method in the foregoing embodiment one by one, and are not described herein again.
In some optional implementations of this embodiment, the third determining module includes:
The first screening submodule is used for screening a first product with an association relation with the history preference product from the initial recommended product;
the second screening submodule is used for screening a second product with a risk index smaller than a preset index threshold from the first product;
and the second determining submodule is used for taking the second product as the target recommended product.
In this embodiment, the operations performed by the modules or units respectively correspond to the steps of the data display method in the foregoing embodiment one by one, and are not described herein again.
In some optional implementations of this embodiment, the second display module includes:
a third determination submodule for determining a target area;
a sixth obtaining sub-module, configured to obtain location information corresponding to the target area in a target page of the application program;
and the display sub-module is used for displaying the product information in the target area of the target page based on the position information.
In this embodiment, the operations performed by the modules or units respectively correspond to the steps of the data display method in the foregoing embodiment one by one, and are not described herein again.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It should be noted that only computer device 4 having components 41-43 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 4. Of course, the memory 41 may also comprise both an internal memory unit of the computer device 4 and an external memory device. In this embodiment, the memory 41 is typically used for storing an operating system and various application software installed on the computer device 4, such as computer readable instructions of a data presentation method. Further, the memory 41 may be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, such as computer readable instructions for executing the data presentation method.
The network interface 43 may comprise a wireless network interface or a wired network interface, which network interface 43 is typically used for establishing a communication connection between the computer device 4 and other electronic devices.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
in the embodiment of the application, whether a starting instruction of a target page in an application program triggered by a user is received is firstly judged; if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component; then receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed; subsequently, calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface; and finally, filling the display data into a corresponding display area in the target page of the application program. When the application program of the client is detected to be started, the processing of the data display of the display area of the target page of the application program is transferred from the rear end to the front end for asynchronous distribution and calling, and the rear end is controlled to acquire the display data required to be displayed of the application program from the cache data, so that the time consumption for acquiring the display data is effectively reduced, the processing efficiency for acquiring the display data is improved, the timely response of the data display in the application program is ensured, and the use experience of a user is improved.
The present application also provides another embodiment, namely, a computer-readable storage medium storing computer-readable instructions executable by at least one processor to cause the at least one processor to perform the steps of the data presentation method as described above.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
in the embodiment of the application, whether a starting instruction of a target page in an application program triggered by a user is received is firstly judged; if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component; then receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed; subsequently, calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface; and finally, filling the display data into a corresponding display area in the target page of the application program. When the application program of the client is detected to be started, the processing of the data display of the display area of the target page of the application program is transferred from the rear end to the front end for asynchronous distribution and calling, and the rear end is controlled to acquire the display data required to be displayed of the application program from the cache data, so that the time consumption for acquiring the display data is effectively reduced, the processing efficiency for acquiring the display data is improved, the timely response of the data display in the application program is ensured, and the use experience of a user is improved.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
It is apparent that the above-described embodiments are only some embodiments of the present application, but not all embodiments, and the preferred embodiments of the present application are shown in the drawings, which do not limit the scope of the patent claims. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a thorough and complete understanding of the present disclosure. Although the application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing description, or equivalents may be substituted for elements thereof. All equivalent structures made by the content of the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the scope of the application.

Claims (10)

1. A data presentation method, comprising the steps of:
judging whether a starting instruction of a target page in an application program triggered by a user is received or not; wherein the target page of the application program comprises a display area for displaying information, and the number of the display areas comprises one or more;
if yes, sending an interface information calling request corresponding to the display area to a preset back-end aggregation component;
receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed;
calling a back-end interface based on the target interface configuration information, and acquiring display data corresponding to the display area from preset cache data through the back-end interface;
and filling the display data into a corresponding display area in the target page of the application program.
2. The method for displaying data according to claim 1, wherein the step of calling a back-end interface based on the target interface configuration information and obtaining display data corresponding to the display area from preset cache data through the back-end interface specifically includes:
Acquiring route information from the target interface configuration information;
calling a back end interface corresponding to the routing information based on the routing information;
acquiring a display data type from the target interface configuration information;
and based on the display data type, acquiring display data corresponding to the display data type from the cache data through the back-end interface.
3. The method for displaying data according to claim 1, wherein the step of filling the display data into the corresponding display area in the target page of the application program specifically comprises:
acquiring a preset information arrangement sequence;
performing position adjustment on the display data based on the information arrangement sequence to obtain adjusted target display data;
and filling the target display data into a corresponding display area in a target page of the application program.
4. The data presentation method of claim 1, wherein the data presentation method further comprises:
acquiring user information of the user, and acquiring user historical product data corresponding to the user based on the user information;
analyzing the historical product data of the user to determine historical preference products of the user;
Determining a user type of the user based on the user historical product data;
acquiring an initial recommended product corresponding to the user type;
determining a target recommended product from the initial recommended products based on the historical preference products;
acquiring target product information of a target recommended product;
and displaying the product information in a target page of the application program.
5. The method for displaying data according to claim 4, wherein the step of analyzing the user history product data to determine the history preference product of the user specifically comprises:
analyzing the historical product data of the user based on a preset product analysis model to obtain the interest value of the user for each historical product contained in the historical product data;
acquiring a preset numerical threshold;
and determining the target recommended product from all the historical products based on the interest value and the value threshold.
6. The method of claim 4, wherein the step of determining a target recommended product from the initial recommended products based on the historical preference products comprises:
Screening a first product with an association relation with the historical preference product from the initial recommended product;
screening a second product with risk index smaller than a preset index threshold from the first product;
and taking the second product as the target recommended product.
7. The method for displaying data according to claim 4, wherein the step of displaying the product information in the target page of the application program specifically comprises:
determining a target area;
acquiring position information corresponding to the target area in a target page of the application program;
and displaying the product information in a target area of the target page based on the position information.
8. A data presentation device, comprising:
the judging module is used for judging whether a starting instruction of a target page in the application program triggered by a user is received or not; wherein the target page of the application program comprises a display area for displaying information, and the number of the display areas comprises one or more;
the sending module is used for sending an interface information calling request corresponding to the display area to a preset back-end aggregation component if the display area is the same as the display area;
The receiving module is used for receiving target interface configuration information corresponding to the display area returned by the back-end aggregation component after the interface information calling request is processed;
the first acquisition module is used for calling a rear-end interface based on the target interface configuration information and acquiring display data corresponding to the display area from preset cache data through the rear-end interface;
and the first display module is used for filling the display data into the corresponding display area in the target page of the application program.
9. A computer device comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of the data presentation method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the data presentation method of any of claims 1 to 7.
CN202310695941.0A 2023-06-12 2023-06-12 Data display method, device, computer equipment and storage medium Pending CN116775187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310695941.0A CN116775187A (en) 2023-06-12 2023-06-12 Data display method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310695941.0A CN116775187A (en) 2023-06-12 2023-06-12 Data display method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116775187A true CN116775187A (en) 2023-09-19

Family

ID=87988889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310695941.0A Pending CN116775187A (en) 2023-06-12 2023-06-12 Data display method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116775187A (en)

Similar Documents

Publication Publication Date Title
CN107944481B (en) Method and apparatus for generating information
CN112395390B (en) Training corpus generation method of intention recognition model and related equipment thereof
CN112507141A (en) Investigation task generation method and device, computer equipment and storage medium
CN116956326A (en) Authority data processing method and device, computer equipment and storage medium
CN116383787A (en) Page creation method, page creation device, computer equipment and storage medium
CN116775187A (en) Data display method, device, computer equipment and storage medium
CN117422523A (en) Product online method and device, computer equipment and storage medium
CN117094729A (en) Request processing method, device, computer equipment and storage medium
CN116991442A (en) Interface upgrading method, device, equipment and storage medium thereof
CN116820443A (en) Data analysis method, device, computer equipment and storage medium
CN117390241A (en) Data display method, device, computer equipment and storage medium
CN116910095A (en) Buried point processing method, buried point processing device, computer equipment and storage medium
CN116542779A (en) Product recommendation method, device, equipment and storage medium based on artificial intelligence
CN116756539A (en) Project recommendation method, device, computer equipment and storage medium
CN117251631A (en) Information recommendation method, device, equipment and storage medium based on artificial intelligence
CN117112383A (en) Performance analysis method, device, equipment and storage medium based on artificial intelligence
CN117034173A (en) Data processing method, device, computer equipment and storage medium
CN117788051A (en) Customer preference analysis method, device, equipment and medium based on artificial intelligence
CN116933290A (en) Data query method, device, computer equipment and storage medium
CN116757771A (en) Scheme recommendation method, device, equipment and storage medium based on artificial intelligence
CN115545823A (en) Product recommendation method and device, computer equipment and storage medium
CN116720692A (en) Customer service dispatching method and device, computer equipment and storage medium
CN117314586A (en) Product recommendation method, device, computer equipment and storage medium
CN115826973A (en) List page generation method and device, computer equipment and storage medium
CN117290597A (en) Information pushing method, device, equipment and storage medium based on artificial intelligence

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination