Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terminology appearing in describing embodiments of the present application are applicable to the following explanation:
weighting: when an index such as an average is statistically calculated, a value having a weight effect on each variable value is called a weight.
a/B test: i.e. a/B test, two schemes (such as two pages) are formulated for the same target, so that one part of users use the a scheme, the other part of users use the B scheme, and the use condition of the users is recorded.
Example 1
In accordance with an embodiment of the present invention, there is also provided a method embodiment of a method of processing a page tag, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The method embodiment provided in the first embodiment of the present application may be executed in a mobile terminal, a computer terminal or a similar computing device. Fig. 1 shows a hardware block diagram of a computer terminal (or mobile device) for implementing a processing method of page tags. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more processors 102 (shown in fig. 1 as 102a, 102b, … …,102 n) (the processor 102 may include, but is not limited to, a microprocessor MCU, a programmable logic device FPGA, etc. processing means), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, the method may further include: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power supply, and/or a camera. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuits described above may be referred to generally herein as "data processing circuits. The data processing circuit may be embodied in whole or in part in software, hardware, firmware, or any other combination. Furthermore, the data processing circuitry may be a single stand-alone processing module, or incorporated, in whole or in part, into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of the path of the variable resistor termination to interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the processing method of page tags in the embodiment of the present invention, and the processor 102 executes the software programs and modules stored in the memory 104, thereby executing various functional applications and data processing, that is, implementing the vulnerability detection method of the application program. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. The specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
It should be noted herein that in some embodiments, the computer terminal (or mobile device) shown in fig. 1 described above has a touch display (also referred to as a "touch screen" or "touch display"). In some embodiments, the computer terminal (or mobile device) shown in fig. 1 has a Graphical User Interface (GUI), and the user may perform man-machine interaction with the GUI by operating a touch display screen, where the man-machine interaction functions optionally include the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
In the above operating environment, the present application provides a method for processing a page tag as shown in fig. 2. FIG. 2 is a flowchart of a method for processing a page tag according to an embodiment of the present invention, as shown in FIG. 2, the method includes the steps of:
step S202, displaying a first number of labels on a preset page, wherein the first number of labels are obtained by screening from alternative labels corresponding to classified commodities;
it should be noted that, the display manner may be that a first number of labels are displayed on a preset page on an application program of the intelligent terminal, and the intelligent terminal may be a smart phone or a tablet computer. For the above step S202, taking the product for packaging from the shopping Application (APP) of the smart phone as an example in a specific application scenario, after the user inputs "package" in the search field of the shopping APP, a plurality of products containing "package" as keywords are automatically connected under the search field, and corresponding labels appear above the products, for example: the label "cartons" for indicating carton-like packaging, the labels "cross-border source" and "import source" for indicating sources, and the label "full-strength seller" for indicating a full-strength ranking of sellers. The page for displaying the 4 labels is a preset page, and 4 is a first number, which is only exemplified here, and the value of the first number may be set according to the actual situation. Of course, these four tags are only a part of the alternative tags, and other tags are possible, such as: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep factory/business verification, and the like. The other labels of the alternatives are displayed on the second page, that is, the labels on the preset page are selected from the alternative labels corresponding to the classified commodities.
Step S204, counting the attention of the alternative label in a preset period;
it should be noted that the preset period may be set correspondingly according to needs, for example, five days, one week, half month, etc., where the attention is that the user is relatively interested in which tags of the commodity are purchased, for example, the user is relatively interested in the source of the commodity, the strength of the seller, etc. That is, which tags are obtained are of comparative interest to the user.
Step S206, determining whether to update at least one tag in the first number of tags according to the attention degree.
At least one label in the displayed first number of labels is updated according to the attention degree of the obtained labels, for example, a user group pays attention to whether a purchase is made by a smart phone in the past week, and pays attention to whether the purchase is an import goods source relatively less, so that a buyer pays attention to a label of 'mobile phone exclusive price', and then replaces the label of 'import goods source' by 'mobile phone exclusive price'. Of course, the foregoing is merely illustrative, and two or three tags may be selected from the candidate tags to update the currently displayed tag, depending on the result of counting the attention of the candidate tag in the preset period.
Through the steps S202 to S204 in this embodiment, the attention degree of the commodity label can be counted according to the user in the process of selecting the commodity of the e-commerce, and then the currently displayed label is updated according to the attention degree of the label, in this process, the display of the commodity label is not displayed according to the habit or preference of the user, but the currently displayed label is adjusted according to the attention degree of the user, so that the operation cost of screening the label by the user is reduced, the label display process is optimized, and the technical problem that the mode of autonomously selecting the label to be displayed by the business party in the related art is difficult to embody the label with higher attention degree of the user is solved, and the effect of improving the user experience is achieved.
In an alternative implementation manner of this embodiment, the manner of displaying the first number of labels on the preset page referred to in step S202 may be:
step S202-1, determining display contents of alternative labels according to the current application scene;
step S202-2, sorting the alternative labels according to the attention degree of the display content to obtain a sorting result;
step S202-3, displaying the first number of labels according to the first number of preset labels in the label display area of the preset page and the sequencing result.
For the steps S202-1 to S202-3, for example, the application scenario is a keyword search scenario in a preset search engine; the user wants to search for "package", "men's trousers", "cell phone", etc.; if "men's trousers", the label determined in this case comprises: price, brand, material, date of delivery, style, etc.; if "packaged", the label determined in this case includes: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep inspection/business verification, cartons, cross-border sources, imported sources, real sellers, and the like.
In contrast, in a specific application scenario, taking the example that the user related to the step S202 wants to search for "packaged" merchandise on the shopping APP of the smart phone; therefore, a search for "packaged" merchandise is desired on the smart phone's shopping APP, and the labels corresponding to "packaged" that can be determined in this scenario are: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep inspection/business verification, cartons, cross-border sources, imported sources, real sellers, and the like. Further, the labels are ordered according to the attention degree of the labels under the package, for example, the ordering result is: cell phone specialization price, real seller, paper box, cross-border goods source, gift package, digital 3C package, plastic box, jewelry package, deep inspection/business inspection, import goods source. The labels displayed on the current preset page are: cell phones share prices, real sellers, cartons, and cross-border sources.
In another optional implementation manner of the present embodiment, before counting the attention of the candidate tag in the preset period in step S204, the method of the present embodiment may further include:
step S20, selecting a label to be tested from the alternative labels;
step S21, testing the labels to be tested for multiple times on a preset page and a hidden page where the alternative labels are located, and respectively obtaining a first click quantity of a second number of users to be tested in the preset page and a second click quantity of a third number of users to be tested in the alternative labels;
step S22, calculating the ratio of the first click quantity to the second click quantity obtained by each test to obtain an intermediate result;
and S23, calculating the average value of intermediate results obtained in multiple tests to obtain the weighted proportion of the label to be tested.
In order to prepare the steps S20 to S23 for quantifying the attention of the tag, taking the example that the user in step S202 wants to search for "packaged" commodity on the shopping APP of the smart phone, the alternative tag includes: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep inspection/business verification, cartons, cross-border sources, imported sources, real sellers, and the like. The label to be tested is selected as a paper box, and the paper box is tested in an A/B test mode, namely, the second quantity of the first click quantity of the label on a preset page and the third quantity of the second click quantity of the label in the alternative label are counted in a preset period, so that the ratio of the first click quantity to the second click quantity is obtained, the average value of the ratio of the multiple tests is obtained, and the weighted proportion of the paper box of the tested label is obtained.
Based on the above steps S20 to S23, the manner of counting the attention of the candidate tag in the preset period referred to in step S204 of the present embodiment may be:
counting a third click rate of each label in the candidate labels in a preset period;
step S204-2, sorting the candidate labels according to the third click rate obtained by statistics, and selecting the top N labels with higher rank, wherein N is a positive integer;
in step S204-3, the product of the third click quantity of each of the top N labels with higher rank and the corresponding weighted proportion is calculated to determine the attention.
For the steps S204-1 to S204-3, statistics is required to be performed on the candidate labels within a preset period, for example, one week, so as to obtain a third click rate of each label, and the candidate labels are ordered by the third click rate; if the user mentioned in the above step S202 wants to search for "packaged" merchandise on the smart phone' S shopping APP, the alternative tags include: gift package, digital 3C package, plastic box, jewelry package, mobile phone price sharing, deep factory/business inspection, paper box, cross-border goods source, import goods source, and real seller. Wherein, the third click rate of each label in a week is respectively: 305. 678, 529, 123, 612, 764, 567, 774, 88, 981. The result of the sorting according to the third click quantity of each tag is: real sellers, cross-border goods sources, deep factory/business inspection, digital 3C packaging, mobile phone special price sharing, paper boxes, plastic boxes, gift packaging, jewelry packaging and import goods sources. According to the sorting result, selecting N labels before sorting, for example, the value of N is 5, and selecting 5 labels before sorting from the N labels respectively comprises: real sellers, cross-border sources, deep factory/business inspection, digital 3C packaging, and cell phone price sharing. The third click quantity of each selected tag is multiplied by the weighted specific gravity obtained through the steps S20 to S23 to obtain the attention.
If the user mentioned in the above step S202 wants to search for "men' S wear" related goods on the shopping APP of the smart phone, the alternative tags include: price, brand, material, delivery date, style, color, good score, time to shelf. The third click rate of each label in a week is: 204. 546, 435, 189, 501, 663, 467, 674. The result of the sorting according to the third click quantity of each tag is: time to shelf, color, brand, style, acceptance rate, material, price, delivery date. According to the sorting result, selecting N labels before sorting, for example, the value of N is 4, and selecting 4 labels before sorting from the N labels respectively comprises: time to put on shelf, color, brand, style. The third click quantity of each selected tag is multiplied by the weighted specific gravity obtained through the steps S20 to S23 to obtain the attention.
Based on the description of the present embodiment, in another optional implementation manner of the present embodiment, the manner of determining whether to update at least one tag of the first number of tags according to the attention degree referred to in the step S206 may be:
Step S206-1, counting a fourth click quantity of each tag in the first number of tags in a preset period;
step S206-2, sorting the first number of labels according to the fourth click quantity obtained by statistics, and selecting the last N labels with lower rank;
step S206-3, comparing the click rate of the last N labels with lower rank with the attention, if the fourth click rate of at least one label is lower than the product of the third click rate of the same number of labels in the last N labels with higher rank and the corresponding weighted proportion, updating at least one label; if the product of the third click quantity of each tag in the top N tags with higher rank and the corresponding weighted proportion is smaller than the fourth click quantity of any tag in the first number of tags according to the attention degree, the first number of tags are reserved.
It should be noted that, in the foregoing manner of step S206-1 to step S206-3, the fourth click quantity of the candidate tag in the preset page is obtained by testing the candidate tag in the preset page, and the fourth click quantity of the candidate tag in the preset period is also sorted according to the fourth click quantity of the candidate tag, and the click quantity of the N tags with lower rank after sorting is compared with the attention degree obtained in step S204 to step S206, for example, the fourth click quantity of the tag "paper box" in the preset page is 118, and the value is smaller than the attention degree 478 obtained by calculating the product between the third click quantity of the "mobile phone exclusive price" tag and the corresponding weighted specific gravity in the first N tags with higher rank in step S204 to step S206, so that the "paper box" needs to be replaced by the tag of "mobile phone exclusive price", and if the fourth click quantity of other tags in the preset page is also smaller than the attention degree obtained in step S204 to step S206 of course after statistics, the fourth click quantity of other tags in the preset page needs to be replaced. In addition, if the fourth click amount of the label "paper box" in the preset page is 528, which is greater than the attention degree 478 obtained by calculating the product between the third click amount of the "mobile phone exclusive price" label and the corresponding weighted specific gravity in the first N labels ranked higher in steps S204 to S206, the "paper box label" does not need to be adjusted, and if the click amounts of the other labels in the preset page are all greater than the product of the third click amount of the label in the above-mentioned alternative label and the weighted specific gravity, the other labels of the preset page do not need to be adjusted, and can be kept as they are.
That is, according to the result of comparing the last N tags with the lower rank with the attention, if the fourth click amounts of the tags in the preset page after comparison are all greater than the attention obtained in step S204 to step S206, no adjustment is needed, and the specific adjustment rule is: if the fourth click quantity of at least one label is lower than the product between the third click quantity of the same number of labels in the first N labels with higher rank and the corresponding weight proportion, updating the at least one label; if the product of the third click quantity of each tag in the top N tags with higher rank and the corresponding weighted proportion is smaller than the fourth click quantity of any tag in the first number of tags according to the attention degree, the first number of tags are reserved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
According to an embodiment of the present invention, there is further provided an apparatus for implementing the above-mentioned method for processing a page tag, and fig. 3 is a schematic structural diagram of an apparatus for processing a page tag according to an embodiment of the present invention, as shown in fig. 3, the apparatus 300 includes:
the display module 32 is configured to display a first number of tags on a preset page, where the first number of tags is screened from alternative tags corresponding to classified commodities;
It should be noted that, the foregoing manner of displaying by the module 32 may display the first number of tags on a preset page on an application program of the smart terminal, where the smart terminal may be a smart phone or a tablet computer. For the above step S202, taking the product for packaging from the shopping Application (APP) of the smart phone as an example in a specific application scenario, after the user inputs "package" in the search field of the shopping APP, a plurality of products containing "package" as keywords are automatically connected under the search field, and corresponding labels appear above the products, for example: the label "cartons" for indicating carton-like packaging, the labels "cross-border source" and "import source" for indicating sources, and the label "full-strength seller" for indicating a full-strength ranking of sellers. The page for displaying the 4 labels is a preset page, and 4 is a first number, which is only exemplified here, and the value of the first number may be set according to the actual situation. Of course, these four tags are only a part of the alternative tags, and other tags are possible, such as: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep factory/business verification, and the like. The other labels of the alternatives are displayed on the second page, that is, the labels on the preset page are selected from the alternative labels corresponding to the classified commodities.
The statistics module 34 is coupled with the display module 32 and is used for counting the attention of the alternative labels in a preset period;
it should be noted that the preset period may be set correspondingly according to needs, for example, five days, one week, half month, etc., where the attention is that the user is relatively interested in which tags of the commodity are purchased, for example, the user is relatively interested in the source of the commodity, the strength of the seller, etc. That is, which tags are obtained are of comparative interest to the user.
An update module 36 is coupled to the statistics module 34 for determining whether to update at least one of the first number of tags based on the degree of interest.
At least one label in the displayed first number of labels is updated according to the attention degree of the obtained labels, for example, a user group pays attention to whether a purchase is made by a smart phone in the past week, and pays attention to whether the purchase is an import goods source relatively less, so that a buyer pays attention to a label of 'mobile phone exclusive price', and then replaces the label of 'import goods source' by 'mobile phone exclusive price'. Of course, the foregoing is merely illustrative, and two or three tags may be selected from the candidate tags to update the currently displayed tag, depending on the result of counting the attention of the candidate tag in the preset period.
Fig. 4 is a schematic diagram of an alternative structure of a processing apparatus for page tags according to an embodiment of the present invention, as shown in fig. 4, the display module 32 includes: a determining unit 322, configured to determine display content of the candidate tag according to the current application scenario; the sorting unit 324 is coupled to the determining unit 322, and is configured to sort the candidate labels according to the attention degree of the display content, so as to obtain a sorting result; and a display unit 326, coupled to the sorting unit 324, for displaying the first number of labels according to the first number of preset labels in the label display area of the preset page and the sorting result.
It should be noted that, the application scenario in this embodiment includes one of the following: searching a scene in a keyword in a preset search engine; and shopping guide scenes of the service channels.
The manner in which the modules described above in relation to fig. 4 are implemented may be, in alternative embodiments: for example, the application scene is a keyword search scene in a preset search engine; the user wants to search for "package", "men's trousers", "cell phone", etc.; if "men's trousers", the label determined in this case comprises: price, brand, material, date of delivery, style, etc.; if "packaged", the label determined in this case includes: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep inspection/business verification, cartons, cross-border sources, imported sources, real sellers, and the like. In particular, in the application scenario, the user wants to search for "packaged" commodities on the shopping APP of the smart phone; therefore, a search for "packaged" merchandise is desired on the smart phone's shopping APP, and the labels corresponding to "packaged" that can be determined in this scenario are: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep inspection/business verification, cartons, cross-border sources, imported sources, real sellers, and the like. Further, the labels are ordered according to the attention degree of the labels under the package, for example, the ordering result is: cell phone specialization price, real seller, paper box, cross-border goods source, gift package, digital 3C package, plastic box, jewelry package, deep inspection/business inspection, import goods source. The labels displayed on the current preset page are: cell phones share prices, real sellers, cartons, and cross-border sources.
Fig. 5 is a schematic diagram ii of an alternative structure of a processing apparatus for page tags according to an embodiment of the present invention, as shown in fig. 5, where the apparatus further includes: a selecting module 52, configured to select a label to be tested from the candidate labels before the statistics module 32 is configured to count the attention of the candidate labels in a preset period; the obtaining module 54 is coupled to the selecting module 52, and is configured to perform multiple tests on the tag to be tested at the same time on the preset page and the hidden page where the candidate tag is located, and obtain a first click amount of the tag to be tested in the preset page by a second number of users and a second click amount of the tag to be tested in the preset page by a third number of users in each test respectively; the first calculating module 56 is coupled to the obtaining module 54, and is configured to calculate a ratio of the first click rate to the second click rate obtained by each test, so as to obtain an intermediate result; the second calculation module 58 is coupled to the first calculation module 56, and is configured to calculate a mean value of intermediate results obtained in multiple tests, so as to obtain a weighted specific gravity of the label to be tested.
As to the manner in which the modules referred to in fig. 5 are executed, in an alternative implementation of this embodiment, it may be: in order to quantify the attention of the label, taking the example that the user wants to search for "packaged" commodity on the shopping APP of the smart phone, the alternative label includes: gift wrapping, digital 3C wrapping, plastic boxes, jewelry wrapping, cell phone specialization, deep inspection/business verification, cartons, cross-border sources, imported sources, real sellers, and the like. The label to be tested is selected as a paper box, and the paper box is tested in an A/B test mode, namely, the second number of the first click quantity of the label on a preset page and the third number of the second click quantity of the label in the alternative label are counted in a preset period, so that the ratio of the first click quantity to the second click quantity is obtained, the average value of the ratio of the multiple tests is obtained, and the weighted proportion of the paper box of the tested label is obtained.
Fig. 6 is a schematic diagram III of an alternative structure of a processing apparatus for page tags according to an embodiment of the present invention, as shown in fig. 6, the statistics module 34 includes: a statistics unit 342, configured to count a third click rate of each of the candidate labels in a preset period; the first sorting unit 344 is coupled to the statistics unit 342, and is configured to sort the candidate labels according to the third click rate obtained by statistics, and select the top N labels with higher rank, where N is a positive integer; a calculating unit 346, coupled to the first ranking unit 344, is configured to calculate a product between the third click volume and the corresponding weighted specific gravity of each of the top N tags with a higher rank, and determine the attention.
As to the manner in which the modules referred to in fig. 6 are executed, in an alternative implementation of this embodiment, it may be: counting the alternative labels within a preset period, such as one week, to obtain a third click rate of each label, and sorting the alternative labels through the third click rate; taking the example that the user wants to search for "packaged" commodity on the shopping APP of the smart phone, the alternative tags include: gift package, digital 3C package, plastic box, jewelry package, mobile phone price sharing, deep factory/business inspection, paper box, cross-border goods source, import goods source, and real seller. Wherein, the third click quantity of each label is respectively: 305. 678, 529, 123, 612, 764, 567, 774, 88, 981. The result of the sorting according to the third click quantity of each tag is: real sellers, cross-border goods sources, deep factory/business inspection, digital 3C packaging, mobile phone special price sharing, paper boxes, plastic boxes, gift packaging, jewelry packaging and import goods sources. According to the sorting result, selecting N labels before sorting, for example, the value of N is 5, and selecting 5 labels before sorting from the N labels respectively comprises: real sellers, cross-border sources, deep factory/business inspection, digital 3C packaging, and cell phone price sharing. The third click quantity of each selected tag is multiplied by the weighted specific gravity to determine the degree of attention.
If the user wants to search for items related to "Man" on the shopping APP of the smartphone, the alternative tags include: price, brand, material, delivery date, style, color, good score, time to shelf. The third click rate of each label in a week is: 204. 546, 435, 189, 501, 663, 467, 674. The result of the sorting according to the third click quantity of each tag is: time to shelf, color, brand, style, acceptance rate, material, price, delivery date. According to the sorting result, selecting N labels before sorting, for example, the value of N is 4, and selecting 4 labels before sorting from the N labels respectively comprises: time to put on shelf, color, brand, style. The third click quantity of each selected tag is multiplied by the weighted specific gravity to determine the degree of attention.
Fig. 7 is a schematic diagram fourth of an alternative structure of the processing apparatus for page tags according to an embodiment of the present invention, as shown in fig. 7, the update module 36 includes: a statistics unit 362, configured to count a fourth click amount of each tag in the first number of tags in a preset period; the second sorting unit 364 is coupled to the statistics unit 362, and is configured to sort the first number of tags according to the fourth click quantity obtained by statistics, and select the last N tags with a lower rank; the comparing unit 366 is coupled to the second sorting unit 364, and is configured to compare the click rate of the last N tags with the attention rate, and update at least one tag if the fourth click rate of the at least one tag is lower than the product of the third click rate of the same number of tags in the first N tags with the higher rank and the corresponding weighted proportion; if the product of the third click quantity of each tag in the top N tags with higher rank and the corresponding weighted proportion is smaller than the fourth click quantity of any tag in the first number of tags according to the attention degree, the first number of tags are reserved.
As to the manner in which the modules referred to in fig. 7 are executed, in an alternative implementation of this embodiment, it may be: the method includes that candidate labels in a preset page are tested to obtain fourth click quantity of the candidate labels in a preset period, sorting is carried out according to the fourth click quantity of the labels, N labels of the candidate labels with lower rank after sorting are compared with attention degrees obtained in the steps S204 to S206, for example, the fourth click quantity of a label paper box in the preset page is 118, the value is smaller than attention degree 478 obtained by calculating the product between the third click quantity of a mobile phone shared price label in the first N labels with higher rank and corresponding weighted proportion in the steps S204 to S206, the paper box needs to be replaced by the label of the mobile phone shared price, and if the fourth click quantity of other labels in the preset page is also smaller than attention degree obtained in the steps S204 to S206 after statistics, the replacement is also needed. In addition, if the fourth click amount of the label "paper box" in the preset page is 528, which is greater than the attention degree 478 obtained by calculating the product between the third click amount of the "mobile phone exclusive price" label and the corresponding weighted specific gravity in the first N labels ranked higher in steps S204 to S206, the "paper box label" does not need to be adjusted, and if the click amounts of the other labels in the preset page are all greater than the product of the third click amount of the label in the above-mentioned alternative label and the weighted specific gravity, the other labels of the preset page do not need to be adjusted, and can be kept as they are.
That is, according to the result of comparing the last N tags with the lower rank with the attention, if the fourth click amounts of the tags in the preset page after comparison are all greater than the attention obtained in step S204 to step S206, no adjustment is needed, and the specific adjustment rule is: if the fourth click quantity of at least one label is lower than the product between the third click quantity of the same number of labels in the first N labels with higher rank and the corresponding weight proportion, updating the at least one label; if the product of the third click quantity of each tag in the top N tags with higher rank and the corresponding weighted proportion is smaller than the fourth click quantity of any tag in the first number of tags according to the attention degree, the first number of tags are reserved.
It should be noted that the display module 32, the statistics module 34, and the update module 36 correspond to steps S202 to S206 in embodiment 1, and the two modules are the same as the corresponding steps in terms of implementation and application, but are not limited to the disclosure in embodiment one. It should be noted that the above-described module may be operated as a part of the apparatus in the computer terminal 10 provided in the first embodiment.
Example 3
Embodiments of the present invention may provide a processor that may be provided in a computer terminal, which may be any one of a group of computer terminals. Alternatively, in the present embodiment, the above-described computer terminal may be replaced with a terminal device such as a mobile terminal.
Alternatively, fig. 1 is a block diagram of a computer terminal according to an embodiment of the present invention. As shown in fig. 1, the computer terminal a may include: one or more processors, memory, transmission means.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the security vulnerability detection method and device in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the above-mentioned method for detecting a system vulnerability attack. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located with respect to the processor, which may be connected to terminal a through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor may call the information and the application program stored in the memory through the transmission device to perform the following steps: displaying a first number of labels on a preset page, wherein the first number of labels are obtained by screening from alternative labels corresponding to classified commodities; counting the attention degree of the alternative label in a preset period; and determining whether to update at least one tag in the first number of tags according to the attention degree.
Optionally, the above processor may further execute program code for: determining display contents of the alternative labels according to the current application scene; sequencing the alternative labels according to the attention degree of the display content to obtain a sequencing result; and displaying the first number of labels according to the preset first number and the sequencing result in the label display area of the preset page.
Optionally, the above processor may further execute program code for: before counting the attention of the candidate label in a preset period, selecting a label to be tested from the candidate label; simultaneously testing the to-be-tested tag for multiple times on a preset page and a hidden page where the to-be-tested tag is located, and respectively obtaining a first click quantity of a second number of users to-be-tested tag in the preset page and a second click quantity of a third number of users to the to-be-tested tag in each test; calculating the ratio of the first click rate to the second click rate obtained by each test to obtain an intermediate result; and calculating the average value of the intermediate results obtained in the multiple tests to obtain the weighted proportion of the label to be tested.
Optionally, the above processor may further execute program code for: counting the third click rate of each label in the candidate labels in a preset period; sorting the alternative labels according to the third click rate obtained by statistics, and selecting the top N labels with higher rank, wherein N is a positive integer; the product between the third click volume and the corresponding weighted specific gravity for each of the top N higher ranked tags is calculated to determine the attention.
Optionally, the above processor may further execute program code for: counting fourth click quantity of each tag in the first number of tags in a preset period; sorting the first number of labels according to the fourth click quantity obtained by statistics, and selecting the last N labels with lower rank; comparing the last N labels with lower rank with the attention, and if the fourth click quantity of at least one label is lower than the product of the third click quantity of the same number of labels in the last N labels with higher rank and the corresponding weighted proportion, updating the at least one label; if the product of the third click quantity of each tag in the top N tags with higher rank and the corresponding weighted proportion is smaller than the fourth click quantity of any tag in the first number of tags according to the attention degree, the first number of tags are reserved.
By adopting the embodiment of the invention, the processing scheme of the page label is provided, the attention degree of the commodity label can be counted according to the user in the process of selecting the commodity of the electronic commerce, and then the currently displayed label is updated according to the attention degree of the label, in the process, the commodity label is displayed not according to the habit or preference of the user, but is adjusted according to the attention degree of the user, the operation cost of the user for screening the label is reduced, the label display process is optimized, and the technical problem that the mode of autonomously selecting the label to be displayed by a business party in the related technology is difficult to embody the label with higher attention degree of the user is solved.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is only illustrative, and the computer terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm-phone computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 1 does not limit the structure of the computer terminal. For example, the computer terminal 10 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Example 4
The embodiment of the invention also provides a storage medium. Alternatively, in this embodiment, the storage medium may be used to store the program code executed by the processing method for page tags provided in the first embodiment.
Alternatively, in this embodiment, the storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of: displaying a first number of labels on a preset page, wherein the first number of labels are obtained by screening from alternative labels corresponding to classified commodities; counting the attention degree of the alternative label in a preset period; and determining whether to update at least one tag in the first number of tags according to the attention degree.
Optionally, the above storage medium may further execute program code for: determining display contents of the alternative labels according to the current application scene; sequencing the alternative labels according to the attention degree of the display content to obtain a sequencing result; and displaying the first number of labels according to the preset first number and the sequencing result in the label display area of the preset page.
Optionally, the above storage medium may further execute program code for: before counting the attention of the alternative labels in a preset period, selecting the label to be tested from the alternative labels; simultaneously testing the to-be-tested tag for multiple times on a preset page and a hidden page where the to-be-tested tag is located, and respectively obtaining a first click quantity of a second number of users to-be-tested tag in the preset page and a second click quantity of a third number of users to the to-be-tested tag in each test; calculating the ratio of the first click rate to the second click rate obtained by each test to obtain an intermediate result; and calculating the average value of the intermediate results obtained in the multiple tests to obtain the weighted proportion of the label to be tested.
Optionally, the above storage medium may further execute program code for: counting the third click rate of each label in the candidate labels in a preset period; sorting the alternative labels according to the third click rate obtained by statistics, and selecting the top N labels with higher rank, wherein N is a positive integer; and calculating the product of the third click quantity of each tag in the top N tags with higher ranks and the corresponding weighted proportion, and determining the attention degree.
Optionally, the above storage medium may further execute program code for: counting fourth click quantity of each tag in the first number of tags in a preset period; sorting the first number of labels according to the fourth click quantity obtained by statistics, and selecting the last N labels with lower rank; comparing the click quantity of the last N labels with lower rank with the attention, and if the fourth click quantity of at least one label is lower than the product between the third click quantity of the same number of labels in the last N labels with higher rank and the corresponding weighting proportion, updating the at least one label; if the product of the third click quantity of each tag in the top N tags with higher rank and the corresponding weighted proportion is smaller than the fourth click quantity of any tag in the first number of tags according to the attention degree, the first number of tags are reserved.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.