Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the process of realizing the conception of the present disclosure, the inventor finds that in the process of browsing the commodity, the user often accesses different popularization pages, enters the search page from the popularization page and other access pages through multiple operations, so that the source of the target channel cannot be effectively monitored in the browsing process.
The embodiment of the disclosure provides a channel information display method and a channel information display device. The method comprises the steps of displaying a promotion page, judging whether the promotion page is from a target channel source according to channel information, generating cookie information corresponding to the promotion page under the condition that the promotion page is from the target channel source, wherein the cookie information comprises channel information, the cookie information has a first preset validity period, and displaying an icon for representing the channel information on the promotion page in the first preset validity period.
Fig. 1 schematically illustrates an exemplary system architecture 100 to which a channel information presentation method may be applied according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired and/or wireless communication links, and the like.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients and/or social platform software, to name a few.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the channel information display method provided by the embodiment of the present disclosure may be generally performed by the terminal device 101, 102, or 103, or may be performed by another terminal device different from the terminal device 101, 102, or 103. Accordingly, the channel information presentation apparatus provided by the embodiments of the present disclosure may also be provided in the terminal device 101, 102, or 103, or in another terminal device different from the terminal device 101, 102, or 103.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2A schematically illustrates a flow diagram of a channel information display method according to an embodiment of the present disclosure, fig. 2B schematically illustrates a logic flow diagram of a channel information display method according to an embodiment of the present disclosure, and the method includes operations S201 to S204 as illustrated in fig. 2A and 2B.
In operation S201, a promotion page is displayed, wherein the promotion page has channel information for characterizing a channel source.
In embodiments of the present disclosure, channel information for characterizing a channel source is uniquely corresponding to different channel sources, such as a mother-baby station, a beer station, etc., and optionally, in some embodiments, the channel information is a channel number (unpl) represented in a random string that is unique in characterizing the channel source.
In operation S202, it is determined whether the promotion page is from a target channel source according to the channel information.
In the embodiment of the disclosure, when the channel information is the channel number expressed by the random character string, judging whether the promotion page is from the target channel source according to the channel information specifically comprises judging whether the channel number of the promotion page is matched with the channel number representing the target channel source, if so, judging that the promotion page is from the target channel source, otherwise, judging that the promotion page is not from the target channel source.
In operation S203, in the case where it is determined that the promotion page is from the target channel source, cookie information corresponding to the promotion page is generated, where the cookie information includes channel information and has a first preset validity period.
Judging whether the user is actively operating the current promotion page based on a first preset validity period of the cookie information, wherein the first preset validity period can be 15-30 minutes, if the user stays in the current promotion page and exceeds the first preset validity period, the user is not actively operating the current promotion page, and browsing related to the promotion can be considered as invalid. The cookie is an existing caching technology on the browser, when the cookie information has a first preset validity period, the cookie information is stored until the first preset validity period is finished from the display of the promotion page, and the cookie information is emptied after the first preset validity period is expired.
Optionally, in the case that the promotion page is judged to be from the target channel source, generating session storage (sessionstorage) information corresponding to the promotion page, where the session storage information includes channel information and domain name information of the promotion page. The session storage is also an existing caching technology on the browser, and is used for temporarily storing data of a browser window or a tab page corresponding to the promotion page, and after the browser window or the tab page is closed, session storage information is emptied.
In operation S204, an icon for characterizing channel information is displayed on the promotion page during a first preset validity period.
The method has the advantages that the unique icon corresponds to the target channel source, so that when the icon for representing the channel information is displayed on the popularization page, a user can conveniently and accurately judge the channel source. Fig. 3 schematically illustrates a schematic diagram of a promotion page showing an icon for characterizing channel information according to an embodiment of the present disclosure, and as illustrated in fig. 3, taking a certain mother-infant station as an example, an icon with a certain mother-infant station identifier is shown at a position on the right side of the promotion page. It is readily understood that the location of the icon on the promotional page may be fixed or unfixed.
Further, since the user is not normally actively operating the current promotion page but considers the promotion to be invalid in the case that the first preset validity period is exceeded since the promotion page is displayed, it is further included after operation S204 that the icon for characterizing the channel information is removed on the promotion page in the case that the first preset validity period is exceeded since the promotion page is displayed. It can be seen that the present disclosure enables monitoring the duration validity of channel sources based on channel information and cookie technology.
If the user performs effective operation on the current promotion page, for example, clicks a link on the promotion page, the user jumps to other access pages, and there is a need to monitor channel sources of other access pages. Fig. 4 schematically illustrates a flowchart of a channel information display method regarding other access pages according to an embodiment of the present disclosure, and as illustrated in fig. 4, the channel information display method of the present disclosure further includes operations S401 to S402 after operation S204:
in operation S401, in the case of jumping from the promotion page to other access pages, it is determined whether channel information and domain name information of other access pages are identical to channel information and domain name information of the promotion page.
According to the embodiment of the disclosure, the jump from the promotion page to the other access page includes both the case of jumping to the other access page through one user operation and the case of jumping to the access page through two or more user operations, which may be, for example, clicking or hovering operations.
In operation S402, in the same case, icons for representing channel information of the promotion page are presented on other access pages.
Specifically, when channel information and domain name information of other access pages are the same as channel information and domain name information of a promotion page in session storage information, the other access pages are usually front-flow pages, such as a top page, a commodity detail page, a search page, a classification page, a shop page, etc., which are actively pushed to a user without operations such as login and settlement, and the user can be considered to be still effectively browsing related pages of a target channel source, and then icons for representing the channel information of the promotion page are continuously displayed. It can be seen that the present disclosure collectively achieves monitoring the availability of channel sources based on channel information, cookie technology, and session storage technology.
If the channel sources of the other access pages and the promotion page are different, for example, the promotion page is from a target channel source such as a mother and infant station, and the user jumps to a beer station after operating for several times, the channel information based on the other access pages and the channel information of the promotion page are not the same as each other because the user does not belong to the target channel source and does not need to monitor, the domain name information is generally different, so that the other access pages are normally displayed, that is, the icons for representing the channel information are not displayed.
If the other access pages and the promotion page have the same channel sources, but different domain names, for example, the other access pages are generally, for example, post-flow pages that require the user to perform settlement or login operations, such as commodity settlement pages, etc., the user can be considered to not perform effective browsing related to commodity promotion, so that the other access pages are normally displayed, that is, icons for representing channel information are not displayed.
Further, under the condition that channel information and domain name information of other access pages are judged to be the same as channel information and domain name information of a popularization page, cookie information corresponding to the other access pages is generated, wherein the cookie information corresponding to the other access pages comprises the channel information, and the cookie information corresponding to the other access pages has a second preset validity period.
Displaying icons for representing channel information of the promotion page on other access pages comprises displaying icons for representing channel information on other access pages in a second preset validity period. And when the second preset validity period is exceeded after the jump to other access pages, the user is considered to not effectively browse the other access pages related to popularization, so that icons used for representing channel information are removed from the other access pages.
Optionally, after operation S402, a user operation for the icons displayed on the other access pages, such as clicking or hovering operation, is acquired, and in response to the user operation, the user returns to the promotion page, so that a convenient path can be provided for the user to directly return to the promotion page.
Fig. 5 schematically shows a block diagram of a channel information presentation device according to an embodiment of the present disclosure. As shown in fig. 5, the channel information display apparatus 500 includes a display module 510, a judgment module 520, and a generation module 530 for implementing the channel information display method as described above.
The display module 510 is configured to display a promotion page, where the promotion page has channel information for characterizing a channel source, and display an icon for characterizing the channel information on the promotion page during a first preset validity period.
A judging module 520, configured to judge whether the promotion page is from a target channel source according to the channel information;
And a generating module 530, configured to generate cookie information corresponding to the promotion page if the promotion page is determined to be from the target channel source, where the cookie information includes channel information, and the cookie information has the first preset validity period.
Optionally, the display module 510 is further configured to remove, from the promotion page, an icon for characterizing channel information if the first period of time is exceeded since the promotion page is displayed.
Optionally, the generating module 530 is further configured to generate session storage information corresponding to the promotion page if it is determined that the promotion page is from the target channel source, where the session storage information includes channel information and domain name information of the promotion page.
At this time, the judging module 520 is further configured to judge whether the channel information and the domain name information of the other access page are the same as the channel information and the domain name information of the promotion page when the page is jumped to the other access page from the promotion page. The presentation module 510 is further configured to present, on the other access pages, icons for characterizing channel information of the promotion page under the same condition.
Further, the channel information display apparatus 500 further includes an obtaining module 540 for obtaining a user operation for icons displayed on other access pages, and a response module 550 for returning to the promotion page in response to the user operation.
Further, the generating module 530 is further configured to generate cookie information corresponding to the other access page if it is determined that the channel information and the domain name information of the other access page are the same as the channel information and the domain name information of the promotion page, where the cookie information corresponding to the other access page includes the channel information and the cookie information corresponding to the other access page has a second preset validity period. At this time, the display module 510 is further configured to display an icon for representing channel information on the other access page during the second preset validity period, and remove the icon for representing channel information on the other access page if the second preset validity period is exceeded since the other access page is skipped.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Or one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which, when executed, may perform the corresponding functions.
For example, any of the presentation module 510, the determination module 520, the generation module 530, the acquisition module 540, and the response module 550 may be combined in one module/unit/sub-unit, or any of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Or at least some of the functionality of one or more of these modules/units/sub-units may be combined with at least some of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. At least one of the presentation module 510, the determination module 520, the generation module 530, the acquisition module 540, and the response module 550 may be implemented, at least in part, as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in hardware or firmware, such as any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware. Or at least one of the presentation module 510, the determination module 520, the generation module 530, the acquisition module 540, and the response module 550 may be at least partially implemented as a computer program module, which when executed, may perform the corresponding functions.
Fig. 6 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure. The computer system illustrated in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 6, a computer system 600 according to an embodiment of the present disclosure includes a processor 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. The processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 601 may also include on-board memory for caching purposes. The processor 601 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows according to embodiments of the disclosure.
In the RAM 603, various programs and data required for the operation of the system 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. The processor 601 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or the RAM 603. Note that the program may be stored in one or more memories other than the ROM 602 and the RAM 603. The processor 601 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the system 600 may further include an input/output (I/O) interface 605, the input/output (I/O) interface 605 also being connected to the bus 604. The system 600 may also include one or more of an input portion 606 including a keyboard, mouse, etc., an output portion 607 including a display such as a Cathode Ray Tube (CRT), liquid Crystal Display (LCD), etc., and speakers, etc., a storage portion 608 including a hard disk, etc., and a communication portion 609 including a network interface card such as a LAN card, modem, etc., connected to the I/O interface 605. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be included in the apparatus/device/system described in the above embodiments, or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Such as, but not limited to, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 602 and/or RAM 603 and/or one or more memories other than ROM 602 and RAM 603 described above.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.