CN111190531A - Information collection method and device, computer readable storage medium and computer equipment - Google Patents

Information collection method and device, computer readable storage medium and computer equipment Download PDF

Info

Publication number
CN111190531A
CN111190531A CN201910635984.3A CN201910635984A CN111190531A CN 111190531 A CN111190531 A CN 111190531A CN 201910635984 A CN201910635984 A CN 201910635984A CN 111190531 A CN111190531 A CN 111190531A
Authority
CN
China
Prior art keywords
page
touch data
touch
data
image
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.)
Pending
Application number
CN201910635984.3A
Other languages
Chinese (zh)
Inventor
邓衍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910635984.3A priority Critical patent/CN111190531A/en
Publication of CN111190531A publication Critical patent/CN111190531A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3438Recording 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Abstract

The application relates to an information collection method, an information collection device, a computer readable storage medium and a computer device, wherein the method comprises the following steps: detecting an operation event acting on the touch screen through a first page of an application program to obtain touch data; acquiring a page image of a second page of the application program, wherein the first page covers the second page; sending the touch data and the page image to a server; wherein the touch data and the page image are used to indicate generation of a thermodynamic diagram representing a touch condition of the second page. The scheme provided by the application can improve the information collection efficiency.

Description

Information collection method and device, computer readable storage medium and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information collection method and apparatus, a computer-readable storage medium, and a computer device.
Background
With the development of computer technology, more and more internet enterprises for application development appear. In order to better serve users, internet enterprises need to collect various information of users to understand various needs of users, thereby improving services to users.
However, when the collection of user data is implemented on the touch screen of the computer device, each page of the application program needs to be monitored, and then the operation events of the user are processed, which causes a problem of low efficiency of information collection.
Disclosure of Invention
In view of the above, it is necessary to provide an information collecting method, an information collecting apparatus, a computer-readable storage medium, and a computer device for solving the technical problem of inefficient information collection.
An information collection method, comprising:
detecting an operation event acting on the touch screen through a first page of an application program to obtain touch data;
acquiring a page image of a second page of the application program, wherein the first page covers the second page;
sending the touch data and the page image to a server; wherein the touch data and the page image are used to indicate generation of a thermodynamic diagram representing a touch condition of the second page.
An information collection apparatus, the apparatus comprising:
the touch screen comprises a detection module, a processing module and a display module, wherein the detection module is used for detecting an operation event acting on the touch screen through a first page of an application program to obtain touch data;
the page image acquisition module is used for acquiring a page image of a second page of the application program, and the first page covers the second page;
the sending module is used for sending the touch data and the page image to a server; wherein the touch data and the page image are used to indicate generation of a thermodynamic diagram representing a touch condition of the second page.
A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the steps of the above-mentioned method.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above method.
According to the information collection method, the information collection device, the computer readable storage medium and the computer equipment, the operation event acting on the touch screen is detected through the first page of the application program, and the touch data are obtained; acquiring a page image of a second page of the application program; and sending the touch data and the page image to a server. The first page covers the second pages, and the operation event acting on the touch screen is detected through the first page of the application program, so that the application program is prevented from detecting each second page, the workload of the application program is saved, and the information collection efficiency is improved.
Drawings
FIG. 1 is a diagram of an application environment of the information gathering method in one embodiment;
FIG. 2 is a flow diagram illustrating a method of information collection in one embodiment;
FIG. 3 is a schematic illustration of a thermodynamic diagram in one embodiment;
FIG. 4 is a flow chart illustrating the distribution function value obtaining step in one embodiment;
FIG. 5 is a schematic illustration of a passthrough in one embodiment;
FIG. 6 is a flowchart illustrating a second page detection step in one embodiment;
FIG. 7 is a schematic diagram of an information gathering method in another embodiment;
FIG. 8 is a schematic diagram of an information gathering method in another embodiment;
FIG. 9 is a schematic diagram of an information gathering method in another embodiment;
FIG. 10 is a block diagram showing the structure of an information collecting apparatus according to an embodiment;
FIG. 11 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram of an embodiment of an information gathering method. Referring to fig. 1, the information collection method is applied to an information collection system. The information collection system includes a terminal 110 and a server 120. The terminal 110 has an application program provided therein. The application in the terminal 110 and the server 120 are connected through a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
As shown in FIG. 2, in one embodiment, an information gathering method is provided. The embodiment is mainly illustrated by applying the method to the terminal 110 in fig. 1. Referring to fig. 2, the information collection method specifically includes the following steps:
s202, detecting an operation event acting on the touch screen through the first page of the application program to obtain touch data.
An application refers to a computer program that performs one or more specific tasks, operates in a user mode, can interact with a user, and has a visual user interface. The first page refers to a page in the application program for detecting an operation event acting on the touch screen. The touch data refers to data generated by touching the touch screen, such as position data of touch, type of touch, speed of touch, time of touch, and the like, but is not limited thereto.
The terminal 110 is provided with a touch screen, which can be used to display a page of an application program, and a user can also perform operation events such as clicking, double-clicking, sliding and the like on the touch screen. The terminal 110 stores an application program, and when the application program is started, a first page of the application program is opened for detecting an operation event on the touch screen corresponding to the application program display interface.
Specifically, through the listening function on the first page, an operation event acting on the touch screen, such as, but not limited to, a single click, a double click, a swipe, etc., may be detected. Touch data acting on the touch screen, such as touch position data, touch type, touch speed, touch time and the like, can also be acquired through the listening function, but not limited thereto.
Wherein, the touched position data refers to position data when acting on the touch screen, and the position data can be represented by coordinates, such as (50, 50); or the distance between the touch screen and the edge of the touch screen can be used for representing, for example, the distance between the touch screen and the upper edge of the touch screen is 50mm, and the distance between the touch screen and the left edge of the touch screen is 30 mm; but may be represented in other ways, not limited thereto.
The type of touch may be a single click, a double click, a swipe, a long press, a double finger swipe, a double finger double click, etc., without being limited thereto. The speed of touch refers to the speed when acting on the touch screen, e.g., the speed of sliding.
The touch time refers to the time of acting on the touch screen, and may include the time of acting on the touch screen, and may also include the duration of acting on the touch screen.
In one embodiment, when the time interval between two adjacent clicks is detected to be less than the preset time length, the two adjacent clicks are taken as an operation event, namely double clicking. For example, when the time of the first click is 14 hours, 53 minutes and 30 seconds and 25 milliseconds, the time of the second click is 14 hours, 53 minutes and 30 seconds and 30 milliseconds, and the preset time duration is 10 milliseconds, the time interval between the first click and the second click is 5 milliseconds and is less than the preset time duration by 10 milliseconds, and therefore the first click and the second click are taken as one operation event, namely, a double click.
In one embodiment, when the duration of the operation event acting on the touch screen is detected to reach the preset duration, the type of the operation event is a long press type. For example, when the time length of clicking the touch screen reaches 1 second, the type of the operation event is regarded as a long press type.
S204, acquiring a page image of a second page of the application program, wherein the first page covers the second page.
The second page refers to a page in which the application is displayed on the touch screen of the terminal 110. The application program may have only one second page, or may include a plurality of second pages, without being limited thereto. The page image refers to an image corresponding to the second page.
The application program comprises a first page and a second page, and the first page covers the second page, so that the first page can be a transparent page or a semi-transparent page; the first page may also be a transparent page in all regions, or may also be a transparent page in a part of regions and an opaque page in a part of regions, which is not limited to this.
Optionally, the page image of the second page of the application program is obtained, the second page may be copied, the second page may also be subjected to screenshot or screen capture, and a thumbnail of the second page may also be generated, which is not limited to this.
S206, sending the touch data and the page image to a server; wherein the touch data and the page image are used for indicating the generation of a thermodynamic diagram, and the thermodynamic diagram is used for representing the touch condition of the second page.
The thermodynamic diagram refers to displaying an image of the touched area in a highlighted form. The brighter an area in the thermodynamic diagram, the more times or longer the area is touched.
After receiving the touch data and the page image sent by the terminal 110, the server 120 performs processing on the page image according to the touch data to obtain a thermodynamic diagram.
Specifically, the page image may be divided into several regions. The finer the region division, the more accurate the thermodynamic diagram generated. According to position data in the touch data; counting the number of times that each area is touched; and according to the number of times of touching each area, painting colors on the corresponding area to generate a thermodynamic diagram.
It is understood that the greater the number of times an area in the page image is touched, the darker the color of the area in the thermodynamic diagram. In another embodiment, the total number of times the page image is touched may be counted; determining the proportion of the number of times of touching each area to the total number of times; and coating colors on the corresponding areas according to the proportion of each area to generate a thermodynamic diagram.
It is understood that the greater the proportion of the number of times an area in the page image is touched to the total number of times, the darker the color of the area in the thermodynamic diagram.
As shown in fig. 3, in the thermodynamic diagram 302, the number of times that the 304 region is touched is 2% of the total number of times, the number of times that the 306 region is touched is 18% of the total number of times, and the number of times that the 308 region is touched is 80% of the total number of times, the color of the 304 region is lightest, the color of the 306 region is medium, and the color of the 308 region is darkest.
In one embodiment, the area that the user is accustomed to touching and the area with a large number of touches can be obtained through the thermodynamic diagram, so that the area in the second page corresponding to the area with a darker color in the thermodynamic diagram can be obtained, and the button, the picture and the title can be set in the area in the second page. Through the thermodynamic diagram, the size of the touch area of the user can be obtained, so that the sizes of the buttons, the pictures and the titles in the second page are set, and the accuracy of page setting is improved.
According to the information collection method, the operation event acting on the touch screen is detected through the first page of the application program, and touch data are obtained; acquiring a page image of a second page of the application program; and sending the touch data and the page image to a server. The first page covers the second pages, and the operation event acting on the touch screen is detected through the first page of the application program, so that the application program is prevented from detecting each second page, the workload of the application program is saved, and the information collection efficiency is improved.
In one embodiment, the first page is a transparent page.
The first page is a transparent page, and the first page covers the second page, so that the terminal 110 displays the second page of the application program.
In one embodiment, the first page may be a semi-transparent page, and the transparency may be set according to the user's needs. For example, a first page of 100% transparency is a fully transparent page, 98% is a more transparent page.
In one embodiment, the first page may also be a transparent area in a part of the area, and a translucent area or an opaque area in a part of the area. For example, the identifier of the application program can be shown in a semi-transparent or non-transparent image in the upper left corner area of the first page, and the other areas are transparent areas. By transparent area, semi-transparent area or opaque area, the size and transparency can be set according to the needs of the user.
In one embodiment, the first page is the same size as a touch screen of the computer device or the first page covers the entire second page.
The computer device may be a terminal 110. In one embodiment, the first page may be the same size as the touch screen of the terminal 110, i.e., the screen size of the touch screen is the same size as the first page. It can be understood that, when the operation event acts on the touch screen, the first page is the same as the touch screen in size, and all the operation events acting on the touch screen can be detected.
In another embodiment, the first page covers the entire second page, i.e., the first page is greater than or equal to the second page, and the first page covers the entire second page.
When the first page is equal to the second page and the first page covers the whole second page, the operation event acting on the touch screen area corresponding to the first page is detected through the first page of the application program.
When the first page is larger than the second page and the first page covers the whole second page, the operation event acting on the touch screen area corresponding to the first page is detected through the first page of the application program, namely the operation event of the touch screen area corresponding to the second page is included, and the operation events of other touch screen areas except the touch screen area corresponding to the second page are also included. Optionally, the touch data obtained from the operation events of the other touch screen areas except the touch screen area corresponding to the second page may be deleted, and the touch data obtained from the operation events of the touch screen area corresponding to the second page and the page image of the second page may be sent to the server. The touch data obtained by all the operation events and the page image of the second page can also be sent to the server, and the server performs screening to obtain the touch data of the operation events of the touch screen area corresponding to the second page and generate the thermodynamic diagram.
According to the information collection method, the first page is the same as the touch screen of the computer device in size or the first page covers the whole second page, so that the operation event of the user on the second page of the application program can be detected, and the detection accuracy is guaranteed.
In one embodiment, detecting an operation event acting on the touch screen through a first page of an application program to obtain touch data includes: when the first page is the same as the touch screen of the computer device in size and the second page is smaller than the first page, the operation event acting on the area corresponding to the second page is detected through the first page, and touch data are obtained.
The computer device may be a terminal 110. When the first page is the same as the touch screen of the terminal 110 in size and the second page is smaller than the first page, it indicates that the first page covers not only the entire second page but also other regions except the second page. Therefore, the first page can only detect the operation event acting on the corresponding area of the second page to obtain the touch data, and the touch data and the page image of the second page are sent to the server to generate the thermodynamic diagram, so that the workload of the first page detection of the application program is saved, and the information collection efficiency is improved.
In another embodiment, when the first page is the same as the touch screen of the terminal 110, and the second page is smaller than the first page, the operation event acting on the entire touch screen can be detected through the first page to obtain touch data; screening the touch data to obtain target touch data; the target touch data refers to touch data of a corresponding area of the second page; and sending the target touch data and the page image of the second page to a server.
And detecting an operation event acting on the whole touch screen through the first page to obtain touch data. The touch data comprises touch data of a corresponding area of the second page and touch data of other touch screen areas except the second page. And screening the touch data to obtain target touch data, namely the touch data of the corresponding area of the second page.
The method for screening the touch data to obtain the target touch data comprises the following steps: acquiring a position range of a second page and position data of each touch data; matching the position data of each touch data with the position range of the second page; and taking the touch data with the position data in the position range of the second page as target touch data.
Acquiring a position range of a second page and position data of each touch data, wherein the position range of the second page can be represented by an interval, for example, the abscissa is [20,60], and the ordinate is [30,50 ]; the position data of each touch data may also be represented by coordinates, such as (25, 35).
And matching the position data of each touch data with the position range of the second page, and when the position data are matched, namely the position data are in the position range of the second page, taking the data as target touch data.
For example, if the abscissa of the position range of the second page is [20,60], the ordinate is [30,50], the position data of the touch data 1 is (25,35), the position data of the touch data 2 is (30,50), and the position data of the touch data 3 is (26,80), both the touch data 1 and the touch data 2 are within the position range of the second page, the touch data 3 is not within the position range of the second page, and the touch data 1 and the touch data 2 are set as the target touch data.
In one embodiment, the touch data includes position data of the touch; the thermodynamic diagram is generated according to the number of times each area in the page image is touched, and the number of times each area in the page image is statistically obtained according to each position data.
The touch data includes position data of a touch, i.e., position data when applied to the touch screen. When the operation event applied to the touch screen is a click, the position data may be a point coordinate of the click, such as (25, 35); when the operational event applied to the touch screen is a slide, then the position data may be the interval coordinates of the slide, such as (25, 35-40).
After receiving the touch data and the page image, the server can acquire the position data of each touch data and count the number of times that each area in the page image is touched, that is, count the number of touch data of each area in the page image in which the position data is located.
And generating a thermodynamic diagram according to the number of times each area in the page image is touched. It is understood that the more times a region in the page image is touched, the darker the color corresponding to the region.
In another embodiment, the total number of times the page image is touched may be counted; determining the proportion of the number of times of touching each area to the total number of times; and coating colors on the corresponding areas according to the proportion of each area to generate a thermodynamic diagram.
It is understood that the greater the proportion of the number of times an area in the page image is touched to the total number of times, the darker the color of the area in the thermodynamic diagram.
As shown in fig. 3, in the thermodynamic diagram 302, the number of times that the 304 region is touched is 2% of the total number of times, the number of times that the 306 region is touched is 18% of the total number of times, and the number of times that the 308 region is touched is 80% of the total number of times, the color of the 304 region is lightest, the color of the 306 region is medium, and the color of the 308 region is darkest.
According to the information collection method, the number of times of touching each area in the page image is counted, and a more accurate thermodynamic diagram can be generated according to the number of times of touching each area.
In one embodiment, after the operation event applied to the touch screen is detected through the first page of the application program, and the touch data is obtained, the method further includes: transmitting the touch data to a second page through the first page; and controlling the second page to respond to the touch data.
The transparent transmission means that after the touch data is obtained by the first page, the touch data is not processed and is transmitted to the second page.
Specifically, an operation event acting on the touch screen is detected through the first page of the application program, and after touch data are obtained, the touch data are transmitted to the second page of the application program. And after receiving the touch data, the second page of the application program responds to the touch data.
For example, when the type of the touch data is click and the coordinates of the touch data are (25,35), the second page is controlled to perform a click operation in response to the touch data, i.e., at a (25,35) position in the second page. When there is a button in the second page at (25,35), then the response is to click the button.
For example, when the type of the touch data is sliding, the sliding direction is sliding from left to right, and the speed of the touch data reaches the preset speed of the sliding page, the second page is controlled to slide to the left.
According to the information collection method, the touch data are transmitted to the second page through the first page, the second page is controlled to respond to the touch data, and the accuracy of the operation event of the application program can be guaranteed while the first page is set.
In one embodiment, as shown in fig. 4, before the touch data is transmitted through the first page to the second page, the method further includes:
s402, obtaining a distribution function value through a first page.
An event distribution function is arranged in the first page, and a user can assign values to the event distribution function in advance according to needs, namely a distribution function value. The distribution function value may comprise a distribution parameter value and an interception parameter value.
And when the operation event acting on the touch screen is detected through the first page, and the touch data is obtained, obtaining a distribution function value of the event distribution function.
S404, when the distribution function value is the distribution parameter value, the step of transmitting the touch data to the second page through the first page is executed.
The distribution parameter value is used for instructing the first page to transmit the touch data to the second page. And when the distribution function value is the distribution parameter value, the step of transmitting the touch data to the second page through the first page is executed.
In one embodiment, the distribution parameter value may be set to false, and when the distribution function value obtained through the first page is false, the step of transmitting the touch data through the first page to the second page is performed.
And S406, intercepting the touch data when the distribution function value is the interception parameter value.
The interception parameter value is used for indicating the first page to intercept the touch data, namely not transmitting the touch data to the second page. And when the distribution function value is the interception parameter value, intercepting the touch data.
In one embodiment, the value of the interception parameter may be set to true, and when the distribution function value obtained through the first page is set to true, the touch data is intercepted.
It should be noted that, in other embodiments, the distribution function value may also be true, the interception parameter value may also be false, or other values, and the specific value may be set according to the user requirement, which is not limited to this.
According to the data collection method, the distribution function value is obtained through the first page, and when the distribution function value is the distribution parameter value, the touch data are transmitted to the second page; and when the distribution function value is the interception parameter value, the touch data is intercepted, so that the accuracy of touch data transparent transmission is improved.
In one embodiment, as shown in FIG. 5, 502 is a first page, 504 is a second page, and the first page 502 is larger than the second page 504, the first page 502 covering the entire second page 504. Detecting an operation event acting on the touch screen through the first page 502 to obtain touch data; acquiring a distribution function value through a first page, and transmitting touch data to a second page when the distribution function value is a distribution parameter value; and when the distribution function value is the interception parameter value, intercepting the touch data and not transmitting the touch data to the second page.
In one embodiment, as shown in fig. 6, the method further includes:
s602, detecting a second page.
It will be appreciated that there is a unique address for each second page of the application from which the second page can be located. And detecting whether the address of the second page changes or not, and when the address of the second page is detected to change, indicating that the second page is changed into another second page.
In another embodiment, position data in touch data received by the second page is detected; matching the position data with the position range of each link contained in the second page; when there is a match, the second page is represented as a transformation to another second page.
In the second page of the application program, a button, a picture and other areas which can contain a link are included, and when the position data in the touch data received by the second page is detected to be matched with the position range of the link contained in the second page, the indication shows that the application program controls the second page to respond to the touch data, namely the second page is changed into another second page.
For example, a button is provided in an area of the abscissa [25,30] and the ordinate [40,50] of the second page, and a link of another second page is included in the button, that is, the link is located in a range of the abscissa [25,30] and the ordinate [40,50 ]. When the type of the touch data received by the second page is clicking and the position data is (27,45), the position data (27,45) is respectively matched with the position range of each link contained in the second page, and then the links of the abscissa [25,30] and the ordinate [40,50] are matched. Thus, the second page of the application is transformed to another second page in response to the touch data.
S604, when the second page is changed into another second page, the step of obtaining the page image of the second page of the application program is executed on the changed second page.
It will be appreciated that when a second page is changed to another second page, the layout of the location and size of the pictures, buttons, titles, etc. of the different second pages will generally be different. Therefore, a corresponding thermodynamic diagram needs to be generated for each second page, so that the positions and sizes of pictures, buttons, titles and the like in the second pages are set according to the thermodynamic diagram corresponding to each second page, and the accuracy of the layout of the second pages can be improved.
And when the second page is transformed into another second page, executing the step of acquiring the page image of the second page of the application program on the transformed second page.
Optionally, the page image of the second page of the application program is obtained, the second page may be copied, the second page may also be subjected to screenshot or screen capture, and a thumbnail of the second page may also be generated, which is not limited to this.
And when the second page is converted into another second page, executing the step of acquiring the page image of the second page of the application program on the converted second page, and sending the touch data of the converted second page and the page image of the converted second page to the server. And after receiving the touch data of the transformed second page and the page image of the transformed second page, the server processes the page image of the transformed second page according to the touch data of the transformed second page to generate a thermodynamic diagram corresponding to the transformed second page.
Specifically, the transformed page image may be divided into several regions. The finer the region division, the more accurate the thermodynamic diagram generated. According to the position data in the converted touch data of the second page; counting the number of times that each area is touched; and coating colors on the corresponding areas according to the number of times of touching each area, and generating a thermodynamic diagram corresponding to the converted second page.
It is understood that the greater the number of times an area in the page image is touched, the darker the color of the area in the thermodynamic diagram. In another embodiment, the total number of times of touching the page image of the transformed second page may be counted; determining the proportion of the number of times of touching each area to the total number of times; and coating colors on the corresponding areas according to the proportion of each area to generate a thermodynamic diagram corresponding to the converted second page.
It is understood that the greater the proportion of the number of times an area in the page image is touched to the total number of times, the darker the color of the area in the thermodynamic diagram.
The information collection method detects the second page, and when the second page is converted into another second page, the step of acquiring the page image of the second page of the application program is executed on the converted second page, namely the page image of the converted second page is acquired. And acquiring a corresponding page image for each second page transformed by the application program, and sending the page image to the server to generate a corresponding thermodynamic diagram, wherein each second page corresponds to one thermodynamic diagram, and buttons, pictures, titles and the like in the second pages can be laid out according to the thermodynamic diagrams corresponding to the second pages, so that the accuracy of the second page layout is improved.
In one embodiment, the method further comprises: establishing a corresponding relation between the touch data and the page image; the thermodynamic diagram is generated from the acquired page images and corresponding touch data.
When the application program comprises one or more second pages, the corresponding relation between the touch data and the page images can be established, and the thermodynamic diagram corresponding to each second page can be generated according to the page images and the corresponding touch data of each second page, so that the accuracy of information collection is improved.
When the application program comprises a second page, the touch data received by the second page correspond to the second page, and the corresponding relationship between the touch data and the second page can be established.
In another embodiment, when the application program includes a second page, the touch data and the page image may be directly sent to the server without establishing a corresponding relationship between the touch data and the page image.
When the application program comprises a plurality of second pages, the corresponding relation between the touch data and the page images is established. Specifically, the time identifier of each page image and the time identifier of each touch data can be acquired; and packaging the touch data and the page images according to the time marks of the page images and the time marks of the touch data to obtain a data packet.
The time stamp of the page image refers to the time when the second page is opened, and the time stamp of the touch data refers to the time when the touch data is generated, i.e., the time when the touch data is applied to the touch screen.
When the application program comprises a plurality of second pages, acquiring the display time of each page image according to the time identifier of each page image; the display duration refers to the time for displaying the second page corresponding to the page image by the application program; matching the time identification of each touch data with the display time of each page image; and when the time identification of the touch data is matched with the display time of the page image, packaging the touch data and the matched page image to obtain a data packet.
The display time of each page image is obtained according to the time identifier of each page image, for example, the time identifier of the first page image is 13 hours, 53 minutes and 05 seconds, the time identifier of the second page image is 13 hours, 54 minutes and 25 seconds, the time identifier of the third page image is 14 hours, 02 minutes and 36 seconds, the time of the application program relationship is 14 hours, 06 minutes and 24 seconds, the display time of the first page image is 13 hours, 53 minutes and 05 seconds to 13 hours, 54 minutes and 25 seconds, the display time of the second page image is 13 hours, 54 minutes and 25 seconds to 14 hours, 02 minutes and 36 seconds, and the display time of the third page image is 14 hours, 02 minutes and 36 seconds to 14 hours, 06 minutes and 24 seconds.
And matching the time identifier of each touch data with the presentation time of each page image, for example, if the time identifier of the touch data 1 is 13 hours, 53 minutes and 25 seconds, the time identifier of the touch data 1 is 13 hours, 56 minutes and 23 seconds, and the time identifier of the touch data 1 is 13 hours, 57 minutes and 45 seconds, the time identifier of the touch data 1 is matched with the presentation time of the first page image, and the time identifiers of the touch data 2 and the touch data 3 are matched with the presentation time of the second page image.
Packaging the touch data 1 and the first page image to obtain a data packet; and packaging the touch data 2, the touch data 3 and the second page image to obtain another data packet. Namely, the corresponding relation between each touch data and each page image is established, and then each touch data and the corresponding page image are sent to the server.
And after receiving the touch data and the corresponding page images, the server performs painting processing on the corresponding page images according to the touch data to generate thermodynamic diagrams corresponding to each second page, so that the accuracy of information collection is improved.
In one embodiment, the information collecting method further includes: storing the touch data and the corresponding page image; and sending the stored touch data and the corresponding page image to a server at preset time intervals.
After the first page of the application detects an operation event acting on the touch screen and obtains touch data, the touch data may be stored in the terminal 110. After the application program obtains the page image of the second page, the application program may establish a corresponding relationship between the page image and the touch data, and store the touch data and the corresponding page image in the terminal 110.
The preset time is preset, and the application program sends the stored touch data and the corresponding page image to the server at intervals of the preset time, so that the problem that the touch data or the page image is sent to the server every time the touch data or the page image is obtained is solved, and the workload of the application program is saved.
In one embodiment, as shown in fig. 7, an application program is stored in a terminal 702, and an event monitoring function 704 on a first page of the application program detects an operation event acting on a touch screen of the terminal 702 to obtain touch data; transparently transmitting the touch data to a second page through an event distribution function 706 on the first page; and acquiring a page image of the second page. The application in terminal 702 sends the touch data and page image to server 708. Server 708 may store 710 the touch data and page images and generate a thermodynamic diagram 712 from the touch data and page images.
In one embodiment, as shown in fig. 8, step 802 is executed through a first page of the application program, and an operation event acting on the touch screen is detected to obtain touch data; step 804 is executed, and the touch data is transmitted to a second page; after the second page receives the touch data, step 806 is executed, and the application controls the second page to respond to the touch data. The application program acquires a page image of the second page, executes step 808, and uploads the page image and the detected touch data to the server 810; the server executes step 812, and counts the touch data of each area of the page image, and may count the number of times each area is touched, or may count the proportion of each area that is touched; and executing step 814 according to the touch data of each area of the page image to generate a thermodynamic diagram.
In one embodiment, as shown in fig. 9, step 902 is executed through a first page of an application program, and an operation event acting on a touch screen is detected to obtain touch data; acquiring a page image of a second page; step 904 may be performed to store the touch data and the page image; step 906 is executed to judge whether touch data and page images are uploaded or not; when the judgment is yes, the touch data and the page image are uploaded to the server 908; step 910 is executed by the server 908, and touch data of each area of the page image is counted; step 912 is executed according to the statistical result to generate a thermodynamic diagram.
Fig. 2, 4 and 6 are schematic flow diagrams of an information collection method in one embodiment. It should be understood that although the steps in the flowcharts of fig. 2, 4 and 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 4, and 6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 10, there is provided an information collecting apparatus 1000 including: a detection module 1002, a page image acquisition module 1004, and a transmission module 1006, wherein:
the detecting module 1002 is configured to detect an operation event acting on the touch screen through a first page of the application program, so as to obtain touch data.
The page image obtaining module 1004 is configured to obtain a page image of a second page of the application program, where the first page is overlaid on the second page.
A sending module 1006, configured to send the touch data and the page image to a server; wherein the touch data and the page image are used for indicating the generation of a thermodynamic diagram, and the thermodynamic diagram is used for representing the touch condition of the second page.
The information collection device detects an operation event acting on the touch screen through a first page of an application program to obtain touch data; acquiring a page image of a second page of the application program; and sending the touch data and the page image to a server. The first page covers the second pages, and the operation event acting on the touch screen is detected through the first page of the application program, so that the application program is prevented from detecting each second page, the workload of the application program is saved, and the information collection efficiency is improved.
In one embodiment, the first page is a transparent page.
In one embodiment, the first page is the same as a touch screen of the computer device in size or the first page covers the entire second page.
In an embodiment, the detecting module 1002 is further configured to detect, by the first page, an operation event acting on an area corresponding to the second page when the first page is the same as the touch screen of the computer device in size and the second page is smaller than the first page, so as to obtain the touch data.
In one embodiment, the touch data includes position data of a touch; the thermodynamic diagram is generated according to the number of times each area in the page image is touched, and the number of times each area in the page image is statistically obtained according to each position data.
In one embodiment, the information collecting apparatus further includes a transparent transmission module, configured to transmit the touch data to a second page through a first page; and controlling the second page to respond to the touch data.
In one embodiment, the information collecting apparatus further includes a distribution function value obtaining module, configured to obtain the distribution function value through a first page; when the distribution function value is the distribution parameter value, the step of transmitting the touch data to a second page through a first page is executed; and when the distribution function value is the interception parameter value, intercepting the touch data.
In one embodiment, the detecting module 1002 is further configured to detect a second page; and when the second page is transformed into another second page, executing the step of acquiring the page image of the second page of the application program on the transformed second page.
In one embodiment, the information collecting apparatus further includes a correspondence relationship establishing module, configured to establish a correspondence relationship between the touch data and the page image; the thermodynamic diagram is generated from the acquired page images and corresponding touch data.
In one embodiment, the information collecting apparatus further includes a storage module, configured to store the touch data and the corresponding page image; and sending the stored touch data and the corresponding page image to a server at preset time intervals.
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 (or the server 120) in fig. 1. As shown in fig. 11, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the information collection method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform the information gathering method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the information collecting apparatus provided in the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 11. The memory of the computer device may store therein various program modules constituting the information collecting apparatus, such as the detecting module, the page image acquiring module, and the transmitting module shown in fig. 10. The computer program constituted by the respective program modules causes the processor to execute the steps in the information collection method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 11 may detect an operation event acting on the touch screen through the first page of the application program by the detection module in the information collection apparatus shown in fig. 10, and obtain the touch data. The computer equipment can acquire the page image of the second page of the application program through a page image acquisition module, and the first page covers the second page. The computer equipment can transmit the touch data and the page image to a server through a transmission module; wherein the touch data and the page image are used to indicate generation of a thermodynamic diagram representing a touch condition of the second page.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above-described information collecting method. Here, the steps of the information collection method may be steps in the information collection methods of the respective embodiments described above.
In one embodiment, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, causes the processor to perform the steps of the above-described information collection method. Here, the steps of the information collection method may be steps in the information collection methods of the respective embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. An information collection method, comprising:
detecting an operation event acting on the touch screen through a first page of an application program to obtain touch data;
acquiring a page image of a second page of the application program, wherein the first page covers the second page;
sending the touch data and the page image to a server; wherein the touch data and the page image are used to indicate generation of a thermodynamic diagram representing a touch condition of the second page.
2. The method of claim 1, wherein the first page is a transparent page.
3. The method of claim 1, wherein the first page is the same size as a touch screen of a computer device or the first page overlays the entire second page.
4. The method according to claim 1, wherein detecting an operation event acting on the touch screen through the first page of the application program to obtain touch data comprises:
and when the first page is the same as the touch screen of the computer equipment in size and the second page is smaller than the first page, detecting an operation event acting on an area corresponding to the second page through the first page to obtain touch data.
5. The method of claim 1, wherein the touch data comprises position data of a touch; the thermodynamic diagram is generated according to the number of times that each area in the page image is touched, and the number of times that each area in the page image is touched is obtained through statistics according to each position data.
6. The method according to claim 1, after detecting an operation event applied to the touch screen through the first page of the application program to obtain the touch data, further comprising:
transmitting the touch data to the second page through the first page;
and controlling the second page to respond to the touch data.
7. The method of claim 6, further comprising, prior to the passthrough of the touch data to the second page via the first page:
acquiring a distribution function value through the first page;
when the distribution function value is a distribution parameter value, the step of transmitting the touch data to the second page through the first page is executed;
and when the distribution function value is an interception parameter value, intercepting the touch data.
8. The method of claim 1, further comprising:
detecting the second page;
and when the second page is transformed into another second page, executing the step of acquiring the page image of the second page of the application program on the transformed second page.
9. The method of claim 1, further comprising:
establishing a corresponding relation between the touch data and the page image;
the thermodynamic diagram is generated from the acquired page images and the corresponding touch data.
10. The method of claim 9, further comprising:
storing the touch data and the corresponding page image;
and sending the stored touch data and the corresponding page image to a server at preset time intervals.
11. An information collection apparatus, characterized in that the apparatus comprises:
the touch screen comprises a detection module, a processing module and a display module, wherein the detection module is used for detecting an operation event acting on the touch screen through a first page of an application program to obtain touch data;
the page image acquisition module is used for acquiring a page image of a second page of the application program, and the first page covers the second page;
the sending module is used for sending the touch data and the page image to a server; wherein the touch data and the page image are used to indicate generation of a thermodynamic diagram representing a touch condition of the second page.
12. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 10.
13. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 10.
CN201910635984.3A 2019-07-15 2019-07-15 Information collection method and device, computer readable storage medium and computer equipment Pending CN111190531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910635984.3A CN111190531A (en) 2019-07-15 2019-07-15 Information collection method and device, computer readable storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910635984.3A CN111190531A (en) 2019-07-15 2019-07-15 Information collection method and device, computer readable storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN111190531A true CN111190531A (en) 2020-05-22

Family

ID=70705746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910635984.3A Pending CN111190531A (en) 2019-07-15 2019-07-15 Information collection method and device, computer readable storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN111190531A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394864A (en) * 2020-07-22 2021-02-23 招联消费金融有限公司 Information acquisition method and device, computer equipment and storage medium
CN112506370A (en) * 2020-11-20 2021-03-16 广州朗国电子科技有限公司 Real-time recording storage method and device based on touch screen and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446979A (en) * 2008-12-26 2009-06-03 北京科尔威视网络科技有限公司 Method for dynamic hotspot tracking
CN103618773A (en) * 2013-11-19 2014-03-05 北京国双科技有限公司 Display method, device and system for thermodynamic diagrams
US20140068498A1 (en) * 2012-09-06 2014-03-06 Apple Inc. Techniques for capturing and displaying user interaction data
CN105867751A (en) * 2015-01-20 2016-08-17 腾讯科技(深圳)有限公司 Method and device for processing operation information
CN106557484A (en) * 2015-09-25 2017-04-05 北京国双科技有限公司 The update method and device of webpage thermodynamic Background

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446979A (en) * 2008-12-26 2009-06-03 北京科尔威视网络科技有限公司 Method for dynamic hotspot tracking
US20140068498A1 (en) * 2012-09-06 2014-03-06 Apple Inc. Techniques for capturing and displaying user interaction data
CN103618773A (en) * 2013-11-19 2014-03-05 北京国双科技有限公司 Display method, device and system for thermodynamic diagrams
CN105867751A (en) * 2015-01-20 2016-08-17 腾讯科技(深圳)有限公司 Method and device for processing operation information
CN106557484A (en) * 2015-09-25 2017-04-05 北京国双科技有限公司 The update method and device of webpage thermodynamic Background

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394864A (en) * 2020-07-22 2021-02-23 招联消费金融有限公司 Information acquisition method and device, computer equipment and storage medium
CN112506370A (en) * 2020-11-20 2021-03-16 广州朗国电子科技有限公司 Real-time recording storage method and device based on touch screen and storage medium

Similar Documents

Publication Publication Date Title
CN110659092B (en) Webpage screenshot method and device, computer equipment and storage medium
CN106485173B (en) Sensitive information display method and device
CN110134656B (en) Page control method and device, computer readable storage medium and computer equipment
CN112019820B (en) Interface generation method and device
CN104333449A (en) Picture encryption method and system
CN111190531A (en) Information collection method and device, computer readable storage medium and computer equipment
CN104679416A (en) Mobile terminal and screen control method thereof
CN112306607A (en) Screenshot method and device, electronic equipment and readable storage medium
CN106201207A (en) A kind of virtual reality exchange method and device
CN111309226A (en) Terminal control method and device based on communication quality, terminal and computer equipment
CN110659188B (en) Page portrait data processing method and device, computer equipment and storage medium
CN113179205A (en) Image sharing method and device and electronic equipment
CN112764857A (en) Information processing method and device and electronic equipment
CN105786354B (en) A kind of hiden application deployment method and device
CN109726231A (en) Work order data display method, device, computer equipment and storage medium
CN103558957A (en) Method and device for screen operation of mobile terminal
CN112684963A (en) Screenshot method and device and electronic equipment
CN106569714A (en) Mobile terminal and touch operation processing method
CN115640092A (en) Interface display method and device, electronic equipment and readable storage medium
CN111966259B (en) Screenshot method and device and electronic equipment
TW201901485A (en) Input interface display system and method for portable device
CN114491218A (en) Information updating method, information updating device, electronic device, and medium
CN108363484B (en) Control method, device and system of non-touch display screen equipment and computer equipment
CN112771487B (en) Application control method, computer-readable storage medium, and electronic device
CN113037806A (en) Network data transmission method and device for handheld XRF spectrometer and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522