Consumption data display method, e-commerce platform and electronic equipment
By constructing a consumption data display diagram and adjusting the display effect, the problem of unintuitive display of users' consumption data on traditional e-commerce platforms is solved, the user experience and information value is improved, data updates are automated, and computing resource consumption is reduced.
Patent Information
- Application Number
- CN202411477230.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-10-22
AI Technical Summary
When traditional e-commerce platforms display user consumption data, the user experience is poor and the information display is not intuitive. Especially on the value-added service operation and management platform, the product information is low, making it difficult to clearly display the consumption of non-physical products.
By constructing a consumption data display map, adjust the display effect based on the material of the target product and the application subject, generate a second consumption data display map, provide intuitive consumption record display, and realize the automation of data updates to reduce computing resource consumption.
It improves the user experience and provides richer information value, allowing users to intuitively understand consumption situations, discover product demands, and reduces data processing volume and saves computing resources.
Smart Images

Figure CN119322577A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a consumption data display method, an e-commerce platform, an electronic device, and a computer-readable storage medium. Background Art
[0002] Traditional e-commerce platforms often display user consumption data in a list format, that is, displaying purchased product information one by one in chronological order. When more consumption data is involved, it is necessary to manually pull up and request to view it, which leads to a poor user experience. In addition, the information is mostly presented in text, and consumers cannot intuitively and clearly know the overall consumption situation. Especially on the value-added service operation and management platform, the products involved include non-physical products such as service experience. Through traditional methods, users can only be simply shown the product name, and the information value is low. Summary of the invention
[0003] In order to more effectively display user consumption data, improve user experience, and provide more information value, the embodiments of the present application provide a consumption data display method, an e-commerce platform, an electronic device, and a computer storage medium.
[0004] The consumption data display method provided in the embodiment of the present application is applied to the server, and includes the following steps: in response to a consumption data display request, obtaining target basic data from a first storage space; extracting target commodities in the target basic data, determining a target application subject based on the target commodities, and obtaining a target subject material corresponding to the target application subject and a target commodity material corresponding to the target commodity from a second storage space; obtaining status data corresponding to the target commodity from the first storage space; constructing a first consumption data display graph of the target application subject based on the target subject material and the target commodity material, the first consumption data display graph being used to display the corresponding relationship between the target application subject and the target commodity; adjusting the display effect of the target subject material or the target commodity material on the first consumption data display graph based on the status data to obtain a second consumption data display graph; and returning the second consumption data display graph.
[0005] Based on the above technical solution, by constructing a second consumption data display graph to display consumption records to users, users can more intuitively know the consumption situation on each target application subject. At the same time, according to the corresponding display effect, the changes in the target product and the target application subject due to the change in consumption data can be further perceived by visual perception, thereby providing users with more abundant reference information, so that users can find product needs based on the second consumption data display graph, which can not only provide information value to users, but also improve user stickiness. In addition, by first constructing the first consumption data display graph, and then adjusting the display effect of the first consumption display graph to obtain the second consumption data display graph, it can be achieved that when there is no new consumption and the display request is repeated, the user can directly update the new second consumption data display graph based on the first consumption data display graph, which can not only realize the display of the updated product status, but also reduce the amount of data processing and save computing resources.
[0006] In one implementation, the status data includes status attributes of the target product and display effect requirements of the main material or product material corresponding to the status attributes; adjusting the display effect of the target main material or the target product material on the first consumption data display diagram based on the status data to obtain the second consumption data display diagram includes: obtaining status attributes from multiple status data corresponding to the target product; determining the status attribute with the highest priority from each status attribute; and adjusting the display effect of the target main material or the target product material on the first consumption data display diagram based on the display effect requirements of the main material or product material corresponding to the status attribute with the highest priority.
[0007] Based on the above technical solution, when the user consumption data contains multiple consumption records for the same product, the display effect of the relevant materials can be adjusted based on the status attribute with the highest priority to display the important status.
[0008] In one embodiment, the method also includes automatically updating the status data, and the status data updating method includes: acquiring the condition data corresponding to the target product in real time or periodically, and judging whether the condition data triggers a change in the attribute status of the target product according to the status update rule corresponding to the target product; if so, updating the status data based on the status attribute determined by the condition parameter, wherein the condition data includes consumption status, time attribute and condition parameter, and the status attribute determined by the condition data has the highest priority among the multiple status attributes determined based on the consumption status, the time attribute and the condition parameter.
[0009] Based on the above technical solution, the automatic update of the target product status data can be realized, so that when the user requests to display the consumption data, the display effect of the relevant material can be determined based on the latest status data. At the same time, when updating the status data, multiple dimensions of data are introduced to achieve accurate updating of the status data; further, the conditional data not only includes the consumption status that can be obtained based on the system data, but also takes into account the time attributes and conditional parameters, which provides more dimensional references for the update of the status data, thereby providing users with richer information value.
[0010] In one implementation, the first consumption data display diagram of the target application body constructed based on the target body material and the target product material includes: creating a target body model diagram based on the target body material; determining the display position of the target product material in the target body model diagram according to the display attributes in the target product material; creating a display area on the target body model diagram according to the display position; adding the display content in the target product material to the display area; and generating the first consumption data display diagram based on the target body model diagram and the display content in the display area.
[0011] Based on the above technical solution, the addition of product materials is achieved by creating a display area, which can avoid the interference of the addition of product materials on the display effect of the main material of the application, and has better flexibility.
[0012] In one implementation, adding the display content in the target product material to the display area includes: determining a display strategy according to the number of the display content corresponding to the display area; processing the display content according to the display strategy, and adding the processed display content to the display area.
[0013] Based on the above technical solution, the display strategy is selected according to the quantity to ensure the clear display of the display content.
[0014] In one implementation, the target subject material includes a global view and a component view of the target subject, and creating a target subject model diagram based on the target subject material includes: determining the target product corresponding to the target application subject, and classifying the target product according to specific application component areas corresponding to the target application subject, and selecting component views from the target subject material according to the number of each classification, and creating the target subject model diagram based on the global view and the selected component view.
[0015] Based on the above technical solution, the presentation method of the application body can be adjusted according to the number of goods consumed. When the number of goods applied to the component area exceeds the threshold, a more detailed component view is used to replace the corresponding component in the global view. In this way, users can directly understand the consumption of goods based on the degree of refinement of the components, while improving the fun.
[0016] In one implementation, the method further includes identifying the second consumption display image, acquiring display effects of the target main material and the target product material, and generating product recommendation information based on the display effects.
[0017] Based on the above technical solution, by directly identifying the second consumer display picture to generate product recommendation information, it is possible to give priority to recommending products that can change the display effect in the second consumer display picture, thereby stimulating users' shopping needs and presenting better interactivity.
[0018] Based on the same inventive concept, an embodiment of the present application provides an e-commerce platform, including a server, which is used to execute the above method.
[0019] In addition, an embodiment of the present application also provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction implements the above method when executed by the processor.
[0020] The embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings constituting a part of the present application are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A schematic diagram of the structure of an e-commerce platform provided in an embodiment of the present application is shown.
[0024] Figure 2 A flow chart of an execution method of a main material creation task in an embodiment of the present application is shown.
[0025] Figure 3 A flow chart of a method for constructing a main body material in an embodiment of the present application is shown.
[0026] Figure 4 A flow chart of a consumption data display method provided in an embodiment of the present application is shown.
[0027] Figure 5 A flow chart of a method for constructing a first consumption data display chart in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more, and "first", "second" and various digital numbers are only distinguished for the convenience of description and are not used to limit the scope of the embodiments of the present application.
[0030] The features, structures or characteristics in this application may be combined in one or more embodiments in any suitable manner. In various embodiments of this application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0031] Some optional features in the embodiments of the present application may be implemented independently in some scenarios without relying on other features to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features in some scenarios as needed.
[0032] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments of this application, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships. The implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0033] Value-added services refer to services that go beyond the scope of conventional services or are provided in a way that goes beyond the conventional service methods, based on the needs of customers. Value-added services refer to services that provide a more efficient, convenient, and personalized service experience by increasing investment, optimizing processes, and improving efficiency on the basis of basic services. There are many types of value-added services, and different industries and enterprises can provide value-added services to customers based on their own characteristics. For example, the insurance industry can provide value-added services such as car washing, paint touch-up, roadside assistance, and emergency refueling to customers who purchase auto insurance. It can also provide value-added services such as green channels for medical treatment, health examinations, and health consultations to customers who purchase health insurance. At the same time, in order to meet the needs of different customers, it can also provide customers with equivalent value-added services by exchanging physical goods.
[0034] The value-added service operation and management platform is a business-to-consumer (B2C) e-commerce platform. Enterprises can use the value-added service operation and management platform to manage the entire chain of value-added services, including procurement, redemption and payment, so that customers can directly place orders and redeem value-added services through the platform. It also allows enterprises to analyze the popularity of value-added services based on customers' redemption and redemption records, and provide effective suggestions for service procurement, thereby improving customer satisfaction.
[0035] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0036] The embodiment of the present application is implemented based on an e-commerce platform, which may be the above-mentioned value-added service operation and management platform.
[0037] In an example, see Figure 1 The e-commerce platform includes a server 11 and a client 12. The client 12 can interact with the server 11 through the network, and both are implemented based on software programs. The server 11 can be deployed on a service host or a cloud server, and the client 12 can be presented in the form of an application, a WeChat applet, a web page, etc. Users can access the client 12 through smart terminal devices such as mobile phones, tablets, computers, and TVs.
[0038] The following describes the method provided in the embodiment of the present application from the perspective of the server 11 as the execution subject and from the perspective of each stage of the commodity service.
[0039] During the product creation stage, the platform administrator can first pre-review the newly listed products. For example, by entering product information such as the product name and product description in the pre-review request form to initiate a product review. After the platform server determines that the product review has passed, it identifies the application entity of the product and determines whether the main material and product material of the product already exist in the second storage space. If not, it creates the main material and product material of the product and stores them in the second storage space.
[0040] Specifically, the application subject of the commodity is used to indicate the subject who uses the commodity and the application scope of the commodity, including but not limited to the human body, automobile, house, etc. For example, if the commodity is food, then the corresponding application subject is the human body; if the commodity is automobile decoration or automobile service, then the corresponding application subject is the automobile.
[0041] In one example, the application entity corresponding to the product may be specified by a platform administrator.
[0042] In another example, the application subject corresponding to the product can be identified based on the large language model. Specifically, the server can obtain the product information such as the product name and product description corresponding to the product from the pre-examination form, and fill in the pre-saved prompt word template based on the product information to obtain the application subject identification prompt word, and then obtain the application subject applicable to the product by inputting the application subject identification prompt word into the large language model.
[0043] It is understandable that the scope of the output results can be limited in the prompt word template to obtain a unified application subject that can be identified by the server. For example, the output results can be limited in the prompt word to only be selected from the human body, car and house, or the three application subjects that best meet the user's application habits can be output. This avoids the output results of the model being uncontrolled, resulting in the server being unable to effectively manage the relevant data.
[0044] After determining the application body, the server can first query the second storage space based on the application body to determine whether the subject material corresponding to the application body is already stored in the second storage space. If it is determined that the corresponding subject material is not stored in the second storage space, a subject material creation task is generated for the application body to complete the creation of the subject material.
[0045] In one implementation, the server executes the task immediately after generating the main material creation task. Figure 2 ,The task execution process specifically includes the following steps.
[0046] S201, create a new form for the main material and send it to the platform administrator.
[0047] In one example, when creating a new form for subject material, the server can query and match a preset number of optional subject material images from the material library according to the application subject name, and add these images to the new form to display them to the platform administrator for selection.
[0048] The platform administrator can directly select one of the optional material pictures as the main material, or directly upload a picture that can be used as the main material by uploading pictures.
[0049] S202, in response to the main material creation information fed back by the platform administrator based on the new form, construct the main material.
[0050] Specifically, when the feedback information submitted by the platform administrator is a selected one from the optional subject material pictures, the subject material can be constructed based on the selected subject material picture. When the feedback information includes an uploaded picture, the subject material is constructed based on the uploaded subject material picture.
[0051] Please refer to Figure 3 , the method for constructing the main material includes the following steps.
[0052] S301, standardize the main material image to obtain a global view of the application main body.
[0053] Among them, standardization processing includes processing the size, dimension, resolution and format of the image to meet the corresponding requirements.
[0054] S302, segmenting the global view into components to obtain initial views of each component, and transforming each initial view according to preset display requirements to obtain component views that meet the corresponding display requirements.
[0055] Among them, the component view displays more detailed information than the corresponding initial view, including but not limited to the presentation of more details, presentation from different angles, etc.
[0056] Specifically, since each customer has his or her own consumption preferences, when displaying, the relevant consumption data can be highlighted by overlaying the corresponding component views.
[0057] For example, the global view of the human body is mainly used to display the overall outline of the human body, including the head, limbs, torso, etc., and does not include details such as eyes, eyebrows, lips, etc. Therefore, component views that can display details can be generated for each part separately, such as a head view including facial features, a hand view including nails, etc. In this way, for consumption data with a large number of facial skin care products, a more detailed head view can be superimposed on the global view of the human body to focus on displaying the consumption records of facial skin care products.
[0058] This allows different viewing effects to be presented based on changes in consumption data.
[0059] It is understandable that the preset display requirements can be set according to the expected display effect, including but not limited to the degree of detail, display angle, etc.
[0060] S303, taking the global view and each component view as main materials.
[0061] It can be seen that by constructing the main material based on the above method, not only can the global view be determined according to the instructions of the platform administrator, but also the corresponding component views can be generated, thereby providing a basis for the diversified display of consumption data and improving the flexibility, richness and interest of the display effect.
[0062] S203: Establish an association relationship between the main material and the application main body, and store them in the second storage space.
[0063] It is understandable that, during the creation phase of a product, if the server determines that the product material corresponding to the current product does not exist in the second storage space, the product material creation and storage can also be completed by creating and executing a product material creation task. The execution process of the task is roughly the same as the process of the main material, except that when generating the view corresponding to the product material, there is no need to generate a component view, only a global view of the product is generated, and the display position of the global view is set accordingly, where the display position can be determined according to the application scope of the product. For example, if the application scope of the car wash service is the car body, then the corresponding display position is the car body.
[0064] Based on the above technical solution, the creation of the main material and product material of the product can be completed in the product creation stage and stored in the second storage space to provide a data basis for subsequent consumption data display.
[0065] In other embodiments of the present application, the process of creating product materials also includes setting different status attributes for the products, status update rules corresponding to each status attribute, and material display effects.
[0066] Specifically, the status attributes of a product can be set to multiple types, which can be determined based on the conditional data corresponding to the product. The conditional data specifically includes consumption status, time attributes and conditional parameters; the status update rules limit the determination method corresponding to different status attributes, including but not limited to the consumption status being updated to a preset status, the duration of the consumption status exceeding a preset time, the expiration date, and the conditional parameters meeting preset requirements.
[0067] Among them, conditional parameters refer to parameter data that can cause changes in the application subject's demand for goods. In one example, the conditional parameters include the climate conditions of the user's area, user behavior data, etc. Under these conditional parameters, the frequency of car washing may need to be increased; the material display effect is used to indicate the adjustment method of the display effect of the main material or the product material. Each state attribute corresponds to a material display effect, and different state attributes correspond to different material display effects, so that users can directly adjust the material display effect or the current state of the product.
[0068] For example, the status attributes of a car wash service include: waiting to be used, used, and high service demand. The corresponding status update rules are: the consumption status is completed order waiting for settlement, the consumption status is settlement completed, settlement exceeds the preset time, or the weather conditions in the user's area meet the preset requirements. The impact of each status attribute on the display effect of the car is: no impact, adding beautification effects, and adding ugliness effects. Therefore, when a user requests to display consumption data, if the status attribute is used, you can add beautification effects to the car view to distinguish the display effects when it is not used or used for more than the preset time. The beautification effects may include but are not limited to increasing brightness, adding special effects to optimize the visual effects of the product or application body, etc.
[0069] It is understandable that the uglier effect is the opposite of the beautifier effect, including but not limited to reducing the brightness and adding special effects that affect the appearance. For example, when the status attribute of the car wash service is used, the display effect can be processed by increasing the brightness of the car body, brightening the color of the car body, or adding flashing special effects, while when the status attribute of the car wash service is out of effect period, the display effect can be processed by reducing the brightness of the car body, adding dirty special effects, etc.
[0070] For example, taking milk as an example, the status attributes include: ordered, received, and expired. The corresponding status update rules are: consumption status is payment completed, consumption status is user confirmed receipt, and expired. The impact of each status attribute on the display effect of the milk material is: first fill color, second fill color, and third fill color, among which the three fill colors are different.
[0071] In implementation, settings related to the status attributes of a product can be presented together in a new form for creating product materials, and can be obtained through feedback data submitted by the platform administrator.
[0072] It is worth noting that since the scope of application of the product may change, the application subject identified based on the large language model may also change accordingly. Therefore, in some embodiments of the present application, the server may regularly update the data in the second storage space, including re-identifying the application subject of the existing products on the platform. When it is found that the identified application subject is not included in the second storage space, the corresponding subject material can be created in time and stored in the second storage space to realize the update of the second storage space.
[0073] When a user completes a purchase, the server adds basic data for the user in the first storage space based on the information in the consumption record, where the basic data includes the product ID, product name, quantity, consumption completion time, and status data, etc. The status data records the status attributes of the product and the display effect requirements of the main material or product material corresponding to the status attributes.
[0074] In order to update the status data, the server can obtain conditional data in real time or periodically, and determine whether the conditional data triggers a change in the attribute status of the product according to the status update rules. If so, the status data is updated based on the determined attribute status of the product, so that the status data records the latest attribute status and its corresponding effect display requirements.
[0075] Among them, conditional data includes consumption status, time attributes and conditional parameters. These conditional data can be obtained based on the data acquisition tasks created by the server for the goods. The consumption status can be directly obtained by querying the platform database; the time attribute can be obtained by analyzing the system time and the product information or consumption information; the conditional parameters need to be obtained through relevant interfaces, for example, by interacting with the meteorological information platform to obtain the meteorological data in the user's area to determine whether there is heavy rain, haze, sandstorms and other weather. Or obtain user location data through the user client to determine and analyze the user's travel mode and duration, so as to determine the user's car usage.
[0076] For example, in the above car wash service, when the user successfully places an order on the platform, the basic data is added to the first storage space, and the status attribute is recorded as ready for use. The server generates a data acquisition task based on the car wash service to acquire the consumption status data of the service. When data indicating that the consumption status is successfully written off is acquired, the status attribute is updated to used.
[0077] In one implementation, in order to alleviate the data processing pressure on the server, the server may send the generated data acquisition task to the client corresponding to the user, and the client obtains and uploads the corresponding conditional data by executing the data acquisition task. The server updates the status attributes of the product according to the status update data uploaded by the client.
[0078] The specific method of judging whether the conditional data triggers a change in the attribute status of the product according to the status update rule includes matching the corresponding status attribute determination method from the status update rule based on the consumption status, time attribute and conditional parameters in each conditional data; if the conditional data meets the requirements of the corresponding status attribute determination method, the status attribute determined based on the conditional data is cached; when the status attributes corresponding to all conditional data have been confirmed and the cache includes multiple status attributes, the status attribute with the highest priority is determined as the status attribute of the product according to the priority of the status attributes; if the determined status attribute is different from the status attribute of the current record, it is determined that the conditional data triggers a change in the status attribute, thereby updating the status attributes in the status data and the corresponding display effect requirements based on the status attributes determined by the conditional parameters.
[0079] For example, the current status of the product is waiting to be used, and the acquired conditional data includes that the consumption status is ordered but not settled, and the weather condition in the user's area is a sandstorm, while the user's travel data shows that the car is in use. Then the status attributes determined based on these two conditional data are waiting to be used and high service demand. If, in the set priority, the priority of high service demand is higher than waiting to be used, the status attribute of the product is determined as high service demand.
[0080] When a user requests to view consumption data, a consumption data display request can be sent through the client, and the client forwards it to the server to respond to the request. Please refer to Figure 4 The consumption data display method provided in the embodiment of the present application includes the following steps.
[0081] S401, in response to a consumption data display request, obtaining target basic data from a first storage space.
[0082] Specifically, the basic data of the user may be obtained from the first storage space based on the identity information of the user as the target basic data.
[0083] In one implementation, the target basic data to be displayed this time can be obtained according to the restriction conditions carried in the request, wherein the restriction conditions may include order time, shopping category, commodity price, etc. Accordingly, when querying the corresponding basic data, the server can construct query conditions according to the restriction conditions to obtain the basic data of the corresponding range.
[0084] S402, extracting the target product from the target basic data, determining the target application subject based on the target product, and acquiring the target subject material corresponding to the target application subject and the target product material corresponding to the target product from the second storage space.
[0085] In one example, the target product is any product included in the target basic data, that is, each product in the basic data is a target product.
[0086] In another example, the target product may be some designated products limited for display by the platform, a certain category of products, or several types of products. The specific setting may be based on the operating needs of the platform, such as displaying non-physical products of the service category.
[0087] After determining the target product in the target basic data, the server can construct a prompt word based on the product information of the target product to instruct the large language model to output the application subject applicable to the target product. As the target application subject, the specific implementation method can refer to the method of obtaining the corresponding application subject of the product above, and will not be repeated. It is worth noting that when constructing the corresponding prompt word for the target product, the user's identity information can also be introduced in the prompt word, so that the large language model can more accurately infer the application subject applicable to the target product based on the user's identity.
[0088] After the application subjects applicable to the target product are determined, the second storage space may be queried based on each target application subject to obtain the target subject material corresponding to each target application subject.
[0089] In one example, the output result of the large language model can be limited to a range so that only the application entities recorded in the second storage space can be output. In this way, it can be ensured that the target application entities applicable to the target product can directly obtain the target entity materials from the second storage space.
[0090] In another example, in order to more accurately and comprehensively display consumption data to users, the restrictions on the output results of the large language model can be relaxed or cancelled, so as to determine a wider range of target application entities for the target product to adapt to the continuous development of the market for the use of the product, and at the same time, the data in the second storage space can be rapidly expanded. When the output restrictions are relaxed or cancelled, the results output by the large language model may include application entities that are not recorded in the second storage space.
[0091] Based on this, the server can first record the application subject, and create a subject material creation task accordingly, and by executing the task, the subject material corresponding to the application subject can be created. The creation method can refer to the above description and will not be repeated here.
[0092] It is worth noting that in order to ensure the request response rate, when the target application subject is not recorded in the second storage space, the target application subject can be ignored first, and the request processing is performed directly based on the recorded target application subject.
[0093] S403: Acquire status data corresponding to the target product from the first storage space.
[0094] The state data corresponding to the target product includes the state attributes of the target product and the display effect requirements of the main material or product material corresponding to the state attributes.
[0095] S404, constructing a first consumption data display diagram of the target application subject based on the target subject material and the target product material.
[0096] The first consumption data display graph is used to display the target product purchased by the consumer for the target application subject, that is, to display the corresponding relationship between the target application subject and the target product. Therefore, one target application subject corresponds to one first consumption data display graph.
[0097] In an example, see Figure 5 The method for constructing the first consumption data display diagram of the target application subject based on the target subject material and the target product material specifically includes the following steps.
[0098] S501, creating a target subject model diagram based on the target subject material.
[0099] Specifically, the server can first determine the target product corresponding to the target application subject, and classify it according to the specific application component area corresponding to the target product, and select the component view from the target subject material according to the number of each classification, and then create the target subject model diagram according to the global view and the selected component view. For example, when the number of target products corresponding to a certain application component area exceeds the preset threshold, the corresponding component view is selected, and if it does not exceed, the corresponding component view is not selected.
[0100] In one example, a prompt word can be constructed based on the product name and product information to obtain the specific application component area of the target product on the target application subject through a large language model, such as car wash service applied to the entire car body and facial mask applied to the human face. In another example, the specific application component area of each product can be pre-recorded in the second storage space, and the server can query the second storage space to obtain relevant information.
[0101] In one example, creating a target subject model diagram based on the global view and the selected component view may include adding the component view to a region corresponding to the global view by superposition or replacement to obtain the target subject model diagram.
[0102] S502: Determine the display position of the target product material in the target subject model diagram according to the display attribute of the target product material.
[0103] In implementation, in the process of generating product materials, the display position of the product materials is also recorded as a display attribute of the product materials, where the display position can be displayed in the form of coordinate areas or recorded in the form of area numbers. For example, multiple display areas can be set in advance for each application entity, respectively used to display related product information.
[0104] In one example, the display area is set in the blank area, and an area number is recorded accordingly.
[0105] In another example, the display area corresponds to each component setting of the application body, and accordingly, the display position of the product material is determined according to the specific application component area corresponding to the target product.
[0106] S503: Create a display area on the target subject model diagram according to the display position.
[0107] In implementation, when the display position of the target product corresponding to the target application is determined, a display area for displaying the target product material can be created on the target main image model according to each display position information. In one example, a graphic editing container can be created according to the display position information, and the size of the container area can be limited, thereby completing the creation of the display area.
[0108] S504: Add the display content in the target product material into the display area.
[0109] In one example, the display content of the target product material may be a picture or text for displaying the product. The display content may be added by adding the picture or text into the container.
[0110] In order to ensure the final display effect, the server may determine a display strategy according to the number of display contents corresponding to the display area before adding the display contents, and then process the display contents according to the display strategy and add the processed display contents to the display area.
[0111] Specifically, the target commodity to be displayed in each display area can be determined according to the display position corresponding to the target commodity, so that the number of display contents corresponding to each display area can be counted, and then the display strategy can be selected according to the number of display contents.
[0112] In one implementation, when the amount of display content is less than a first threshold, the corresponding display strategy is to directly display the display content of the product material in the display area; when the amount of display content is greater than or equal to the first threshold but less than the second threshold, the corresponding display strategy is to first compress the display content of the product material and then add it to the display area, including but not limited to partial screenshots, generating thumbnails, etc., so that the display content in the display area can still be clearly displayed; and when the amount of display content is greater than the second threshold, the corresponding display strategy is to display only text, for example, only display the product name and quantity, and omit the content that exceeds the display area in the form of ellipsis, and set different background colors for the display area, so that users can know the consumption quantity according to the color of the display area.
[0113] It is understandable that in other embodiments of the present application, the background color of the display area can also be set according to the total consumption amount of the target goods in the display area, so as to help users quickly know the distribution of the consumption amount.
[0114] S505: Generate a first consumption data display diagram based on the target subject model diagram and the display content in the display area.
[0115] In one example, after the display content is added, a complete picture can be generated based on the target subject model diagram and the content of the display area to obtain the first consumption data display diagram.
[0116] S405: Adjust the display effect of the target main material or the target commodity material on the first consumption data display diagram based on the status data to obtain a second consumption data display diagram.
[0117] In one example, the display effect requirements of the main material or product material corresponding to the status attribute recorded in the status data of the target product can be first extracted, and the display effect of the target product material or target main material on the first consumption data display diagram can be adjusted to obtain the second consumption data display diagram.
[0118] It is worth noting that in some practical applications, there may be multiple records of the same target product in the consumption data. Therefore, when determining to adjust the display effect of the target product material or the target main material, in one example, the display effect can be adjusted according to the state data of the most recently added target product. In another example, the state attribute with the highest priority can be determined according to the priority of different state data of the target product in the basic data, and the display effect can be adjusted accordingly according to the display effect requirements of the main material or product material corresponding to the state attribute with the highest priority.
[0119] For example, in the above-mentioned car wash service, the priority of the status attributes is sorted from high to low as used, expired, and waiting to be used. Therefore, when there are multiple car wash service records in the basic data, the status attribute with the highest priority can be determined from the status attributes in each record to adjust the display effect.
[0120] S406, returning to the second consumption data display chart.
[0121] Specifically, the server returns the second consumption data display graph to the client to instruct the client to display the second consumption data display graph in the consumption data display interface for the user to view.
[0122] In one implementation, the number of the second consumption data display graph is one, which includes the contents of all first consumption data display graphs generated based on the target basic data.
[0123] In another implementation, the number of second consumption data display graphs may be multiple, that is, each second consumption data display graph only includes a preset number of first consumption data display graphs, such as one first consumption data display graph corresponding to one second consumption data display graph, or two first consumption data display graphs corresponding to one second consumption data display graph. The specific display method can be selected according to the design of the platform consumption data display page.
[0124] Based on the above technical solution, users can intuitively and clearly know the distribution of consumption data on each application entity, as well as the distribution of consumer goods on different components of the corresponding application entity through the second consumption data display diagram, so as to quickly understand the consumption structure on the platform. Furthermore, by adjusting the display effect of the application entity or the product according to the status data, the concrete display of service products can be realized, so that users can view the impact of service products on the application entity according to the display effect in the second consumption data display diagram, which can improve the user experience and enable users to quickly discover effective information based on the second data display diagram to provide reference for subsequent consumption planning. At the same time, it also improves the user stickiness of the platform.
[0125] In some embodiments of the present application, the platform can effectively utilize the process data in the above method to optimize the product marketing plan.
[0126] In one example, product recommendation information may be generated and displayed based on the first consumption data display diagram and the platform display diagram corresponding to the target application entity.
[0127] Specifically, the user's consumption blank areas and dense areas can be obtained by comparing the contents of each display area in the first consumption data display map and the platform display map, and a product marketing strategy can be formulated based on the display content of these areas in the corresponding areas of the platform display map, including but not limited to: when the number of commodities in the display area in the platform display map corresponding to the user's consumption blank area is a dense area in the map, then product recommendation information is generated so that the user can be aware of the commodities in the display area in a timely manner; when the user's consumption dense area corresponds to the display area in the platform display map where the number of commodities is a weak area in the map, then the product procurement strategy can be adjusted to meet the user's consumption needs.
[0128] The platform may periodically construct a corresponding platform display graph, wherein the method for constructing the platform display graph is the same as the method for constructing the first consumption data display graph, except that the data range is different.
[0129] In one example, a platform display graph is constructed based on the basic data of all users in the first storage space. In this way, by identifying the platform display graph, the distribution of consumption data of all platform users in various application entities and commodities can be obtained, thereby analyzing the consumption habits of platform users to determine the quantity and amount of consumer commodities corresponding to each application entity. In this way, different marketing plans and procurement strategies can be formulated for different application entities.
[0130] In another example, the platform display map is constructed based on all the products listed on the platform.
[0131] In some implementations of the present application, the server may directly generate product recommendation information based on the second consumption display graph for display through the user client.
[0132] Specifically, the server can analyze the display effects of the application subject and the goods in the second consumption display image to learn the goods that are currently in demand. For example, when the display effect of the car body includes an ugly effect, it is determined that the car wash service is in demand. For another example, when the color of the product is displayed as expired, it is determined that the product is in demand. In this way, the server can directly identify the image to obtain the goods that the user may currently need, and generate recommendation information for these demanded goods, thereby improving the accuracy of product recommendations. At the same time, by directly identifying the second consumption data display image to determine the demanded product information, when the user completes the consumption based on the recommended information, the corresponding display effect can be updated to allow the user to more intuitively feel the feedback of the consumed goods, thereby improving the fun of user interaction.
[0133] It is worth noting that in the embodiment of the present application, by using the first storage space and the second storage space to manage user consumption data and material data respectively, the isolation of platform public data and user private data can be achieved, which not only facilitates the classification management of data, but also protects private data.
[0134] In addition, an embodiment of the present application also provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements a method as in any one of the implementations in the embodiments of the present application; wherein the processor may adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits, for executing relevant programs to implement the method in any one of the implementations in the embodiments of the present application.
[0135] The processor may also be an integrated circuit electronic device with signal processing capability. In the implementation process, each step of the method in any implementation of the embodiments of the present application may be completed by an integrated logic circuit of hardware in the processor or by instructions in software form.
[0136] The above-mentioned processor can also be a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be combined and executed.
[0137] The software module may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register or other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and combines its hardware to complete the functions required to be performed by the units included in the data processing device of the embodiment of the present application, or executes the method in any one of the implementation modes in the embodiment of the present application.
[0138] Another embodiment of the present application relates to a computer-readable storage medium storing a computer program, which implements the above method when executed by a processor.
[0139] Those skilled in the art can understand that all or part of the steps in the above-mentioned implementation method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of each implementation method of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0140] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A consumption data display method, characterized in that: Applied to the server, the method comprises the steps of: In response to the consumption data display request, obtaining target basic data from the first storage space; Extracting a target product from the target basic data, determining a target application subject based on the target product, and acquiring a target subject material corresponding to the target application subject and a target product material corresponding to the target product from the second storage space; Acquire status data corresponding to the target product from the first storage space; Building a first consumption data display diagram of the target application subject based on the target subject material and the target product material, wherein the first consumption data display diagram is used to display the corresponding relationship between the target application subject and the target product; Adjusting the display effect of the target subject material or the target commodity material on the first consumption data display graph based on the status data to obtain a second consumption data display graph; Return to the second consumption data display chart.
2. The method according to claim 1, characterized in that The state data includes the state attributes of the target product and the display effect requirements of the subject material or the product material corresponding to the state attributes; the step of adjusting the display effect of the target subject material or the target product material on the first consumption data display diagram based on the state data to obtain the second consumption data display diagram includes: Acquire state attributes in the plurality of state data corresponding to the target product; Determine the state attribute with the highest priority from among the state attributes; Based on the display effect requirement of the main material or the commodity material corresponding to the status attribute with the highest priority, the display effect of the target main material or the target commodity material on the first consumption data display graph is adjusted.
3. The method according to claim 1, characterized in that The method further includes automatically updating the status data, and the method for updating the status data includes: Acquire the condition data corresponding to the target product in real time or periodically, and determine whether the condition data triggers a change in the attribute state of the target product according to the state update rule corresponding to the target product; if so, update the state data based on the state attribute determined by the condition parameter, wherein the condition data includes consumption status, time attribute and condition parameter, and the state attribute determined by the condition data has the highest priority among the multiple state attributes determined based on the consumption status, the time attribute and the condition parameter.
4. The method according to claim 1, characterized in that: The first consumption data display diagram of the target application subject constructed based on the target subject material and the target product material includes: Creating a target subject model diagram based on the target subject material; Determining a display position of the target product material in the target subject model diagram according to a display attribute in the target product material; Creating a display area on the target subject model diagram according to the display position; Adding the display content in the target product material to the display area; The first consumption data display diagram is generated based on the target subject model diagram and the display content in the display area.
5. The method according to claim 2, characterized in that: The adding the display content in the target product material to the display area includes: Determining a display strategy according to the number of display contents corresponding to the display area; The display content is processed according to the display strategy, and the processed display content is added to the display area.
6. The method according to claim 2, characterized in that The target subject material includes a global view and a component view of the target subject, and creating a target subject model diagram based on the target subject material includes: Determine the target product corresponding to the target application subject, and classify the target product according to the specific application component area corresponding to the target application subject, and select component views from the target subject material according to the number of each classification, and create the target subject model diagram based on the global view and the selected component view.
7. The method according to claim 1, characterized in that The method also includes identifying the second consumption display image, obtaining display effects of the target main material and the target product material, and generating product recommendation information according to the display effects.
8. An e-commerce platform, characterized in that: The platform includes a server, and the server is used to execute the method according to any one of claims 1 to 7.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the method according to any one of claims 1 to 7 when executed by the processor.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Display method and device for cross-merchant order information
CN104574107A
Account book data processing method, device and equipment
CN113282824A
Data processing method and device, equipment and medium
CN114647685A
Order information display method and electronic equipment
CN116739697A
Bill display method, device and equipment and readable storage medium
CN117196622A