CN109213662A - A kind of user's touch-control behavioral data collection method and terminal - Google Patents

A kind of user's touch-control behavioral data collection method and terminal Download PDF

Info

Publication number
CN109213662A
CN109213662A CN201710555560.7A CN201710555560A CN109213662A CN 109213662 A CN109213662 A CN 109213662A CN 201710555560 A CN201710555560 A CN 201710555560A CN 109213662 A CN109213662 A CN 109213662A
Authority
CN
China
Prior art keywords
user
control operation
touch control
touch
operation event
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
CN201710555560.7A
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.)
Shenzhen TCL High-Tech Development Co Ltd
Original Assignee
Shenzhen TCL High-Tech Development 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 Shenzhen TCL High-Tech Development Co Ltd filed Critical Shenzhen TCL High-Tech Development Co Ltd
Priority to CN201710555560.7A priority Critical patent/CN109213662A/en
Publication of CN109213662A publication Critical patent/CN109213662A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of user's touch-control behavioral data collection method and terminals, are related to field of computer technology.If wherein method includes: that user's touch control operation event has occurred on the active window for detect APP, the touch event transmission function of active window is called to handle user's touch control operation case distribution to corresponding view;After the completion of user's touch control operation case distribution, information relevant to user's touch control operation event is obtained, the temporal information that the process number of APP and event where wherein information includes at least the target view of final process user touch control operation event, touch control operation event occur;Information relevant to user's touch control operation event is sent to destination server, makes destination server according to the potential behavior for the information analysis user relevant to user's touch control operation event being collected into.The embodiment of the present invention can reduce the workload of developer, improve the execution efficiency of data collection, and the ID without obtaining target widget in APP in advance, high stability.

Description

A kind of user's touch-control behavioral data collection method and terminal
Technical field
The present invention relates to field of computer technology more particularly to a kind of user's touch-control behavioral data collection methods and terminal.
Background technique
The related data for collecting user's operation APP, estimates the potential behavior of user and control, according to user behavior Direction optimizes APP, and better service can be provided for user.Wherein, the related data of collection user's operation APP substantially includes The click behaviour of user in the installation unloading data of APP, the starting closing number of APP, APP exception crash info and the APP page Make behavior.
Since the spatial complex inside the APP page is various, clicking operation behavioral data of the user in the APP page is received Collection gets up the most difficult.Currently, the method for collecting the clicking operation behavioral data of user in the APP page mainly has following three kinds:
The first is to bury point mode.Which needs developer to be manually added to target widget in APP for code is acquired In event response function, it can accurately be collected into the clicking operation behavioral data of user, but big for control quantity answer With adding heavy workload, the time-consuming of code;
Second is code reflection mode.Which obtains object event information using code reflection mode, but needs First know the ID title of target widget in APP, if the ID title of target widget changes, can not accurately be collected into user's Clicking operation behavioral data;
The third is, the accessible ancillary service of the AccessibilityService of calling system is collected.Wherein, AccessibilityService is the Barrier-free Service that Android system provides, and can be become with a series of states at monitoring users interface Change, when having listened to click event and occurring, it be compared to object event and collected information, which firstly the need of with The manually opened service in family, further needs exist for the ID title for knowing target widget in advance, if user be not turned on the service or The ID title of target widget changes, and can all lead to not the clicking operation behavioral data for being accurately collected into user.
To sum up, use in the prior art collect the APP page in user clicking operation behavioral data method there are Heavy workload, the efficiency of developer's addition code are lower and need the manual open system of user AccessibilityService service, and in APP when the ID title transmission variation of target widget, being easy to appear can not be accurate The problem of being collected into the clicking operation behavioral data of user.
Summary of the invention
The embodiment of the present invention provides a kind of user's touch-control behavioral data collection method and terminal, it is intended to solve above-mentioned developer Heavy workload, the efficiency of addition code are lower and the AccessibilityService of the manual open system of user is needed to take Business, and the clicking operation row that can not be accurately collected into user is easy to appear when the ID title transmission variation of target widget in APP The problem of for data.
In a first aspect, the embodiment of the invention provides a kind of user's touch-control behavioral data collection methods, this method comprises:
User's touch control operation event has occurred on the active window of APP if detecting, calls the touching of the active window It touches event transmission function and handles user's touch control operation case distribution to corresponding view;
After the completion of user's touch control operation case distribution, letter relevant to user's touch control operation event is obtained Breath, wherein information relevant to user's touch control operation event includes at least user's touch control operation event described in final process The temporal information that the process number of APP where target view, the touch control operation event and event occur;
Information relevant to user's touch control operation event is sent to destination server, makes the destination server root According to the potential behavior for the information analysis user relevant to user's touch control operation event being collected into.
Second aspect, the embodiment of the invention provides a kind of terminal, which includes:
Case distribution unit calls if user's touch control operation event has occurred on active window for detecting APP The touch event transmission function of the active window handles user's touch control operation case distribution to corresponding view;
Information acquisition unit, for obtaining and user's touch-control after the completion of user's touch control operation case distribution The relevant information of action event is used described in final process wherein information relevant to user's touch control operation event includes at least The temporal information that the process number of APP where the target view of family touch control operation event, the touch control operation event and event occur;
Information uploading unit, for information relevant to user's touch control operation event to be sent to destination server, Make the destination server according to the potential row for the information analysis user relevant to user's touch control operation event being collected into For.
The third aspect, the embodiment of the invention provides another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing branch The application program instructions that terminal executes the above method are held, the processor is configured for that the application program instructions is called to execute The method of above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer storage medium It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor State the method that processor executes above-mentioned first aspect.
If the embodiment of the present invention, which passes through, has occurred user's touch control operation event on the active window for detecting APP, call The touch event transmission function of the active window handles user's touch control operation case distribution to corresponding view; After the completion of user's touch control operation case distribution, information relevant to user's touch control operation event is obtained, wherein with The relevant information of user's touch control operation event include at least user's touch control operation event described in final process target view, The temporal information that the process number of APP where the touch control operation event and event occur;It will be with user's touch control operation event Relevant information is sent to destination server, makes the destination server according to being collected into user's touch control operation event The potential behavior of relevant information analysis user, so as to which user's touch-control behavioral data collecting function to be integrated into the behaviour of terminal Make in system, user's touch-control behavioral data on APP is uniformly collected by the operating system of terminal, effectively reduces developer's Workload improves the execution efficiency of user's touch-control behavioral data collection, and the ID without obtaining target widget in APP in advance, High stability.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is that the embodiment of the present invention one provides a kind of schematic flow diagram of user's touch-control behavioral data collection method;
Fig. 2 is that second embodiment of the present invention provides a kind of schematic flow diagrams of user's touch-control behavioral data collection method;
Fig. 3 is a kind of schematic block diagram for terminal that the embodiment of the present invention three provides;
Fig. 4 is a kind of schematic block diagram for terminal that the embodiment of the present invention four provides;
Fig. 5 is a kind of schematic block diagram for terminal that the embodiment of the present invention five provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but there is touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal may include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be executed at the terminal can be used such as touch sensitive surface at least one is public Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch Sensing surface) it can support the various application programs with user interface intuitive and transparent for a user.
It is that the embodiment of the present invention one provides a kind of schematic flow diagram of user's touch-control behavioral data collection method referring to Fig. 1. As shown in Figure 1, this method can include:
Step S101 has occurred user's touch control operation event if detecting, calls the activity on the active window of APP The touch event transmission function of window handles user's touch control operation case distribution to corresponding view.
In the present embodiment, when user's touch control operation event has occurred on the active window Activity for detecting APP, The touch event transmission function dispatchTouchEvent () of the Activity is called to transmit user's touch control operation event The view for being included to the Activity;If the view in the Activity is not all to user's touch control operation thing Part is intercepted, then the onTouchEvent () of the Activity is called to handle user's touch control operation event; If the view of the Activity intercepts or consumed the event, the onTouchEvent of the Activity is not executed ().Further, call the touch event transmission function dispatchTouchEvent () of the Activity by user's touch-control Action event passes to the view that the Activity is included and specifically includes:
The Activity passes through calling when transmitting user's touch control operation event by dispatchTouchEvent () The superDispatchTouchEvent () of the affiliated Window of Activity, and then call and arrive Window's The superDispatchTouchEvent () of DecorView, further call again arrive ViewGroup's DispatchTouchEvent () is wrapped user's touch control operation Time Transmission in the Activity to it to realize The View or ViewGroup contained.
Step S102 is obtained and user's touch control operation event after the completion of user's touch control operation case distribution Relevant information, wherein information relevant to user's touch control operation event includes at least the behaviour of user's touch-control described in final process Make the temporal information that the target view of event, the process number of touch control operation event place APP and event occur.
In the present embodiment, after ViewGroup finds target view, target view can be stored in TouchTarget In variable, therefore we are collected into the target view of touch control operation event described in final process that target can be obtained The relevant information of TouchTarget.
Further, in the present embodiment, it is mainly realized in DispatchTouchEvent () method of ViewGroup The collection of information relevant to user's touch control operation event.
Information relevant to user's touch control operation event is sent to destination server, makes the mesh by step S103 Server is marked according to the potential behavior for the information analysis user relevant to user's touch control operation event being collected into.
In the present embodiment, it is previously stored with the destination server path in terminal, the terminal is being collected into and institute It, will be with user's touch control operation event according to the destination server path after stating the relevant information of user's touch control operation event Relevant information is sent to the destination server, makes the destination server according to receiving with user's touch control operation thing The relevant information analysis of part, arrangement and the potential behavior for showing user.
In the present embodiment, the pre-stored destination server path can be first passed through in advance institute by user in the terminal APP is stated to be arranged, the settable different destination server path different APP.
Above as can be seen that if a kind of user's touch-control behavioral data collection method provided in this embodiment is due to passing through detection User's touch control operation event has occurred on to the active window of APP, then calls the touch event transmission function of the active window User's touch control operation case distribution is handled to corresponding view;It is completed in user's touch control operation case distribution Afterwards, information relevant to user's touch control operation event is obtained, wherein information relevant to user's touch control operation event Including at least the process of APP where the target view of user's touch control operation event described in final process, the touch control operation event Number and event occur temporal information;Information relevant to user's touch control operation event is sent to destination server, is made The destination server according to the potential behavior of the information analysis user relevant to user's touch control operation event being collected into, It is unified by the operating system of terminal so as to which user's touch-control behavioral data collecting function to be integrated into the operating system of terminal User's touch-control behavioral data on APP is collected, the workload of developer is effectively reduced, improves user's touch-control behavioral data The execution efficiency of collection, and the ID without obtaining target widget in APP in advance, high stability.
Fig. 2 is a kind of schematic flow diagram of user's touch-control behavioral data collection method provided by Embodiment 2 of the present invention.Ginseng As shown in Figure 2, this method may comprise steps of:
Step S201 has occurred user's touch control operation event if detecting, calls the activity on the active window of APP The touch event transmission function of window handles user's touch control operation case distribution to corresponding view.The step Implementation is identical with the implementation of step S101 in a upper embodiment, therefore repeats no more again.
Step S202, judges whether the APP opens user data collection permission;If opening user data collection power Limit, then enter step S203;If not opening user data collection permission, terminate process, does not collect user's touch-control behavioral data.
In the present embodiment, user data collection authority application unit is provided in the APP, the user on collecting APP Need to open the number of users of the APP before touch-control behavior by the user data collection authority application unit application of the APP According to collection permission.Before the user behavior data for collecting the APP, judge the APP is the operating system of the terminal It is no to open user data collection permission, if opening user data collection permission, enter in step S203 to the APP User's touch control operation event of upper generation is collected;It returns, terminates process, do not collect the user's touch-control occurred on the APP Action event.Wherein, the operating system of the terminal includes but is not limited to Android system.
Step S203 is obtained and user's touch control operation event after the completion of user's touch control operation case distribution Relevant information, wherein information relevant to user's touch control operation event includes at least the behaviour of user's touch-control described in final process Make the temporal information that the target view of event, the process number of touch control operation event place APP and event occur.The step Implementation is identical with the implementation of step S102 in a upper embodiment, and details are not described herein.
Step S204 is deposited according to preset storage mode pair information relevant to user's touch control operation event Storage, wherein the preset storage mode includes carrying out data storage using file or database mode.
In the present embodiment, the information relevant to user's touch control operation event being collected into is stored, rather than The information relevant to user's touch control operation event being collected into directly is sent to destination server, it in this way can be in order to subsequent Interval is uploaded according to preset data, and the data collected whithin a period of time are sent to destination server together.
Step S205 uploads spacing parameter according to preset destination server path and data, will be with user's touch-control The relevant information of action event is sent to the destination server, makes the destination server according to being collected into the user The potential behavior of the relevant information analysis user of touch control operation event.
In the present embodiment, user can first pass through the APP in advance and be arranged between the destination server path and data upload Every parameter.The terminal, can be according to the destination service after being collected into information relevant to user's touch control operation event Device path and the data upload spacing parameter and information relevant to user's touch control operation event are uploaded to the target Server.The destination server, can be according to reception after receiving information relevant to user's touch control operation event To information analysis relevant to user's touch control operation event, arrangement and the potential behavior for showing user.
Above as can be seen that a kind of user's touch-control behavioral data collection method provided in this embodiment equally can be by user Touch-control behavioral data collecting function is integrated into the operating system of terminal, and the use on APP is uniformly collected by the operating system of terminal Family touch-control behavioral data, effectively reduces the workload of developer, and improve the collection of user's touch-control behavioral data executes effect Rate, and the ID without obtaining target widget in APP in advance, high stability.
Fig. 3 is a kind of schematic block diagram for terminal that the embodiment of the present invention three provides.It illustrate only for ease of description Part related to the present embodiment.
It is shown in Figure 3, a kind of terminal 100 provided in this embodiment, comprising:
Case distribution unit 11 is adjusted if user's touch control operation event has occurred on active window for detecting APP User's touch control operation case distribution is given at corresponding view with the touch event transmission function of the active window Reason;
Information acquisition unit 12, for obtaining and being touched with the user after the completion of user's touch control operation case distribution The relevant information of action event is controlled, wherein information relevant to user's touch control operation event includes at least described in final process The time letter that the process number of APP where the target view of user's touch control operation event, the touch control operation event and event occur Breath;
Information uploading unit 13, for information relevant to user's touch control operation event to be sent to destination service Device makes the destination server according to the potential of the information analysis user relevant to user's touch control operation event being collected into Behavior.
Optionally, shown in Figure 4, in another embodiment, the terminal 100 further includes rights management unit 14, is used In:
Judge whether the APP opens user data collection permission;
If opening user data collection permission, controls the information acquisition unit and obtain and user's touch control operation event Relevant information;
If not opening user data collection permission, the information acquisition unit is forbidden to obtain and user's touch control operation event Relevant information.
Optionally, the information uploading unit 13 is specifically used for:
Spacing parameter is uploaded according to preset destination server path and data, it will be with user's touch control operation event phase The information of pass is sent to the destination server.
Optionally, the terminal 100 further include:
Storage unit 15, for according to preset storage mode pair information relevant to user's touch control operation event into Row storage, wherein the preset storage mode includes carrying out data storage using file or database mode.
It should be noted that each unit in above-mentioned terminal provided in an embodiment of the present invention, due to the method for the present invention Embodiment is based on same design, and bring technical effect is identical as embodiment of the present invention method, and particular content can be found in this hair Narration in bright embodiment of the method, details are not described herein again.
Above as can be seen that the present embodiment provides terminals can equally be integrated into user's touch-control behavioral data collecting function In the operating system of terminal, user's touch-control behavioral data on APP is uniformly collected by the operating system of terminal, is effectively reduced The workload of developer improves the execution efficiency of user's touch-control behavioral data collection, and without obtaining target control in APP in advance The ID of part, high stability.
It is a kind of terminal schematic block diagram that the embodiment of the present invention five provides referring to Fig. 5.As shown in figure 5, in the present embodiment Terminal may include: one or more processors 501;One or more input equipments 502, one or more output equipments 503 and memory 504.Above-mentioned processor 501, input equipment 502, output equipment 503 and memory 504 are connected by bus 505 It connects.Memory 502 refers to for storing application program instructions, the application program that processor 501 is used to execute the storage of memory 502 It enables.Wherein, the processor 501 is used for:
User's touch control operation event has occurred on the active window of APP if detecting, calls the touching of the active window It touches event transmission function and handles user's touch control operation case distribution to corresponding view;
After the completion of user's touch control operation case distribution, letter relevant to user's touch control operation event is obtained Breath, wherein information relevant to user's touch control operation event includes at least user's touch control operation event described in final process The temporal information that the process number of APP where target view, the touch control operation event and event occur;
Information relevant to user's touch control operation event is sent to destination server, makes the destination server root According to the potential behavior for the information analysis user relevant to user's touch control operation event being collected into.
Optionally, the processor 501 is also used to:
Judge whether the APP opens user data collection permission;
If opening user data collection permission, enter acquisition information relevant to user's touch control operation event Step;
If not opening user data collection permission, terminate process, does not collect user's touch-control behavioral data.
Optionally, the processor 501 is also used to:
Spacing parameter is uploaded according to preset destination server path and data, it will be with user's touch control operation event phase The information of pass is sent to the destination server.
Optionally, the processor 501 is also used to:
It is stored according to preset storage mode pair information relevant to user's touch control operation event, wherein described Preset storage mode includes carrying out data storage using file or database mode.
It should be appreciated that in embodiments of the present invention, alleged processor 501 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 502 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 503 may include display (LCD etc.), loudspeaker etc..
The memory 504 may include read-only memory and random access memory, and to processor 501 provide instruction and Data.The a part of of memory 504 can also include nonvolatile RAM.For example, memory 504 can also be deposited Store up the information of device type.
In the specific implementation, processor 501 described in the embodiment of the present invention, input equipment 502, output equipment 503 can Implementation described in the first embodiment and second embodiment of method provided in an embodiment of the present invention is executed, can also be held The implementation of terminal described in the row embodiment of the present invention, details are not described herein.
A kind of computer readable storage medium, the computer readable storage medium are provided in the embodiment of the present invention six It is stored with computer program, the realization when computer program is executed by processor:
User's touch control operation event has occurred on the active window of APP if detecting, calls the touching of the active window It touches event transmission function and handles user's touch control operation case distribution to corresponding view;
After the completion of user's touch control operation case distribution, letter relevant to user's touch control operation event is obtained Breath, wherein information relevant to user's touch control operation event includes at least user's touch control operation event described in final process The temporal information that the process number of APP where target view, the touch control operation event and event occur;
Information relevant to user's touch control operation event is sent to destination server, makes the destination server root According to the potential behavior for the information analysis user relevant to user's touch control operation event being collected into.
Optionally, the realization when computer program is executed by processor:
Judge whether the APP opens user data collection permission;
If opening user data collection permission, enter acquisition information relevant to user's touch control operation event Step;
If not opening user data collection permission, terminate process, does not collect user's touch-control behavioral data.
Optionally, the realization when computer program is executed by processor:
Spacing parameter is uploaded according to preset destination server path and data, it will be with user's touch control operation event phase The information of pass is sent to the destination server.
Optionally, the realization when computer program is executed by processor:
It is stored according to preset storage mode pair information relevant to user's touch control operation event, wherein described Preset storage mode includes carrying out data storage using file or database mode.
The computer readable storage medium can be the internal storage unit of terminal described in aforementioned any embodiment, example Such as the hard disk or memory of terminal.The computer readable storage medium is also possible to the External memory equipment of the terminal, such as The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description terminal It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.In addition, shown or discussed phase Mutually between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication of device or unit Connection is also possible to electricity, mechanical or other form connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of user's touch-control behavioral data collection method characterized by comprising
User's touch control operation event has occurred on the active window of APP if detecting, calls the touch thing of the active window Part transmission function handles user's touch control operation case distribution to corresponding view;
After the completion of user's touch control operation case distribution, information relevant to user's touch control operation event is obtained, In information relevant to user's touch control operation event include at least final process described in user's touch control operation event target The temporal information that the process number of APP where view, the touch control operation event and event occur;
Information relevant to user's touch control operation event is sent to destination server, makes the destination server according to receipts The potential behavior of the information analysis user relevant to user's touch control operation event collected.
2. user's touch-control behavioral data collection method according to claim 1, which is characterized in that if described detect APP On user's touch control operation event has occurred, then call touch event transmission function by user's touch control operation case distribution to phase After the view answered is handled further include:
Judge whether the APP opens user data collection permission;
If opening user data collection permission, enter the step for obtaining information relevant to user's touch control operation event Suddenly;
If not opening user data collection permission, terminate process, does not collect user's touch-control behavioral data.
3. user's touch-control behavioral data collection method according to claim 1, which is characterized in that it is described will be with the user The relevant information of touch control operation event is sent to destination server and includes:
Spacing parameter is uploaded according to preset destination server path and data, it will be relevant to user's touch control operation event Information is sent to the destination server.
4. user's touch-control behavioral data collection method according to claim 3, which is characterized in that described according to preset mesh It marks server path and data uploads spacing parameter, information relevant to user's touch control operation event is sent to the mesh Before mark server further include:
It is stored according to preset storage mode pair information relevant to user's touch control operation event, wherein described default Storage mode include carrying out data storage using file or database mode.
5. a kind of terminal characterized by comprising
Case distribution unit, if user's touch control operation event has occurred on active window for detecting APP, call described in The touch event transmission function of active window handles user's touch control operation case distribution to corresponding view;
Information acquisition unit, for obtaining and user's touch control operation after the completion of user's touch control operation case distribution The relevant information of event, wherein information relevant to user's touch control operation event includes at least the touching of user described in final process Control the temporal information that the target view of action event, the process number of touch control operation event place APP and event occur;
Information uploading unit makes institute for information relevant to user's touch control operation event to be sent to destination server Destination server is stated according to the potential behavior for the information analysis user relevant to user's touch control operation event being collected into.
6. terminal according to claim 5, which is characterized in that further include rights management unit, be used for:
Judge whether the APP opens user data collection permission;
If opening user data collection permission, it is related to user's touch control operation event to control the information acquisition unit acquisition Information;
If not opening user data collection permission, the information acquisition unit is forbidden to obtain related to user's touch control operation event Information.
7. terminal according to claim 5, which is characterized in that the information uploading unit is specifically used for:
Spacing parameter is uploaded according to preset destination server path and data, it will be relevant to user's touch control operation event Information is sent to the destination server.
8. terminal according to claim 7, which is characterized in that further include:
Storage unit, for being deposited according to preset storage mode pair information relevant to user's touch control operation event Storage, wherein the preset storage mode includes carrying out data storage using file or database mode.
9. a kind of terminal, which is characterized in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein the memory is for storing application program instructions, the processing Device is configured for calling the application program instructions, executes method according to any of claims 1-4.
10. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor It is required that the described in any item methods of 1-4.
CN201710555560.7A 2017-07-07 2017-07-07 A kind of user's touch-control behavioral data collection method and terminal Pending CN109213662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710555560.7A CN109213662A (en) 2017-07-07 2017-07-07 A kind of user's touch-control behavioral data collection method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710555560.7A CN109213662A (en) 2017-07-07 2017-07-07 A kind of user's touch-control behavioral data collection method and terminal

Publications (1)

Publication Number Publication Date
CN109213662A true CN109213662A (en) 2019-01-15

Family

ID=64991649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710555560.7A Pending CN109213662A (en) 2017-07-07 2017-07-07 A kind of user's touch-control behavioral data collection method and terminal

Country Status (1)

Country Link
CN (1) CN109213662A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308954A (en) * 2019-05-24 2019-10-08 天津五八到家科技有限公司 Click event interception method, device and mobile terminal
CN112199562A (en) * 2020-10-23 2021-01-08 上海意略明数字科技股份有限公司 Method and device for acquiring and processing operation information of terminal, storage medium and computer equipment
CN112612558A (en) * 2020-12-28 2021-04-06 厦门市美亚柏科信息股份有限公司 Barrier-free service safety improving method, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867751A (en) * 2015-01-20 2016-08-17 腾讯科技(深圳)有限公司 Method and device for processing operation information
CN106557333A (en) * 2016-12-05 2017-04-05 武汉斗鱼网络科技有限公司 information collecting method and device
CN106844181A (en) * 2017-02-07 2017-06-13 网易(杭州)网络有限公司 Method, system and mobile terminal for recording user behavior
CN108632438A (en) * 2017-03-21 2018-10-09 Tcl集团股份有限公司 A kind of method and apparatus generating the interfaces APP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867751A (en) * 2015-01-20 2016-08-17 腾讯科技(深圳)有限公司 Method and device for processing operation information
CN106557333A (en) * 2016-12-05 2017-04-05 武汉斗鱼网络科技有限公司 information collecting method and device
CN106844181A (en) * 2017-02-07 2017-06-13 网易(杭州)网络有限公司 Method, system and mobile terminal for recording user behavior
CN108632438A (en) * 2017-03-21 2018-10-09 Tcl集团股份有限公司 A kind of method and apparatus generating the interfaces APP

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308954A (en) * 2019-05-24 2019-10-08 天津五八到家科技有限公司 Click event interception method, device and mobile terminal
CN112199562A (en) * 2020-10-23 2021-01-08 上海意略明数字科技股份有限公司 Method and device for acquiring and processing operation information of terminal, storage medium and computer equipment
CN112612558A (en) * 2020-12-28 2021-04-06 厦门市美亚柏科信息股份有限公司 Barrier-free service safety improving method, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107515890A (en) A kind of method and terminal for identifying resident point
CN107426322A (en) A kind of PUSH message target matching method, server, terminal and computer-readable recording medium
CN108073346A (en) A kind of record screen method, terminal and computer readable storage medium
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN110225104A (en) Data capture method, device and terminal device
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107479806A (en) The method and terminal of a kind of changing interface
US20150161123A1 (en) Techniques to diagnose live services
CN107168602A (en) One kind control application drawing calibration method and terminal
CN106453904A (en) Information reminding method and terminal
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN107480001A (en) System recovery method and device
CN107491324A (en) A kind of method and terminal for installing application program
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN106951550A (en) Data processing method, device and mobile terminal
CN107608719A (en) A kind of interface operation method, terminal and computer-readable recording medium
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN107368735A (en) One kind applies installation method, mobile terminal and computer-readable recording medium
CN108092911A (en) A kind of method, terminal and computer-readable medium for managing data traffic
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
CN106200976A (en) A kind of motion-activated method and terminal
CN109298907A (en) Application program display methods, application program display device and terminal
CN107368255B (en) Unlocking method, mobile terminal and computer readable storage medium
CN107783932A (en) Information processing method, mobile terminal and the computer-readable recording medium of calculator

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

Application publication date: 20190115

RJ01 Rejection of invention patent application after publication