Product page pushing method based on state machine and computer equipment
Through a state machine-based method, product page information is obtained and configured, and product production process is disassembled and converted into a state machine model. The problems of low complexity and correlation of product page development in the existing technology are solved, and more efficient product page push and improved user experience are achieved.
Patent Information
- Application Number
- CN202411603507.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-12
AI Technical Summary
When pushing product pages in the prior art, product page elements need to be developed separately for each product, resulting in a large workload and the generated product pages are difficult to maintain uniformity, reducing the relevance and user experience of associated product pages.
The product page push method based on the state machine is adopted to obtain product production process information and product page configuration information from the associated product server, configure product page editing model, disassemble the process state of the product production process information, convert it into a state machine model, store and render to generate the final product push page.
Through the unified product page configuration information and state machine model, the relevance of associated product pages is improved, development complexity is reduced, and user experience is improved.
Smart Images

Figure CN119515501A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of page push, and specifically to a product page push method and computer device based on a state machine. Background Art
[0002] In various Internet push methods related to insurance business, it is necessary to provide users with an online insurance application page. Due to the large number of insurance product categories, different inspection standards for products with different characteristics, and differences in push methods, there are great differences in insurance application steps, data filling, and information uploading. At present, when pushing product pages, the usual method is to develop corresponding product page elements and product production (insurance) steps for each product separately to generate a product page.
[0003] However, in practice, it is found that when the above method is used to push product pages, the following technical problems often occur: The method of developing product page elements for each product separately may require multiple control terminals (central processing units) to develop simultaneously due to the large workload. The generated product pages are difficult to maintain uniformity, resulting in a decrease in the relevance of product pages of related products, thereby reducing the user experience. Summary of the invention
[0004] The content of this application is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this application is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0005] Some embodiments of the present application propose a product page push method, a computer device, and a computer-readable storage medium based on a state machine to solve one or more of the technical problems mentioned in the above background technology section.
[0006] In a first aspect, some embodiments of the present application provide a product page push method based on a state machine, the method comprising: obtaining product production process information and product page configuration information from an associated product server; configuring a product page editing model based on the above product page configuration information; performing process state decomposition processing on the above product production process information to obtain a process state information sequence; determining, based on the above product page configuration information, process state machine element information corresponding to each process state information in the above process state information sequence to obtain a process state machine element information sequence; storing the above process state machine element information sequence in the above product server; in response to receiving a product page viewing request information sent by a user terminal, obtaining the process state machine element information corresponding to the above product page viewing request information from the above product server as the state machine element information to be pushed; based on the above product page editing model, rendering the above state machine element information to be pushed to generate product push page information, and sending the above product push page information to the above user terminal.
[0007] In a second aspect, the present application also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the method described in any implementation of the first aspect is implemented.
[0008] In a third aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the method described in any implementation of the first aspect is implemented.
[0009] The above-mentioned embodiments of the present application have the following beneficial effects: through the product page push method based on the state machine of some embodiments of the present application, the relevance of the product pages of the associated products can be improved, thereby improving the user experience. Specifically, the reason for the reduction in user experience is that the way of developing product page elements for each product separately may require multiple control terminals (central processing units) to develop simultaneously due to the large workload, and the generated product pages are difficult to maintain uniformity, resulting in a reduction in the relevance of the product pages of the associated products. Based on this, the product page push method based on the state machine of some embodiments of the present application first obtains product production process information and product page configuration information from the associated product server. Secondly, based on the above-mentioned product page configuration information, the product page editing model is configured. Thus, the page editing model can be configured according to the unified product page configuration information to generate the associated product page. Then, the process state disassembly processing of the above-mentioned product production process information is performed to obtain a process state information sequence. Thus, the action information and state information of each step of the product production process (insurance process) can be obtained. Then, based on the above-mentioned product page configuration information, the process state machine element information corresponding to each process state information in the above-mentioned process state information sequence is determined to obtain the process state machine element information sequence. Thus, the product production process can be converted into a state machine to generate a product page. Then, the above process state machine element information sequence is stored in the above product server. Thus, the generated state machine model can be stored in the server. Subsequently, in response to receiving the product page viewing request information sent by the user terminal, the process state machine element information corresponding to the above product page viewing request information is obtained from the above product server as the state machine element information to be pushed. Thus, the product generation step that the user wants to view and operate can be selected. Finally, based on the above product page editing model, the above state machine element information to be pushed is rendered to generate product push page information, and the above product push page information is sent to the above user terminal. Thus, the product page information that the user wants to view and operate can be obtained. Therefore, some state machine-based product page push methods of the present application can obtain the state machine model corresponding to the product production process by disassembling the state of the product production process, and then, by using a unified page component, each action and state in the state machine model is rendered to obtain the final product push page for sending to the user terminal. Thus, a single control terminal can be used to develop multiple product pages, which improves the relevance of the product pages, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0011] Figure 1 is a flowchart of some embodiments of a product page push method based on a state machine according to the present application; Figure 2 is a schematic diagram of a product page according to some embodiments of the state machine-based product page push method of the present application; Figure 3 It is a schematic diagram of the structure of a computer device suitable for implementing some embodiments of the present application. DETAILED DESCRIPTION
[0012] Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0013] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0014] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0015] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0016] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0017] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments.
[0018] Figure 1The process 100 of some embodiments of the state machine-based product page push method according to the present application is shown. The state machine-based product page push method includes the following steps: Step 101, obtaining product production process information and product page configuration information from the associated product server.
[0019] In some embodiments, the execution subject of the state machine-based product page push method can obtain product production process information and product page configuration information from an associated product server through a wired connection or a wireless connection. The above-mentioned product server can be a server for storing product production process information and product page configuration information. The above-mentioned product production process information can represent the production process of a product. The above-mentioned product page configuration information can include but is not limited to: a page display component information set. The page display component information in the above-mentioned page display component information set can include but is not limited to: page components and page actions.
[0020] As an example, the above-mentioned product can be an insurance business. The production process of the above-mentioned product can be the insurance process of an insurance business. The above-mentioned insurance process can include but is not limited to at least one of the following: select a product, fill in the basic information of the insured (name, ID number, contact information), fill in the basic information of the insured, confirm the information, make payment, and generate an insurance policy. The above-mentioned page components can be but are not limited to at least one of the following: main menu, navigation bar, tab, paging button, drop-down menu, login account, select product, fill in basic information. The above-mentioned page actions can be but are not limited to at least one of the following: "Fill in", "Select", "Confirm". Specifically, the product page can refer to Figure 2 A schematic diagram of a product page according to some embodiments of the state machine-based product page push method of the present application is shown. Figure 2 A product page 200 is shown. The product page 200 may include: a page component 201 representing a "main menu", a page component 202 representing a "login account", a page component 203 representing a "select product", and a page component 204 representing a "fill in basic information".
[0021] It should be noted that the above wireless connection methods may include but are not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.
[0022] Step 102: configure the product page editing model based on the product page configuration information.
[0023] In some embodiments, the execution entity may configure a product page editing model based on the product page configuration information. The product page configuration information may be input into the product page editing model, and the configured product page editing model may be determined as the configured product page editing model. Here, the product page editing model may be an unconfigured page editor for generating product push page information.
[0024] Step 103, performing process state disassembly processing on the product production process information to obtain a process state information sequence.
[0025] In some embodiments, the execution subject may perform process state decomposition processing on the product production process information to obtain a process state information sequence. The product production process information may be input into a process action recognition model to obtain a process state information sequence. Here, each process state information in the process state information sequence may be sorted in the order of action execution. Specifically, the process action recognition model may be a neural network model for identifying verbs in the product production process information. The process state information in the process state information sequence may include but is not limited to: process action information and process event information. The process action information may represent an action. The process event information may represent the current event state of the process.
[0026] As an example, the process action recognition model may be, but is not limited to, at least one of the following: a GPT (Generative Pre-Trained Transformer) model and a BERT (Bidirectional Encoder Representations from Transformers) model. The process action information may be, but is not limited to, at least one of the following: information representing "selection", information representing "filling in", and information representing "confirmation". The process event information may be, but is not limited to, at least one of the following: information representing "waiting to select a product", information representing "waiting to fill in basic information", or information representing "waiting for confirmation information".
[0027] Step 104: Based on the product page configuration information, determine the process state machine element information corresponding to each process state information in the process state information sequence to obtain the process state machine element information sequence.
[0028] In some embodiments, the execution entity may determine the process state machine element information corresponding to each process state information in the process state information sequence based on the product page configuration information to obtain the process state machine element information sequence.
[0029] In some optional implementations of some embodiments, the execution subject determines the process state machine element information corresponding to each process state information in the process state information sequence based on the product page configuration information, which may include the following steps: The first step is to perform state machine action configuration processing on the process state information to obtain the process state machine action information. The process state information is configured with a state machine action to obtain the process state machine action information, which can be: first, a process state diagram corresponding to the process state information is generated by a preset state diagram generation algorithm. Then, the process state diagram can be input into the initial state machine model to obtain the process state machine action information.
[0030] As an example, the above-mentioned preset state diagram generation algorithm may be, but is not limited to, at least one of the following: Graphviz (drawing tool) algorithm or StateChart (state diagram) algorithm. The above-mentioned initial state machine model may be, but is not limited to, at least one of the following: FSM (Finite State Machine) model or HSM (Hierarchical State Machine) model.
[0031] In the second step, for each page display component information in the page display component information set included in the product page configuration information, component matching processing is performed on the page display component information and the process status information to generate a component matching result. The above-mentioned component matching processing of the page display component information and the process status information to generate a component matching result can be: in response to determining that the action information represented by the page display component information is the same as the action information represented by the process status information, the first preset matching information is determined as the component matching result. In response to determining that the action information represented by the page display component information is different from the action information represented by the process status information, the second preset matching information is determined as the component matching result.
[0032] As an example, the first preset matching information may be information indicating “matching success”. The second preset matching information may be information indicating “matching failure”.
[0033] In the third step, the component matching results and the corresponding page display component information that meet the preset component matching conditions among the generated component matching results are determined as the target page display component information to obtain the target page display component information set. The preset component matching condition may be: the component matching result is information indicating "matching success".
[0034] The fourth step is to determine the input value interval information corresponding to each target page display component information in the target page display component information set to obtain the input value interval information set. For each target page display component information in the target page display component information set, a preset value interval can be determined as the corresponding input value interval information.
[0035] As an example, when the target page display component information is a page component representing "enter age", the preset numerical range may be (0, 70). When the target page display component information is a page component representing "enter contact information", the preset numerical range may be (9999999999, 199999999999).
[0036] The fifth step is to fuse the process state machine action information, the target page display component information set and the input value interval information set to obtain the process state machine element information. The process state machine action information, the target page display component information set and the input value interval information set are fused to obtain the process state machine element information. The process state machine action information, the target page display component information set and the input value interval information set are determined as the process state machine action information, the target page display component information set and the input value interval information set included in the process state machine element information.
[0037] Step 105: Store the process state machine element information sequence in the product server.
[0038] In some embodiments, the execution entity may store the process state machine element information sequence in the product server.
[0039] Step 106, in response to receiving the product page viewing request information sent by the user terminal, obtaining the process state machine element information corresponding to the product page viewing request information from the product server as the state machine element information to be pushed.
[0040] In some embodiments, the execution subject may, in response to receiving the product page viewing request information sent by the user terminal, obtain the process state machine element information corresponding to the product page viewing request information from the product server as the state machine element information to be pushed. The product page viewing request information may include but is not limited to: a product page viewing identifier and product page viewing action information. The product page viewing identifier may indicate that the user terminal wants to view the product page. The product page viewing action information may indicate a product page execution action.
[0041] As an example, the action performed on the product page may be, but is not limited to, at least one of the following: "view insurance categories", "select insurance categories" or "fill in policyholder information".
[0042] In some optional implementations of some embodiments, the execution subject, in response to receiving the product page viewing request information sent by the user terminal, obtains the process state machine element information corresponding to the product page viewing request information from the product server as the state machine element information to be pushed, which may include the following steps: The first step is to generate page identification request information based on the product page viewing request information, and send the page identification request information to the storage terminal. The preset page request information can be determined as the page identification request information. The preset request information can indicate that the execution subject wants to determine whether a page viewing identification is stored in the storage terminal. The page viewing identification can indicate that the user terminal has viewed the product page before the current moment.
[0043] In the second step, in response to receiving the page view identifier sent by the storage terminal, a product page request information corresponding to the page view identifier is generated, and the product page request information is sent to the product server. The preset session request information can be determined as the product page request information. The preset session request information can indicate that the execution subject wants to have a session with the product server.
[0044] In the third step, in response to receiving the session identification information sent by the product server, the process state machine element information corresponding to the product page request information is obtained from the product server as the state machine element information to be pushed. In response to receiving the session identification information sent by the product server, the process state machine element information in the process state machine element information sequence that is the same as the product page execution action represented by the product page viewing action information included in the product page request information can be determined as the state machine element information to be pushed.
[0045] Optionally, the above execution entity may further perform the following steps: In the first step, in response to determining that the page view identifier sent by the storage terminal is not received within a preset time period, a preset initial session request message is sent to the product server, and a page view identifier is received from the product server. The preset initial session request message may be information indicating that "a session with the product server is desired".
[0046] As an example, the preset duration may be, but is not limited to, at least one of the following: 10 milliseconds, 15 milliseconds, or 30 milliseconds.
[0047] The second step is to store the page viewing identifier in the above storage terminal.
[0048] Thus, the execution entity can establish a communication connection with the product server to facilitate subsequent rendering and pushing of the page.
[0049] Step 107: Based on the product page editing model, the state machine element information to be pushed is rendered to generate product push page information, and the product push page information is sent to the user terminal.
[0050] In some embodiments, the execution entity may render the state machine element information to be pushed based on the product page editing model to generate product push page information, and send the product push page information to the user terminal.
[0051] In some optional implementations of some embodiments, the execution subject renders the state machine element information to be pushed based on the product page editing model to generate product push page information, which may include the following steps: The first step is to input the state machine element information to be pushed into the product page editing model to obtain the target product page information.
[0052] The second step is to send the target product page information to the detection terminal, and read the page detection result corresponding to the target product page information from the detection terminal. The detection terminal may be a terminal for detecting the target product page information to generate a page detection result. The page detection result may be information indicating "test passed" or information indicating "test failed". Thus, the product page can be further optimized by detecting and previewing in advance, thereby further improving the user experience.
[0053] In the third step, in response to determining that the page detection result meets the preset detection condition, the target product page information is determined as the product push page information. The preset detection condition may be that the page detection result is information indicating "test passed".
[0054] Considering the problems of conventional solutions, we face the following technical problems: the information input on the page may contain sensitive information, and the security of a single desensitization method (for example, character replacement) is low, which can easily lead to the leakage of basic user information, thereby reducing the security of page push and use. Combined with the current technical status, we can decide to adopt the following solution.
[0055] Optionally, the above execution entity may further perform the following steps: In the first step, in response to receiving the product page input information sent by the user terminal, the product page input information is desensitized to obtain user desensitized information. The product page input information may represent information input by the user terminal.
[0056] As an example, the above-mentioned user desensitized information may include but is not limited to at least one of the following: user age value and user contact information value.
[0057] The second step is to perform input verification on the user desensitized information to obtain an input verification result, wherein the input verification result may be information indicating "verification passed" or information indicating "verification failed".
[0058] As an example, performing input verification processing on the user desensitized information to obtain an input verification result may include the following sub-steps: In the first sub-step, the input numerical interval information set included in the product push page information and corresponding to the user age value included in the above user desensitization information is determined as the first target numerical interval information. Here, the input numerical interval information set corresponding to the target page display component information as the page component representing "input age" can be determined as the above first target numerical interval.
[0059] The second sub-step is, in response to determining that the user age value included in the user desensitization information is within the first target value interval, determining the first preset test result as the first test result. Here, the first preset test result may be information indicating "test passed".
[0060] The third sub-step is, in response to determining that the user age value included in the user desensitization information is not within the first target value interval, determining the second preset test result as the first test result. Here, the second preset test result may be information indicating "test failed".
[0061] In the fourth sub-step, the input numerical interval information set included in the product push page information and corresponding to the user contact information value included in the above user desensitized information is determined as the second target numerical interval information. Here, the input numerical interval information set corresponding to the target page display component information as the page component representing "input contact information" can be determined as the above second target numerical interval.
[0062] The fifth sub-step is, in response to determining that the user contact information value included in the above-mentioned user desensitized information is within the above-mentioned second target numerical range, determining the first preset test result as the second test result.
[0063] The sixth sub-step is, in response to determining that the user contact information value included in the above-mentioned user desensitized information is not within the above-mentioned second target numerical range, determining the second preset test result as the second test result.
[0064] In a seventh sub-step, in response to determining that the first inspection result satisfies the first preset input inspection condition and the second inspection result satisfies the second preset input inspection condition, the first preset inspection result is determined as the input inspection result. The first preset inspection condition may be that the first inspection result is information indicating that the inspection is passed. The second preset inspection condition may be that the second inspection result is information indicating that the inspection is passed.
[0065] An eighth sub-step, in response to determining that the first inspection result does not satisfy the first preset input inspection condition, or the second inspection result does not satisfy the second preset input inspection condition, determining the second preset inspection result as the input inspection result.
[0066] In the third step, in response to determining that the input verification result satisfies the preset verification condition, the user desensitized information is sent to the product server, and input feedback result information is received from the product server. The preset verification condition may be that the input verification result is information indicating "verification passed". The input feedback result information may indicate the event status of the process after the product server updates.
[0067] The fourth step is to send the input feedback result information to the user terminal, so that the user terminal can perform the next product production operation according to the updated event status.
[0068] In some optional implementations of some embodiments, the execution subject desensitizes the product page input information to obtain user desensitized information, which may include the following steps: The first step is to obtain desensitization rule information and a sensitive information sequence from the product server. The desensitization rule information may include but is not limited to at least one of the following: a first desensitization condition, a second desensitization condition, and a third desensitization condition. Each sensitive information in the sensitive information sequence may represent a type of sensitive information.
[0069] As an example, the above-mentioned sensitive information may be, but is not limited to, at least one of the following: information representing “user name” or information representing “user ID number”.
[0070] As an example, the first desensitization condition may be: there is repeated information in each sensitive information. The second desensitization condition may be: the sensitive information is information representing the user's ID number. The third desensitization condition may be: the sensitive information is information representing the user's contact information.
[0071] The second step is to copy the product page input information to obtain page input copy information. The copy information of the product page input information after copying can be determined as the page input copy information.
[0072] The third step is to perform sensitive matching processing on the above page input copy information and the above sensitive information sequence to obtain a page sensitive matching information sequence.
[0073] The fourth step is to perform desensitization processing on the above-mentioned page sensitive matching information sequence based on the above-mentioned desensitization rule information to obtain a page desensitized information sequence.
[0074] The fifth step is to fuse the above-mentioned page desensitized information sequence and the above-mentioned product page input information to obtain user desensitized information. The above-mentioned fusing the above-mentioned page desensitized information sequence and the above-mentioned product page input information to obtain user desensitized information can be: determining the above-mentioned page desensitized information sequence and the above-mentioned product page input information as the page desensitized information sequence and the product page input information included in the user desensitized information.
[0075] In some optional implementations of some embodiments, the execution subject performs sensitive matching processing on the page input copy information and the sensitive information sequence to obtain a page sensitive matching information sequence, which may include the following steps: The first step is to segment the page input copy information to obtain an input copy segment information set. The page input copy information can be segmented using a preset segmentation algorithm to obtain an input copy segment information set.
[0076] As an example, the above-mentioned preset segmentation algorithm can be but is not limited to at least one of the following: a BERT model algorithm or a BiLSTM (Bi-Long Short-Term Memory) model algorithm.
[0077] In the second step, for each input replica segment information in the above input replica segment information set, perform the following segment matching sub-steps: The first sub-step is to determine the similarity value between the input copy segment information and each sensitive information in the sensitive information sequence to obtain a sensitive information similarity value group. The similarity value between the input copy segment information and each sensitive information in the sensitive information sequence can be determined by a preset similarity algorithm.
[0078] As an example, the above-mentioned preset similarity algorithm may be but is not limited to at least one of the following: a Pearson correlation coefficient algorithm or a cosine similarity algorithm.
[0079] In a second sub-step, in response to determining that there is a sensitive information similarity value greater than a preset similarity value in the sensitive information similarity value group, the input copy segment information is determined as page sensitive matching information.
[0080] As a strength, the above preset similarity value can be 0.8.
[0081] The third step is to determine each determined page sensitive matching information as a page sensitive matching information sequence.
[0082] In some optional implementations of some embodiments, the execution subject performs desensitization processing on the page sensitive matching information sequence based on the desensitization rule information to obtain the page desensitization information sequence, which may include the following steps: In the first step, each page sensitive matching information satisfying the first desensitization condition included in the desensitization rule information in the page sensitive matching information sequence is deleted from the page sensitive matching information sequence to obtain a first desensitized information sequence.
[0083] In the second step, in response to determining that there is no page sensitive matching information satisfying the first desensitization condition included in the above desensitization rule information in the page sensitive matching information sequence, the page sensitive matching information sequence is determined as the first desensitization information sequence.
[0084] The third step is to perform character replacement processing on each first desensitized information in the first desensitized information sequence that meets the second desensitization condition included in the above-mentioned desensitization rule information, so as to update the first desensitized information sequence and obtain a second desensitized information sequence. The character replacement processing on each first desensitized information in the first desensitized information sequence that meets the second desensitization condition included in the above-mentioned desensitization rule information may be to replace the first desensitized information with a preset character.
[0085] As an example, the preset character may be, but is not limited to, at least one of the following: “0”, “#” or “*”.
[0086] In the fourth step, in response to determining that there is no first desensitized information satisfying the second desensitization condition included in the desensitization rule information in the first desensitized information sequence, the first desensitized information sequence is determined as the second desensitized information sequence.
[0087] The fifth step is to encrypt each second desensitized information in the second desensitized information sequence that satisfies the third desensitization condition included in the above desensitization rule information, so as to update the second page desensitized information sequence and obtain the page desensitized information sequence. In which, each second desensitized information in the second desensitized information sequence that satisfies the third desensitization condition included in the above desensitization rule information can be encrypted by a preset encryption algorithm.
[0088] As an example, the preset encryption algorithm may be, but is not limited to, at least one of the following: RSA (Rivest-Shamir-Adleman) algorithm or AES (Advanced Encryption Standard) algorithm.
[0089] In a sixth step, in response to determining that there is no second desensitizing information satisfying the third desensitizing condition included in the above desensitizing rule information in the second desensitizing information sequence, the second desensitizing information sequence is determined as a page desensitizing information sequence.
[0090] In this way, the collected user information can be segmented and classified, sensitive information in the user information can be identified, and different desensitization processes can be performed on different categories of sensitive information. While reducing the consumption of computing resources, the privacy of user information can be improved, thereby improving the security of page push and use.
[0091] The above-mentioned embodiments of the present application have the following beneficial effects: through the product page push method based on the state machine of some embodiments of the present application, the relevance of the product pages of the associated products can be improved, thereby improving the user experience. Specifically, the reason for the reduction in user experience is that the way of developing product page elements for each product separately may require multiple control terminals (central processing units) to develop simultaneously due to the large workload, and the generated product pages are difficult to maintain uniformity, resulting in a reduction in the relevance of the product pages of the associated products. Based on this, the product page push method based on the state machine of some embodiments of the present application first obtains product production process information and product page configuration information from the associated product server. Secondly, based on the above-mentioned product page configuration information, the product page editing model is configured. Thus, the page editing model can be configured according to the unified product page configuration information to generate the associated product page. Then, the process state disassembly processing of the above-mentioned product production process information is performed to obtain a process state information sequence. Thus, the action information and state information of each step of the product production process (insurance process) can be obtained. Then, based on the above-mentioned product page configuration information, the process state machine element information corresponding to each process state information in the above-mentioned process state information sequence is determined to obtain the process state machine element information sequence. Thus, the product production process can be converted into a state machine to generate a product page. Then, the above process state machine element information sequence is stored in the above product server. Thus, the generated state machine model can be stored in the server. Subsequently, in response to receiving the product page viewing request information sent by the user terminal, the process state machine element information corresponding to the above product page viewing request information is obtained from the above product server as the state machine element information to be pushed. Thus, the product generation step that the user wants to view and operate can be selected. Finally, based on the above product page editing model, the above state machine element information to be pushed is rendered to generate product push page information, and the above product push page information is sent to the above user terminal. Thus, the product page information that the user wants to view and operate can be obtained. Therefore, some state machine-based product page push methods of the present application can obtain the state machine model corresponding to the product production process by disassembling the state of the product production process, and then, by using a unified page component, each action and state in the state machine model is rendered to obtain the final product push page for sending to the user terminal. Thus, a single control terminal can be used to develop multiple product pages, which improves the relevance of the product pages, thereby improving the user experience. The present application also provides a computer device 300. Figure 3As shown, the computer device 300 includes: a bus 301, a processor 302, a memory 303 and a communication interface 304. The processor 302, the memory 303 and the communication interface 304 communicate with each other through the bus 301. The computer device 300 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the computer device 300.
[0092] The bus 301 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The bus 301 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 301 may include a path for transmitting information between various components of the computer device 300 (for example, the memory 303, the processor 302, and the communication interface 304).
[0093] The processor 302 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0094] The memory 303 may include a volatile memory, such as a random access memory (RAM). The memory 303 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0095] The memory 303 stores executable program codes, and the processor 302 executes the executable program codes to respectively implement the functions of the aforementioned acquisition module, sampling module, determination module, and mixing module, thereby implementing the aforementioned product page push method based on the state machine. That is, the memory 303 stores instructions for executing the aforementioned product page push method based on the state machine.
[0096] The communication interface 304 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computer device 300 and other devices or a communication network.
[0097] An embodiment of the present application also provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to execute the above-mentioned product page push method based on the state machine.
[0098] The embodiment of the present application also provides a computer-readable storage medium. The above-mentioned computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The above-mentioned available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned product page push method based on the state machine.
[0099] The technical features of the above embodiments can 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.
[0100] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present application.
Claims
1. A product page push method based on a state machine, comprising: Obtain product production process information and product page configuration information from the associated product server; Based on the product page configuration information, configure a product page editing model; Performing process state disassembly processing on the product production process information to obtain a process state information sequence; Based on the product page configuration information, determine the process state machine element information corresponding to each process state information in the process state information sequence to obtain the process state machine element information sequence; storing the process state machine element information sequence in the product server; In response to receiving a product page viewing request information sent by a user terminal, obtaining process state machine element information corresponding to the product page viewing request information from the product server as the state machine element information to be pushed; Based on the product page editing model, the state machine element information to be pushed is rendered to generate product push page information, and the product push page information is sent to the user terminal.
2. The method for pushing product pages based on a state machine according to claim 1, wherein: The method further comprises: In response to receiving the product page input information sent by the user terminal, desensitizing the product page input information to obtain user desensitized information; Performing input verification processing on the user desensitized information to obtain an input verification result; In response to determining that the input verification result satisfies a preset verification condition, sending the user desensitized information to a product server, and receiving input feedback result information from the product server; The input feedback result information is sent to the user terminal.
3. The product page push method based on state machine according to claim 1, wherein: The product page configuration information includes: a page display component information set; and the process state machine element information corresponding to each process state information in the process state information sequence is determined based on the product page configuration information, including: Performing state machine action configuration processing on the process state information to obtain process state machine action information; For each page display component information in the page display component information set included in the product page configuration information, performing component matching processing on the page display component information and the process state information to generate a component matching result; Determine the component matching results that meet the preset component matching conditions and the corresponding page display component information among the generated component matching results as the target page display component information, and obtain the target page display component information set; Determine the input value interval information corresponding to each target page display component information in the target page display component information set to obtain the input value interval information set; The process state machine action information, the target page display component information set and the input value interval information set are fused to obtain the process state machine element information.
4. The product page push method based on state machine according to claim 1, wherein: The step of obtaining, in response to receiving the product page viewing request information sent by the user terminal, process state machine element information corresponding to the product page viewing request information from the product server as the state machine element information to be pushed includes: generating page identification request information based on the product page viewing request information, and sending the page identification request information to a storage terminal; In response to receiving the page viewing identifier sent by the storage terminal, generating product page request information corresponding to the page viewing identifier, and sending the product page request information to the product server; In response to receiving the session identification information sent by the product server, the process state machine element information corresponding to the product page request information is obtained from the product server as the state machine element information to be pushed.
5. The method for pushing product pages based on a state machine according to claim 4, wherein: The method further comprises: In response to determining that the page viewing identifier sent by the storage terminal is not received within a preset time period, sending a preset initial session request message to the product server, and receiving a page viewing identifier from the product server; The page viewing identifier is stored in the storage terminal.
6. The product page push method based on state machine according to claim 1, wherein: The rendering process of the state machine element information to be pushed based on the product page editing model to generate product push page information includes: Input the state machine element information to be pushed into the product page editing model to obtain the target product page information; Sending the target product page information to a detection terminal, and reading a page detection result corresponding to the target product page information from the detection terminal; In response to determining that the page detection result meets a preset detection condition, the target product page information is determined as the product push page information.
7. The product page push method based on state machine according to claim 2, wherein: The desensitizing the product page input information to obtain the user desensitized information includes: Obtaining desensitization rule information and sensitive information sequence from the product server; Copying the product page input information to obtain page input copy information; Performing sensitive matching processing on the page input copy information and the sensitive information sequence to obtain a page sensitive matching information sequence; Based on the desensitization rule information, desensitizing the page sensitive matching information sequence to obtain a page desensitization information sequence; The page desensitized information sequence and the product page input information are fused to obtain user desensitized information.
8. A computer device, wherein: The computer device comprises a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.
9. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Web information processing method, web information processing device and browser
CN103559211A
Applet store page configuration method and device, computer equipment and storage medium
CN111338690A
Financial account association method and device and electronic equipment
CN112348517A
Product data output method and device, equipment and medium
CN116301803A
Page rendering method, page rendering device and computer readable storage medium
CN117828207A