CN107832380B - Data recording method - Google Patents
Data recording method Download PDFInfo
- Publication number
- CN107832380B CN107832380B CN201711036785.8A CN201711036785A CN107832380B CN 107832380 B CN107832380 B CN 107832380B CN 201711036785 A CN201711036785 A CN 201711036785A CN 107832380 B CN107832380 B CN 107832380B
- Authority
- CN
- China
- Prior art keywords
- search
- download
- record
- proxy server
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2462—Approximate or statistical queries
-
- 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/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Probability & Statistics with Applications (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Fuzzy Systems (AREA)
- Game Theory and Decision Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention relates to a data recording method, which comprises the following steps: a user terminal receives a search request input by a user and sends the search request to a proxy server; the proxy server analyzes the search request to obtain a search keyword and a proxy ID; generating a search record, establishing an association relation between the search record and the agent ID, and storing the association relation in a search record list; generating a search instruction and sending the search instruction to a data server; the data server acquires search result data and sends the search result data to the user terminal through the proxy server; a user terminal receives a downloading request input by a user and sends the downloading request to a proxy server; the proxy server analyzes the downloading request to obtain application information and a proxy ID; generating a download record, and establishing an association relation between the download record and the agent ID; generating a downloading instruction and sending the downloading instruction to a data server; the data server acquires the application download data and sends the application download data to the user terminal through the proxy server.
Description
Technical Field
The invention relates to the field of data processing, in particular to a data recording method.
Background
Due to the popularity of the mobile internet, various services APP are increasingly provided to be downloaded to mobile phones of people. Through using APP software, can solve the problem of different grade type in the life, can the abundant amateur life of amusement, become indispensable instrument in the life.
The downloading of the APP software needs to be realized through an application store with large resource amount and authoritative information, such as a hectic mobile phone assistant, but at present, the hectic mobile phone assistant API is not open to individuals or low-traffic users, and only enterprises with traffic are qualified to apply for the hectic mobile phone assistant API, so that great inconvenience is brought to the downloading of the users. Therefore, most application stores directly integrate hundreds of degrees of APIs into the APP of the application stores, an APP retrieval function is provided, but the access data of the user at the APP end cannot be recorded in the docking mode, and therefore statistical analysis cannot be carried out on the searching and downloading conditions of the APP.
Disclosure of Invention
The invention aims to provide a data recording method aiming at the defects of the prior art, which accurately records the searching and downloading conditions of a user through the association of a proxy ID and searching records and downloading records and is convenient for data statistics and analysis.
In view of this, an embodiment of the present invention provides a data recording method, including:
a user terminal receives a search request input by a user and sends the search request to a proxy server; the search request comprises search keywords; the search request carries an agent ID;
the proxy server analyzes the search request to obtain the search keyword and the proxy ID;
generating a search record according to the search keyword, establishing an association relation between the search record and the agent ID, and storing the association relation in a search record list;
generating a search instruction according to the search keyword, and sending the search instruction to a data server;
the data server acquires search result data according to the search keywords in the search instruction and sends the search result data to the user terminal through the proxy server;
the user terminal receives a downloading request input by a user and sends the downloading request to the proxy server; wherein, the download request comprises application information; the downloading request carries an agent ID;
the proxy server analyzes the downloading request to obtain the application information and the proxy ID;
generating a download record according to the application information, establishing an association relation between the download record and the agent ID, and storing the association relation in a download record list; and the number of the first and second electrodes,
generating a downloading instruction according to the application information, and sending the downloading instruction to the data server;
and the data server acquires application downloading data according to the application information in the downloading instruction and sends the application downloading data to the user terminal through the proxy server.
Preferably, before the user terminal receives a search request input by a user and sends the search request to the proxy server, the method further includes:
the user terminal receives registration information input by a user, generates a registration request according to the registration information and sends the registration request to the proxy server; the registration request comprises user information;
the proxy server returns proxy information to the user terminal according to the registration request; the agent information includes an agent ID.
Preferably, after the generating a search record according to the search keyword, establishing an association relationship between the search record and the agent ID, and storing the association relationship in a search record list, the method further includes:
the proxy server counts the search records corresponding to the proxy ID in the search record list according to a first preset time interval;
and deleting the search record in the search record list.
Preferably, after the generating a download record according to the application information, establishing an association relationship between the download record and the agent ID, and storing the association relationship in a download record list, the method further includes:
the proxy server carries out statistical analysis on the download records corresponding to the proxy ID in the download record list according to a second preset time interval;
and deleting the download records in the download record list.
Preferably, the method further comprises:
and the proxy server counts the download records according to the application information.
Further preferably, the counting the download records according to the application information specifically includes:
acquiring corresponding category information according to the application information;
establishing an association relation between the download record and the category information, and storing the association relation in the download record list;
and in the download record list, performing statistical analysis on the download records associated with the category information.
According to the data recording method provided by the embodiment of the invention, the search downloading condition of the user is accurately recorded through the association of the agent ID with the search record and the download record, so that the data statistics and analysis are facilitated.
Drawings
Fig. 1 is a flowchart of a data recording method according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Fig. 1 is a flowchart of a data recording method according to an embodiment of the present invention, as shown in fig. 1, including:
the terminal device may be specifically understood as a terminal device having input, display, communication and data processing functions, for example, a smart phone or other handheld terminal.
A proxy server refers to a server that has access to download rights to a data server, which refers to a server with a large number of authoritative application resources, such as a hundredth cell phone assistant, that is not open to individuals or low traffic users.
Specifically, a user can click an APP of an application store on a user terminal, the user terminal generates a user interface, receives search keyword information input by the user in a search bar of the user interface, generates a search request according to the keyword information, and sends the search request to the proxy server.
The search keyword is included in the search request, and may be a name of an application to be searched, such as "you cool", "potato", and the like, or a category of the application, such as "video", "game", and the like.
The search request also carries an agent ID, wherein the agent ID is authority identification information of the user terminal accessing the data server, and the interfaces of application retrieval, downloading and reporting of the data server can be used only after the agent ID is applied for owning.
Therefore, before step 101, the method further includes a process of applying for the proxy ID, specifically, the user terminal receives registration information input by the user, generates a registration request according to the registration information, and sends the registration request to the proxy server; the registration request includes user information, and the user information may include the age, sex, occupation, and the like of the user; the proxy server returns proxy information to the user terminal according to the registration request, wherein the proxy information comprises a proxy ID.
102, the proxy server analyzes the search request to obtain a search keyword and a proxy ID;
specifically, the proxy server receives a search request sent by the user terminal, and obtains a search keyword that the user wants to search and a proxy ID carried in the search request.
After step 102, the method further comprises the steps that the proxy server inquires corresponding time limit in the proxy authority list according to the proxy ID, and when the current time is not in the corresponding time limit range, access limited prompting information is generated and returned to the user terminal; when the current time is within the corresponding time limit, step 103 is executed.
All the agent IDs and the corresponding time limits are recorded in the agent permission list, it should be noted that the access download permission of each agent ID is time-limited, and the agent permission list is used for recording the time permission of each agent ID.
103, generating a search record according to the search keyword, establishing an association relation between the search record and the agent ID, and storing the association relation in a search record list;
the search record list is used for storing search records of the user.
In order to record the search of the user, the proxy server generates a search record according to the search keyword, and the generation of the search record can be realized in two ways:
the first is that the generation of search records is triggered immediately after the proxy server analyzes a search request, after the search records are generated, the association relationship between the search records and the proxy ID is established, and the association relationship between the search records and the proxy ID is stored in a search record list.
The second method is that the proxy server generates search records according to a preset time interval, that is, after parsing the search request, the proxy server does not immediately generate search records, but caches the search request, and when the preset time interval is reached, generates a plurality of search records in a unified manner.
All the agent IDs and corresponding search records are recorded in the search record list, and in order to realize statistics and analysis of the user search situation, after step 103, the method further includes: the proxy server counts the search records corresponding to the proxy IDs in the search record list according to a first preset time interval, wherein the first preset time interval can be one week or two weeks, and the like, that is, the proxy server counts the search records in the search record list every other one week or two weeks, counts the search times corresponding to each proxy ID, reports the statistical results to the data server after counting, deletes the search records in the search record list after counting, and records the search records again.
wherein step 104 and step 103 may be performed simultaneously.
105, the data server acquires search result data according to the search keywords in the search instruction, and sends the search result data to the user terminal through the proxy server;
specifically, the data server analyzes the received search instruction to obtain a search keyword, queries according to the search keyword, sends a result obtained by the query to the proxy server, and forwards the result to the user terminal through the proxy server.
In a specific example, when the search keyword is application name information, the data server obtains corresponding application data according to the application name, and forwards the application data to the user terminal through the proxy server, and the user terminal generates an application information display interface according to the application data for display, where the application information display interface may include information such as the application name, an icon, and content introduction.
In a specific example, when the search keyword is a part of the application category information or the application name, the data server obtains list data of a plurality of corresponding applications according to the search keyword, and forwards the list data to the user terminal through the proxy server, the user terminal generates an application information display interface according to the list data for displaying, and the application information display interface may include information such as application names, icons, content introductions, and the like of the plurality of applications.
specifically, the user may click the download module corresponding to the application on the application information display interface, so as to trigger the user terminal to generate a download request, and send the download request to the proxy server.
The downloading request comprises application information to be downloaded by a user, and the downloading request carries an agent ID.
specifically, after analyzing the download request to obtain the proxy ID, the proxy server also needs to verify the valid time limit of the proxy ID, and when the current time is not within the corresponding time limit range, generates download limited prompt information and returns the download limited prompt information to the user terminal; when the current time is within the corresponding time limit, step 108 is performed.
specifically, the proxy server generates a download record according to the application information, establishes an association relationship between the download record and the proxy ID, and stores the association relationship in a download record list, wherein the download record list is used for storing the download records of the users, and the download records of all the users are recorded in the download record list, so that statistics and analysis of the download data are facilitated. And when the download record is generated, the proxy server generates a download instruction according to the application information, sends the download instruction to the data server, and acquires the application to be downloaded by the user from the data server.
All the agent IDs and the corresponding download records are recorded in the download record list, and in order to realize statistics and analysis of the user download situation, after step 108, the method further includes: the proxy server counts the download records corresponding to the proxy IDs in the download record list according to a second preset time interval, where the second preset time interval may be one week or two weeks, that is, the proxy server counts the download records in the download record list every other week or two weeks, counts the download times corresponding to each proxy ID, reports the statistical result to the data server after counting, deletes the download records in the download record list after counting, and records the download records again.
In a preferred embodiment, the present invention can also perform statistics on the download condition of each application, and specifically, the proxy server performs statistics on the corresponding download record for each application information in the download record list, so as to obtain the download condition of each application.
In a more preferred embodiment, the present invention can also perform statistics on the category to which the application belongs, for example, statistics on the application download condition in the categories of "game" and "video", specifically, the proxy server obtains the corresponding category information according to the application information; then establishing an association relation between the download record and the category information, and storing the association relation in a download record list; and in the download record list, performing statistical analysis on the download records associated with the category information, thereby completing the statistics on the download condition of the category to which the application belongs.
And step 109, the data server acquires application download data according to the application information in the download instruction, and sends the application download data to the user terminal through the proxy server.
Specifically, the data server analyzes the download instruction to obtain application information, then acquires a corresponding download link according to the application information, and sends the download link to the proxy server, the proxy server sends the download link to the user terminal, and the user terminal downloads according to the download link.
According to the data recording method provided by the embodiment of the invention, the search downloading condition of the user is accurately recorded through the association of the agent ID with the search record and the download record, so that the data statistics and analysis are facilitated.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (6)
1. A data recording method, characterized in that the method comprises:
a user terminal receives a search request input by a user and sends the search request to a proxy server; the search request comprises a search keyword, and the search keyword comprises the name of an application; the search request carries an agent ID;
the proxy server analyzes the search request to obtain the search keyword and the proxy ID;
generating a search record according to the search keyword, establishing an association relation between the search record and the agent ID, and storing the association relation in a search record list;
generating a search instruction according to the search keyword, and sending the search instruction to a data server;
the data server acquires search result data according to the search keywords in the search instruction and sends the search result data to the user terminal through the proxy server;
the user terminal receives a downloading request input by a user and sends the downloading request to the proxy server; wherein, the download request comprises application information; the downloading request carries an agent ID;
the proxy server analyzes the downloading request to obtain the application information and the proxy ID;
generating a download record according to the application information, establishing an association relation between the download record and the agent ID, and storing the association relation in a download record list; and the number of the first and second electrodes,
generating a downloading instruction according to the application information, and sending the downloading instruction to the data server;
and the data server acquires application downloading data according to the application information in the downloading instruction and sends the application downloading data to the user terminal through the proxy server.
2. The data recording method according to claim 1, wherein before the user terminal receives a search request input by a user and sends the search request to the proxy server, the method further comprises:
the user terminal receives registration information input by a user, generates a registration request according to the registration information and sends the registration request to the proxy server; the registration request comprises user information;
the proxy server returns proxy information to the user terminal according to the registration request; the agent information includes an agent ID.
3. The data recording method according to claim 1, wherein after the generating of the search record according to the search keyword, the establishing of the association between the search record and the agent ID, and the storing in the search record list, the method further comprises:
the proxy server counts the search records corresponding to the proxy ID in the search record list according to a first preset time interval;
and deleting the search record in the search record list.
4. The data recording method according to claim 1, wherein after the generating a download record according to the application information, establishing an association between the download record and the agent ID, and storing in a download record list, the method further comprises:
the proxy server carries out statistical analysis on the download records corresponding to the proxy ID in the download record list according to a second preset time interval;
and deleting the download records in the download record list.
5. The data recording method according to claim 1, wherein the method further comprises:
and the proxy server counts the download records according to the application information.
6. The data recording method according to claim 5, wherein the performing statistics on the download record according to the application information specifically includes:
acquiring corresponding category information according to the application information;
establishing an association relation between the download record and the category information, and storing the association relation in the download record list;
and in the download record list, performing statistical analysis on the download records associated with the category information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711036785.8A CN107832380B (en) | 2017-10-30 | 2017-10-30 | Data recording method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711036785.8A CN107832380B (en) | 2017-10-30 | 2017-10-30 | Data recording method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107832380A CN107832380A (en) | 2018-03-23 |
CN107832380B true CN107832380B (en) | 2021-06-11 |
Family
ID=61650046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711036785.8A Active CN107832380B (en) | 2017-10-30 | 2017-10-30 | Data recording method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107832380B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102130948A (en) * | 2011-02-11 | 2011-07-20 | 宇龙计算机通信科技(深圳)有限公司 | Application resource sharing realization method and mobile terminal |
CN102437998A (en) * | 2010-09-29 | 2012-05-02 | 中兴通讯股份有限公司 | Application store system and method by utilizing same to develop |
CN104010035A (en) * | 2014-05-29 | 2014-08-27 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for application program distribution |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8738787B2 (en) * | 2005-04-20 | 2014-05-27 | Limelight Networks, Inc. | Ad server integration |
US20130124606A1 (en) * | 2011-11-14 | 2013-05-16 | Boopsie, Inc. | Automatic personalization of downloadable mobile apps |
-
2017
- 2017-10-30 CN CN201711036785.8A patent/CN107832380B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102437998A (en) * | 2010-09-29 | 2012-05-02 | 中兴通讯股份有限公司 | Application store system and method by utilizing same to develop |
CN102130948A (en) * | 2011-02-11 | 2011-07-20 | 宇龙计算机通信科技(深圳)有限公司 | Application resource sharing realization method and mobile terminal |
CN104010035A (en) * | 2014-05-29 | 2014-08-27 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for application program distribution |
Also Published As
Publication number | Publication date |
---|---|
CN107832380A (en) | 2018-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10278005B2 (en) | Method, apparatus, and system for determining a location of a terminal | |
US9712457B2 (en) | Server directed client originated search aggregator | |
US8611326B2 (en) | Location histories for location aware devices | |
US20160241589A1 (en) | Method and apparatus for identifying malicious website | |
US8838679B2 (en) | Providing state service for online application users | |
US20090318171A1 (en) | Application Discovery on Mobile Devices | |
CN111522922A (en) | Log information query method and device, storage medium and computer equipment | |
CN104935744A (en) | Verification code display method, verification code display device and mobile terminal | |
CN109408132A (en) | A kind of configuration file processing method and server, user terminal, storage medium | |
US9973513B2 (en) | Method and apparatus for communication number update | |
CN103888837A (en) | Video information pushing method and device | |
CN104780209A (en) | Portable equipment and server for realizing sharing interface scenario | |
CN106254467A (en) | Sharing files method and device | |
CN104978267A (en) | Web page testing method, terminal and server | |
CN105515887B (en) | application testing method, server and system | |
CN109522462B (en) | Cloud query method, device, equipment and storage medium based on block chain | |
CN103561063B (en) | A kind of method of Register top box and terminal | |
US7945630B2 (en) | Method and system for verifying a recipient of a communication | |
CN105320885A (en) | Method and device for detecting malicious website | |
CN111309496A (en) | Method, system, device, equipment and storage medium for realizing delay task | |
CN107832380B (en) | Data recording method | |
US9634963B2 (en) | Method and system for handling message on instant messaging open platform | |
CN110138599A (en) | DNS query method, apparatus, medium and electronic equipment based on the domain name degree of association | |
US8788638B2 (en) | Method and arrangement for registering a user | |
CN113568907A (en) | Method, device, server and storage medium for processing station information message |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210518 Address after: 100026 room 1702, 17 / F, Borui building, building a 26, Dongsanhuan North Road, Chaoyang District, Beijing Applicant after: Beijing Borui Tongyun Technology Co.,Ltd. Address before: 330013 No.399, rulehu street, Airport Economic Zone, Nanchang City, Jiangxi Province Applicant before: JIANGXI BORUITONGYUN TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |