CN109542748B - Method, device, equipment and storage medium for determining view browsing times - Google Patents
Method, device, equipment and storage medium for determining view browsing times Download PDFInfo
- Publication number
- CN109542748B CN109542748B CN201811418442.2A CN201811418442A CN109542748B CN 109542748 B CN109542748 B CN 109542748B CN 201811418442 A CN201811418442 A CN 201811418442A CN 109542748 B CN109542748 B CN 109542748B
- Authority
- CN
- China
- Prior art keywords
- view
- views
- screen
- determining
- displayed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3438—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
Abstract
The embodiment of the disclosure discloses a method, a device, equipment and a storage medium for determining view browsing times, wherein the method for determining the view browsing times comprises the following steps: after detecting a sliding operation acting on an area where the slidable list view is located on the screen, determining a view displayed on the screen from among the plurality of views according to coordinates of the plurality of views in the slidable list view; and reporting the information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information. The method, the device, the terminal and the readable medium for determining the view browsing times can realize statistics of the browsed times of the views in the slidable list view.
Description
Technical Field
The embodiment of the disclosure relates to a computer software technology, in particular to a method, a device, equipment and a storage medium for determining view browsing times.
Background
When the page layout is carried out on the intelligent terminal, multiple views can be placed in the same slidable list view for display in consideration of various requirements such as reasonable content and attractive layout, and a user selects a view to be browsed currently by sliding the screen left and right or up and down.
Currently, in order to confirm whether the content of multiple views and the arrangement order of the views are reasonable, the number of browsed times of each view in the slidable list view needs to be counted, so that the rationality of the view content can be determined according to the number of browsed times of each view, the order of the views in the slidable list view can be adjusted, and the like. However, there is no implementation in the prior art that can count the number of times each view in the slidable list view is browsed.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method, apparatus, device and storage medium for determining the number of views browsing, which are used to implement statistics on the number of views browsed in a slidable list view.
In a first aspect, an embodiment of the present disclosure provides a method for determining view browsing times, including:
after detecting a sliding operation acting on an area where a slidable list view on a screen is located, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views;
and reporting the information of the views displayed on the screen in the multiple views to a server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information.
Optionally, after detecting a sliding operation acting on an area where a slidable list view on a screen is located, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views, including:
at the end time of a sliding operation acting on an area where a slidable list view is located on a screen, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views; or alternatively, the process may be performed,
and determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view in the process from the starting time of the sliding operation on the area where the slidable list view is positioned to the ending time of the sliding operation.
Optionally, the slidable list view is a lateral slidable list view, and the sliding operation is a left-right sliding operation.
Optionally, determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view includes:
when the sliding direction of the sliding operation is from right to left, respectively judging whether the abscissa of the upper left corner or the lower left corner of each view in the slidable list view is between the left edge and the right edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
And when the sliding direction of the sliding operation is from left to right, respectively judging whether the abscissa of the upper right corner or the lower right corner of each view in the slidable list view is between the left edge and the right edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
Optionally, the slidable list view is a longitudinal slidable list view, and the sliding operation is an up-down sliding operation.
Optionally, determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view includes:
when the sliding direction of the sliding operation is from bottom to top, respectively judging whether the ordinate of the upper left corner or the upper right corner of each view in the slidable list view is between the upper edge and the lower edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
and when the sliding direction of the sliding operation is from top to bottom, respectively judging whether the ordinate of the lower left corner or the lower right corner of each view in the slidable list view is between the upper edge and the lower edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
In a second aspect, an embodiment of the present disclosure provides a device for determining a view browsing number, including:
The view determining module is used for determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view after detecting the sliding operation on the area where the slidable list view is located on the screen;
and the information reporting module is used for reporting the information of the views displayed on the screen in the multiple views to the server so that the server can count the browsed times of each view in the multiple views according to the received reporting information.
In a third aspect, an embodiment of the present disclosure provides a terminal device, including:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of determining a number of view views browses as described in any of the embodiments of the present disclosure.
In a fourth aspect, embodiments of the present disclosure provide a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a method for determining a number of views browses according to any embodiment of the present disclosure.
The embodiment of the disclosure provides a method, a device, equipment and a storage medium for determining view browsing times, wherein the method for determining view browsing times comprises the steps of determining views displayed on a screen in a plurality of views according to coordinates of the plurality of views in a slidable list view after detecting a sliding operation acting on an area where the slidable list view is located on the screen; and reporting the information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information, and the information is used for counting the browsed times of the views in the slidable list view.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for determining view browsing times according to an embodiment of the present disclosure;
fig. 2a is a schematic diagram of a client interface in a method for determining view browsing times according to a second embodiment of the present disclosure;
fig. 2b is a flowchart illustrating a method for determining view browsing times according to a second embodiment of the present disclosure;
fig. 3a is a schematic diagram of a client interface in a method for determining view browsing times according to a third embodiment of the present disclosure;
fig. 3b is a flowchart illustrating a method for determining view browsing times according to a third embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a device for determining view browsing times according to a fourth embodiment of the present disclosure;
fig. 5 shows a schematic hardware structure of a terminal device according to a fifth embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described by implementation with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some, but not all, embodiments of the present disclosure. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
In the following embodiments, optional features and examples are provided in each embodiment at the same time, and the features described in the embodiments may be combined to form multiple alternatives, and each numbered embodiment should not be considered as only one technical solution.
Example 1
Fig. 1 is a flowchart illustrating a method for determining the number of views browsing, which is provided in an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a case of determining the number of views browsing, and the method may be implemented by a terminal, and may be implemented by software and/or hardware in the terminal.
As shown in fig. 1, the method for determining view browsing times provided in the embodiment of the present disclosure includes the following steps:
S110, after the sliding operation on the area where the slidable list view on the screen is located is detected, determining the view displayed on the screen in the multiple views according to the coordinates of the multiple views in the slidable list view.
Wherein the size and position of the area of the screen on which the slidable list view is located may be fixed. The boundary size of the slidable list view may be greater than the size of the area of the slidable list view on the screen, and a part of the multiple views of the slidable list view may be displayed in the area of the slidable list view on the screen, and a part of the views are hidden outside the area of the slidable list view on the screen. The plurality of views in the slidable list view may be sequentially displayed in the area of the slidable list view on the screen according to a sliding operation applied to the area of the slidable list view on the screen.
The sliding distances of the plurality of views in the slidable list view may be determined according to a sliding track of a sliding operation acting on an area where the slidable list view is located on the screen, and the view displayed on the screen in the plurality of views may be determined according to the sliding distances of the plurality of views in the slidable list view, coordinates and dimensions of the plurality of views in the slidable list view, and dimensions and positions of the area where the slidable list view is located on the screen.
The coordinates of the multiple views in the slidable list view may be coordinates of angular points of the multiple views, coordinates of centers of the multiple views, or coordinates of preset positions of the multiple views. For example, when the slidable list view is a laterally slidable list view, coordinates of corner points of the plurality of views may be abscissa of corner points of an upper left corner or a lower left corner, or abscissa of corner points of an upper right corner or a lower right corner, or coordinates of centers of the plurality of views, or coordinates of preset positions of the plurality of views; when the slidable list view is a longitudinal slidable list view, the coordinates of the corner points of the plurality of views may be the ordinate of the corner point of the upper left corner or the upper right corner, the ordinate of the corner point of the lower left corner or the lower right corner, the coordinates of the centers of the plurality of views, or the coordinates of the preset positions of the plurality of views.
For example, assuming that the slideable list view is a lateral slideable list view, the sliding distance of the plurality of views in the slideable list view is determined to be positive 5 according to the sliding track of the lateral positive direction sliding operation acting on the area where the slideable list view is located, and the abscissa of the upper left corner of view 1 in the plurality of views is 0, the upper left corner of view 1 will slide to the abscissa of 5. Assuming that the lateral dimensions of the multiple views are 2, the abscissa of the upper right corner of view 1 is 7. Assuming that the size and position of the area on the screen where the slidable list view is located is an area of abscissa 4 to abscissa 8, view 1 is displayed on the screen. Similarly, it may be determined whether other ones of the plurality of views are displayed on the screen, thereby determining the ones of the plurality of views that are displayed on the screen. Wherein the views partially and fully presented on the screen may be taken as the views displayed on the screen, or the views fully presented on the screen may be taken as the views displayed on the screen.
And S120, reporting information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information.
The information of the view displayed on the screen may include identification information that uniquely identifies the view displayed on the screen, and may be name information, ID information, and/or view address information, for example. After receiving the report information, the server may count the browsed times of each view in the multiple views according to the report information, specifically may determine each view corresponding to the identification information according to the identification information in the report information, and update the view based on the original browsed times of each view, so as to count the browsed times of each view in the multiple views.
The method comprises the steps of determining the view displayed on the screen after the sliding operation on the area where the slidable list view is located, and reporting the information of the view displayed on the screen to the server, so that the server can count the browsed times of each view, and the statistics of the browsed times of the view in the slidable list view is realized.
Optionally, after detecting a sliding operation acting on an area where the slidable list view is located on the screen, determining a view displayed on the screen from among the plurality of views according to coordinates of the plurality of views in the slidable list view includes:
At the end time of the sliding operation acting on the area where the slidable list view is located on the screen, determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view; alternatively, in the process from the start time of the sliding operation acting on the area where the slidable list view is located on the screen to the end time of the sliding operation, the view displayed on the screen from among the plurality of views is determined according to the coordinates of the plurality of views in the slidable list view.
Wherein a view which acts on the screen and in which the end time of the sliding operation of the area where the slidable list view is located is displayed on the screen may be regarded as a browsed view; all views displayed on the screen in the process from the start time of the sliding operation on the area where the slidable list view is located to the end time of the sliding operation may also be regarded as browsed views; further, a view having a display time longer than a preset time displayed on the screen in the course from the start time of the sliding operation acting on the area where the slidable list view is located to the end time of the sliding operation may also be taken as the view to be browsed.
According to the method for determining view browsing times, after sliding operation on the area where the slidable list view is located on the screen is detected, views displayed on the screen in the multiple views are determined according to coordinates of the multiple views in the slidable list view; and reporting the information of the views displayed on the screen in the multiple views to the server, so that the server can count the browsed times of each view in the multiple views according to the received reporting information, and the statistics of the browsed times of the views in the slidable list view can be realized.
Example two
The present embodiment further describes, based on the foregoing embodiment, a case where the slidable list view is a horizontal slidable list, and the method for determining the number of view browsing times proposed in the foregoing embodiment belongs to the same inventive concept, and technical details that are not described in detail in the present embodiment may be referred to the foregoing embodiment.
Optionally, the slidable list view is a lateral slidable list view, and the sliding operation is a left-right sliding operation. Wherein the laterally slidable list view may be a horizontal list view horizontalilistview.
Fig. 2a is a schematic diagram of a client interface in a method for determining view browsing times according to a second embodiment of the present disclosure, where 200 may represent an area where a landscape slidable list view is located on a screen; views 201-205 may represent multiple ones of the laterally slidable list views, with views displayed on the screen within the region of the laterally slidable list view represented by solid lines and views hidden on the screen outside the region of the laterally slidable list view represented by dashed lines; l may represent the left edge of the screen; r may represent the right edge of the screen. The views 201 to 205 in the lateral slidable list view may be sequentially displayed in the area of the lateral slidable list view on the screen according to a left-right sliding operation applied to the area of the lateral slidable list view on the screen.
Fig. 2b shows a flowchart of a method for determining view browsing times according to a second embodiment of the present disclosure. As shown in fig. 2b, the method for determining the view browsing times provided in the embodiment of the present disclosure includes the following steps:
s210, after detecting a left-right sliding operation on an area where a lateral sliding list view is located on a screen, determining a view displayed on the screen in a plurality of views according to coordinates of the plurality of views in the lateral sliding list view;
s220, reporting information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information.
Optionally, determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the laterally slidable list view includes:
when the sliding direction of the sliding operation is from right to left, respectively judging whether the abscissa of the upper left corner or the lower left corner of each view in the transversely slidable list view is between the left edge and the right edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
and when the sliding direction of the sliding operation is from left to right, respectively judging whether the abscissa of the upper right corner or the lower right corner of each view in the transversely slidable list view is between the left edge and the right edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
Taking fig. 2a as an example, when the sliding direction of the sliding operation is from right to left, the view 204 and the view 205 are sequentially displayed in the area where the lateral slidable list view is located on the screen, and whether the abscissa of the upper left corner or the lower left corner of the views 201-205 in the lateral slidable list view is between the left edge L and the right edge R of the screen is determined, if yes, the corresponding view is determined to be the view displayed on the screen; when the sliding direction of the sliding operation is from left to right, the view 202 and the view 201 are sequentially displayed in the area where the lateral slidable list view is located on the screen, and whether the abscissa of the upper right corner or the lower right corner of the views 201-205 in the lateral slidable list view is between the left edge L and the right edge R of the screen is respectively determined, if yes, the corresponding view is determined to be the view displayed on the screen.
Optionally, determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the laterally slidable list view includes:
and judging whether the abscissa of the upper left corner or the lower left corner and the abscissa of the upper right corner or the lower right corner of each view in the transversely slidable list view are between the left edge and the right edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
Taking fig. 2a as an example, it is determined whether the abscissa of the upper left corner or the lower left corner and the abscissa of the upper right corner or the lower right corner of the views 201-205 in the landscape slidable list view are both between the left edge L and the right edge R of the screen, and if so, the corresponding view is determined to be the view displayed on the screen.
The present embodiment further describes, based on the foregoing embodiment, a case where the slidable list view is a horizontal slidable list, and the method for determining the number of view browsing, which is proposed in the foregoing embodiment, belongs to the same inventive concept, and technical details which are not described in detail in the present embodiment may be referred to the foregoing embodiment, and the present embodiment has the same advantageous effects as the foregoing embodiment.
Example III
The present embodiment further describes, on the basis of the above embodiment, a case where the slidable list view is a vertically slidable list, and the determination method of the view browsing times proposed in the above embodiment belongs to the same inventive concept, and technical details that are not described in detail in the present embodiment can be seen from the above embodiment.
Optionally, the slidable list view is a longitudinal slidable list view, and the sliding operation is an up-down sliding operation. Wherein the longitudinally slidable list view may be a loop view recyclerview.
Fig. 3a is a schematic diagram of a client interface in a method for determining view browsing times according to a third embodiment of the present disclosure, where 300 may represent an area where a vertically slidable list view is located on a screen; views 301-305 may represent multiple ones of the longitudinally slidable list views, with the view displayed on the screen within the region of the longitudinally slidable list view represented by solid lines and the view hidden on the screen outside the region of the longitudinally slidable list view represented by dashed lines; t may represent the upper edge of the screen; b may represent the lower edge of the screen. The views 301 to 305 in the longitudinal slidable list view may be sequentially displayed in the area of the longitudinal slidable list view on the screen according to an up-down sliding operation applied to the area of the longitudinal slidable list view on the screen.
Fig. 3b is a flowchart illustrating a method for determining view browsing times according to a third embodiment of the present disclosure. As shown in fig. 3b, the method for determining the view browsing times provided in the embodiment of the present disclosure includes the following steps:
s310, after detecting up-down sliding operation on the area where the longitudinal slidable list view is located on the screen, determining a view displayed on the screen in the multiple views according to coordinates of the multiple views in the longitudinal slidable list view;
S320, reporting information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information.
Optionally, determining the view displayed on the screen in the multiple views according to the coordinates of the multiple views in the longitudinal slidable list view includes:
when the sliding direction of the sliding operation is from bottom to top, respectively judging whether the ordinate of the upper left corner or the upper right corner of each view in the longitudinal slidable list view is between the upper edge and the lower edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
and when the sliding direction of the sliding operation is from top to bottom, respectively judging whether the ordinate of the lower left corner or the lower right corner of each view in the longitudinal slidable list view is between the upper edge and the lower edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
Taking fig. 3a as an example, when the sliding direction of the sliding operation is from bottom to top, the view 305 is displayed in the area where the vertical slidable list view is located, and it is determined whether the vertical coordinates of the upper left corner or the upper right corner of the views 301-305 in the vertical slidable list view are between the upper edge T and the lower edge B of the screen, if yes, the corresponding view is determined to be the view displayed on the screen; when the sliding direction of the sliding operation is from top to bottom, the view 301 is displayed in the area where the longitudinal slidable list view is located on the screen, and it is determined whether the ordinate of the lower left corner or the lower right corner of the views 301-305 in the longitudinal slidable list view is between the upper edge T and the lower edge B of the screen, if so, the corresponding view is determined to be the view displayed on the screen.
Optionally, determining the view displayed on the screen in the multiple views according to the coordinates of the multiple views in the longitudinal slidable list view includes:
and judging whether the ordinate of the upper left corner or the upper right corner and the ordinate of the lower left corner or the lower right corner of each view in the longitudinal slidable list view are between the upper edge T and the lower edge B of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
Taking fig. 3a as an example, it is determined whether the ordinate of the upper left corner or the upper right corner and the ordinate of the lower left corner or the lower right corner of the views 301-305 in the longitudinal slidable list view are both between the upper edge and the lower edge of the screen, and if so, the corresponding view is determined to be the view displayed on the screen.
The present embodiment further describes, based on the foregoing embodiment, a case where the slidable list view is a longitudinal slidable list, and the method for determining the number of view browsing, which is proposed in the foregoing embodiment, belongs to the same inventive concept, and technical details which are not described in detail in the present embodiment may be referred to the foregoing embodiment, and the present embodiment has the same advantageous effects as the foregoing embodiment.
Example IV
Fig. 4 is a schematic structural diagram of a device for determining view browsing times according to a fourth embodiment of the present disclosure, where the embodiment of the present disclosure may be applicable to a case of determining view browsing times.
As shown in fig. 4, a device for determining the number of browsing views in an embodiment of the disclosure includes:
a view determining module 410, configured to determine, after detecting a sliding operation acting on an area where a slidable list view on a screen is located, a view displayed on the screen from among the plurality of views according to coordinates of the plurality of views in the slidable list view;
and the information reporting module 420 is configured to report information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reported information.
The view determining module 410 is specifically configured to:
at the end time of the sliding operation acting on the area where the slidable list view is located on the screen, determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view; alternatively, in the process from the start time of the sliding operation acting on the area where the slidable list view is located on the screen to the end time of the sliding operation, the view displayed on the screen from among the plurality of views is determined according to the coordinates of the plurality of views in the slidable list view.
Optionally, the slidable list view is a lateral slidable list view, and the sliding operation is a left-right sliding operation; in a corresponding manner,
A view determining module 410, configured to determine, after detecting a left-right sliding operation applied to an area where the lateral slidable list view is located on the screen, a view displayed on the screen from among the plurality of views according to coordinates of the plurality of views in the lateral slidable list view;
and the information reporting module 420 is configured to report information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reported information.
The view determining module 410 may specifically be configured to:
when the sliding direction of the sliding operation is from right to left, respectively judging whether the abscissa of the upper left corner or the lower left corner of each view in the transversely slidable list view is between the left edge and the right edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
and when the sliding direction of the sliding operation is from left to right, respectively judging whether the abscissa of the upper right corner or the lower right corner of each view in the transversely slidable list view is between the left edge and the right edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
The view determining module 410 may be further specifically configured to:
And judging whether the abscissa of the upper left corner or the lower left corner and the abscissa of the upper right corner or the lower right corner of each view in the transversely slidable list view are between the left edge and the right edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
Optionally, the slidable list view is a longitudinal slidable list view, and the sliding operation is an up-down sliding operation; in a corresponding manner,
a view determining module 410, configured to determine, after detecting a vertical sliding operation on an area where a vertically slidable list view on a screen is located, a view displayed on the screen from among the plurality of views according to coordinates of the plurality of views in the vertically slidable list view;
and the information reporting module 420 is configured to report information of the views displayed on the screen in the multiple views to the server, so that the server counts the browsed times of each view in the multiple views according to the received reported information.
The view determining module 410 may specifically be configured to:
when the sliding direction of the sliding operation is from bottom to top, respectively judging whether the ordinate of the upper left corner or the upper right corner of each view in the longitudinal slidable list view is between the upper edge and the lower edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
And when the sliding direction of the sliding operation is from top to bottom, respectively judging whether the ordinate of the lower left corner or the lower right corner of each view in the longitudinal slidable list view is between the upper edge and the lower edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
The view determining module 410 may be further specifically configured to:
and judging whether the ordinate of the upper left corner or the upper right corner and the ordinate of the lower left corner or the lower right corner of each view in the longitudinal slidable list view are between the upper edge and the lower edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
The device for determining the number of view browsing times provided by the embodiment of the present disclosure belongs to the same inventive concept as the methods for determining the number of view browsing times provided by the embodiments one to three, technical details which are not described in detail in the embodiment of the present disclosure can be seen from the embodiments one to three, and the embodiments of the present disclosure have the same advantageous effects as the embodiments one to three.
Example five
Fig. 5 shows a schematic hardware structure of a terminal device according to a fifth embodiment of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processor, a graphics processor, etc.) 501 that may perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 502 or a program loaded from a storage means 508 into a random access Memory (Random Access Memory, RAM) 503. In the RAM503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts 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 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 via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
The terminal provided by the embodiment of the present disclosure and the method for determining the number of view browsing provided by the embodiments one to three belong to the same inventive concept, technical details which are not described in detail in the embodiment of the present disclosure can be seen from the embodiments one to three, and the embodiments of the present disclosure have the same beneficial effects as the embodiments one to three.
Example six
The embodiment of the present disclosure provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method for determining the number of view browsing times provided by the above embodiment.
It should be noted that the computer storage media described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (EPROM) or FLASH Memory (FLASH), an optical fiber, 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. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer storage may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer stores one or more programs that, when executed by the electronic device, cause the electronic device to: after detecting a sliding operation acting on an area where a slidable list view on a screen is located, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views;
and reporting the information of the views displayed on the screen in the multiple views to a server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information. .
Alternatively, the computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: after detecting a sliding operation acting on an area where a slidable list view on a screen is located, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views;
and reporting the information of the views displayed on the screen in the multiple views to a server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Claims (10)
1. A method for determining the number of views browsed, comprising:
after detecting a sliding operation acting on an area where a slidable list view on a screen is located, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views;
Reporting information of views displayed on a screen in the multiple views to a server, so that the server counts the browsed times of each view in the multiple views according to the received reporting information;
the information of the view displayed on the screen comprises identification information for uniquely identifying the view displayed on the screen, and the server counts the browsed times of each view in the plurality of views according to the received report information, and the method comprises the following steps:
after receiving the report information, the server determines each view corresponding to the identification information according to the identification information in the report information, and updates the view based on the original browsed times of each view so as to count the browsed times of each view in the multiple views;
wherein the determining, according to coordinates of a plurality of views in the slidable list view, a view displayed on a screen in the plurality of views includes:
determining sliding distances of a plurality of views in the slidable list view according to a sliding track of a sliding operation acting on an area where the slidable list view is located on the screen;
and determining a plurality of display views according to the sliding distance of the plurality of views in the slidable list view, the coordinates and the sizes of the plurality of views in the slidable list view and the sizes and the positions of the areas where the slidable list view is positioned on the screen, and taking the view with the display time longer than the preset time displayed on the screen in the plurality of display views as the view displayed on the screen in the plurality of views.
2. The method according to claim 1, wherein after detecting a sliding operation on an area of a screen where a slidable list view is located, determining a view displayed on the screen from among a plurality of views in the slidable list view according to coordinates of the plurality of views, comprises:
at the end time of a sliding operation acting on an area where a slidable list view is located on a screen, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views; or alternatively, the process may be performed,
and determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view in the process from the starting time of the sliding operation on the area where the slidable list view is positioned to the ending time of the sliding operation.
3. The method according to claim 1 or 2, wherein the slidable list view is a lateral slidable list view, and the sliding operation is a side-to-side sliding operation.
4. A method according to claim 3, wherein determining the view of the plurality of views displayed on the screen from the coordinates of the plurality of views in the slidable list view comprises:
When the sliding direction of the sliding operation is from right to left, respectively judging whether the abscissa of the upper left corner or the lower left corner of each view in the slidable list view is between the left edge and the right edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
and when the sliding direction of the sliding operation is from left to right, respectively judging whether the abscissa of the upper right corner or the lower right corner of each view in the slidable list view is between the left edge and the right edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
5. The method according to claim 1 or 2, wherein the slidable list view is a longitudinal slidable list view, and the sliding operation is a slide up and down operation.
6. The method of claim 5, wherein determining a view of the plurality of views that is displayed on a screen from coordinates of the plurality of views in the slideable list view comprises:
when the sliding direction of the sliding operation is from bottom to top, respectively judging whether the ordinate of the upper left corner or the upper right corner of each view in the slidable list view is between the upper edge and the lower edge of the screen, if so, determining that the corresponding view is the view displayed on the screen;
And when the sliding direction of the sliding operation is from top to bottom, respectively judging whether the ordinate of the lower left corner or the lower right corner of each view in the slidable list view is between the upper edge and the lower edge of the screen, and if so, determining that the corresponding view is the view displayed on the screen.
7. A device for determining the number of views browses, comprising:
the view determining module is used for determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view after detecting the sliding operation on the area where the slidable list view is located on the screen;
the information reporting module is used for reporting the information of the views displayed on the screen in the multiple views to the server so that the server can count the browsed times of each view in the multiple views according to the received reporting information;
the information of the view displayed on the screen comprises identification information for uniquely identifying the view displayed on the screen, and the server counts the browsed times of each view in the plurality of views according to the received report information, and the method comprises the following steps:
after receiving the report information, the server determines each view corresponding to the identification information according to the identification information in the report information, and updates the view based on the original browsed times of each view so as to count the browsed times of each view in the multiple views;
Wherein the view determination module comprises:
a sliding distance determining sub-module for determining sliding distances of a plurality of views in the slidable list view according to a sliding track of a sliding operation acting on an area where the slidable list view is located on the screen;
and the view determining submodule is used for determining a plurality of display views according to the sliding distance of the plurality of views in the slidable list view, the coordinates and the sizes of the plurality of views in the slidable list view and the sizes and the positions of the areas where the slidable list view is positioned on the screen, and taking the view with the display time longer than the preset time displayed on the screen in the plurality of display views as the view displayed on the screen in the plurality of views.
8. The apparatus according to claim 7, wherein the view determination module is specifically configured to:
at the end time of a sliding operation acting on an area where a slidable list view is located on a screen, determining a view displayed on the screen from a plurality of views in the slidable list view according to coordinates of the plurality of views; or alternatively, the process may be performed,
and determining the view displayed on the screen in the plurality of views according to the coordinates of the plurality of views in the slidable list view in the process from the starting time of the sliding operation on the area where the slidable list view is positioned to the ending time of the sliding operation.
9. A terminal device, characterized in that the terminal comprises:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of determining a number of view views as claimed in any one of claims 1 to 6.
10. A computer storage medium having stored thereon a computer program, which when executed by a processor implements a method of determining the number of view browses according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811418442.2A CN109542748B (en) | 2018-11-26 | 2018-11-26 | Method, device, equipment and storage medium for determining view browsing times |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811418442.2A CN109542748B (en) | 2018-11-26 | 2018-11-26 | Method, device, equipment and storage medium for determining view browsing times |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109542748A CN109542748A (en) | 2019-03-29 |
CN109542748B true CN109542748B (en) | 2023-08-01 |
Family
ID=65849811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811418442.2A Active CN109542748B (en) | 2018-11-26 | 2018-11-26 | Method, device, equipment and storage medium for determining view browsing times |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542748B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105138344A (en) * | 2015-07-10 | 2015-12-09 | 深圳市美贝壳科技有限公司 | Method and system for randomly generating screensaver according to picture hotness |
CN106776976A (en) * | 2016-12-05 | 2017-05-31 | 乐视控股(北京)有限公司 | Browse object displaying method, device and equipment |
CN108282353A (en) * | 2017-03-27 | 2018-07-13 | 广州市动景计算机科技有限公司 | Browse information content statistical method, device and electric terminal |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6108637A (en) * | 1996-09-03 | 2000-08-22 | Nielsen Media Research, Inc. | Content display monitor |
CN102955794B (en) * | 2011-08-23 | 2017-04-12 | 阿里巴巴集团控股有限公司 | Method and device for displaying click condition of web page |
CN105912258B (en) * | 2016-04-13 | 2019-12-13 | 北京小米移动软件有限公司 | Operation processing method and device |
CN108268491A (en) * | 2016-12-30 | 2018-07-10 | 北京国双科技有限公司 | Heating power drawing generating method and device |
CN106682946A (en) * | 2016-12-30 | 2017-05-17 | 北京七鑫易维信息技术有限公司 | Advertisement content analysis method and device |
CN107038053B (en) * | 2017-04-28 | 2020-09-22 | 北京星选科技有限公司 | Statistical method and device for loading webpage pictures and mobile terminal |
CN107239566B (en) * | 2017-06-14 | 2018-05-15 | 掌阅科技股份有限公司 | User journal generation method, electronic equipment and computer-readable storage medium |
CN107741826B (en) * | 2017-10-20 | 2020-11-06 | 维沃移动通信有限公司 | Browsing history information calling method and device and mobile terminal |
CN108089902B (en) * | 2017-12-12 | 2018-11-27 | 掌阅科技股份有限公司 | The detection method of split screen display available state calculates equipment and computer storage medium |
-
2018
- 2018-11-26 CN CN201811418442.2A patent/CN109542748B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105138344A (en) * | 2015-07-10 | 2015-12-09 | 深圳市美贝壳科技有限公司 | Method and system for randomly generating screensaver according to picture hotness |
CN106776976A (en) * | 2016-12-05 | 2017-05-31 | 乐视控股(北京)有限公司 | Browse object displaying method, device and equipment |
CN108282353A (en) * | 2017-03-27 | 2018-07-13 | 广州市动景计算机科技有限公司 | Browse information content statistical method, device and electric terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109542748A (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113938456B (en) | Session message overhead processing method and device | |
CN113489937B (en) | Video sharing method, device, equipment and medium | |
CN109600656B (en) | Video list display method and device, terminal equipment and storage medium | |
CN111291244B (en) | House source information display method, device, terminal and storage medium | |
CN109684589B (en) | Client comment data processing method and device and computer storage medium | |
CN110287810B (en) | Vehicle door motion detection method, device and computer readable storage medium | |
CN110795196A (en) | Window display method, device, terminal and storage medium | |
JP7467644B2 (en) | Message processing method, device and electronic device | |
CN111222509A (en) | Target detection method and device and electronic equipment | |
CN109635263B (en) | Column width fixed display method and device based on WEB ultra-wide table and electronic equipment | |
CN112053286B (en) | Image processing method, device, electronic equipment and readable medium | |
CN111309798B (en) | Processing method, device, equipment and storage medium of table | |
CN109542748B (en) | Method, device, equipment and storage medium for determining view browsing times | |
CN111930228A (en) | Method, device, equipment and storage medium for detecting user gesture | |
CN110717126A (en) | Page browsing method and device, electronic equipment and computer readable storage medium | |
CN113204557B (en) | Electronic form importing method, device, equipment and medium | |
CN110807164B (en) | Automatic image area adjusting method and device, electronic equipment and computer readable storage medium | |
CN111857915B (en) | Application page display method and device | |
CN110618772B (en) | View adding method, device, equipment and storage medium | |
CN110618776B (en) | Picture scaling method, device, equipment and storage medium | |
CN113253874A (en) | Display device control method, device, terminal and storage medium | |
CN113656128A (en) | Page generation method and device and electronic equipment | |
CN110825478A (en) | Main interface content adding method, device, medium and electronic equipment | |
US11880919B2 (en) | Sticker processing method and apparatus | |
CN112884787B (en) | Image clipping method and device, readable medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |