A method and device for cleaning page information
By finding and cleaning matching information blocks in the interactive operation of page information blocks, the problem of mistakenly cleaning up users' attention to information in the prior art is solved, and the user experience of the page and the neatness of the information are improved.
Patent Information
- Application Number
- CN202110333679.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-29
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-03-29
AI Technical Summary
The existing page information cleaning method may mistakenly clean up information that users are concerned about, resulting in poor user experience.
Through the interaction of receiving page information blocks, find and clean up information blocks that match the information block, including matching according to category, name and applicable objects, generating a list of products to be cleaned and performing cleaning steps.
Reduces page redundancy, improves user experience, and ensures the retention of important information and the cleanliness of the page.
Smart Images

Figure CN112966171B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for cleaning page information. Background Art
[0002] Generally speaking, the information that can be stored on a page is limited. For example, there are limited display spaces on the product display page of an e-commerce platform, and there are limited product information placement spaces on the shopping cart page. Therefore, in order to update the information on the page, it is generally necessary to delete or clean up the previous information. The current method of cleaning up page information is mainly based on chronological order, cleaning up the information that has been on the page for the longest time.
[0003] The existing page information cleaning method may mistakenly clean up information that users are more concerned about, such as products that users have purchase intentions, resulting in a poor user experience when using the page. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a method and device for cleaning page information, which can improve the user experience of using the page.
[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for clearing page information is provided, comprising:
[0006] receiving an interactive operation for at least one first information block;
[0007] In the page where the interactive operation is performed, searching for a second information block that matches the at least one first information block;
[0008] If found, the information of the second information block is cleared.
[0009] Preferably, searching for a second information block that matches the at least one first information block comprises:
[0010] determining at least one primary category to which at least one of the first information blocks belongs;
[0011] Determine whether there is a third information block satisfying the category of each level in the page, and if so, match the third information block with at least one of the first information blocks;
[0012] If the match succeeds, it is determined that the third information block is the second information block.
[0013] Preferably, matching the third information block with at least one of the first information blocks comprises:
[0014] matching the name information and applicable object information included in the third information block with the name information and applicable object information included in at least one of the first information blocks;
[0015] If the name information and applicable object information included in the third information block are the same as the name information and applicable object information included in any of the first information blocks, it is determined that the match is successful.
[0016] Preferably, after the name information and applicable object information included in the third information block successfully match the name information and applicable object information included in any of the first information blocks, the method further includes:
[0017] The model information included in the third information block is matched with the model information included in the first information block. If the match is successful, the third information block is retained on the page; if the match fails, the third information block is determined to be the second information block.
[0018] Preferably,
[0019] The interactive operation indicates submitting a product order, wherein the product order includes at least one of the first information blocks;
[0020] or,
[0021] The interactive operation indicates adding at least one of the first information blocks to the page where the interactive operation is performed.
[0022] Preferably, the method for cleaning up page information further comprises:
[0023] A list of products to be cleared is generated according to at least one of the second information blocks, and a step of clearing the information of the second information block is performed based on the list of products to be cleared.
[0024] Preferably, after generating the list of products to be cleared, the method further comprises:
[0025] On the page, the list of products to be cleared is displayed;
[0026] In response to obtaining a cleaning instruction for the list of products to be cleaned up, a step of cleaning up information of the second information block is performed.
[0027] Preferably,
[0028] When the product list to be cleared includes a plurality of the second information blocks, and the clearing instruction indicates clearing at least one target second information block among the plurality of the second information blocks;
[0029] Cleaning up information of the second information block includes: cleaning up information of at least one of the target second information blocks.
[0030] Preferably, after displaying the list of products to be cleared and before clearing the information of the second information block, the method further comprises:
[0031] In response to receiving a retaining instruction for the to-be-cleared product list, retaining at least one second information block indicated by the retaining instruction in the page.
[0032] Preferably, the method for cleaning up page information further comprises:
[0033] generating a cleanup request, wherein the cleanup request indicates information of the second information block;
[0034] The cleaning request is sent to a server, so that the server cleans up the information of the second information block stored for the page.
[0035] In a second aspect, an embodiment of the present invention provides a device for cleaning page information, comprising: a receiving unit and an information processing unit, wherein:
[0036] The receiving unit is configured to receive an interactive operation for at least one first information block;
[0037] The information processing unit is used to search for a second information block matching the at least one first information block in the page where the interactive operation is performed; if found, clear the information of the second information block.
[0038] One embodiment of the above invention has the following advantages or beneficial effects: because the solution provided by the embodiment of the present invention is for at least one first information block that receives an interactive operation, by searching for a second information block that matches the at least one first information block, that is, searching for a second information block that is similar or identical to the first information block, if found, the information of the second information block is cleaned up. That is, the second information block that matches the first information block is cleaned up, that is, since an interactive operation is received on at least one first information block, the possibility of subsequent interactive operation or attention on the second information block that matches the first information block is relatively low, therefore, by cleaning up the information of the second information block, page redundancy can be reduced and the experience of using the page can be improved.
[0039] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0041] Figure 1 is a schematic diagram of the main process of a method for cleaning page information according to an embodiment of the present invention;
[0042] Figure 2 is a schematic diagram of a main process of matching a first information block with a second information block according to an embodiment of the present invention;
[0043] Figure 3 is a schematic diagram of a main process of matching a third information block with at least one first information block according to an embodiment of the present invention;
[0044] Figure 4 is a schematic diagram of a main process of cleaning information of a second information block according to an embodiment of the present invention;
[0045] Figure 5 is a schematic diagram of the main process of a method for cleaning page information according to another embodiment of the present invention;
[0046] Figure 6 is a schematic diagram of the main process of a method for cleaning page information according to another embodiment of the present invention;
[0047] Figure 7 is a schematic diagram of main units of an apparatus for cleaning page information according to an embodiment of the present invention;
[0048] Figure 8 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0049] Fig. 9 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0051] The information that can be cached in various display pages is limited. For example, the number of recommended positions in e-commerce pages is limited, and the information that can be cached or displayed is also limited. If the recommended positions are not cleaned up in time, the information that users no longer care about or the information of products that users have no intention of purchasing will be cleared. For another example, in the shopping cart page of an e-commerce platform, the number of products that can be cached or stored is also limited. If the shopping cart page continues to store or cache a large amount of information about products that were selected and purchased in the early stage, but now there is no intention to buy, the information storage on the shopping cart page will be redundant and bloated.
[0052] In order to solve the problem that the information included in the above pages cannot be cleared in time, Figure 1 A method for cleaning page information according to an embodiment of the present invention is as follows. Figure 1 As shown, the method for cleaning page information may include the following steps:
[0053] Step S101: receiving an interactive operation for at least one first information block;
[0054] Information blocks refer to information stored or cached in the information display position on the page, which may include hyperlinks to the information details page, key feature information such as product name, product category, product model, product style, product color, etc. The information display position can be a recommendation position on the e-commerce homepage, a position for placing product information on the shopping cart page, or a position for placing product information on the payment page.
[0055] It is worth noting that the first information block, the second information block and the third information block are used to distinguish different information blocks, and do not represent the position of the information block in the page, the number of information blocks, etc.
[0056] The interactive operation indicates submitting a product order, wherein the product order includes at least one first information block; or the interactive operation indicates adding at least one first information block to the page where the interactive operation is performed. For example, the interactive operation may be adding a certain information block to a shopping cart page, or accessing a certain information block in a page, or adding a certain information block in a shopping cart page to a purchase list, or performing a purchase operation on a certain information block in a shopping cart page, etc. The information block targeted by the interactive operation is the first information block. The number of the first information blocks may be one or more. For example, a purchase operation may be performed on the goods corresponding to multiple first information blocks (such as multiple product information blocks) in the shopping cart, etc.
[0057] Step S102: searching for a second information block matching at least one first information block in the page where the interactive operation is performed; if found, executing step S103; if not found, terminating the current process;
[0058] The page for performing the interactive operation refers to the above-mentioned e-commerce homepage, shopping cart page, etc. For example, if the interactive operation is to perform a purchase operation on multiple product information blocks in the shopping cart page, the page for performing the interactive operation is the shopping cart page; for another example, if the interactive operation is to add product information to the shopping cart, the page for performing the interactive operation is the shopping cart page.
[0059] It is worth noting that during the execution of this step, the time range of the search can be limited, such as information existing on the page within 7 days or 30 days.
[0060] Step S103: clearing the information of the second information block.
[0061] The specific implementation method of this step is: deleting the cached or stored information of the second information block in the page performing the interactive operation.
[0062] exist Figure 1 In the illustrated embodiment, for at least one first information block that receives an interactive operation, a second information block matching the at least one first information block is searched, that is, a second information block similar to or identical to the first information block is searched, and if found, the information of the second information block is cleared. That is, the second information block matching the first information block is cleared, that is, since an interactive operation is received on at least one first information block, the possibility of subsequent interactive operation or attention on the second information block matching the first information block is relatively low, therefore, by clearing the information of the second information block, page redundancy can be reduced and the experience of using the page can be improved.
[0063] In the embodiment of the present invention, Figure 2 As shown, the specific implementation of the above step S102 may include the following steps:
[0064] Step S201: Determine at least one level category to which at least one first information block belongs;
[0065] The at least one first-level category refers to the category included in the first information block. For example, for an e-commerce platform, the category refers to the multi-level classification of goods by the e-commerce platform, such as the first-level category is fresh food, the second-level category is vegetables, and the third-level category is broccoli. For example, the first-level category is food, the second-level category is dairy products, and the third-level category is milk or yogurt. For example, the first-level category is clothing, the second-level category is tops, and the third-level category is jackets, etc.
[0066] Step S202: determine whether there is a third information block that meets each level of category in the page, if yes, execute step S203; otherwise, end the current process;
[0067] Satisfying each level of category means searching for a third information block that matches each level of category included in at least one first information block. For example, the first information block includes categories such as first-level category clothing, second-level category tops, and third-level category jackets. Then, in the shopping cart page, search for a third information block including first-level category clothing, second-level category tops, and third-level category jackets. If found, it is determined that there is a third information block satisfying each level of category in the page. If not found, it is determined that there is no third information block satisfying each level of category in the page.
[0068] Step S203: Match the third information block with at least one first information block; if the match succeeds, execute step S204; if the match fails, end the current process;
[0069] For example, the third information block includes multi-level categories, the first-level category is clothing, the second-level category is tops, and the third-level category is jackets; and there is a first information block or multiple first information blocks that include multi-level categories, the first-level category is clothing, the second-level category is tops, and the third-level category is jackets, then the information included in the third information block is further matched with the information included in the first information block.
[0070] Step S204: Determine that the third information block is the second information block.
[0071] Through the above process of determining the second information block, by first judging whether a third information block of a category included in at least one first information block is satisfied in the page, and then matching the first information block and the third information block, the second information block can be determined more quickly, thereby effectively improving the efficiency of cleaning the second information block.
[0072] In the embodiment of the present invention, Figure 3 As shown, the specific implementation of the above step S203 may include the following steps:
[0073] Step S301: matching the name information and applicable object information included in the third information block with the name information and applicable object information included in at least one first information block;
[0074] The name information refers to the product name on the homepage, shopping cart page, etc. of the e-commerce platform; the applicable object information refers to the group of people that the product is applicable to, such as children, women, the elderly, infants, etc. The applicable object information can come from the product label or directly from the product details.
[0075] The third information block refers to other information blocks in the page except the first information block receiving the interactive operation.
[0076] Step S302: If the name information and applicable object information included in the third information block are the same as the name information and applicable object information included in any of the first information blocks, it is determined that the match is successful.
[0077] For example, a third information block includes name information A and applicable object B, and a first information block also includes name information A and applicable object information B, then the name information and applicable object information of the third information block are the same as the name information and applicable object information included in any of the first information blocks.
[0078] By searching for the third information block matching the first information block based on the name information and the applicable object information, the second information block can be quickly matched to effectively improve the efficiency of page cleaning.
[0079] In an embodiment of the present invention, after the name information and applicable object information included in the third information block successfully match the name information and applicable object information included in any first information block, it may further include: matching the model information included in the third information block with the model information included in the first information block, if the match is successful, the third information block is retained on the page; if the match fails, the third information block is determined to be the second information block. For example, the name information included in the third information block is A, the applicable object is B, and the model information is X, and the name information and applicable object information included in a first information block are also A and B, and its model information is Y, then it means that the name information and applicable object of the third information block are successfully matched with the first information block, but the model information is different, indicating that the model information X may be added by the user by mistake or the user no longer needs it, then the third information block can be used as the second information block for cleaning, and the accuracy of the cleaned information can be ensured, so as to effectively reduce page redundancy and reduce the interference of unnecessary information, so that users can obtain the desired information through the page in a timely and accurate manner.
[0080] In an embodiment of the present invention, the method for clearing page information may further include: generating a list of products to be cleared according to at least one second information block, and performing a step of clearing the information of the second information block based on the list of products to be cleared. The list of products to be cleared facilitates the management of at least one second information block.
[0081] In the embodiment of the present invention, Figure 4 As shown, after generating the list of products to be cleared, the following steps may be further included:
[0082] Step S401: Display a list of products to be cleared on the page;
[0083] Step S402: In response to obtaining a cleaning instruction for the list of products to be cleaned up, executing a step of cleaning up information of the second information block.
[0084] The cleaning instruction for the list of products to be cleaned up may be generated by the client when triggered by a user; or may be automatically generated by the client, that is, after the list of products to be cleaned up is generated, the cleaning instruction is automatically generated for the list to be cleaned up.
[0085] It is worth noting that the method for obtaining the above-mentioned cleaning instructions can be set accordingly according to user needs, and the client can provide multiple cleaning modes for the above-mentioned cleaning instructions, automatic cleaning mode, and manual cleaning mode. For example, for the automatic cleaning mode, the above-mentioned cleaning instructions for the list of products to be cleaned are obtained by the client automatically generating the cleaning instructions, and automatically cleaning the information of the second information block in the list of products to be cleaned based on the cleaning instructions; for the manual cleaning mode, after receiving the user's trigger for the list of products to be cleaned or the second information block in the list of products to be cleaned, a cleaning instruction can be generated for the list of products to be cleaned or the second information block in the list of products to be cleaned, and the list of products to be cleaned or the second information block in the list of products to be cleaned can be cleaned.
[0086] In an embodiment of the present invention, when the list of products to be cleaned up includes multiple second information blocks, and the cleaning instruction indicates to clean up at least one target second information block among the multiple second information blocks; accordingly, cleaning up the information of the second information block includes: cleaning up the information of at least one target second information block. For example, if the list of products to be cleaned up includes multiple second information blocks a, b, c, and d, respectively, and the cleaning instruction indicates to clean up c and d, then the cleaning step can clean up c and d to keep a and b, that is, the second information blocks can be cleaned up flexibly through the above process.
[0087] In an embodiment of the present invention, after displaying the list of products to be cleared, before clearing the information of the second information block, the process may further include: in response to receiving a retention instruction for the list of products to be cleared, retaining at least one second information block indicated by the retention instruction in the page. Through this process, the second information block in the list of products to be cleared can also be retained in the page, thereby achieving flexible configuration of information clearing and information retention.
[0088] In the embodiment of the present invention, Figure 5 As shown, the above method for cleaning page information may further include the following steps:
[0089] Step S501: Generate a cleanup request, wherein the cleanup request indicates information of the second information block;
[0090] Step S502: Send a cleanup request to the server, so that the server cleans up the information of the second information block stored for the page.
[0091] Through the above process, the page information managed by the server can be kept consistent with the page information of the client, so when the client reloads the page subsequently, it can obtain the latest page information from the server.
[0092] By first cleaning the page on the client side, and then sending a cleaning request to the server side according to the situation of cleaning the page on the client side, so that the server side performs corresponding cleaning, the interaction between the server side and the client side can be reduced, and the load and resource overhead of the server side can be reduced.
[0093] In order to clearly illustrate the method for cleaning page information provided by the embodiment of the present invention, the following takes cleaning the product information in the shopping cart page as an example. Figure 6 As shown, the cleaning page information may include the following steps:
[0094] Step S601: receiving an interactive operation on at least one first information block in a shopping cart page;
[0095] The first information block is information about each product stored on the shopping cart page.
[0096] The interactive operation indicates submitting a product order, wherein the product order includes at least one first information block; or the interactive operation indicates adding at least one first information block to a page where the interactive operation is performed.
[0097] Step S602: Determine at least one level category to which at least one first information block belongs;
[0098] For example, if a product order is submitted and includes multiple products A1, A2, A3, A4 and A5, the information of each product is the corresponding first information block, that is, the product information corresponding to A1, A2, A3, A4 and A5 is a first information block. A1 belongs to the category of clothing, tops, and pajamas; A2 belongs to the category of clothing, tops, and pajamas; A3 belongs to the category of fresh food, vegetables, and broccoli; A4 belongs to the category of food, dairy products, and fresh milk; A5 belongs to the category of clothing, tops, and pajamas.
[0099] Step S603: in the page where the interactive operation is performed, determine whether there is a third information block that meets each level of category in the page, if yes, execute step S604; otherwise, end the current process;
[0100] For example, on the shopping cart page, search for product information that matches or is consistent with the categories of the above products A1, A2, A3, A4 and A5. For example, find information about products B1, B2 and B3. The categories of B1 and B2 are both clothing, tops, and pajamas; the category of B3 is fresh food, vegetables, and broccoli.
[0101] Step S604: matching the name information and applicable object information included in the third information block with the name information and applicable object information included in at least one first information block; if the match succeeds, executing step S605; if the match fails, ending the current process;
[0102] If the name information and applicable object information included in the third information block are the same as the name information and applicable object information included in any of the first information blocks, it is determined that the match is successful; for example, the name information of B1 is pajamas, and the applicable object is female adults; the name information of B2 is pajamas, and the applicable object is children; the name of B3 is organic broccoli, and the applicable object is all people. The name information of A1 is pajamas, and the applicable object is female adults; the name information of A5 is pajamas, and the applicable object is children; the name of A3 is ordinary broccoli, and the applicable object is all people. Through this step, A1 matches B1, A5 matches B2, and A3 does not match B3.
[0103] Step S605: Match the model information included in the third information block with the model information included in the first information block. If the match succeeds, execute step S606; if the match fails, execute step S607;
[0104] For example, if the model information included in B1 is s and the model information included in A1 is also s, it means that the model information of B1 and A1 matches successfully; if the model information included in B2 is X and the model information included in A5 is XL, it means that the model information of B2 and A5 matches unsuccessfully.
[0105] Step S606: keep the third information block on the page and end the current process;
[0106] Step S607: Determine that the third information block is the second information block;
[0107] Step S608: Generate a list of products to be cleared according to at least one second information block;
[0108] Step S609: displaying a list of products to be cleared in the shopping cart page; in response to obtaining a clearing instruction for the list of products to be cleared, executing step S610; in response to receiving a retaining instruction for the list of products to be cleared, executing step S611;
[0109] Step S610: clear the information of the second information block, and execute step S612;
[0110] The cleaning instruction may be a cleaning instruction automatically generated by the client (i.e., automatic cleaning); or a corresponding cleaning instruction may be generated in response to a cleaning operation triggered by a user (i.e., manual cleaning). In this step, part of the product information in the list of products to be cleaned may also be cleaned, i.e., when the list of products to be cleaned includes multiple second information blocks, and the cleaning instruction indicates cleaning at least one target second information block among the multiple second information blocks; information of the at least one target second information block is cleaned.
[0111] Step S611: retaining at least one second information block indicated by the retain instruction in the page, and ending the current process;
[0112] Step S612: Generate a cleanup request, wherein the cleanup request indicates information of the second information block;
[0113] Step S613: Send a cleanup request to the server, so that the server cleans up the information of the second information block stored for the page.
[0114] like Figure 7 As shown, an embodiment of the present invention provides a device 700 for cleaning page information. The device 700 for cleaning page information may include: a receiving unit 701 and an information processing unit 702, wherein:
[0115] The receiving unit 701 is configured to receive an interactive operation for at least one first information block;
[0116] The information processing unit 702 is used to search for a second information block that matches at least one first information block in a page where an interactive operation is performed; if found, clear the information of the second information block.
[0117] In an embodiment of the present invention, the information processing unit 702 is further used to determine at least one level category to which at least one first information block belongs; determine whether there is a third information block in the page that satisfies each level category, and if so, match the third information block with at least one first information block; if the match is successful, determine that the third information block is a second information block.
[0118] In an embodiment of the present invention, the information processing unit 702 is further used to match the name information and applicable object information included in the third information block with the name information and applicable object information included in at least one first information block; if the name information and applicable object information included in the third information block are the same as the name information and applicable object information included in any first information block, it is determined that the match is successful.
[0119] In an embodiment of the present invention, the information processing unit 702 is further used to match the model information included in the third information block with the model information included in the first information block. If the match is successful, the third information block continues to be retained on the page; if the match fails, the third information block is determined to be the second information block.
[0120] In an embodiment of the present invention, the interactive operation indicates submitting a product order, wherein the product order includes at least one first information block; or, the interactive operation indicates adding at least one first information block to a page on which the interactive operation is performed.
[0121] In the embodiment of the present invention, the information processing unit 702 is further used to generate a list of products to be cleared according to at least one second information block, and execute the step of clearing the information of the second information block.
[0122] In the embodiment of the present invention, the information processing unit 702 is further used to display the list of products to be cleared in the page; in response to receiving a clearing instruction for the list of products to be cleared, execute the step of clearing the information of the second information block.
[0123] In the embodiment of the present invention, the information processing unit 702 is further used to clean up the information of at least one target second information block when the product list to be cleaned up includes multiple information blocks and the cleaning instruction indicates to clean up at least one target second information block among the multiple second information blocks.
[0124] In the embodiment of the present invention, the information processing unit 702 is further configured to, in response to receiving a retain instruction for the list of products to be cleared, retain at least one second information block indicated by the retain instruction in the page.
[0125] In the embodiment of the present invention, the information processing unit 702 is further used to generate a cleanup request, wherein the cleanup request indicates the information of the second information block; and send the cleanup request to the server to enable the server to clean up the information of the second information block stored for the page.
[0126] Figure 8 An exemplary system architecture 800 is shown to which the method or apparatus for cleaning page information according to the embodiments of the present invention may be applied.
[0127] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0128] The user can use the terminal devices 801, 802, 803 to interact with the server 805 through the network 804 to receive or send messages, etc. For example, the terminal devices 801, 802, 803 receive the information of the information block in the page sent by the server 805, and the terminal devices 801, 802, 803 send the information of the cleaned information block to the server 805 so that the server deletes the information of the information block stored for the page. Various communication client applications can be installed on the terminal devices 801, 802, 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0129] The terminal devices 801, 802, and 803 may be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc. They may clean up information on pages where users perform interactive operations.
[0130] The server 805 may be a server that provides various services, such as a background management server (only an example) that provides support for shopping websites browsed by the user using the terminal devices 801, 802, and 803. The background management server may analyze and process the received cleaning request and other data to clean up the information that has been cleaned up in the page by the terminal devices 801, 802, and 803, and feed back the cleaned page to the terminal device after the terminal device revisits the page.
[0131] It should be noted that the page information cleaning method provided in the embodiment of the present invention is generally executed by the terminal devices 801 , 802 , 803 , and accordingly, the page information cleaning device is generally arranged in the terminal devices 801 , 802 , 803 .
[0132] It should be understood that Figure 8 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0133] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0134] like Fig. 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0135] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.
[0136] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.
[0137] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0138] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0139] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a receiving unit and an information processing unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the receiving unit may also be described as "a unit for receiving interactive operations for at least one first information block".
[0140] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving an interactive operation for at least one first information block; searching for a second information block matching the at least one first information block in the page where the interactive operation is performed; and if found, clearing the information of the second information block.
[0141] According to the technical solution of the embodiment of the present invention, for at least one first information block that receives an interactive operation, by searching for a second information block that matches the at least one first information block, that is, searching for a second information block that is similar or identical to the first information block, if found, the information of the second information block is cleaned up. That is, the second information block that matches the first information block is cleaned up, that is, since an interactive operation is received on at least one first information block, the possibility of subsequent interactive operation or attention on the second information block that matches the first information block is relatively low. Therefore, by cleaning up the information of the second information block, page redundancy can be reduced and the experience of using the page can be improved.
[0142] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for cleaning page information, characterized in that: Applied to the client, including: Receiving an interactive operation for at least one first information block, wherein the interactive operation indicates submitting a product order, wherein the product order includes at least one first information block; or, the interactive operation indicates adding at least one first information block to a page where the interactive operation is performed; In the page where the interactive operation is performed, searching for a second information block that matches the at least one first information block includes: determining at least one level category to which the at least one first information block belongs; judging whether there is a third information block that satisfies each level of the category in the page, and if so, matching the third information block with the at least one first information block; and if the match is successful, determining that the third information block is the second information block; If found, clearing the information of the second information block; Among them, information block refers to information stored or cached in the information display position in the page; After the client cleans up the page, generating a cleanup request, wherein the cleanup request indicates information of the second information block; Sending the cleaning request to a server, so that the server cleans up the information of the second information block stored for the page; The matching of the third information block with at least one of the first information blocks includes: matching the name information, applicable object information, and model information included in the third information block with the name information, applicable object information, and model information included in at least one of the first information blocks; if the name information and applicable object information included in the third information block are the same as the name information and applicable object information included in any of the first information blocks, and the model information included in the third information block fails to match the model information included in the first information block, then determining that the third information block is the second information block.
2. The method for cleaning page information according to claim 1, characterized in that: The interactive operation indicates submitting a product order, wherein the product order includes at least one of the first information blocks; or, The interactive operation indicates adding at least one of the first information blocks to the page where the interactive operation is performed.
3. The method for cleaning page information according to claim 2, characterized in that: Further including: A list of products to be cleared is generated according to at least one of the second information blocks, and a step of clearing the information of the second information block is performed based on the list of products to be cleared.
4. The method for cleaning page information according to claim 3, characterized in that: After generating the list of products to be cleared, the method further includes: On the page, the list of products to be cleared is displayed; In response to obtaining a cleaning instruction for the list of products to be cleaned up, a step of cleaning up information of the second information block is performed.
5. The method for cleaning page information according to claim 4, characterized in that: When the product list to be cleared includes a plurality of the second information blocks, and the clearing instruction indicates clearing at least one target second information block among the plurality of the second information blocks; Cleaning up information of the second information block includes: cleaning up information of at least one of the target second information blocks.
6. The method for cleaning page information according to any one of claims 4 or 5, characterized in that: After displaying the list of products to be cleared and before clearing the information of the second information block, the method further includes: In response to receiving a retaining instruction for the to-be-cleared product list, retaining at least one second information block indicated by the retaining instruction in the page.
7. A device for cleaning page information, characterized in that: include: A receiving unit and an information processing unit, wherein: The receiving unit is configured to receive an interactive operation for at least one first information block, wherein the interactive operation indicates submitting a product order, wherein the product order includes at least one first information block; or the interactive operation indicates adding at least one first information block to a page where the interactive operation is performed; The information processing unit is configured to search for a second information block matching the at least one first information block in the page where the interactive operation is performed; if found, clear the information of the second information block; The information processing unit is further used to determine at least one level category to which at least one first information block belongs; determine whether there is a third information block in the page that satisfies each level category, and if so, match the third information block with at least one first information block; if the match is successful, determine that the third information block is a second information block; Among them, information block refers to information stored or cached in the information display position in the page; The information processing unit is further configured to generate a cleanup request after the client cleans up the page, wherein the cleanup request indicates information of the second information block; and send the cleanup request to the server so that the server cleans up information of the second information block stored for the page; The matching of the third information block with at least one of the first information blocks includes: matching the name information, applicable object information, and model information included in the third information block with the name information, applicable object information, and model information included in at least one of the first information blocks; if the name information and applicable object information included in the third information block are the same as the name information and applicable object information included in any of the first information blocks, and the model information included in the third information block fails to match the model information included in the first information block, then determining that the third information block is the second information block.
8. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Shopping cart management method and system for electronic commerce
CN112330414A
Systems and methods for online shopping cart management
US20160210674A1