Display method, device, equipment and medium of commodity page
By setting multiple sets of display information for each attribute of the product page component and randomly assigning target display information during the display process, the problem of insufficient testing in the prior art is solved, and faster and more accurate user feedback and test results are achieved.
Patent Information
- Application Number
- CN202310644154.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-01
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2043-06-01
AI Technical Summary
Existing technologies cannot effectively ensure the accuracy of user feedback and the adequacy of testing during the product page display process, resulting in excessively long testing times and an inability to quickly determine user satisfaction with component attributes.
By setting multiple sets of display information for each attribute of each component, and randomly assigning target display information within the sets based on user identity information and the identifier information of the information sets, the diversity of page display and the adequacy of testing are ensured.
It improved the diversity of product page displays and the accuracy of user feedback, shortened testing time, and increased testing efficiency and accuracy.
Smart Images

Figure CN116610886B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to fields such as intelligent search, web search, and web processing in computer technology, and particularly to a method, apparatus, device, and medium for displaying a product page. Background Technology
[0002] Currently, with the continuous development of electronic technology, more and more users are purchasing goods online. Online, products are displayed to users based on product pages, which include various components. When displaying a product page, these components need to be processed to ensure the page displays correctly on the terminal device. Before the product page goes live, multiple versions of the components need to be tested to confirm user habits and needs.
[0003] Therefore, how to provide pages with rich display content for different users in order to accurately determine users' page usage habits and needs is an urgent problem to be solved. Summary of the Invention
[0004] This disclosure provides a method, apparatus, device, and medium for displaying product pages to enhance the richness of product page content.
[0005] According to a first aspect of this disclosure, a method for displaying a product page is provided, comprising: receiving a first instruction sent by a terminal device; wherein the first instruction is used to instruct the display of a page with purchasable products, and the first instruction includes user identity information; determining a component to be displayed in the page according to the first instruction, and determining an information set corresponding to the attributes of the component to be displayed in the page, wherein the component to be displayed has at least one attribute; the attributes of the component to be displayed are used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing mode when the component to be displayed is displayed;
[0006] Based on the user identity information and the identification information of the information set, the target display information corresponding to the attributes of the component to be displayed is determined in the information set;
[0007] The target display information corresponding to the attributes of the component to be displayed is sent to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display the page containing the component to be displayed after the component to be displayed has been processed.
[0008] According to a second aspect of this disclosure, a product page display device is provided, comprising:
[0009] The first receiving unit is configured to receive a first instruction sent by the terminal device; wherein the first instruction is configured to instruct the display of a page with purchasable goods, and the first instruction includes user identity information;
[0010] The first determining unit is configured to determine the component to be displayed in the page according to the first instruction.
[0011] The second determining unit is used to determine the information set corresponding to the attributes of the component to be displayed in the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing mode when the component to be displayed is displayed;
[0012] The third determining unit is used to determine the target display information corresponding to the attribute of the component to be displayed in the information set based on the user identity information and the identification information of the information set;
[0013] A first sending unit is configured to send target display information corresponding to the attributes of the component to be displayed to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display a page containing the component to be displayed after display processing of the component to be displayed. According to a third aspect of this disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.
[0014] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method described in the first aspect.
[0015] According to a fifth aspect of this disclosure, a computer program product is provided, the computer program product comprising: a computer program stored in a readable storage medium, wherein at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the method described in the first aspect.
[0016] The technology disclosed herein is beneficial for improving the diversity of product page displays, thereby improving the adequacy of product page online testing.
[0017] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0018] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0019] Figure 1 This is a schematic diagram illustrating a display style selection provided in this disclosure;
[0020] Figure 2 This is a schematic diagram based on the first embodiment of the present disclosure;
[0021] Figure 3 This is a schematic diagram according to the second embodiment of the present disclosure;
[0022] Figure 4 This is a schematic diagram of information selection provided in this disclosure;
[0023] Figure 5 This is a schematic diagram according to the third embodiment of the present disclosure;
[0024] Figure 6 This is a schematic diagram of a half-screen display page provided in this disclosure;
[0025] Figure 7 This is a schematic diagram of a full-screen page provided in this disclosure;
[0026] Figure 8 This is a schematic diagram according to the fourth embodiment of the present disclosure;
[0027] Figure 9 This is a schematic diagram according to the fifth embodiment of the present disclosure;
[0028] Figure 10 This is a schematic diagram according to the sixth embodiment of the present disclosure;
[0029] Figure 11 This is a block diagram of an electronic device used to implement the product page display method of the embodiments of this disclosure. Detailed Implementation
[0030] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0031] Currently, users can select and purchase products through online product pages, which typically consist of multiple components. To ensure that the product display page suits the usage habits and needs of different users, multiple pages are usually launched simultaneously before the official product page goes live, and different pages are displayed to different users. This allows for testing and feedback from different users on different versions of the page to determine the product page that users prefer.
[0032] In one example, a product page contains at least one component, and each component has multiple attributes. Each attribute of a component has multiple display options, meaning one attribute can be displayed in multiple ways. Furthermore, the multiple display options corresponding to the various attributes of multiple components reside in the same set. When displaying the product page to the user, only one display option corresponding to each attribute is selected from the set as the changed display option at a time, while the remaining attributes of the component retain their original, older display options. That is, only one attribute of a component is modified at a time. However, this method of testing a product page before deployment, by changing only one attribute at a time, can easily lead to a lengthy testing period to determine user satisfaction or feedback regarding the updated attributes.
[0033] In one example, a product page contains multiple components that need updating, and each component has a set of multiple display styles. When displaying the product page to the user, the display style in each set can be selected based on the user's identifier by taking the remainder of the user's identifier. For example, Figure 1 This is a schematic diagram illustrating a display style selection method provided in this disclosure. For example... Figure 1 As shown in the figure, there are three sets corresponding to different attributes. Each set contains multiple display styles, such as sets 101, 102, and 103 in the figure. When the user selects the first display style in set 1 (i.e., display style 11 in the figure) based on the user's identifier, the user will then select the first display style in each set (i.e., display styles 21 and 31 in the figure), and the product page will be displayed on the user's terminal according to the selected display style. However, this method of displaying product pages can lead to a limited variety of display pages provided to different users because each user can only select a fixed position in each set. Furthermore, it cannot eliminate the influence of selecting a fixed position in each set on the test results, failing to ensure the sufficiency of the test and thus affecting the accuracy of the test results.
[0034] To avoid at least one of the aforementioned technical problems, the inventors of this disclosure, through creative effort, arrived at the inventive concept of this disclosure: each attribute of each component in a product page possesses an information set consisting of multiple display information. When displaying a product page to a user, display information is randomly allocated within the information set based on the user's identity information and the corresponding identifier information, thereby ensuring the diversity of the product pages displayed to the user and thus ensuring the accuracy of the user's feedback on page satisfaction.
[0035] This disclosure provides a method, apparatus, device, and medium for displaying product pages, applicable to fields such as intelligent search, web search, and web processing in computer technology, to ensure the diversity of product pages obtained by users, thereby ensuring the accuracy of user feedback before the page goes live.
[0036] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0037] Figure 2 This is a schematic diagram based on the first embodiment of the present disclosure, as shown below. Figure 2 As shown, the method for displaying a product page according to an embodiment of this disclosure includes:
[0038] S201, Receive a first instruction sent by a terminal device; wherein the first instruction is used to instruct the display of a page with purchasable goods, and the first instruction includes user identity information.
[0039] For example, the execution subject of this embodiment can be a product page display device, which can be a server (such as a local server or a cloud server), a computer, a processor, a chip, etc. This embodiment does not limit the scope of the application.
[0040] In this embodiment, the first instruction is generated when a page displaying purchasable products needs to be shown. Furthermore, the first instruction includes user identity information. This user identity information is used to uniquely identify the user purchasing the product.
[0041] For example, in practical applications, when a user can purchase goods by accessing an application on a terminal device, the user's identity information can be the identifier of the account logged into the current application.
[0042] S202. Determine the component to be displayed on the page according to the first instruction, and determine the information set corresponding to the attributes of the component to be displayed on the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing mode when the component to be displayed is displayed.
[0043] For example, a product page typically consists of one or more components to be displayed. Each component has one or more attributes, which determine how the component is displayed. Furthermore, for online testing of the product page, a corresponding information set can be set for each attribute of the component. This information set includes various display information for the component under that attribute, i.e., the processing method corresponding to the component's display. Different display information corresponds to different processing methods, thus causing the component to be displayed in different ways. In other words, the information set can include display information from the existing, online version, as well as display information to be tested and launched. In practical applications, each information set can also be called an experimental layer.
[0044] Upon receiving the first instruction indicating that a page displaying purchasable products is required, the components to be displayed on the page, and the corresponding information set for each component, can be further determined. It should be noted that the specific components displayed on the product page, and the corresponding information sets for each component, can be pre-configured information.
[0045] It should be noted that the number of information sets in this embodiment can be one or more. That is, when multiple attributes have updated versions that need to be tested, multiple information sets can be set up for simultaneous testing. When only one attribute has an updated version that needs to be tested, only one information set can be set up.
[0046] S203. Based on the user's identity information and the identifier information of the information set, determine the target display information corresponding to the attributes of the component to be displayed in the information set.
[0047] For example, in this embodiment, the information set has identification information, and different information sets have different identification information.
[0048] For each set of information, when determining which piece of information in the set to display as the target information, the user's identity information and the information set's identifier information can be combined.
[0049] For example, when selecting a target display from multiple display information items included in an information set based on user identity information and the information set's identifier information, firstly, a display item can be selected from the information set based on the user identity information (refer to the description in the example above). Then, the selected display item is adjusted based on the information set's identifier information. For instance, if the first display item in the information set is selected initially, and the information set's identifier information is 3, then one of the four display items between the first and fourth display items can be randomly selected as the final target display item. That is, based on the identifier information, the range of selectable display items is determined by shifting sequentially backward according to the identifier information. Then, any one of these selectable display items is randomly selected as the target display item. Furthermore, since different information sets have different identifier information, the selected target display items in different information sets will be in different orders. Furthermore, this avoids the problem of multiple information sets selecting the same sorted information as the target display information, which could compromise the sufficiency of the test, and also improves the diversity of page display.
[0050] Alternatively, user identity and identification information can be numerically processed to obtain a processing result. This result can then be used as a random seed. A preset algorithm and the random seed can be used to generate a random number within a preset range. Based on the value of the random number, the target display information can be selected from multiple display information sets. For example, if there are N display information sets, where N is a positive integer, a positive integer in the range [1, N] can be randomly generated based on the random seed. Then, the display information in that order can be selected as the target display information based on the generated random number. Furthermore, since different information sets have different identification information, the corresponding generated processing results (i.e., the random seed corresponding to each identification information set) will also be different. This avoids the problem of multiple information sets selecting the same sorted display information as the target display information, which could compromise the sufficiency of the test. Randomly selecting display information from each information set also increases the diversity of the display page. It should be noted that the numerical processing method here is not specifically limited; for example, it can be a summation or difference calculation.
[0051] S204. Send the target display information corresponding to the attributes of the component to be displayed to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display the page containing the component to be displayed after the component to be displayed has been processed.
[0052] For example, after determining the target display information corresponding to the attributes of the component to be displayed, the obtained target display information can be sent to the terminal device, so that after receiving the target display information, the terminal device can perform display processing on the component to be displayed according to the target display information and display the processed component to be displayed in the display interface.
[0053] Understandably, this embodiment sets corresponding information sets at the component attribute level, which is beneficial for displaying more types of product pages to different users and for obtaining more detailed user page reviews later. Furthermore, during the product page display process, target display information can be selected from different information sets; that is, multiple attribute display information can be tested simultaneously, which improves testing efficiency compared to selecting only one page content for each update. Moreover, in this embodiment, when determining the target display information in each information set, user identity information and information set identifiers can be combined, thereby increasing the diversity of page displays and avoiding the problem of selecting display information with the same order as the target display information from multiple information sets based solely on user identity information, which cannot ensure the sufficiency of testing.
[0054] Figure 3 This is a schematic diagram based on the second embodiment of the present disclosure, as shown below. Figure 3 As shown, the method for displaying a product page according to an embodiment of this disclosure includes:
[0055] S301, Receive a first instruction sent by a terminal device; wherein the first instruction is used to instruct the display of a page with purchasable goods, and the first instruction includes user identity information.
[0056] For example, the execution subject of this embodiment can be a product page display device, which can be a server (such as a local server or a cloud server), a computer, a processor, a chip, etc. This embodiment does not limit the scope of the application.
[0057] For example, the specific principle of step S301 can be found in step S201, and will not be repeated here.
[0058] S302. Determine the component to be displayed on the page according to the first instruction, and determine the information set corresponding to the attributes of the component to be displayed on the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing mode when the component to be displayed is displayed; wherein the attribute is any one of the following: content attribute, style attribute, position attribute; the content attribute is used to indicate the content information contained in the component to be displayed; the style attribute is used to indicate the display style of the component to be displayed; the position attribute is used to indicate the display position of the component to be displayed on the page.
[0059] For example, in this embodiment, the attribute of the component to be displayed is any one of the content attribute, style attribute, and position attribute.
[0060] Content attributes, in this context, represent the content information contained in the component to be displayed. For example, a component typically includes text information, which can represent the content attributes of that component. For instance, if a component includes a product price, then the product price can be considered a product attribute of that component.
[0061] Style attributes are the display styles of the components to be displayed. The display style is not limited to the color, font, and size of the components to be displayed, but can also include the display changes of the components in different states, such as the changes in the color and font of the components when they are selected.
[0062] The position attribute represents the display position of the component to be displayed. Specifically, the display position can be the position information of the component to be displayed on the page, or the positional relationship between the component to be displayed and other components.
[0063] It is understandable that, in this embodiment, by dividing the information set according to the content, style, and position of the attributes of the component to be displayed, it is possible to show the user components with different attribute combinations, which is beneficial to obtaining fine-grained page evaluations of the user on different attributes of the same component.
[0064] S303. The user identity information and the identification information of the information set are concatenated to obtain concatenated information; wherein, the display information corresponds to a unique value sub-range.
[0065] For example, in this embodiment, each displayed piece of information in the information set corresponds to its own unique value sub-interval. Furthermore, the union of the value sub-intervals corresponding to each displayed piece of information in the information set can be used as the preset value interval corresponding to the information set.
[0066] When determining the target display information by combining user identity information and the identifier information of the information set, the user identity information and the identifier information are first concatenated into a single string (i.e., the concatenated information mentioned above). For example, in practical applications, user identity information can be a username. The identifier information of the information set can be directly appended to the username as the concatenated information.
[0067] S304. Perform data conversion processing on the spliced information to obtain the converted values; wherein the converted values are located in a preset value range; the preset value range is the union of the value sub-ranges corresponding to the displayed information in the information set.
[0068] For example, in this embodiment, after obtaining the spliced information, the spliced information will be processed by data conversion so that the converted value can fall within the preset value range corresponding to the information set.
[0069] In one example, when performing data transformation on the spliced information, the spliced information can be used as a random seed to generate random numbers within a preset value range, thereby obtaining the transformed value. As a result, there is no need to perform summation or subtraction on user identity information and identification information; the splicing can be done directly, which can reduce computational complexity.
[0070] In one example, step S304 includes the following steps:
[0071] The first step of S304 is to determine the cyclic redundancy check code corresponding to the spliced information based on the cyclic redundancy check algorithm.
[0072] The second step of S304 is to determine the remainder between the cyclic redundancy check code and the preset value, which is the converted value.
[0073] For example, in this embodiment, when performing data conversion processing on the spliced information, the spliced information can be converted according to the Cyclic Redundancy Check (CR) algorithm to obtain the converted CR code. The specific principle of the CR algorithm can be found in related technical descriptions and will not be repeated here.
[0074] After obtaining the Cyclic Redundancy Check (CRC) code, a modulo operation can be performed between the obtained CRC code and a preset value to convert the CRC value to the preset value range corresponding to the information set. For example, if the value range corresponding to the information set is [0, 1000), then the preset value can be set to 1000, and the resulting modulo (i.e., the converted value) will definitely be a number less than 1000 and greater than or equal to 0. In practical applications, a 32-bit CRC code can be used, that is, a 32-bit (8-bit hexadecimal) check value can be generated. Furthermore, since the CRC algorithm calculates the value of every bit in the original data when generating the check code, even if only one bit changes, a different check code will be obtained.
[0075] It is understood that in this embodiment, the converted value is generated using a cyclic redundancy check algorithm and a modulo operation. Since the checksum generated by the cyclic redundancy check algorithm for the same input data is a fixed random number, and the last digit of the generated random number is randomly distributed between 0 and 9, it can be ensured that when determining the target display information according to the above method, the display information can be randomly selected in each information set. This can improve the diversity of the product display page and help improve the sufficiency of the obtained user page test results.
[0076] S305. In the information set, determine the display information corresponding to the sub-range of values that matches the transformed values, which is the target display information corresponding to the attribute of the component to be displayed.
[0077] For example, after determining the converted value, the converted value can be matched with the value sub-interval corresponding to each display information in the information set, and the display information corresponding to the value sub-interval including the converted value can be used as the target display information.
[0078] It is understandable that in this embodiment, when determining the target display information, the converted value can be obtained by concatenating and transforming the user identity information and identification information. Since different information sets correspond to different identification information, the converted value of the same user identity information and different identification information will be different. Therefore, the phenomenon of insufficient page testing caused by selecting the same location information as the target display information in different information sets can be avoided.
[0079] S306. If the component to be displayed is a product component used to display goods, the content attributes of the product component are used to indicate the product's validity period and unit price information. If the content attributes of the product component are not included in the attributes corresponding to the determined information set, the user's location information and control operation information corresponding to the user's identity information are obtained. The location information represents the user's location. The control operation information represents the browsing information of the product in the historical time period.
[0080] For example, in this embodiment, when the component to be displayed is a product component representing a product, the product component may have content attributes indicating the product's validity period and unit price. When a product component needs to be displayed on a product page, and it is determined that there is no information set corresponding to the content attributes of the product component, then, by combining the user's location information corresponding to the current user's identity information and the control operation information indicating the user's browsing information during historical periods, a personalized recommendation of a product component suitable for the user can be made.
[0081] It should be noted that when obtaining user location information and control operation information, the location information can be obtained by the terminal device reporting its location information after initiating a location information request. The control operation information can be automatically reported by the terminal device each time it detects a user's control operation. It should also be noted that the execution order of step S306 is not specifically limited in this embodiment; for example, it can be executed after step S301 or after step S305.
[0082] S307. Determine the content attributes of the product components based on the location information and control operation information.
[0083] For example, after determining that the user's location information and control operation information have been obtained, the content attributes to be displayed for the product component can be determined by combining the above information.
[0084] In one example, after obtaining the user's location information, the system can select recent product purchase records of users within the same location range to determine the content attributes of product components. Furthermore, users within the same location range can be filtered; for example, users with similar user profiles to the current user's identity information can be selected as filtered users. These user profiles can include information such as the user's age and gender. Subsequently, based on control operation information, product components with content attributes that the user prefers can be recommended. For instance, product information from product components accessed by the user in the past period can be used as the content attributes of the product components currently displayed to the user.
[0085] It is understood that in this embodiment, when determining the content attributes corresponding to a product component, the user's location information and the user's control operation information can be combined to recommend product components that suit the user's preferences to different users, thereby improving the user experience.
[0086] In one example, the control operation information includes one or more of the following: selection information, click information, selection time information, and selection duration information;
[0087] Among them, the selected information represents the products selected by the user within the historical time period, the click information represents the number of clicks on the products selected by the user within the historical time period, the selected time information represents the time when the user selected the products within the historical time period, and the selected duration information represents the duration for which the products selected by the user remained in the selected state within the historical time period.
[0088] For example, in this embodiment, the control operation information may include: selection information representing the items selected by the user during a historical time period; click information representing the number of clicks made by the user on the selected items during the historical time period; selection time information representing the time corresponding to when the user selected an item; and selection duration information representing the duration during which the selected item is in the selected state.
[0089] For example, when the control operation information includes selection information, click information, selection time information, and selection duration information, the system can predict the product with the highest probability of being selected by the user at the current moment based on the selection information, selection time information, and a first prediction model, thereby determining the first content attribute of the product component. Furthermore, based on the selection information, click information, selection duration information, and a second prediction model, the system can determine the user's preferred product, thereby determining the second content attribute. When displaying the product to the user, both product components with the first content attribute and product components with the second content attribute can be shown simultaneously. Moreover, when displaying these two types of product components, they can be sorted, for example, based on the accuracy of the first and second prediction models respectively.
[0090] It is understood that in this embodiment, when determining the user's preferred product, the control operation information obtained includes one or more of the following: selection information, click information, selection time information, and selection duration information. In this way, the accuracy of product recommendation can be improved through the above control information.
[0091] S308. Send the target display information corresponding to the attributes of the component to be displayed to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display the page containing the component to be displayed after the component to be displayed has been processed.
[0092] For example, the specific principle of step S308 can be found in step S204, and will not be repeated here.
[0093] In this embodiment, when determining the target display information, the converted value can be obtained by concatenating and transforming the user identity information and identification information. Since different information sets correspond to different identification information, the converted value of the same user identity information and different identification information will be different. Therefore, the phenomenon of insufficient page testing caused by selecting the same location information as the target display information in different information sets can be avoided.
[0094] For example, Figure 4 This is a schematic diagram illustrating the selection of display information provided in this disclosure. For example... Figure 4 As shown in the figure, there are three information sets (e.g., information set 401, information set 402, and information set 403 in the figure), each of which includes multiple display information. When using the user identity information and the identification information of the information set provided in this embodiment to determine the target display information, a display information can be randomly selected from each information set as the target display information, thereby improving the diversity of the display interface provided to the user. For example, in the figure, one user selects display information 11, display information 22, and display information 33 in sequence as the target display information in each information set. Another user selects display information 1M, display information 22, and display information 31 in sequence as the target display information in each information set.
[0095] Figure 5 This is a schematic diagram based on the third embodiment of the present disclosure, as shown below. Figure 5 As shown, the method for displaying a product page according to an embodiment of this disclosure includes:
[0096] S501, Receive a first instruction sent by a terminal device; wherein the first instruction is used to instruct the display of a page with purchasable goods, and the first instruction includes user identity information.
[0097] For example, the execution subject in this embodiment can be a display device for a product page. The display device for a product page can be a server (such as a local server or a cloud server), a computer, a processor, a chip, etc., and this embodiment is not limited thereto. This embodiment uses an electronic device as the execution subject for illustration.
[0098] For example, the technical principle of step S501 can be found in step S201, and will not be repeated here.
[0099] S502. Determine the component to be displayed on the page according to the first instruction, and determine the information set corresponding to the attributes of the component to be displayed on the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display method of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing method when the component to be displayed is displayed; wherein the component to be displayed is a product component for displaying goods, or, the component to be displayed is an associated component for displaying information associated with the product component; the product component is used to indicate the validity period of the goods and the unit price information of the goods;
[0100] The associated component can be any of the following: header component, rights component, payment component, or payment channel component; the header component is used to indicate the triggering channel when the terminal device generates the first instruction; the rights component is used to indicate the usage rights of the product corresponding to the product component; the payment component is used to indicate the start of the product payment process; and the payment channel component is used to indicate the selectable payment methods.
[0101] For example, the component to be displayed mentioned in this embodiment can be a product component for displaying goods, so that users can select and purchase goods on the page. Alternatively, the component to be displayed can also be an association component for displaying information associated with the product component. In this embodiment, the association component can be any one of a header component, a benefits component, a payment component, or a payment channel component.
[0102] The header component in the associated components is used to instruct the user to generate the first command when triggering the terminal device. For example, when a user generates a first command to request the display of purchasable video membership products by triggering a component on the video playback page, the header component can be the header component corresponding to the video channel. Similarly, when a user generates a command to request the display of purchasable exam membership products by triggering a component on the exam paper display page, the header component can be the header component corresponding to the exam paper channel. Furthermore, displaying header components on the page improves the completeness of the product display page, and having different header components for different triggering channels enhances the user experience.
[0103] Furthermore, the benefits component in the associated components can be a component used to represent the benefits information of the ordered product. For example, when recommending products to users, a product is often combined with multiple benefits; for instance, when purchasing a video membership, it is often combined with joint memberships of multiple applications as the joint benefits of that product.
[0104] The payment channel component is used to indicate the available payment methods. This component can consist of components corresponding to multiple payment channels. When displaying the payment channel component, the order of the components corresponding to various payment channels can also be sorted according to the user's historical payment habits, so that the user can quickly select their preferred payment method.
[0105] The payment component is used to indicate when to start the payment process for a product. It is usually operated after the user selects a payment method.
[0106] In addition, in practical applications, associated components can also include coupon components (components used to display payment coupons), payment countdown components, etc.
[0107] It is understood that in this embodiment, the various components mentioned above can be selected in the product display interface to improve the user experience. Furthermore, when displaying these components, the aforementioned processing method can be used to determine the target display information corresponding to each attribute, so that the terminal device can complete the display of the components based on the target display information.
[0108] S503. Based on the user's identity information and the identifier information of the information set, determine the target display information corresponding to the attributes of the component to be displayed in the information set.
[0109] S504. Send the target display information corresponding to the attributes of the component to be displayed to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display the page containing the component to be displayed after the component to be displayed has been processed.
[0110] For example, the technical principles of steps S503 and S504 can be found in the descriptions of steps S203 and S204, and will not be repeated here.
[0111] S505. If it is determined from the configuration information that the terminal device supports displaying a half-screen page, then send first instruction information to the terminal device; wherein, the first instruction information is used to instruct the display of a page with components to be displayed on the layer of the historical page; the historical page is the display page corresponding to when the terminal device generates the first instruction; the first instruction also includes the configuration information of the terminal device; the configuration information is used to indicate the display methods supported by the terminal device.
[0112] For example, in this embodiment, the first instruction sent by the terminal device also carries configuration information corresponding to the terminal device. The configuration information can be used to indicate the display methods supported by the terminal device. Specifically, the display methods can be divided into full-screen page display and half-screen page display. Full-screen page display requires page switching to display the product page; half-screen page display does not require page switching and directly displays the product page on the half-screen of the current page.
[0113] After the electronic device receives the configuration information in the first instruction, it can determine the page display methods supported by the terminal device based on the terminal device's configuration information. For example, when determining the page display methods supported by the terminal device, the display methods supported by the configuration information can be found in a preset correspondence. The preset correspondence is used to represent the correspondence between the configuration information and the display methods supported by the configuration information.
[0114] If the electronic device determines that the terminal device supports a half-screen page display mode, it can send a first instruction message to the terminal device. This first instruction message instructs the terminal device to display the component to be displayed using a half-screen page display mode. Specifically, after receiving the first instruction message, the terminal device will display the component to be displayed on the history page. The history page is the interface displayed when the terminal device generated the first instruction. It should be noted that the execution order of step S505 is not specifically limited in this application; for example, it can be performed after S504 or after S501.
[0115] It is understandable that in this implementation, the display methods supported by the terminal device can be determined by the configuration information reported by the terminal device. When it is determined that the terminal device supports half-screen page display, the terminal device is instructed to use half-screen display to display the product page where the component to be displayed is located. Compared with the full-screen display method, the half-screen display method does not require page switching, which can improve page display efficiency.
[0116] It should be noted that in practical applications, the aforementioned information set can also be used to test whether a user prefers full-screen or half-screen display. For example, when the terminal device's configuration information determines that it supports both display modes, the target display information can be selected from the two display information pieces contained in the information set corresponding to the display mode. The selection method can also be determined by combining the identifier information of the aforementioned information set with the user's identity information. Furthermore, the two display information pieces in the information set corresponding to the display mode are used to characterize the full-screen and half-screen display modes, respectively.
[0117] Furthermore, in some embodiments, the first instruction may also include user login status information. When the user is not currently logged into the application or webpage corresponding to the product purchase, a login prompt message can be sent to the terminal device first, so that the terminal device can prompt the user to log in based on the login prompt message. After confirming that the user has performed the login operation, the target display information of the component to be displayed is sent to the terminal device, so that the user's payment identity can be quickly identified during subsequent payment for the product.
[0118] S506. If it is determined from the configuration information that the terminal device does not support displaying a half-screen page, then a second instruction message is sent to the terminal device, wherein the second instruction message is used to instruct switching from the historical page to the updated page, and the page with the components to be displayed is displayed on the updated page; the updated page is a full-screen page.
[0119] For example, in this embodiment, when the electronic device determines, based on the configuration information, that the terminal device cannot display the page using a half-screen display method, a second instruction is sent to the terminal device so that the terminal device can subsequently display the component to be displayed on the updated page according to the second instruction. The updated page and the historical page are two different pages. It should be noted that the execution order of step S506 is not specifically limited in this application; for example, it can be performed after S504 or after S501.
[0120] It is understood that in this embodiment, the display method of the terminal device is determined by the configuration information so that the terminal device can be instructed to use the supported display method to display the page, thereby facilitating the user to make payment for goods.
[0121] S507. Receive a second instruction sent by the terminal device. The second instruction includes third instruction information, product information of the ordered goods, and payment unit price information of the ordered goods. The third instruction information is used to indicate the selected payment method. The second instruction indicates that payment for the purchase of goods is required.
[0122] For example, in this embodiment, when a second instruction is received from the terminal device, it is determined that the terminal device needs to continue the purchase and payment process based on the received second instruction. Furthermore, the second instruction also includes information indicating the payment method selected by the user through the terminal device, product information of the currently selected product, and the unit price information of the ordered product.
[0123] S508. According to the second instruction, send a payment request to the device to be invoked corresponding to the selected payment method; wherein, the payment request includes the product information of the ordered goods and the payment unit price information of the ordered goods; the payment request indicates that payment for the purchase of goods is required.
[0124] For example, after the electronic device receives the second instruction, it determines the device to be invoked corresponding to the payment method represented by the third instruction based on the third instruction information in the second instruction, and sends a payment request to the device to be invoked so that the device to be invoked can learn about the product information and payment order information of the goods that the terminal device needs to order through the received payment request.
[0125] S509. Receive and send a callback instruction to the terminal device; wherein the callback instruction is generated by the device to be invoked based on the payment request; the callback instruction includes a payment link; the payment link is used to indicate the payment page; the callback instruction is used to instruct the terminal device to access the payment link and display the payment page.
[0126] For example, after the device to be invoked receives the aforementioned payment request, it generates a callback instruction, which includes a payment link directing the user to the payment webpage. Upon receiving the callback instruction from the device to be invoked, the electronic device further forwards the callback instruction to the terminal device, allowing the terminal device to access the payment link in the callback instruction and be redirected to the payment page to complete the payment process.
[0127] In one example, after step S509 above, the following steps may also be included:
[0128] The system receives a payment success message from the terminal device and sends a third instruction to the terminal device. The third instruction is used to instruct the terminal device to display the history page. The history page is the display page corresponding to when the terminal device generated the purchase request instruction. The payment success message indicates that the terminal device has successfully completed the payment.
[0129] For example, in this embodiment, after the terminal device confirms that the payment is successful, it will also report the payment success information to the electronic device. For instance, the terminal device has a listening component for listening to user operations. By continuously listening to user operation information, the user operation information (e.g., the interaction information between the user and the terminal device) can be transmitted through the cross-origin communication web page message transmission method such as window.postMessage. The electronic device can also return information to the terminal device in the above manner.
[0130] After the electronic device receives the payment success information, it will also send a third instruction to the terminal device. Upon receiving the third instruction, the terminal device will restore the display page of the terminal device to the historical display interface, that is, the display page when the first instruction was generated.
[0131] Understandably, in this embodiment, after the terminal device completes the payment, it will also notify the electronic device so that the electronic device is aware of the successful payment and can control the terminal device to return to the history page. Furthermore, through this method, the electronic device can obtain the terminal device's payment information as quickly as possible, enabling it to subsequently manage and monitor the user's order status.
[0132] In one example, after step S509 above, the following steps may also be included:
[0133] The system receives a payment failure message from the terminal device and sends a fourth instruction to the terminal device. The fourth instruction instructs the terminal device to display a prompt message. The prompt message prompts the user to confirm again whether to exit the current purchase process. The payment failure message indicates that the terminal device has not successfully completed the payment.
[0134] For example, in this embodiment, when the terminal device fails to complete the payment process, it can also send a payment failure message to the electronic device. When the electronic device receives the payment failure message, it will further send a fourth instruction to the terminal device, so that the terminal device can display a prompt message to the user to retain the user. In one example, the fourth instruction is used to instruct the terminal device to display coupon information pushed to the user by the electronic device, or to instruct the terminal device to display a preset prompt box message to the user so that the user can reconfirm whether to end the order payment process.
[0135] Understandably, returning payment failure information to electronic devices in this way not only helps electronic devices manage order status but also helps retain users, thereby improving the user experience.
[0136] In practical applications, electronic devices can be divided into multiple layers, specifically including an access layer for receiving information sent by various terminal devices. These terminal devices are not limited to mobile phones and computers but also include tablets, etc., which are not specifically limited in this embodiment. Additionally, there is a business layer for displaying product pages, payment information, order status management, reconciliation management, and other business functions. There is also a service layer, primarily used to interface with the servers of various payment providers to facilitate order payments for users. Finally, there is a storage layer for storing component information, order information, configuration information, etc., and the storage method for this information is not specifically limited here.
[0137] In this embodiment, the display method of the product page on the terminal device can be determined through the terminal device's configuration information. When it is determined that the terminal device supports half-screen display, the terminal device is controlled to display the product page in half-screen mode, allowing users to quickly obtain product information and complete payment. Furthermore, during the payment process, the terminal device will also send payment success or failure information to the electronic device, enabling the electronic device to manage user orders promptly or perform user retention actions.
[0138] Figure 6 This is a schematic diagram of a half-screen display page provided in this disclosure. For example... Figure 6 As shown in the figure, the shaded area represents the history page of the terminal device. Above the history page layer are the components to be displayed in this embodiment. This display area includes a header component 601, a product component 602, a product component 603, a payment channel component 604, a payment component 605, and a benefits component 606. The figure illustrates this using the purchase of an essay membership during essay reading as an example. Product components 602 and 603 represent two different types of membership products. When product component 602 is selected, the corresponding membership benefits component 606 displays the membership benefits associated with that product component.
[0139] Figure 7 This is a schematic diagram of a full-screen display page provided in this disclosure. The displayed page may include a user identity information component 701, a header component 702, a product component 703, a product component 704, a payment channel component 705, a payment channel component 706, and a payment component 707. The diagram illustrates this using the purchase of an essay membership during essay reading as an example. Product components 703 and 704 represent two different types of membership products. Furthermore, it includes payment channel components for two application payment methods (i.e., application A and application B), allowing users to select their preferred component.
[0140] Figure 8 This is a schematic diagram of the fourth embodiment of the present disclosure. As shown in the figure, the product page display device 800 includes:
[0141] The first receiving unit 801 is configured to receive a first instruction sent by the terminal device; wherein the first instruction is configured to instruct the display of a page with purchasable goods, and the first instruction includes user identity information;
[0142] The first determining unit 802 is used to determine the component to be displayed on the page according to the first instruction.
[0143] The second determining unit 803 is used to determine the information set corresponding to the attributes of the component to be displayed on the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing mode when the component to be displayed is displayed.
[0144] The third determining unit 804 is used to determine the target display information corresponding to the attributes of the component to be displayed in the information set based on the user identity information and the identification information of the information set.
[0145] The first sending unit 805 is used to send the target display information corresponding to the attributes of the component to be displayed to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display the page containing the component to be displayed after the component to be displayed has been processed.
[0146] The apparatus provided in this embodiment is used to implement the technical solution provided by the above method. Its implementation principle and technical effect are similar, and will not be described again.
[0147] Figure 9 This is a schematic diagram of the fifth embodiment of the present disclosure. As shown in the figure, the product page display device 900 includes:
[0148] The first receiving unit 901 is used to receive a first instruction sent by the terminal device; wherein the first instruction is used to instruct the display of a page with purchasable goods, and the first instruction includes user identity information.
[0149] The first determining unit 902 is used to determine the component to be displayed on the page according to the first instruction.
[0150] The second determining unit 903 is used to determine the information set corresponding to the attributes of the component to be displayed on the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing mode when the component to be displayed is displayed.
[0151] The third determining unit 904 is used to determine the target display information corresponding to the attributes of the component to be displayed in the information set based on the user identity information and the identification information of the information set.
[0152] The first sending unit 905 is used to send the target display information corresponding to the attributes of the component to be displayed to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display the page containing the component to be displayed after the component to be displayed has been processed.
[0153] In one example, the displayed information corresponds to a unique sub-range of values; the third determining unit 904 includes:
[0154] The splicing module 9041 is used to splice user identity information and information set identification information to obtain spliced information.
[0155] The conversion module 9042 is used to perform data conversion processing on the spliced information to obtain the converted value; wherein the converted value is located in a preset value range; the preset value range is the union of the value sub-ranges corresponding to the displayed information in the information set.
[0156] The determination module 9043 is used to determine the display information corresponding to the sub-range of values that matches the transformed values in the information set, which is the target display information corresponding to the attribute of the component to be displayed.
[0157] In one example, conversion module 9042 includes:
[0158] The first determining submodule 90421 is used to determine the cyclic redundancy check code corresponding to the spliced information based on the cyclic redundancy check algorithm.
[0159] The second determining submodule 90422 is used to determine the remainder between the cyclic redundancy check code and the preset value, which is the converted value.
[0160] In one example, the attribute is any of the following: content attribute, style attribute, or position attribute;
[0161] Among them, the content attribute is used to indicate the content information contained in the component to be displayed; the style attribute is used to indicate the display style of the component to be displayed; and the position attribute is used to indicate the display position of the component to be displayed on the page.
[0162] In one example, if the component to be displayed is a product component used to display goods, then the content attributes of the product component are used to indicate the product's shelf life and unit price information; the device also includes:
[0163] The acquisition unit 906 is used to acquire the user's location information and control operation information corresponding to the user identity information if the attributes corresponding to the determined information set do not include the content attributes of the product component; the location information represents the user's location; and the control operation information represents the browsing information of the product in the historical time period.
[0164] The fourth determining unit 907 is used to determine the content attributes of the commodity component based on the location information and control operation information.
[0165] In one example, the control operation information includes one or more of the following: selection information, click information, selection time information, and selection duration information;
[0166] Among them, the selected information represents the products selected by the user within the historical time period, the click information represents the number of clicks on the products selected by the user within the historical time period, the selected time information represents the time when the user selected the products within the historical time period, and the selected duration information represents the duration for which the products selected by the user remained in the selected state within the historical time period.
[0167] In one example, the first instruction also includes configuration information for the terminal device; the configuration information indicates the display methods supported by the terminal device; the apparatus also includes:
[0168] The second sending unit 908 is used to send first indication information to the terminal device if it is determined from the configuration information that the terminal device supports displaying a half-screen page; wherein, the first indication information is used to indicate that a page with the component to be displayed is displayed on the layer of the history page; the history page is the display page corresponding to when the terminal device generates the first instruction.
[0169] In one example, the device also includes:
[0170] The third sending unit 909 is used to send a second indication message to the terminal device if it is determined from the configuration information that the terminal device does not support displaying a half-screen page. The second indication message is used to indicate switching from the historical page to the updated page and displaying the page with the components to be displayed on the updated page. The updated page is a full-screen page.
[0171] In one example, the device also includes:
[0172] The second receiving unit 910 is used to receive a second instruction sent by the terminal device. The second instruction includes third indication information, product information of the ordered goods, and payment unit price information of the ordered goods. The third indication information is used to indicate the selected payment method. The second instruction indicates that payment for the purchase of goods is required.
[0173] The fourth sending unit 911 is used to send a payment request to the device to be invoked corresponding to the selected payment method according to the second instruction; wherein, the payment request includes product information of the ordered goods and payment unit price information of the ordered goods; the payment request indicates that payment for the purchase of goods is required;
[0174] The third receiving unit 912 is used to receive callback instructions;
[0175] The fifth sending unit 913 is used to send a callback instruction to the terminal device; wherein the callback instruction is generated by the device to be invoked according to the payment request; the callback instruction includes a payment link; the payment link is used to indicate the payment page; the callback instruction is used to instruct the terminal device to access the payment link and display the payment page.
[0176] In one example, the device also includes:
[0177] The fourth receiving unit 914 is used to receive payment success information sent by the terminal device;
[0178] The sixth sending unit 915 is used to send a third instruction to the terminal device; the third instruction is used to instruct the terminal device to display the history page; wherein, the history page is the display page corresponding to when the terminal device generates the purchase request instruction; the payment success information indicates that the terminal device has successfully completed the payment.
[0179] In one example, the device also includes:
[0180] The fifth receiving unit 916 is used to receive payment failure information sent by the terminal device;
[0181] The seventh sending unit 917 is used to send a fourth instruction to the terminal device; the fourth instruction is used to instruct the terminal device to display a prompt message; the prompt message is used to prompt the user to confirm again whether to exit the current product purchase process; the payment failure message indicates that the terminal device has not successfully completed the payment.
[0182] In one example, the component to be displayed is a product component used to display products, or an associated component used to display information associated with the product component;
[0183] The product component is used to indicate the product's shelf life and unit price.
[0184] The associated component can be any of the following: header component, rights component, payment component, or payment channel component; the header component is used to indicate the triggering channel when the terminal device generates the first instruction; the rights component is used to indicate the usage rights of the product corresponding to the product component; the payment component is used to indicate the start of the product payment process; and the payment channel component is used to indicate the selectable payment methods.
[0185] The apparatus provided in this embodiment is used to implement the technical solution provided by the above method. Its implementation principle and technical effect are similar, and will not be described again.
[0186] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0187] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0188] This disclosure provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method provided in any of the above embodiments.
[0189] Figure 10 This is a schematic diagram based on the sixth embodiment of the present disclosure, as shown below. Figure 10 As shown, the electronic device 1000 in this disclosure may include a processor 1001 and a memory 1002.
[0190] Memory 1002 is used to store programs. Memory 1002 may include volatile memory, such as random-access memory (RAM), such as static random-access memory (SRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), etc.; memory may also include non-volatile memory, such as flash memory. Memory 1002 is used to store computer programs (such as application programs, functional modules, etc. that implement the above methods), computer instructions, etc. The computer programs, computer instructions, etc., can be partitioned and stored in one or more memories 1002. Furthermore, the computer programs, computer instructions, data, etc., can be accessed by processor 1001.
[0191] The aforementioned computer programs and instructions can be stored in one or more partitions of memory 1002. Furthermore, the aforementioned computer programs and instructions can be invoked by processor 1001.
[0192] The processor 1001 is configured to execute the computer program stored in the memory 1002 to implement the various steps in the methods described in the above embodiments.
[0193] For details, please refer to the relevant descriptions in the preceding method embodiments.
[0194] The processor 1001 and the memory 1002 can be independent structures or integrated structures. When the processor 1001 and the memory 1002 are independent structures, the memory 1002 and the processor 1001 can be coupled together via the bus 1003.
[0195] The electronic device in this embodiment can execute the technical solution in the above method. Its specific implementation process and technical principle are the same, and will not be repeated here.
[0196] This disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods provided in any of the above embodiments.
[0197] According to embodiments of this disclosure, this disclosure also provides a computer program product comprising: a computer program stored in a readable storage medium, at least one processor of an electronic device being able to read the computer program from the readable storage medium, and the at least one processor executing the computer program causing the electronic device to perform the scheme provided in any of the above embodiments.
[0198] Figure 11 A schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0199] like Figure 11 As shown, device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in read-only memory (ROM) 1102 or a computer program loaded from storage unit 1108 into random access memory (RAM) 1103. The RAM 1103 may also store various programs and data required for the operation of device 1100. The computing unit 1101, ROM 1102, and RAM 1103 are interconnected via bus 1104. Input / output (I / O) interface 1105 is also connected to bus 1104.
[0200] Multiple components in device 1100 are connected to I / O interface 1105, including: input unit 1106, such as keyboard, mouse, etc.; output unit 1107, such as various types of monitors, speakers, etc.; storage unit 1108, such as disk, optical disk, etc.; and communication unit 1109, such as network card, modem, wireless transceiver, etc. Communication unit 1109 allows device 1100 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0201] The computing unit 1101 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1101 performs the various methods and processes described above, such as the method of displaying a product page. For example, in some embodiments, the method of displaying a product page may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on device 1100 via ROM 1102 and / or communication unit 1109. When the computer program is loaded into RAM 1103 and executed by the computing unit 1101, one or more steps of the method of displaying a product page described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to perform a method for displaying a product page by any other suitable means (e.g., by means of firmware).
[0202] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0203] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0204] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0205] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0206] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0207] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service ecosystem, addressing the shortcomings of traditional physical hosts and VPS (Virtual Private Server, or simply "VPS") services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.
[0208] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0209] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A method for displaying a product page, comprising: The system receives a first instruction sent by a terminal device; wherein the first instruction is used to instruct the display of a page with purchasable goods, and the first instruction includes user identity information; based on the first instruction, it determines a component to be displayed on the page, and determines an information set corresponding to the attributes of the component to be displayed on the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, the display information characterizes the processing mode when the component to be displayed is displayed, and the display information corresponds to a unique value sub-range; The user identity information and the identifier information of the information set are concatenated to obtain concatenated information; The spliced information is processed by data conversion to obtain converted values; wherein the converted values are located within a preset value range; the preset value range is the union of the sub-ranges of values corresponding to the displayed information in the information set; In the information set, the display information corresponding to the sub-interval of values that matches the converted values is determined, which is the target display information corresponding to the attribute of the component to be displayed; The target display information corresponding to the attributes of the component to be displayed is sent to the terminal device for processing; wherein, the target display information corresponding to the attributes of the component to be displayed is used to display the page containing the component to be displayed after the component to be displayed has been processed.
2. The method according to claim 1, wherein, The spliced information is processed by data conversion to obtain the converted values, including: Based on the cyclic redundancy check algorithm, the cyclic redundancy check code corresponding to the spliced information is determined; The remainder between the cyclic redundancy check code and the preset value is determined as the converted value.
3. The method according to claim 1 or 2, wherein, The attribute can be any one of the following: content attribute, style attribute, or position attribute; The content attribute is used to indicate the content information contained in the component to be displayed; the style attribute is used to indicate the display style of the component to be displayed; and the position attribute is used to indicate the display position of the component to be displayed on the page.
4. The method according to claim 3, wherein, If the component to be displayed is a product component used to display goods, then the content attributes of the product component are used to indicate the product's validity period and unit price information; the method further includes: If it is determined that the content attributes of the product component are not included in the attributes corresponding to the information set, then the location information and control operation information of the user corresponding to the user identity information are obtained; the location information represents the location of the user; the control operation information represents the browsing information of the product in the historical time period. The content attributes of the product component are determined based on the location information and the control operation information.
5. The method according to claim 4, wherein, The control operation information includes one or more of the following: selection information, click information, selection time information, and selection duration information; Wherein, the selection information represents the product selected by the user within the historical time period, the click information represents the number of clicks on the product selected by the user within the historical time period, the selection time information represents the time when the user selected the product within the historical time period, and the selection duration information represents the duration during which the product selected by the user remained in the selected state within the historical time period.
6. The method according to any one of claims 1-5, wherein the first instruction further includes configuration information of the terminal device; the configuration information is used to indicate the display methods supported by the terminal device; the method further includes: If it is determined from the configuration information that the terminal device supports displaying a half-screen page, then a first instruction is sent to the terminal device; wherein, the first instruction is used to instruct the page with the component to be displayed to be displayed on the layer of the history page; the history page is the display page corresponding to when the terminal device generates the first instruction.
7. The method according to claim 6, further comprising: If it is determined from the configuration information that the terminal device does not support displaying a half-screen page, then a second instruction message is sent to the terminal device, wherein the second instruction message is used to instruct switching from the historical page to the updated page, and the page with the component to be displayed is displayed on the updated page; the updated page is a full-screen page.
8. The method according to any one of claims 1-7, further comprising: The system receives a second instruction sent by the terminal device. The second instruction includes third indication information, product information of the ordered goods, and payment unit price information of the ordered goods. The third indication information is used to indicate the selected payment method. The second instruction indicates that payment for the purchase of goods is required. According to the second instruction, a payment request is sent to the device to be invoked corresponding to the selected payment method; wherein, the payment request includes product information of the ordered goods and payment unit price information of the ordered goods; the payment request indicates that payment for the goods needs to be made; The system receives and sends a callback instruction to the terminal device; wherein the callback instruction is generated by the device to be invoked based on the payment request; the callback instruction includes a payment link; the payment link is used to indicate a payment page; and the callback instruction is used to instruct the terminal device to access the payment link and display the payment page.
9. The method according to claim 8, further comprising: The system receives payment success information from the terminal device and sends a third instruction to the terminal device. The third instruction is used to instruct the terminal device to display the history page. The history page is the display page corresponding to when the terminal device generates the purchase request instruction. The payment success information indicates that the terminal device has successfully completed the payment.
10. The method of claim 8, further comprising: The system receives a payment failure message from the terminal device and sends a fourth instruction to the terminal device; the fourth instruction is used to instruct the terminal device to display a prompt message. The prompt message is used to remind the user to confirm whether to exit the current product purchase process; the payment failure message indicates that the terminal device has not successfully completed the payment.
11. The method according to any one of claims 1-10, wherein the component to be displayed is a product component for displaying a product, or the component to be displayed is an association component for displaying information associated with the product component; in, The product component is used to indicate the product's shelf life and unit price information; The associated component can be any one of the following: header component, rights component, payment component, or payment channel component; the header component is used to indicate the triggering channel when the terminal device generates the first instruction; the rights component is used to indicate the usage rights of the product corresponding to the product component; the payment component is used to indicate the start of the product payment process; and the payment channel component is used to indicate the selectable payment methods.
12. A display device for a product page, the device comprising: The first receiving unit is configured to receive a first instruction sent by the terminal device; wherein the first instruction is configured to instruct the display of a page with purchasable goods, and the first instruction includes user identity information; The first determining unit is configured to determine the component to be displayed in the page according to the first instruction. The second determining unit is used to determine the information set corresponding to the attributes of the component to be displayed in the page, wherein the component to be displayed has at least one attribute; the attribute of the component to be displayed is used to indicate the display mode of the component to be displayed; the information set is a set of display information corresponding to the attributes of the component to be displayed, the information set has unique identification information, and the display information characterizes the processing mode when the component to be displayed is displayed; The third determining unit is used to determine the target display information corresponding to the attribute of the component to be displayed in the information set based on the user identity information and the identification information of the information set; The first sending unit is used to send the target display information corresponding to the attribute of the component to be displayed to the terminal device for processing; wherein, the target display information corresponding to the attribute of the component to be displayed is used to display a page containing the component to be displayed after the component to be displayed has been processed. Wherein, the displayed information corresponds to a unique value sub-interval; the third determining unit includes: The splicing module is used to splice the user identity information and the identification information of the information set to obtain spliced information; A conversion module is used to perform data conversion processing on the spliced information to obtain converted values; wherein the converted values are located within a preset value range; the preset value range is the union of the value sub-ranges corresponding to the displayed information in the information set; The determining module is used to determine, within the information set, the display information corresponding to the sub-interval of values that matches the transformed values, which is the target display information corresponding to the attribute of the component to be displayed.
13. The apparatus according to claim 12, wherein, The conversion module includes: The first determining submodule is used to determine the cyclic redundancy check code corresponding to the spliced information based on the cyclic redundancy check algorithm. The second determining submodule is used to determine the remainder between the cyclic redundancy check code and the preset value, which is the converted value.
14. The apparatus according to claim 12 or 13, wherein, The attribute can be any one of the following: content attribute, style attribute, or position attribute; The content attribute is used to indicate the content information contained in the component to be displayed; the style attribute is used to indicate the display style of the component to be displayed; and the position attribute is used to indicate the display position of the component to be displayed on the page.
15. The apparatus according to claim 14, wherein, If the component to be displayed is a product component for displaying goods, then the content attributes of the product component are used to indicate the product's validity period and unit price information; the device further includes: The acquisition unit is configured to acquire the user's location information and control operation information corresponding to the user identity information if it is determined that the content attribute of the product component is not included in the attribute corresponding to the information set; the location information represents the user's location; and the control operation information represents the browsing information of the product in the historical time period. The fourth determining unit is used to determine the content attributes of the commodity component based on the location information and the control operation information.
16. The apparatus according to claim 15, wherein, The control operation information includes one or more of the following: selection information, click information, selection time information, and selection duration information; Wherein, the selection information represents the product selected by the user within the historical time period, the click information represents the number of clicks on the product selected by the user within the historical time period, the selection time information represents the time when the user selected the product within the historical time period, and the selection duration information represents the duration during which the product selected by the user remained in the selected state within the historical time period.
17. The apparatus according to any one of claims 12-16, wherein the first instruction further includes configuration information of the terminal device; the configuration information is used to indicate the display methods supported by the terminal device; the apparatus further includes: The second sending unit is configured to send first indication information to the terminal device if it is determined from the configuration information that the terminal device supports displaying a half-screen page; wherein the first indication information is used to indicate that the page with the component to be displayed is displayed on the layer of the history page; the history page is the display page corresponding to when the terminal device generates the first instruction.
18. The apparatus of claim 17, further comprising: The third sending unit is configured to send a second instruction to the terminal device if it is determined from the configuration information that the terminal device does not support displaying a half-screen page. The second instruction is configured to instruct the user to switch from the history page to the update page and display the page with the component to be displayed on the update page. The update page is a full-screen page.
19. The apparatus according to any one of claims 12-18, further comprising: The second receiving unit is configured to receive a second instruction sent by the terminal device. The second instruction includes third indication information, product information of the ordered goods, and payment unit price information of the ordered goods. The third indication information is used to indicate the selected payment method. The second instruction indicates that payment for the purchase of goods is required. The fourth sending unit is configured to send a payment request to the device to be invoked corresponding to the selected payment method according to the second instruction; wherein the payment request includes product information of the ordered goods and payment unit price information of the ordered goods; the payment request indicates that payment for the goods needs to be made; The third receiving unit is used to receive callback instructions; The fifth sending unit is used to send the callback instruction to the terminal device; wherein the callback instruction is generated by the device to be invoked according to the payment request; the callback instruction includes a payment link; the payment link is used to indicate a payment page; the callback instruction is used to instruct the terminal device to access the payment link and display the payment page.
20. The apparatus of claim 19, further comprising: The fourth receiving unit is used to receive payment success information sent by the terminal device; The sixth sending unit is used to send a third instruction to the terminal device; the third instruction is used to instruct the terminal device to display the history page; wherein, the history page is the display page corresponding to when the terminal device generates the purchase request instruction; the payment success information indicates that the terminal device has successfully completed the payment.
21. The apparatus of claim 19, further comprising: The fifth receiving unit is used to receive payment failure information sent by the terminal device; The seventh sending unit is used to send the fourth instruction to the terminal device; The fourth instruction is used to instruct the terminal device to display a prompt message; the prompt message is used to prompt the user to confirm again whether to exit the current product purchase process; the payment failure message indicates that the terminal device has not successfully completed the payment.
22. The apparatus according to any one of claims 12-21, wherein the component to be displayed is a product component for displaying a product, or the component to be displayed is an association component for displaying information associated with the product component; in, The product component is used to indicate the product's shelf life and unit price information; The associated component can be any one of the following: header component, rights component, payment component, or payment channel component; the header component is used to indicate the triggering channel when the terminal device generates the first instruction; the rights component is used to indicate the usage rights of the product corresponding to the product component; the payment component is used to indicate the start of the product payment process; and the payment channel component is used to indicate the selectable payment methods.
23. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-11.
24. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-11.
25. A computer program product comprising a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1-11.
Citation Information
Patent Citations
Page display method and device, and equipment
CN112579935A
Page generation method and device, electronic equipment and storage medium
CN114969597A