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 illustrative only 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 disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not 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 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 is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have 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 convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have 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 implementing the concept disclosed by the present disclosure, the inventor finds that, in the process of browsing the commodities, the user often accesses different promotion pages, enters a search page from the promotion page, and other access pages for many times, so that the target channel source cannot be effectively monitored in the browsing process.
The embodiment of the disclosure provides a channel information display method and device. The method comprises the steps of displaying a promotion page, wherein the promotion page is provided with channel information used for representing a channel source; judging whether the promotion page is from a target channel source or not according to the channel information; under the condition that the promotion page is judged to be from the target channel source, cookie information corresponding to the promotion page is generated, wherein the cookie information comprises channel information and has a first preset validity period; and displaying an icon for representing the channel information on the promotion page within the first preset validity period.
Fig. 1 schematically illustrates anexemplary 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 the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, thesystem architecture 100 according to this embodiment may includeterminal devices 101, 102, 103, anetwork 104 and aserver 105. Thenetwork 104 serves as a medium for providing communication links between theterminal devices 101, 102, 103 and theserver 105.Network 104 may include various connection types, such as wired and/or wireless communication links, and so forth.
The user may use theterminal devices 101, 102, 103 to interact with theserver 105 via thenetwork 104 to receive or send messages or the like. Theterminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a shopping-like application, a web browser application, a search-like application, an instant messaging tool, a mailbox client, and/or social platform software, etc. (by way of example only).
Theterminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
Theserver 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using theterminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the channel information presenting method provided by the embodiment of the present disclosure may be generally executed by theterminal device 101, 102, or 103, or may also be executed by another terminal device different from theterminal device 101, 102, or 103. Correspondingly, the channel information presentation apparatus provided by the embodiment of the present disclosure may also be disposed in theterminal device 101, 102, or 103, or in another terminal device different from theterminal 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 presentation method according to an embodiment of the present disclosure; FIG. 2B schematically illustrates a logic flow diagram of a channel information presentation method according to an embodiment of the present disclosure; as shown in fig. 2A and 2B, the method includes operations S201 to S204.
In operation S201, a promotion page is presented, where the promotion page has channel information for characterizing a channel source.
In an embodiment of the present disclosure, for different channel sources, such as a certain mother and infant station, a certain beer station, and the like, channel information for characterizing the channel sources is uniquely corresponding, and optionally, in some embodiments, the channel information is a channel number (unpl) represented by a random string, which has uniqueness in characterizing the channel sources.
In operation S202, it is determined whether the promotion page is from a target channel source according to the channel information.
In an embodiment of the present disclosure, when the channel information is a channel number represented by a random character string, the determining whether the promotion page is from the target channel source according to the channel information specifically includes: and 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 a case that the promotion page is determined to be 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.
Whether the user is performing valid operation on the current promotion page is judged based on a first preset validity period of the cookie information, wherein the first preset validity period can be 15-30 minutes, for example, if the time spent on the current promotion page exceeds the first preset validity period, the user is not performing valid operation on the current promotion page, and therefore browsing related to the promotion can be considered invalid. The cookie is an existing caching technology on the browser, when the cookie information has a first preset validity period, the cookie information can be stored until the first preset validity period is over since the promotion page is displayed, and the cookie information is emptied after the first preset validity period is over.
Optionally, in a case that the promotion page is determined 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 the 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, the session storage information is emptied.
In operation S204, an icon for representing channel information is displayed on the popularization page within a first preset validity period.
For the target channel source, the unique icon corresponds to the target channel source, so that the user can conveniently and accurately judge the channel source when the icon for representing the channel information is displayed on the promotion page. Fig. 3 schematically shows a schematic diagram of a promotion page showing an icon for representing channel information according to an embodiment of the present disclosure, and as shown in fig. 3, taking a certain mother-infant station as an example, an icon with a certain mother-infant station identifier is shown in a position on the right side of the promotion page. It will be readily appreciated that the location of the icon on the promotional page may be fixed or non-fixed.
Further, since the user usually does not perform valid operation on the current promotion page but considers that the promotion is invalid when the first preset validity period is exceeded since the promotion page is displayed, after operation S204, the method further includes: and removing the icons for representing the channel information from the promotion page under the condition 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 long term effectiveness 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 shows a flowchart of a channel information presentation method with respect to other access pages according to an embodiment of the present disclosure, and as shown in fig. 4, the channel information presentation 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 another access page, it is determined whether the channel information and the domain name information of the other access page are the same as those of the promotion page.
According to the embodiment of the disclosure, jumping from the promotion page to other access pages includes both a case of jumping to other access pages by one user operation and a case of jumping to access pages by more than two user operations, and the user operation may be, for example, clicking or hovering.
In operation S402, icons for characterizing channel information of the popularization page are presented on other access pages in the same case.
Specifically, under the condition that the channel information and the domain name information of other access pages are the same as the channel information and the domain name information of the promotion page in the session storage information, the other access pages are, for example, front-flow pages which actively push the user without the user performing operations such as login and settlement, for example, a home page, a commodity detail page, a search page, a classification page, a shop page, and the like, and if the user can be considered to still effectively browse the relevant pages of the target channel source, the icon for representing the channel information of the promotion page is continuously displayed. It can be seen that the present disclosure achieves monitoring the effectiveness of channel sources based on channel information, cookie technology, and session storage technology together.
If the channel sources of the other access pages are different from those of the promotion page, for example, the promotion page is from a target channel source such as a mother-infant station, the user jumps to a beer station after a plurality of operations, and the domain name information is generally different because the channel information of the other access pages is not the same as the channel information of the promotion page and the domain name information is not the same as the channel information of the promotion page because the promotion page does not belong to the target channel source and does not need to be monitored, so that the other access pages are normally displayed, that is, icons for representing the channel information are not displayed.
If the other access pages have the same channel source as the promotion page but different domain names, for example, the other access pages are generally post-process pages that require the user to perform settlement or login operations, such as a commodity settlement page, and it can be considered that the user does 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 the channel information and the domain name information of other access pages are judged to be the same as those of the promotion 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.
The icon for showing the channel information for representing the promotion page on the other access page comprises the following steps: and displaying icons for representing the channel information on other access pages within a second preset validity period. And after jumping to other access pages, under the condition that the second preset validity period is exceeded, the user is considered not to effectively browse the other access pages related to promotion, so that icons used for representing channel information are removed from the other access pages.
Optionally, after operation S402, a user operation, such as a click or hover operation, for obtaining an icon displayed on another access page is also included; responding to the user operation, and returning to the promotion page; therefore, 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 apparatus according to an embodiment of the present disclosure. As shown in fig. 5, the channelinformation presentation apparatus 500 includes apresentation module 510, ajudgment module 520, and ageneration module 530 for implementing the channel information presentation method as described above.
Thedisplay module 510 is configured to display a promotion page, where the promotion page has channel information for representing a channel source, and display an icon for representing the channel information on the promotion page within a first preset validity period.
The judgingmodule 520 is configured to judge whether the promotion page is from a target channel source according to the channel information;
agenerating module 530, configured to generate cookie information corresponding to the promotion page when it is determined that the promotion page is from the target channel source, where the cookie information includes channel information and has the first preset validity period.
Optionally, thepresentation module 510 is further configured to remove an icon for representing the channel information on the promotion page if the first pre-expiration period is exceeded since the promotion page is presented.
Optionally, thegenerating module 530 is further configured to generate session storage information corresponding to the promotion page when 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 determiningmodule 520 is further configured to determine whether the channel information and the domain name information of the other access pages are the same as the channel information and the domain name information of the promotion page when jumping from the promotion page to the other access pages. Thepresentation module 510 is also configured to present icons representing channel information of the promotion page on other access pages, in the same case.
Further, the channelinformation presenting apparatus 500 further includes an obtainingmodule 540, configured to obtain a user operation for an icon presented on another access page; and aresponse module 550, configured to return to the promotion page in response to a user operation.
Further, thegenerating module 530 is further configured to generate cookie information corresponding to other access pages under the condition that it is determined that the channel information and the domain name information of other access pages are the same as the channel information and the domain name information of the promotion page, where the cookie information corresponding to other access pages includes the channel information, and the cookie information corresponding to other access pages has a second preset validity period. At this time, the displayingmodule 510 is further configured to display icons for representing the channel information on other access pages within a second preset validity period; and removing icons used for representing the channel information from other access pages under the condition that the second preset validity period is exceeded since the channel information is jumped to other access pages.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of 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 a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of thepresentation module 510, thedetermination module 520, thegeneration module 530, the obtainingmodule 540 and theresponse module 550 may be combined and implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the disclosure, at least one of thepresentation module 510, thedetermination module 520, thegeneration module 530, the obtainingmodule 540, and theresponse module 550 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or any suitable combination of any of them. Alternatively, at least one of thepresentation module 510, thedetermination module 520, thegeneration module 530, theacquisition module 540, and theresponse module 550 may be at least partially implemented as a computer program module that, when executed, may perform a corresponding function.
Fig. 6 schematically shows 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 only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 6, acomputer system 600 according to an embodiment of the present disclosure includes aprocessor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from astorage section 608 into a Random Access Memory (RAM) 603.Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. Theprocessor 601 may also include onboard memory for caching purposes.Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In theRAM 603, various programs and data necessary for the operation of thesystem 600 are stored. Theprocessor 601, theROM 602, and theRAM 603 are connected to each other via abus 604. Theprocessor 601 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in theROM 602 and/orRAM 603. It is to be noted that the programs may also be stored in one or more memories other than theROM 602 andRAM 603. Theprocessor 601 may also perform various operations of the method flows 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,system 600 may also include an input/output (I/O)interface 605, input/output (I/O)interface 605 also connected tobus 604. Thesystem 600 may also include one or more of the following components connected to the I/O interface 605: aninput portion 606 including a keyboard, a mouse, and the like; anoutput portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; astorage section 608 including a hard disk and the like; and acommunication section 609 including a network interface card such as a LAN card, a modem, or the like. Thecommunication section 609 performs communication processing via a network such as the internet. Thedriver 610 is also connected to the I/O interface 605 as needed. Aremovable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on thedrive 610 as necessary, so that a computer program read out therefrom is mounted in thestorage section 608 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. 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 containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through thecommunication section 609, and/or installed from theremovable medium 611. The computer program, when executed by theprocessor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are 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 present 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, a computer-readable storage medium may include theROM 602 and/orRAM 603 described above and/or one or more memories other than theROM 602 andRAM 603.
The flowchart 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 various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.