Product status display method, device, equipment, storage medium and program product

By generating and displaying finite state diagrams, the problem of inefficient classification process backtracking after automatic classification technology in the financial industry is solved, and efficient classification process display and backtracking is achieved.

CN114741437BActive Publication Date: 2025-05-23CHINA CONSTRUCTION BANK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210417293.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-20
Publication Date
2025-05-23
Estimated Expiration
2042-04-20

AI Technical Summary

Technical Problem

In the financial industry, after the loan quality classification is classified through automatic classification technology, only classification results are usually given, and the specific classification process requires manual backtracking by development, operation and maintenance personnel, which consumes a lot of time and energy and is inefficient.

Method used

Provide a product status display method, by obtaining the user ID to be processed, querying product status log records, sorting and storing in chronological order, generating a finite status diagram, and displaying the classification process through an image display template, achieving efficient classification process backtracking.

Benefits of technology

By displaying the finite state diagram of the classification process, manual backtracking of the classification process by development and operation personnel is reduced, efficiency is improved, and time and energy is saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114741437B_ABST
    Figure CN114741437B_ABST
Patent Text Reader

Abstract

The present application discloses a product status display method, device, computer equipment, storage medium and computer program product, which relates to the field of big data intelligent analysis technology. The method includes: obtaining a user identifier to be processed; querying the product status log record corresponding to the user identifier to be processed; processing the product status log record according to the target data structure, including: sorting the product status log record in chronological order, storing the sorted product status log record according to the target data structure; generating a finite state diagram based on the processed product status log record; and displaying the finite state diagram. This method can efficiently display the classification process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of big data intelligent analysis, and in particular to a product status display method, device, computer equipment, storage medium and computer program product. Background Art

[0002] In the financial industry, loan quality is usually classified by the borrower's actual repayment ability. Due to the large number of loans, manual classification of loan quality is slow and prone to errors. Therefore, with the development of computer technology in the financial field, technology for automatically classifying loan quality through computer programs has gradually emerged.

[0003] However, after classification by automatic classification technology, usually only the corresponding classification results are given, and the specific classification process can only be traced back by development and operation personnel who have mastered the classification rules.

[0004] However, the process of backtracking the classification process through development and operation personnel takes a lot of time and energy and is inefficient. Summary of the invention

[0005] Based on this, it is necessary to provide a product status display method, device, computer equipment, computer-readable storage medium and computer program product that can efficiently display the classification process in response to the above technical problems.

[0006] In a first aspect, the present application provides a product status display method, the method comprising: obtaining a user identifier to be processed; querying a product status log record corresponding to the user identifier to be processed; processing the product status log record according to a target data structure, including: sorting the product status log record in chronological order; storing the sorted product status log record according to a target data structure; generating a finite state graph according to the processed product status log record; and displaying the finite state graph. In one embodiment, the generating of a finite state graph according to the processed product status log record comprises: parsing the product status log record stored according to the target data structure in sequence according to the sorting order; obtaining a corresponding display template according to the classification state of the currently parsed product status log record; filling the display template with the state information of the currently parsed product status log record to obtain the current display template; if the currently parsed product status log record is not ranked first, generating a connection line connecting the current display template to the previous display template, and continuing to obtain the next product status log record stored according to the target data structure according to the sorting order, until the parsing of the product status log record stored in the target data structure is completed, outputting the generated current display template and the connection line.

[0007] In one of the embodiments, acquiring a corresponding display template according to the classification status of the currently parsed product status log record includes: acquiring a display template of a different color and / or a different shape according to the classification status of the currently parsed product status log record.

[0008] In one of the embodiments, the querying of the product status log record corresponding to the user identifier to be processed includes at least one of the following: querying the log record corresponding to the user identifier to be processed; extracting the product status log record in which the product status has changed from the log record; and querying the log record corresponding to the user identifier to be processed as the product status log record, wherein when the log record is stored, only the log record in which the product status has changed is stored.

[0009] In one of the embodiments, after generating a finite state diagram according to the processed product status log record, the method further includes: obtaining the last product status in the finite state diagram; and generating a warning report corresponding to the last product status.

[0010] In the second aspect, the present application also provides a product status display device, which includes: an identification acquisition module for acquiring a user identification to be processed; a record query module for querying a product status log record corresponding to the user identification to be processed; a record processing module for processing the product status log record according to a target data structure, including: sorting the product status log record in chronological order, and storing the sorted product status log record according to the target data structure; an image generation module for generating a finite state diagram based on the processed product status log record; and an image display module for displaying the finite state diagram.

[0011] In one of the embodiments, the image generation module includes: a parsing module, which is used to parse the product status log records stored in the target data structure in sequence according to the sorting order; a template acquisition module, which is used to acquire the corresponding display template according to the classification status of the product status log record currently parsed; a template filling module, which is used to fill the display template with the status information of the product status log record currently parsed to obtain the current display template; and an output module, which is used to generate a connection line connecting the current display template to the previous display template if the sorting of the product status log record currently parsed is not the first, and continue to acquire the next product status log record stored in the target data structure in the sorting order, until the parsing of the product status log record stored in the target data structure is completed, and output the generated current display template and connection line.

[0012] In one of the embodiments, the template acquisition module includes: acquiring display templates of different colors and / or different shapes according to the classification status of the currently parsed product status log record.

[0013] In one of the embodiments, the record query module includes at least one of the following: a change extraction module, used to query the log record corresponding to the user identifier to be processed; extract the product status log record in which the product status has changed from the log record; and a change storage module, used to query the log record corresponding to the user identifier to be processed as the product status log record, wherein when the log record is stored, only the log record in which the product status has changed is stored.

[0014] In one of the embodiments, it further includes: a final state acquisition module, used to obtain the final product state in the finite state diagram; and a report generation module, used to generate a warning report corresponding to the final product state.

[0015] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0016] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0017] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0018] The above-mentioned product status display method, device, computer equipment, storage medium and computer program product record the target classification process through preset rules, obtain the corresponding target data structure through processing the log record, and generate the corresponding finite state diagram through the target data structure. By displaying the target classification process with the current state diagram, there is no need for the staff to manually backtrack the classification process, thus realizing efficient backtracking of the classification process. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A diagram showing an application environment of a product status display method in an embodiment;

[0020] Figure 2 A schematic diagram of a flow chart of a method for displaying product status in one embodiment;

[0021] Figure 3 is a schematic diagram of a finite state diagram in one embodiment;

[0022] Figure 4 is a structural block diagram of a product status display device in one embodiment;

[0023] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0025] The product status display method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 obtains the user identification to be processed uploaded by the terminal 102; queries the product status log record corresponding to the user identification to be processed; processes the product status log record according to the target data structure, including: sorting the product status log record in chronological order; storing the sorted product status log record according to the target data structure. Generate a finite state diagram based on the processed product status log record; display the finite state diagram. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0026] In one embodiment, Figure 2 As shown, a product status display method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0027] Step 202: Obtain the user ID to be processed.

[0028] In the financial system, taking a bank as an example, usually a bank or branch has multiple users, and a user uses multiple products in the corresponding bank. For example, a user of a bank may be both a depositor and a loan user in the corresponding bank, wherein the savings business and the loan business correspond to different products provided by the bank. When the user's storage situation or loan repayment situation is queried, a product status log record is generated. When the user's storage amount or loan repayment situation changes, the corresponding product status will change. This application does not limit the institution to which the user belongs, including but not limited to banks, and this application does not limit the products used by the user, including but not limited to savings products and loan products. Among them, the user identifier is a unique identity ID that distinguishes the user's identity. Optionally, the user identifier is a user name. This application does not limit the specific fields of the user identifier, and any field that can distinguish the user's identity is acceptable. The user to be processed is a user whose business personnel of the bank want to query the status of the product they use.

[0029] Specifically, the server obtains the user identification of the user to be processed.

[0030] Step 204: query the product status log record corresponding to the user identifier to be processed.

[0031] Among them, the content recorded in the product status log may include but is not limited to user identification, the time of querying the product status, the time corresponding to each step of executing the status query, the product status before executing the status query, the trigger conditions and execution actions corresponding to each step of determining the product status of the status query, and the product status after executing the status query.

[0032] Specifically, the server can query the most recent product status log record based on the user ID to be processed, or query the product status log record within the target time period based on the user ID to be processed, or query the product status log record for a specified time period based on the user ID to be processed.

[0033] Step 206, processing the product status log records according to the target data structure, including: sorting the product status log records in chronological order, and storing the sorted product status log records according to the target data structure.

[0034] Among them, the target data structure is the details of each step of determining the product status of the status query, including the execution time of the step, the status before the step is executed, the execution condition of the step, the execution action corresponding to the execution condition of the step, and the status after the execution action of the step is executed.

[0035] Optionally, the server processes the product status log records according to the target data structure, sorts the processed target data structure in chronological order, and stores the sorted product status log records according to the target data structure.

[0036] Step 208: Generate a finite state diagram based on the processed product status log record.

[0037] Specifically, the server generates a finite state diagram according to a pre-set template based on the processed product status log record.

[0038] Step 210, display the finite state diagram.

[0039] Specifically, the server performs display according to the finite state diagram generated above.

[0040] The above product status display method processes a specific product status log record through a target data structure and generates a corresponding finite state diagram according to the processed product status log record. The classification process of the product status is displayed through the current state diagram, realizing efficient backtracking of the classification process.

[0041] In a specific embodiment, when the management user needs to query the state change process corresponding to the classification state of the loan product of the user to be processed, the server obtains the user ID to be processed. The server queries the product state log record corresponding to the user ID to be processed. The server sorts the classification steps of the product state log record in chronological order, and stores the sorted product state log record according to the target data structure, i.e., the execution time of each classification step, the state before the step is executed, the execution condition of the step, the execution action corresponding to the execution condition of the step, and the state after the execution action of the step is executed. The server generates a finite state diagram according to the pre-set template based on the processed product state log record. The server displays the above finite state diagram.

[0042] In one embodiment, a finite state diagram is generated based on processed product status log records, including: parsing the product status log records stored in a target data structure in sequence according to the sorting order; obtaining a corresponding display template according to the classification status of the currently parsed product status log record; filling the display template with the status information of the currently parsed product status log record to obtain the current display template; if the currently parsed product status log record is not ranked first, generating a connection line connecting the current display template to the previous display template, and continuing to obtain the next product status log record stored in the target data structure in the sorting order, until the parsing of the product status log record stored in the target data structure is completed, and outputting the generated current display template and the connection line.

[0043] Specifically, the server parses the product status log records stored in the target data structure in chronological order. And obtains the corresponding display template according to the state after the execution of the action in each step of determining the product status; fills the display template with the status information of the currently parsed product status log record to obtain the current display template; if the order of the currently parsed product status log record is not the first, then generates a connection line connecting the current display template to the previous display template, and continues to obtain the next product status log record stored in the target data structure in the order of order, until the product status log record stored in the target data structure is parsed, and the generated current display template and connection line are output. Among them, each step of determining the product status is to classify the status of the current step of the product according to each execution condition of determining the product status. Optionally, the connection line identifies the execution condition triggered by each step of determining the product status.

[0044] The above-mentioned product status display method parses the product status log records stored in the target data structure in sequence according to the sorting order to obtain an ordered classification status, and obtains the corresponding display template according to the classification status to fill the ordered classification status into the corresponding display template, and connects the above-mentioned display templates through connecting lines, so that users can directly display the classification process of the product status through the current status diagram, thereby realizing efficient backtracking of the classification process.

[0045] In one embodiment, acquiring a corresponding display template according to the classification status of the currently parsed product status log record includes: acquiring a display template of a different color and / or a different shape according to the classification status of the currently parsed product status log record.

[0046] The display template corresponding to the status of each product has a different color and / or shape to highlight the current status of each product.

[0047] Specifically, the server obtains display templates of different colors and / or shapes according to the status after the action is executed in each step of determining the product status recorded in the currently parsed product status log.

[0048] The above-mentioned product status display method highlights the status after the action is executed in each step of determining the product status through display templates of different colors and / or different shapes, so that users can intuitively understand the status change process of the product during the classification process and lock the steps and reasons for the status change.

[0049] In one embodiment, querying the product status log record corresponding to the user identifier to be processed includes at least one of the following: querying the log record corresponding to the user identifier to be processed; extracting the product status log record in which the product status has changed from the log record; and querying the log record corresponding to the user identifier to be processed as the product status log record, wherein when the log record is stored, only the log record in which the product status has changed is stored.

[0050] The above-mentioned product status display method reduces duplicate data records by extracting product status log records of product status changes from log records, and reduces storage space and enhances resource utilization efficiency by storing only log records of product status changes.

[0051] In one embodiment, after generating a finite state graph according to the processed product state log record, the method further includes: obtaining the last product state in the finite state graph; and generating a warning report corresponding to the last product state.

[0052] Specifically, the server obtains the final state of the product in the finite state diagram, and generates a corresponding warning report according to the final state of the finite state diagram corresponding to each product, for highlighting the products and corresponding users whose final states are in the warning state. Optionally, the user information whose final state of the product is in the warning state is highlighted and sent to the corresponding management user.

[0053] The above-mentioned product status display method displays the user information of the users in the warning status through the warning report, so that the management user can intuitively obtain the information of the users in the warning status.

[0054] In one embodiment, when the product is a loan product, the steps of the method for displaying the status of the loan product are as follows:

[0055] When the management user needs to query the status generation process of the loan product of the pending user, the server obtains the pending user identifier sent by the management user. The server queries the corresponding loan product status log record according to the pending user identifier. Optionally, the format of the loan product status log record is a preset format, taking the loan product status log record as an example, including: pending user identifier, query product status time, i.e., classification date, time of each step of determining product status in the status query, i.e., recording time, state before execution of each step of determining product status in the status query, i.e., pre-trigger risk classification state, execution condition of each step of determining product status in the status query, i.e., trigger condition, execution action corresponding to the execution condition of each step of determining product status in the status query, i.e., execution action, state after execution of each step of determining product status in the status query, i.e., post-trigger risk classification state. Among them, the trigger condition may include but is not limited to overdue rules, blacklist rules, credit card rules, and provident fund rules. Taking the overdue rule as an example, when the user is overdue for 1 day, the overdue rule is triggered, and the overdue rule execution action corresponding to the overdue rule is executed, and the product status is changed from normal loan to concerned loan. The product status log record is processed in chronological order according to the target data structure to obtain the corresponding data set. And draw the corresponding finite state diagram in sequence according to the time sequence of the records in the data set. For example, draw a square state box of normal loans and set a white background, draw a square state box of concerned loans, set the concerned loan box to a blue background, and draw an arrow line from the normal loan box to the concerned loan box. Optionally, set the arrow color between the square state boxes whose states have changed to different colors, and annotate the classification date, recording time, triggering condition and execution action, and get the following Figure 3 The server sends the above finite state diagram to the front end for display.

[0056] The above product status display method processes a specific product status log record through a target data structure and generates a corresponding finite state diagram according to the processed product status log record. The classification process of the product status is displayed through the current state diagram, realizing efficient backtracking of the classification process.

[0057] In one embodiment, when the product is a loan product, the steps of the method for displaying the status of the loan product are as follows:

[0058] When the management user needs to query the status generation process of the loan product of the pending user, the server obtains the pending user identifier sent by the management user. The server queries the corresponding loan product status log record according to the pending user identifier. The format of the loan product status log record is a preset format, including: pending user identifier, query product status time, i.e., classification date, time of each step of determining product status in status query, i.e., recording time, state before execution of each step of determining product status in status query, i.e., pre-trigger risk classification state, execution condition of each step of determining product status in status query, i.e., trigger condition, execution action corresponding to the execution condition of each step of determining product status in status query, i.e., execution action, state after execution of each step of determining product status in status query, i.e., post-trigger risk classification state. Among them, the trigger condition may include but is not limited to overdue rules, blacklist rules, credit card rules, and provident fund rules. The server processes each classification step of the product status log record, i.e., each status query step, in chronological order according to the target data structure, and obtains the execution time of each classification step, the state before execution of the step, the execution condition of the step, the execution action corresponding to the execution condition of the step, and the state after execution of the execution action of the step. The server generates a finite state diagram based on the processed product status log record. For example, the server obtains the trigger condition of the first target data structure in chronological order, that is, the execution condition of the first step is overdue for 0 days, that is, no overdue. Then the execution action corresponding to the execution condition of the first step is determined according to the overdue rule and the execution condition obtained in the first step to set the product status to the normal loan status, and connect the initial unclassified structure status box with the normal loan status box in chronological order. The server obtains the trigger condition of the second target data structure, that is, the execution condition of the second step is not in the blacklist list, then the execution action corresponding to the execution condition of the second step is determined according to the blacklist rule and the execution condition obtained in the second step to set the product status to the normal loan status, and the normal loan status box is marked with a self-looping arrow. The server obtains the trigger condition of the third target data structure, that is, the execution condition of the third step is that the credit card is overdue for 30 days, then the execution action corresponding to the execution condition of the third step is determined according to the credit card rule and the execution condition obtained in the third step to set the product status to the concerned state, and connect the normal loan status box with the concerned loan status box in chronological order. The server obtains the trigger condition of the fourth target data structure, that is, the execution condition of the fourth step is that there is no overdue housing fund. Then the execution action corresponding to the execution condition of the fourth step is determined according to the housing fund rules and the execution condition obtained in the fourth step to set the product status to the attention status, and the attention loan status box is marked with a self-looping arrow. The execution condition of the fifth step of the server is the combination rule of the above classification steps. The final classification result is taken, and the corresponding status setting is executed according to the combination rule, and the following is obtained. Figure 3 The finite state diagram shown.

[0059] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0060] Based on the same inventive concept, the embodiment of the present application also provides a product status display device for implementing the product status display method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more product status display device embodiments provided below can refer to the limitations of the product status display method above, and will not be repeated here.

[0061] In one embodiment, Figure 4 As shown, a product status display device is provided, comprising: an identification acquisition module 100, a record query module 200, a record processing module 300, an image generation module 400, and an image display module 500, wherein:

[0062] The identification acquisition module 100 is used to acquire the user identification to be processed.

[0063] The record query module 200 is used to query the product status log record corresponding to the user identifier to be processed.

[0064] The record processing module 300 is used to process the product status log records according to the target data structure, including: sorting the product status log records in chronological order, and storing the sorted product status log records according to the target data structure.

[0065] The image generation module 400 is used to generate a finite state diagram according to the processed product state log record.

[0066] The image display module 500 is used to display the finite state diagram.

[0067] In one embodiment, an image generation module includes: a parsing module, which is used to parse the product status log records stored in the target data structure in sequence according to the sorting order; a template acquisition module, which is used to obtain the corresponding display template according to the classification status of the product status log record currently parsed; a template filling module, which is used to fill the display template with the status information of the product status log record currently parsed to obtain the current display template; an output module, which is used to generate a connection line connecting the current display template to the previous display template if the sorting of the product status log record currently parsed is not the first, and continue to obtain the next product status log record stored in the target data structure in the sorting order until the parsing of the product status log record stored in the target data structure is completed, and output the generated current display template and connection line.

[0068] In one embodiment, the template acquisition module includes: acquiring display templates of different colors and / or different shapes according to the classification status of the currently parsed product status log record.

[0069] In one embodiment, the record query module includes at least one of the following: a change extraction module, used to query the log records corresponding to the user identifier to be processed; extract product status log records in which the product status has changed from the log records; a change storage module, used to query the log records corresponding to the user identifier to be processed as product status log records, wherein when the log records are stored, only the log records in which the product status has changed are stored.

[0070] In one embodiment, it also includes: a final state acquisition module, used to obtain the final product state in the finite state diagram; and a report generation module, used to generate a warning report corresponding to the final product state.

[0071] Each module in the above-mentioned product status display device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0072] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a product status display method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0073] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0074] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining a user identifier to be processed; querying a product status log record corresponding to the user identifier to be processed; processing the product status log record according to a target data structure, including: sorting the product status log record in chronological order, and storing the sorted product status log record according to the target data structure; generating a finite state diagram according to the processed product status log record; and displaying the finite state diagram.

[0075] In one embodiment, the generation of a finite state diagram based on processed product status log records implemented when a processor executes a computer program includes: parsing the product status log records stored in a target data structure in sequence according to the sorting order; obtaining a corresponding display template according to the classification status of the currently parsed product status log record; filling the display template with the status information of the currently parsed product status log record to obtain the current display template; if the sorting of the currently parsed product status log record is not the first, generating a connection line connecting the current display template to the previous display template, and continuing to obtain the next product status log record stored in the target data structure in the sorting order, until the parsing of the product status log record stored in the target data structure is completed, and outputting the generated current display template and the connection line.

[0076] In one embodiment, the processor executes a computer program to obtain a corresponding display template according to the classification status of the currently parsed product status log record, including: obtaining a display template of a different color and / or a different shape according to the classification status of the currently parsed product status log record.

[0077] In one embodiment, the query of product status log records corresponding to the user identifier to be processed implemented when the processor executes a computer program includes at least one of the following: querying the log records corresponding to the user identifier to be processed; extracting the product status log records in which the product status has changed from the log records; and querying the log records corresponding to the user identifier to be processed as product status log records, wherein when the log records are stored, only the log records in which the product status has changed are stored.

[0078] In one embodiment, after the processor executes the computer program to generate a finite state diagram according to the processed product status log record, the method further includes: obtaining the last product status in the finite state diagram; and generating a warning report corresponding to the last product status.

[0079] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining a user identifier to be processed; querying a product status log record corresponding to the user identifier to be processed; processing the product status log record according to a target data structure, including: sorting the product status log record in chronological order, and storing the sorted product status log record according to the target data structure; generating a finite state diagram based on the processed product status log record; and displaying the finite state diagram.

[0080] In one embodiment, a computer program generated according to a processed product status log record when executed by a processor includes: parsing the product status log records stored according to a target data structure in sequence according to a sorted order; obtaining a corresponding display template according to a classification status of a currently parsed product status log record; filling the display template with status information of the currently parsed product status log record to obtain a current display template; if the currently parsed product status log record is not ranked first, generating a connection line connecting the current display template to the previous display template, and continuing to obtain the next product status log record stored according to the target data structure in a sorted order, until the parsing of the product status log record stored in the target data structure is completed, and outputting the generated current display template and the connection line.

[0081] In one embodiment, the computer program executed by the processor implements obtaining a corresponding display template according to the classification status of the currently parsed product status log record, including: obtaining display templates of different colors and / or different shapes according to the classification status of the currently parsed product status log record.

[0082] In one embodiment, the query of product status log records corresponding to the pending user identifier implemented by the computer program when executed by the processor includes at least one of the following: querying the log records corresponding to the pending user identifier; extracting the product status log records in which the product status has changed from the log records; and querying the log records corresponding to the pending user identifier as product status log records, wherein when the log records are stored, only the log records in which the product status has changed are stored.

[0083] In one embodiment, after the computer program is executed by the processor to generate a finite state diagram according to the processed product status log record, it also includes: obtaining the last product status in the finite state diagram; and generating a warning report corresponding to the last product status.

[0084] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0085] Obtain the user identifier to be processed; query the product status log record corresponding to the user identifier to be processed; process the product status log record according to the target data structure, including: sorting the product status log record in chronological order, and storing the sorted product status log record according to the target data structure; generate a finite state diagram based on the processed product status log record; and display the finite state diagram.

[0086] In one embodiment, a computer program generated according to a processed product status log record when executed by a processor includes: parsing the product status log records stored according to a target data structure in sequence according to a sorted order; obtaining a corresponding display template according to a classification status of a currently parsed product status log record; filling the display template with status information of the currently parsed product status log record to obtain a current display template; if the currently parsed product status log record is not ranked first, generating a connection line connecting the current display template to the previous display template, and continuing to obtain the next product status log record stored according to the target data structure in a sorted order, until the parsing of the product status log record stored in the target data structure is completed, and outputting the generated current display template and the connection line.

[0087] In one embodiment, the computer program executed by the processor implements obtaining a corresponding display template according to the classification status of the currently parsed product status log record, including: obtaining display templates of different colors and / or different shapes according to the classification status of the currently parsed product status log record.

[0088] In one embodiment, the query of product status log records corresponding to the pending user identifier implemented by the computer program when executed by the processor includes at least one of the following: querying the log records corresponding to the pending user identifier; extracting the product status log records in which the product status has changed from the log records; and querying the log records corresponding to the pending user identifier as product status log records, wherein when the log records are stored, only the log records in which the product status has changed are stored.

[0089] In one embodiment, after the computer program is executed by the processor and generates a finite state diagram based on the processed product status log record, it also includes: obtaining the last product status in the finite state diagram; generating a warning report corresponding to the last product status. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0090] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0091] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0092] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for displaying product status, characterized in that, the method includes: Obtaining a user identifier to be processed; Querying the product status log record corresponding to the user identifier to be processed; Processing the product status log record according to a target data structure, including: sorting the product status log record in chronological order, and storing the sorted product status log record according to the target data structure; Generating a finite state diagram according to the processed product status log record; Displaying the finite state diagram; The generating a finite state diagram according to the processed product status log record includes: Parsing the product status log record stored according to the target data structure in sequence according to the sorting order; Obtaining a corresponding display template according to the classification status of the currently parsed product status log record; Filling the display template with the status information of the currently parsed product status log record to obtain the current display template; If the sorting of the currently parsed product status log record is not the first, then generating a connection line connecting the current display template to the previous display template, and continuing to obtain the next product status log record stored according to the target data structure in the sorting order until the parsing of the product status log record stored according to the target data structure is completed, and outputting the generated current display template and connection line.

2. The method according to claim 1, characterized in that, the obtaining a corresponding display template according to the classification status of the currently parsed product status log record includes: Obtaining display templates of different colors and / or different shapes according to the classification status of the currently parsed product status log record.

3. The method according to claim 1, characterized in that, the querying the product status log record corresponding to the user identifier to be processed includes at least one of the following: Querying the log record corresponding to the user identifier to be processed; extracting the product status log record in which the product status has changed from the log record; and Querying the log record corresponding to the user identifier to be processed as the product status log record, wherein when the log record is stored, only the log record in which the product status has changed is stored.

4. The method according to claim 1, characterized in that, after generating the finite state diagram according to the processed product status log record, it further includes: Obtaining the last product status in the finite state diagram; Generating a warning report corresponding to the last product status.

5. A product status display device, characterized in that, the device includes: An identifier acquisition module for obtaining a user identifier to be processed; A record query module for querying the product status log record corresponding to the user identifier to be processed; A record processing module for processing the product status log record according to a target data structure, including: sorting the product status log record in chronological order, and storing the sorted product status log record according to the target data structure; An image generation module for generating a finite state diagram according to the processed product status log record; An image display module, used for displaying the finite state diagram; The image generation module comprises: A parsing module, used for parsing the product status log records stored in the target data structure in sequence according to the sorting order; The template acquisition module is used to acquire the corresponding display template according to the classification status of the currently parsed product status log record; A template filling module, used to fill the display template with the status information of the product status log record currently parsed to obtain a current display template; An output module is used to generate a connection line connecting the current display template to the previous display template if the sorting of the product status log record currently being parsed is not the first, and continue to obtain the next product status log record stored in the target data structure in the sorting order until the parsing of the product status log record stored in the target data structure is completed, and output the generated current display template and connection line.

6. The device according to claim 5, It is characterized in that The template acquisition module includes: acquiring display templates of different colors and / or different shapes according to the classification status of the currently parsed product status log record.

7. The device according to claim 6, It is characterized in that The record query module includes at least one of the following: A change extraction module is used to query the log records corresponding to the user identifier to be processed; extract the product status log records in which the product status has changed from the log records; and The change storage module is used to query the log record corresponding to the to-be-processed user identifier as a product status log record, wherein when the log record is stored, only the log record of the product status change is stored.

8. The device according to claim 7, It is characterized in that Also includes: A final state acquisition module, used to acquire the final product state in the finite state diagram; The report generation module is used to generate a warning report corresponding to the final product status.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

11. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Navigation log electronization method and system

    CN113806319A