CN112395346A - Method for collecting data of multi-terminal user - Google Patents
Method for collecting data of multi-terminal user Download PDFInfo
- Publication number
- CN112395346A CN112395346A CN202011455751.4A CN202011455751A CN112395346A CN 112395346 A CN112395346 A CN 112395346A CN 202011455751 A CN202011455751 A CN 202011455751A CN 112395346 A CN112395346 A CN 112395346A
- Authority
- CN
- China
- Prior art keywords
- application
- user
- user data
- sdk
- application front
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
Abstract
The invention relates to data acquisition, in particular to a method for acquiring multi-end user data.
Description
Technical Field
The invention relates to data acquisition, in particular to a method for acquiring data of a multi-terminal user.
Background
With the development of computer technology, the application of multi-end isomorphic technology is more and more extensive, and in many scenes, the same function is generally required to be realized on multiple ends, for example, a webpage end, an application end and an applet end can all access a certain same advertisement function. In order to collect multi-terminal user data, engineering files for realizing user data collection need to be deployed on servers corresponding to multiple terminals, so that a technician needs to develop one engineering file for realizing user data collection for each terminal, the development time required in the process is long, the labor cost needs to be greatly consumed, and the universality of the engineering files is poor.
Disclosure of Invention
The technical problems solved by the invention are as follows: the method for collecting the multi-end user data solves the problem that technicians need to develop an engineering file for realizing user data collection for each end respectively when collecting the multi-end user data.
The invention adopts the technical scheme for solving the technical problems that: the method for collecting the data of the multi-terminal user comprises the following steps:
s01, the application back end generates a specification file of an open application programming interface OpenAPI;
s02, a developer writes a Software Development Kit (SDK) which can be embedded and used by an application front end according to an OpenAPI specification file, wherein the SDK is used for collecting user data;
s04, introducing an SDK (software development kit) into a user login page of the application front end, calling an OpenAPI (application programming interface) by the application front end when a user logs in, acquiring user data through the SDK, encrypting and sending the user data to the application back end;
and S05, the application back end receives the information collected by the SDK and stores the information in the database.
Further, the user data includes application front-end browser unique identifiers (evencookies), application front-end browser tab canvas, application front-end device serial numbers, application front-end password box input time intervals, user mouse movement tracks, user names, user mailboxes and/or user phones.
Furthermore, a POST request is sent in a mode of sending data to the application back end by the application front end, and the POST request format is a JSON format.
The invention has the beneficial effects that: according to the method for acquiring the multi-end user data, the SDK is introduced into the front-end user login page to acquire the user data, so that the problem that technicians develop an engineering file for realizing user data acquisition for each end is solved, the time cost and the labor cost of multi-end user data acquisition are reduced, and the universality of the SDK is high.
Drawings
FIG. 1 is a flow chart of a method of multi-terminal user data acquisition of the present invention.
Detailed Description
The invention provides a method for collecting multi-end user data, which solves the problem that technicians need to respectively develop an engineering file for realizing user data collection for each end when collecting the multi-end user data, and comprises the following steps:
s01, the application back end generates a specification file of an open application programming interface OpenAPI;
s02, a developer writes a Software Development Kit (SDK) which can be embedded and used by an application front end according to an OpenAPI specification file, wherein the SDK is used for collecting user data;
s04, introducing an SDK (software development kit) into a user login page of the application front end, calling an OpenAPI (application programming interface) by the application front end when a user logs in, acquiring user data through the SDK, encrypting and sending the user data to the application back end;
and S05, the application back end receives the information collected by the SDK and stores the information in the database.
Specifically, the collected user data is different for different applications, and the user data includes application front-end browser unique identifiers (evencookies), application front-end browser tag canvas, application front-end device serial numbers, application front-end password box input time intervals, user mouse movement tracks, user names, user mailboxes and/or user telephones.
Specifically, in step S04, the POST request is sent by the application front end to the application back end, and the POST request format is JSON format.
Specifically, as shown in fig. 1, firstly, an OpenAPI specification file is generated by the application back end, then, a developer compiles a software development kit SDK that can be embedded and used by the front end according to the OpenAPI specification file, next, the developer introduces the SDK into a front-end user login page, when the user logs in, the front end calls an OpenAPI interface, user data is collected through the SDK, the user data includes an application front-end browser unique identifier (eviscooks), an application front-end browser tag canvas, an application front-end device serial number, an application front-end password box input time interval, a user mouse moving track, a user name, a user mailbox and/or a user telephone, is encrypted and sent to the application back end, and finally, the back end receives and stores information collected by the SDK in a database, thereby completing user data collection and storage.
Claims (3)
1. The method for collecting the multi-terminal user data comprises a webpage terminal, an application terminal and an applet terminal, and is characterized by comprising the following steps of:
s01, the application back end generates a specification file of an open application programming interface OpenAPI;
s02, a developer writes a Software Development Kit (SDK) which can be embedded and used by an application front end according to an OpenAPI specification file, wherein the SDK is used for collecting user data;
s04, introducing an SDK (software development kit) into a user login page of the application front end, calling an OpenAPI (application programming interface) by the application front end when a user logs in, acquiring user data through the SDK, encrypting and sending the user data to the application back end;
and S05, the application back end receives the information collected by the SDK and stores the information in the database.
2. The method for multi-end user data collection according to claim 1, wherein the user data in step S03 includes application front-end browser unique identifiers (evencookies), application front-end browser tags (canvas), application front-end device serial numbers (sdn' S), application front-end password box entry time intervals, user mouse movement tracks, user names, user mailboxes and/or user phones.
3. The method for multi-end user data collection according to claim 1, wherein in step S04, the method for sending data from the application front end to the application back end is to send a POST request, and the POST request format is JSON format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011455751.4A CN112395346A (en) | 2020-12-10 | 2020-12-10 | Method for collecting data of multi-terminal user |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011455751.4A CN112395346A (en) | 2020-12-10 | 2020-12-10 | Method for collecting data of multi-terminal user |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112395346A true CN112395346A (en) | 2021-02-23 |
Family
ID=74625202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011455751.4A Pending CN112395346A (en) | 2020-12-10 | 2020-12-10 | Method for collecting data of multi-terminal user |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112395346A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014082555A1 (en) * | 2012-11-30 | 2014-06-05 | 腾讯科技(深圳)有限公司 | Login method, device and open platform system |
CN104899325A (en) * | 2015-06-19 | 2015-09-09 | 上海卓悠网络科技有限公司 | APP (application) acquired data collection method, terminal, server and system |
CN106611345A (en) * | 2015-10-23 | 2017-05-03 | 北京国双科技有限公司 | A method and apparatus for acquiring user behavior data |
CN111708846A (en) * | 2020-05-14 | 2020-09-25 | 北京嗨学网教育科技股份有限公司 | Multi-terminal data management method and device |
CN111767035A (en) * | 2020-06-22 | 2020-10-13 | 星辰天合(北京)数据科技有限公司 | Application interface docking method and device based on OpenAPI |
-
2020
- 2020-12-10 CN CN202011455751.4A patent/CN112395346A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014082555A1 (en) * | 2012-11-30 | 2014-06-05 | 腾讯科技(深圳)有限公司 | Login method, device and open platform system |
CN104899325A (en) * | 2015-06-19 | 2015-09-09 | 上海卓悠网络科技有限公司 | APP (application) acquired data collection method, terminal, server and system |
CN106611345A (en) * | 2015-10-23 | 2017-05-03 | 北京国双科技有限公司 | A method and apparatus for acquiring user behavior data |
CN111708846A (en) * | 2020-05-14 | 2020-09-25 | 北京嗨学网教育科技股份有限公司 | Multi-terminal data management method and device |
CN111767035A (en) * | 2020-06-22 | 2020-10-13 | 星辰天合(北京)数据科技有限公司 | Application interface docking method and device based on OpenAPI |
Non-Patent Citations (1)
Title |
---|
ZXLYECF2: "QQ登录JS SDK相关,调用openapi接口", 《HTTPS://WWW.ITEYE.COM/BLOG/ZXLYECF2-2112482》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106375458B (en) | Service calling system, method and device | |
CN104572688A (en) | Information push method and device | |
CN106453411B (en) | A kind of Short Message Service Gateway cut-in method that supporting multichannel and system | |
CN109670112A (en) | A kind of generation method, device, storage medium and the terminal of user's portrait ID | |
CN105357204A (en) | Method and apparatus for generating terminal identifying information | |
CN110941563A (en) | Automatic script testing method and device | |
CN109769244A (en) | Recognition methods, device, equipment and the readable storage medium storing program for executing of abnormal phonecard | |
CN103369118B (en) | Come electric management system and its call management method | |
CN108830562B (en) | Attendance card punching method and related equipment | |
CN116204438A (en) | Test case generation method, automatic test method and related device | |
CN108259942A (en) | Obtain the method, apparatus and system of preview advertisement | |
CN111291157A (en) | Response method, response device, terminal and storage medium | |
CN108549586B (en) | Information processing method and device | |
CN113704339A (en) | Recording of read information status, apparatus, device and storage medium | |
CN112395346A (en) | Method for collecting data of multi-terminal user | |
CN106997572A (en) | A kind of campus intelligence PAD terminals and its management system and method | |
CN110557351A (en) | Method and apparatus for generating information | |
CN108810105A (en) | For pushed information, the method and apparatus for showing information | |
CN114968822A (en) | Interface testing method and device, computer equipment and storage medium | |
CN108400901A (en) | Test method, terminal device and the computer readable storage medium of application | |
CN114416597A (en) | Test case record generation method and device | |
CN110020166A (en) | A kind of data analysing method and relevant device | |
CN112468387A (en) | Template message sending method, computer equipment and computer storage medium | |
CN114221883A (en) | Message testing method, device, server and storage medium | |
CN103326892A (en) | Web interface operation method and device |
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: 20210223 |