CN111813816A - Data processing method, data processing device, computer readable storage medium and computer equipment - Google Patents
Data processing method, data processing device, computer readable storage medium and computer equipment Download PDFInfo
- Publication number
- CN111813816A CN111813816A CN201910290247.4A CN201910290247A CN111813816A CN 111813816 A CN111813816 A CN 111813816A CN 201910290247 A CN201910290247 A CN 201910290247A CN 111813816 A CN111813816 A CN 111813816A
- Authority
- CN
- China
- Prior art keywords
- service request
- user
- data
- screening
- service
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 20
- 238000003672 processing method Methods 0.000 title abstract description 21
- 238000012216 screening Methods 0.000 claims abstract description 194
- 238000000034 method Methods 0.000 claims abstract description 43
- 238000004458 analytical method Methods 0.000 claims abstract description 27
- 230000006399 behavior Effects 0.000 claims description 45
- 238000012790 confirmation Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 6
- 238000012360 testing method Methods 0.000 description 19
- 239000003795 chemical substances by application Substances 0.000 description 15
- 238000010586 diagram Methods 0.000 description 11
- 235000014510 cooky Nutrition 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000002474 experimental method Methods 0.000 description 7
- 238000010200 validation analysis Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000001914 filtration Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000009795 derivation Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000003607 modifier Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000003245 working effect Effects 0.000 description 1
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/2457—Query processing with adaptation to user needs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a data processing method, a data processing device, a computer readable storage medium and a computer device, wherein the method comprises the following steps: receiving a service request sent by a terminal, wherein the service request carries a user identifier corresponding to the terminal; obtaining a screening machine code corresponding to the service request; requesting to obtain the current user portrait information corresponding to the user identification from an access server according to the service request; analyzing and executing the screening machine code through a local virtual machine corresponding to the service request, and obtaining a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code; and returning service request data corresponding to the user identification to the terminal according to the screening result, and matching the service request data corresponding to the user identification locally according to the real-time user data, so that the matching degree between the user data and the service request data is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, an apparatus, a computer-readable storage medium, and a computer device.
Background
With the rapid development of computer technology, many scenarios require analysis and processing of a large amount of user data collected in a network, for example, a conversion rate of a current service is obtained through analysis of the user data, or corresponding service request data is matched according to the user data, and the service request data refers to data information which is sent by a server to a terminal and used for displaying a corresponding interface.
Conventionally, user data needs to be stored offline in advance according to the requirement of matching corresponding service request data with the user data, and then further judgment is carried out, so that the service request data corresponding to the user data cannot be matched according to the real-time user data.
Disclosure of Invention
Accordingly, it is necessary to provide a data processing method, an apparatus, a computer device and a storage medium for matching service request data corresponding to user data according to real-time user data, so as to improve the matching degree between the user data and the service request data.
A method of data processing, the method comprising:
receiving a service request sent by a terminal, wherein the service request carries a user identifier corresponding to the terminal;
obtaining a screening machine code corresponding to the service request;
requesting to obtain the current user portrait information corresponding to the user identification from an access server according to the service request;
analyzing and executing the screening machine code through a local virtual machine corresponding to the service request, and obtaining a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code;
and returning service request data corresponding to the user identification to the terminal according to the screening result.
In one embodiment, the method further comprises:
and acquiring a screening machine code corresponding to each service request from a task server, and storing the screening machine code to the local, wherein the screening machine code is obtained by compiling an original screening code corresponding to each service request by the task server.
In one embodiment, the method further comprises:
the first access server acquires first behavior data corresponding to the user identification in real time and receives second behavior data corresponding to the user identification, which is sent by at least one second access server in real time;
and the first access server generates user portrait information corresponding to the user identification according to the first behavior data and the second behavior data.
In one embodiment, the method further comprises:
obtaining a screening condition corresponding to the screening machine code;
when the user corresponding to the user identification is judged to meet the screening condition according to the current user portrait information, the user identification is classified into a first user group, otherwise, the user identification is classified into a second user group;
the returning of the service request data corresponding to the user identifier to the terminal according to the screening result includes:
acquiring corresponding target service request data according to the user group corresponding to the user identification;
and returning the target service request data to the terminal so that the terminal displays a corresponding target service interface according to the target service request data.
In one embodiment, the method further comprises:
receiving service feedback data returned by the terminal according to the service request data;
and adjusting service request data returned to the terminal corresponding to the user identification according to the service feedback data.
In one embodiment, the method further comprises:
sending the service feedback data to the task server so that the task server updates the screening machine code corresponding to the service request according to the service feedback data;
and receiving the updated screening machine code returned by the task server.
In one embodiment, the method further comprises:
sending a service data updating request to the terminal, and receiving an updating confirmation instruction returned by the terminal in response to the service data updating request;
and returning service request data corresponding to the user identification to the terminal according to the updating confirmation instruction and the screening result.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method when executing the program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the data processing method, the data processing device, the computer readable storage medium and the computer equipment, the service server receives the service request sent by the terminal, the screening of the user can be realized in the service server by acquiring the screening machine code corresponding to the service request, the service server obtains the current user portrait information corresponding to the user identification from the access server according to the service request, and the current user portrait information is acquired by the service server requesting the access server in real time, so that the current user portrait is updated in real time, and the screening result is more accurate. And the service server analyzes and executes the screening machine code through a local virtual machine corresponding to the service request, obtains a screening result corresponding to the user identifier according to the current user portrait information and the analysis result corresponding to the screening machine code, and returns service request data corresponding to the user identifier to the terminal according to the screening result. The service server sequentially carries out a plurality of different levels of processing by acquiring the current user portrait information in real time, embedding a local virtual machine in the service server and returning service request data corresponding to the user identification, and can match the service request data corresponding to the user portrait information locally according to the real-time user data through matching of a plurality of processing steps, so that the matching degree between the user data and the service request data is improved.
Drawings
FIG. 1 is a diagram of an application environment of a data processing method in one embodiment;
FIG. 2 is a flow diagram illustrating a data processing method according to one embodiment;
FIG. 3 is a schematic diagram illustrating a process for generating user representation information in a data processing method in one embodiment;
FIG. 4 is a schematic flow chart illustrating data adjustment performed in the data processing method according to an embodiment;
FIG. 5 is a flow diagram illustrating the updating of screening machine code in the data processing method according to one embodiment;
FIG. 6 is a schematic flow chart diagram illustrating the generation of screening results in the data processing method in one embodiment;
FIG. 7 is a flowchart illustrating the process of issuing screening machine codes in the data processing method according to an embodiment;
FIG. 8 is a flow diagram that illustrates the compilation of raw filter code in a data processing method according to one embodiment;
FIG. 9 is a block diagram showing the structure of a data processing apparatus according to an embodiment;
FIG. 10 is a block diagram showing a configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data processing method provided in the embodiment of the present invention may be applied to an application environment as shown in fig. 1, and the data processing method is applied to a data processing system. The data processing system comprises a terminal 110, an access server 120, a service server 130 and a task server 140. The terminal 110 and the access server 120 are connected through a network, the terminal 110 and the service server 130 are connected through a network, the service server and the access server are connected through a network, the service server and the task server are connected through a network, the service servers are connected through a network, and the access servers are connected through a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The access server 120, the service server 130 and the task server 140 can be implemented by independent servers or a server cluster composed of a plurality of servers.
Based on the data processing system, the service server 130 receives a service request sent by the terminal 110, the service request carries a user identifier corresponding to the terminal 110, the service server 130 obtains a screening machine code corresponding to the service request and sent from the task server 140, the service server 130 requests current user portrait information corresponding to the user identifier from the access server 120 according to the service request, the service server 130 analyzes and executes the screening machine code through a local virtual machine corresponding to the service request, the service server 130 obtains a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code, and the service server 130 returns service request data corresponding to the user identifier to the terminal 110 according to the screening result.
As shown in fig. 2, which is a flowchart of a data processing method in an embodiment, the method specifically includes the following steps:
s202, receiving a service request sent by the terminal, wherein the service request carries a user identifier corresponding to the terminal.
The service module refers to a module loaded with a functional service, and for example, the service module may be an application login interface module, an application account logout module, an application icon arrangement mode module, and the like. The service server receives a service request sent by the terminal, wherein the service request carries a user identifier corresponding to the terminal, and the user identifier is information for identifying the identity of the user. The user identification includes, but is not limited to, various instant communication numbers, mobile communication numbers, social network accounts, and the like.
And S204, acquiring a screening machine code corresponding to the service request.
The screening machine code is a code which is sent to the service server by the task server and used for screening the users. Machine code is called native code, which means that the cpu can directly read the machine instructions being executed. And the task server sends the screening machine code to the service server, and the service server stores the screening machine code to the local.
Specifically, the service server may locally store the screening machine code in a service agent area of the service server, where the service agent area is an experimental configuration agent module deployed on the service server, the experimental configuration agent module is configured to receive an experimental configuration issued by the test rule service, and the experimental configuration includes a condition configuration for screening the user. The screening machine code is stored in the service agent area of the service server, so that the service server can quickly call the screening machine code to screen the user, and the response efficiency of the user in screening is improved.
And S206, obtaining the current user portrait information corresponding to the user identification from the access server according to the service request.
The current user portrait information is tagged information abstracted according to information such as social attributes, living habits, daily behaviors and the like of the user. The current user portrait information is composed of a plurality of feature labels, the feature labels are highly refined feature identifications obtained by analyzing the user information, part of the feature labels are directly obtained according to behavior data of users, and part of the feature labels are obtained by mining through a series of preset algorithms or rules. Feature tags include, but are not limited to, inherent tags, derivative tags, behavioral tags, attitude tags, and test tags, among others. The inherent tag refers to an attribute that is inherent or actually present to the user and does not change in an external condition or a change in self-cognition. Such as: sex, age, birth or not, etc. Deriving tags labels derived from other tags, such as constellations, by the user's birthday derivation, such as the user's class preferences, can be derived by daily purchases. The behavior label refers to an assignment formed after actual behaviors inside and outside the product are recorded, such as login time of a user, page stay time and the like. Attitude tags refer to the attitudes and intentions that users express themselves. For example, asking the user a number of questions via a questionnaire and forming a label, such as asking the user: whether a certain brand is liked, etc. The test label refers to attitude expression from the user, but the test label is not the content directly expressed by the user, and the test conclusion is obtained by analyzing the expression of the user and structuring the expression. For example, the user fills in a series of attitude questionnaires, deduces the value and type of the user, and the like.
Specifically, when the service server receives a service request sent by the terminal, the service server acquires the current user portrait information from the access server in real time, and the current user portrait information is real-time and updatable portrait information through the real-time acquisition of the current user portrait information, so that the accuracy in user screening is improved.
And S208, analyzing and executing the screening machine code through the local virtual machine corresponding to the service request, and obtaining a screening result corresponding to the user identifier according to the current user portrait information and the analysis result corresponding to the screening machine code.
The local virtual machine is a complete computer system which has complete hardware system functions and runs in a completely isolated environment through software simulation, and the local virtual machine is stored in the service server. The service interface is an application programming interface, which is a predefined function and aims to provide the capability of an application program and a developer to access a group of routines based on certain software or hardware without accessing source codes or understanding details of an internal working mechanism. The analysis result corresponding to the screening machine code refers to a screening condition obtained after the local virtual machine analyzes and executes the screening machine code, and the screening result refers to whether the user identifier corresponding to the terminal meets the screening condition or not. By embedding the local virtual machine in the service server, the real-time matching between the user identification and the service request data can be realized locally in the service server without other servers.
Specifically, as shown in fig. 8, the local virtual machine calls an instruction set of the operating system, and the register in the central processing system implements the relevant instruction operation to complete the memory call. The local virtual machine translates the machine instruction into corresponding machine instructions by interpreting byte codes, reads in the machine instructions one by one, and interprets and translates the machine instructions one by one. Analyzing and executing to obtain an analysis result corresponding to the screening machine code, when the interpreter analyzes and executes to find that a certain method or code block runs particularly frequently, judging that the code is a 'hot spot code', then translating part of the 'hot spot code' into the machine code related to the local machine by Just In Time (JIT) compiling technology, optimizing, further carrying out security check in the local virtual machine before using the just in time compiling technology, and caching the translated screening machine code for the next use.
And S210, returning service request data corresponding to the user identification to the terminal according to the screening result.
The service request data refers to data information which is sent to the terminal by the service server and used for displaying a corresponding interface. For example, when the service module needs to be tested and is an application program login interface module, if the analysis result obtained by analyzing and executing the screening machine code by the local virtual machine is the "user of the subject calendar with age greater than 30 years in Beijing City", the service server returns corresponding service request data to the user identifier corresponding to the "user of the subject calendar with age greater than 30 years in Beijing City" according to the screening result, and the service request data is data corresponding to the application program login interface.
In this embodiment, the service server receives the service request sent by the terminal, and obtains the screening machine code corresponding to the service request, so that local screening of the user can be realized without using other servers, the service server obtains the current user portrait information corresponding to the user identifier from the access server according to the service request, and the current user portrait information is requested by the service server from the access server in real time, so that the user portrait information obtained by the service server is updated in real time, and the service server can accurately screen the user. The service server further analyzes and executes the screening machine code through a local virtual machine corresponding to the service request, obtains a screening result corresponding to the user identifier according to the current user portrait information and the analysis result corresponding to the screening machine code, and returns service request data corresponding to the user identifier to the terminal according to the screening result.
In one embodiment, the method further comprises the steps of: and acquiring screening machine codes corresponding to the service requests from the task server, and storing the screening machine codes to the local, wherein the screening machine codes are obtained by compiling original screening codes corresponding to the service requests by the task server.
The task server obtains the original screening code, compiles the original screening code to obtain a screening machine code, sends the screening machine code to a corresponding service server, and the service server receives the screening machine code sent by the task server and stores the screening machine code to the local.
Specifically, as shown in fig. 8, the task server performs lexical analysis and syntactic analysis on the original screening code to construct a syntax tree and a symbol table, and traverses the syntax tree and the symbol table to obtain an error screening code, and performs coding change on the error screening code to obtain the screening machine code. It is understood that lexical analysis is the transformation of a character stream of source code into a set of tokens (Token), a single character being the smallest element written by a program and a Token being the smallest element of a compilation process. Such as: keywords, variable names, word sizes, operators can all be labels. Parsing is the process of constructing an abstract syntax tree from Token sequences, an Abstract Syntax Tree (AST) is a process used to describe a syntax structure in program code, such as packets, types, modifiers, operators, interfaces, return values, etc. The parser determines whether the source program is structurally correct. A grammar tree is a graphical representation of the structure of a sentence, which represents the derivation of the sentence and facilitates understanding of the hierarchy of the sentence's grammar structure. A symbol table is a data structure for compilation that holds various information about the structure of a source program, which is collected step by step and placed into the symbol table during the analysis phase of the compiler, and which is used to generate object code during the synthesis phase. The information recorded in the symbol table is used in different stages of compilation, such as: in semantic analysis, the content in the symbol table is used for semantic check (whether the name is consistent with the original description) and generating an intermediate code; in the generation stage of the screening machine code, the address name is subjected to address allocation, namely the record according to the symbol table. The error screening code is coding information with errors obtained by the task server through traversing the syntax tree and the symbol table, and the task server performs coding transformation on the error screening code, namely the error coding information is transformed into correct coding information to obtain the screening machine code.
In an embodiment, as shown in fig. 6, the task server compiles the original screening code to obtain a screening machine code, and sends the screening machine code to the corresponding service server, the access server transparently transmits the user portrait information to each of the other access servers, when the service server receives a service request sent by the terminal, the service server requests the access server for the current user portrait information, the local virtual machine analyzes and executes the screening machine code, and a screening result corresponding to the user identifier is obtained according to the current user portrait information and an analysis result corresponding to the screening machine code.
In one embodiment, as shown in fig. 7, the tester writes the original screening code and sends it to the task server, and the task server compiles the original screening code to obtain the screening machine code. The task server issues the screening machine code to a corresponding service server, and specifically, the screening machine code can be stored in a service agent area in the service server, the service agent area is an experimental configuration agent module deployed on the service server, the experimental configuration agent module is used for receiving an experimental configuration issued by a test rule service, and the experimental configuration includes condition configuration for screening a user. Similarly, the user portrait information returned by the receiving server is also stored in the service agent area, and the service server embeds a local virtual machine in the service interface, so that it can be understood that the service interface refers to an application programming interface, which is a predefined function, and aims to provide the capability of an application program and a developer to access a group of routines based on certain software or hardware, without accessing source codes or understanding details of an internal working mechanism, and a screening result corresponding to the user identifier is obtained according to the current user portrait information and the corresponding analysis result of the screening machine code by analyzing and executing the screening machine code through the local virtual machine.
In this embodiment, the service server obtains the screening machine code corresponding to each service request from the task server, and stores the screening machine code to the local, where the screening machine code is obtained by compiling the original screening code corresponding to each service request by the task server. The original screening codes are compiled into the screening machine codes with the highest execution speed through the task server, the efficiency of matching the user and the service request data can be greatly improved, the screening machine codes are stored locally by the service server, and the real-time matching of the user and the service request data is further realized locally by the service server.
In one embodiment, as shown in fig. 3, the method further comprises the steps of:
s302, the first access server acquires first behavior data corresponding to the user identification in real time and receives second behavior data corresponding to the user identification sent by at least one second access server in real time.
S304, the first access server generates user portrait information corresponding to the user identification according to the first behavior data and the second behavior data.
The terminal is connected with at least one access server through a network. And when the access server is the first access server, the rest access servers are the second access servers. The first behavior data refers to behavior information of the user corresponding to the user identification recorded by the access server. The first behavior data and the second behavior data include log information of the user, user body information, and external environment information, for example: (1) website log: when a user visits a certain target website, recording user-related behavior information of the website; (2) search engine logs: the search engine log system records the related behavior information of the user on the search engine; (3) and (3) browsing the log by the user: recording relevant behavior information of the user on the search engine recorded by the user through a specific tool and a specific path; (4) user subject data: such as age, education, hobbies, etc. of the user group; (5) external environment data: such as mobile internet traffic, mobile phone internet users growth, etc.
Specifically, as shown in fig. 6, the access server obtains the first behavior data corresponding to the user identifier in real time, and receiving second behavior data corresponding to the user identifier sent by at least one second access server in real time, each access server transparently transmitting the behavior data to other access servers, namely, the behavior data corresponding to the user identification is transparently transmitted in real time in each access server, when the first access server acquires the first behavior data corresponding to the user identification in real time, and the rest access servers are second access servers, the second access servers acquire second behavior data corresponding to the user identification in real time, the first access server transparently transmits the first behavior data to the second access servers, and similarly, the second access servers also transparently transmit the second behavior data to the first access server, so that sharing and synchronization of the user behavior data are realized. The first access server generates user portrait information corresponding to the user identification according to the first behavior data and the second behavior data, and transparently transmits the user portrait information to each access server.
In the embodiment, the first access server acquires the first behavior data corresponding to the user identifier in real time and receives the second behavior data corresponding to the user identifier sent by the at least one second access server in real time, and the first access server generates the user portrait information corresponding to the user identifier according to the first behavior data and the second behavior data.
In one embodiment, the method further comprises the steps of: obtaining screening conditions corresponding to the screening machine codes; when judging that the user corresponding to the user identification meets the screening condition according to the current user portrait information, classifying the user identification into a first user group, otherwise, classifying the user identification into a second user group; the step of returning the service request data corresponding to the user identifier to the terminal according to the screening result comprises the following steps: acquiring corresponding target service request data according to a user group corresponding to the user identifier; and returning the target service request data to the terminal so that the terminal displays a corresponding target service interface according to the target service request data.
The filtering condition is a condition required for filtering the user, for example, the filtering condition is "filtering people under 30 years old and living in shenzhen". The first user group and the second user group are used for grouping users during service test, the first user group and the second user group can receive the same service request data and can also receive different service request data, and the different service request data correspond to different strategies. The target service request data refers to service request data corresponding to the user group. The target service interface is an interface displayed by the terminal according to the target service request data. It is to be understood that the user groups are at least two and are not limited to the first user group and the second user group.
Specifically, the service server obtains a screening condition corresponding to the screening machine code, when the service server judges that a user corresponding to the user identifier meets the screening condition, the user identifier is classified into a first user group, and if the user corresponding to the user identifier does not meet the screening condition, the user identifier is classified into a second user group. When the target service request data corresponding to the first user group and the second user group are different, the service server acquires the corresponding target service request data according to the user group corresponding to the user identification, and returns the target service request data to the terminal, so that the terminal displays the corresponding target service interface according to the target service request data.
In one embodiment, a tester may perform an AB test on a business module. The AB test is to make two (A/B) or a plurality of (A/B/n) versions for a Web or App interface or process, make visitor groups (target population) with the same (similar) composition randomly access the versions in the same time dimension, collect user experience data and service data of each group, analyze and evaluate a better version, and adopt the version formally. For example, in ad placement, it can be known which ads are best served by an AB test. After selecting the placement target, two ad groups are created simultaneously, an attempt is made to change the title (or material or landing page) of the ad, and different ads are shown to each group. After a certain flow is reached, audience analysis and data reports can show different advertising effects, so that advertisements with higher quality can be selected through result data. It can be understood that audience analysis means that a Cookie is taken as a unit, behavior characteristics and interests of the Cookie are deduced according to massive historical behaviors of the Cookie, and based on the behavior characteristics and the interests, the most appropriate advertisement which is most likely to generate conversion is displayed to a user. A Cookie refers to data stored on a user's local terminal for identifying the user's identity and performing session tracking.
For example, for a user in this subject calendar with age greater than 30 years in beijing, a tester needs to create an experiment on an AB test system, and divide the two groups into two groups, a as a control group and B as an experimental group. Writing original screening codes: the utility model discloses a business module, a business logic local AB test service interface, a business interface, a screening machine code, current user portrait information, wherein 'city' joining & & age > 30& & education & & background ". The code 1 is compiled by a tester according to the requirement and then submitted to create the experiment, the code 1 is compiled by a task server automatically to generate the screening machine code and is issued to the business agent area of the business module together with the experiment configuration, when the business module processes the user request, the AB test service interface is called, the business interface reads the screening machine code and the current user portrait information in the memory shared by the local business agent area, and because the inside of the AB test service interface is embedded with a local virtual machine, each user request can operate the local virtual machine in the AB test service interface of the business logic local, thereby completing the function of judging the user portrait in real time by the AB test system. It can be understood that the service agent area is an experiment configuration agent module deployed on the service server, and the experiment configuration agent module is configured to receive an experiment configuration issued by the test rule service, where the experiment configuration includes a condition configuration for screening a user. Business interfaces, which are application programming interfaces, are predefined functions that are intended to provide applications and developers the ability to access a set of routines based on certain software or hardware without accessing source code or understanding the details of the internal workings.
In one embodiment, the service server may issue an effect mechanism to the terminal, where the effect mechanism refers to a time limit for taking the policy into effect. Validation mechanisms include, but are not limited to, immediate validation, deferred validation, hot and cold validation, and the like. Immediate validation will immediately validate the policy and notify the user of the associated policy. Deferred action will defer the action of the policy and inform the user of the associated policy. The hot start is effective when exiting the interface and entering the interface again, and the cold start is effective when entering the interface again after the process is closed. It can be understood that the validation means that the terminal displays a corresponding service interface according to the service request data.
In one embodiment, when the current user portrait information is fuzzy portrait information, that is, when the screening result cannot be directly determined according to the analysis result corresponding to the current user portrait information and the screening machine code, the user identifier may be divided into corresponding user groups according to Cookie IDs, and each guest has a non-repeating Cookie ID, such as "123.180.140. 1267882109577.3", when visiting for the first time. The grouping of users can then be done according to the last digit of this Cookie ID (in this example, "3"), such as a singular division into group a and an even division into group B. It is understood that the Cookie ID refers to data stored on the user's local terminal for the purpose of identifying the user's identity and performing session tracking. Because the Cookie ID can not be easily changed after being set, the consistency of the Cookie ID to the visitor can be well kept, if a certain user sees the service request data corresponding to the A user group for the first time, the service request data corresponding to the A user group is seen after being refreshed, and the consistency of the terminal in displaying the corresponding interface according to the service request data can be kept.
In this embodiment, the service server obtains a screening condition corresponding to the screening machine code, when it is determined that the user corresponding to the user identifier satisfies the screening condition according to the current user profile information, the user identifier is classified into the first user group, otherwise, the user identifier is classified into the second user group, the service server obtains corresponding target service request data according to the user group corresponding to the user identifier, and returns the target service request data to the terminal, so that the terminal displays a corresponding target service interface according to the target service request data. By accurately screening users, the users can be divided into groups, different strategies are applied, the test of the service module is realized, and the iterative updating speed of the service module can be accelerated.
In one embodiment, as shown in fig. 4, the method further comprises the steps of:
s402, receiving the service feedback data returned by the terminal according to the service request data.
S404, the service request data returned to the terminal corresponding to the user identification is adjusted according to the service feedback data.
The service feedback data refers to feedback data returned by the terminal to the service server after the terminal displays the service interface corresponding to the service request data. The service feedback data comprises positive feedback data and negative feedback data. The service feedback data includes, but is not limited to, access amount, hop rate, conversion rate, drop rate, and churn rate. When the service feedback data is positive feedback data, the terminal can continue to display the service interface corresponding to the service request data, when the service feedback data is negative feedback data, the service server can send the service request data corresponding to other user groups to the terminal, and the terminal can display a new interface according to the new service request data.
For example, when the service server returns the service request data corresponding to the user identifier to the terminal, the service request data is a display pattern of the application program login interface, the service server receives the service feedback data returned by the terminal according to the service request data, if the service feedback data obtained when the terminal displays the display pattern of the application program login interface is that the user loss rate is increased, the service server sends the service request data corresponding to another display pattern of the application program login interface to the terminal, and the terminal redisplays a new pattern of the login interface.
In this embodiment, the service server receives the service feedback data returned by the terminal according to the service request data, and adjusts the service request data returned to the terminal corresponding to the user identifier according to the service feedback data, so that the service interface displayed by the terminal can be adjusted in real time according to the service feedback data of the terminal, and the user loss rate increased by the test is effectively reduced.
In one embodiment, as shown in fig. 5, the method further comprises the steps of:
and S502, sending the service feedback data to the task server so that the task server updates the screening machine code corresponding to the service request according to the service feedback data.
And S504, receiving the updated screening machine code returned by the task server.
Specifically, the task server updates the screening machine code corresponding to the service request according to the service feedback data, the service server receives the updated screening machine code returned by the task server, analyzes and executes the updated screening machine code through the local virtual machine, obtains an updated screening result corresponding to the user identifier according to the current user portrait information and the analysis result corresponding to the updated screening machine code, and further returns the updated service request data corresponding to the user identifier to the terminal according to the updated screening result.
For example, when the service corresponding to the service module is a website, the page a is an original page, the page B is an updated page, 500 users see the page a, 500 users see the page B, and the percentage of users who reach the inner page of the website through the page a and the percentage of users who reach the inner page through the page B are counted. If the A is 20% and the B is 6%, the service feedback data is negative feedback data, the service server sends the negative feedback data to the task server, so that the task server updates the screening machine code corresponding to the service request according to the service feedback data, and the service server receives the updated screening machine code again and stores the screening machine code to the local.
In this embodiment, the service server sends the service feedback data to the task server, so that the task server updates the screening machine code corresponding to the service request according to the service feedback data, and the service server further receives the updated screening machine code returned by the task server. When the service feedback data is negative feedback data, the service server can request the task server to update the conditions of the screened users, namely, the task server is further enabled to update the screening machine codes, and the users displaying the service interfaces corresponding to the service request data are changed, so that the iteration speed of the service module can be accelerated, and the service module is further optimized.
In one embodiment, the method further comprises the steps of: sending a service data updating request to a terminal, and receiving an updating confirmation instruction returned by the terminal in response to the service data updating request; and returning service request data corresponding to the user identification to the terminal according to the updating confirmation instruction and the screening result.
The service data updating request is a request which is sent to the terminal and used for updating the service module, when the terminal responds to the service data updating request, an updating confirmation instruction is sent to the service server, and the service server returns service request data corresponding to the user identification to the terminal according to the updating confirmation instruction and the screening result. For example, when the display pattern of the login interface needs to be changed when the terminal enters the application program, the service server obtains an instruction that the terminal allows to update the application program, namely an update confirmation instruction, the service server returns service request data corresponding to the user identifier to the terminal according to the update confirmation instruction and the screening result, the service request data comprises data of the changed display pattern of the login interface, and the terminal displays a new display pattern of the login interface of the application program according to the service request data.
In this embodiment, a service server sends a service data update request to a terminal, and receives an update confirmation instruction returned by the terminal in response to the service data update request; and the service server returns the service request data corresponding to the terminal by receiving the update confirmation instruction returned by the terminal, so that the utilization of data resources is more reasonable, and the retention rate of the user can be improved.
Fig. 9 is a schematic diagram of a data processing apparatus in an embodiment, where the apparatus includes:
a request receiving module 602, configured to receive a service request sent by a terminal, where the service request carries a user identifier corresponding to the terminal;
a machine code obtaining module 604, configured to obtain a screening machine code corresponding to the service request;
the portrait information acquisition module 606 acquires the current user portrait information corresponding to the user identifier from the access server according to the service request;
the user screening module 608 is configured to analyze and execute a screening machine code through a local virtual machine corresponding to the service request, and obtain a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code;
and the data returning module 610 returns the service request data corresponding to the user identifier to the terminal according to the screening result.
In one embodiment, the machine code compilation module comprises: and acquiring screening machine codes corresponding to the service requests from the task server, and storing the screening machine codes to the local, wherein the screening machine codes are obtained by compiling original screening codes corresponding to the service requests by the task server.
In one embodiment, the user representation information acquisition module includes: the first access server acquires first behavior data corresponding to the user identification in real time and receives second behavior data corresponding to the user identification sent by at least one second access server in real time; and the first access server generates user portrait information corresponding to the user identification according to the first behavior data and the second behavior data.
In one embodiment, the interface display module includes: obtaining screening conditions corresponding to the screening machine codes; when judging that the user corresponding to the user identification meets the screening condition according to the current user portrait information, classifying the user identification into a first user group, otherwise, classifying the user identification into a second user group; the step of returning the service request data corresponding to the user identifier to the terminal according to the screening result comprises the following steps: acquiring corresponding target service request data according to a user group corresponding to the user identifier; and returning the target service request data to the terminal so that the terminal displays a corresponding target service interface according to the target service request data.
In one embodiment, the data adjustment module includes: receiving service feedback data returned by the terminal according to the service request data; and adjusting the service request data returned to the terminal corresponding to the user identification according to the service feedback data.
In one embodiment, the machine code update module includes: sending the service feedback data to a task server so that the task server updates a screening machine code corresponding to the service request according to the service feedback data; and receiving the updated screening machine code returned by the task server.
In one embodiment, the service request data return module comprises: sending a service data updating request to a terminal, and receiving an updating confirmation instruction returned by the terminal in response to the service data updating request; and returning service request data corresponding to the user identification to the terminal according to the updating confirmation instruction and the screening result.
For specific limitations of the data processing apparatus, reference may be made to the above limitations of the data processing method, which are not described herein again. The various modules in the data processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules. The processor can be a Central Processing Unit (CPU), a microprocessor, a singlechip and the like. The data processing apparatus described above may be implemented in the form of a computer program.
In one embodiment, a computer device is provided, which may be a server or a terminal. When the computer device is a terminal, its internal structure diagram may be as shown in fig. 10. When the computer equipment is a server, the internal structure of the computer equipment does not comprise a display screen, an input device, a camera, a sound acquisition device, a loudspeaker and the like. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method. Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein, the following steps are realized when the processor executes the program: receiving a service request sent by a terminal, wherein the service request carries a user identifier corresponding to the terminal; acquiring a screening machine code corresponding to the service request; requesting to obtain current user portrait information corresponding to the user identification from the access server according to the service request; analyzing and executing a screening machine code through a local virtual machine corresponding to the service request, and obtaining a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code; and returning service request data corresponding to the user identification to the terminal according to the screening result.
The above definition of the computer device can refer to the above specific definition of the data processing method, and is not described herein again.
With continuing reference to fig. 10, there is also provided a computer readable storage medium having stored thereon a computer program, such as the non-volatile storage medium shown in fig. 10, wherein the program when executed by a processor implements the steps of: receiving a service request sent by a terminal, wherein the service request carries a user identifier corresponding to the terminal; acquiring a screening machine code corresponding to the service request; requesting to obtain current user portrait information corresponding to the user identification from the access server according to the service request; analyzing and executing a screening machine code through a local virtual machine corresponding to the service request, and obtaining a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code; and returning service request data corresponding to the user identification to the terminal according to the screening result.
The above definition of the computer readable storage medium can refer to the above specific definition of the data processing method, and is not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of data processing, the method comprising:
receiving a service request sent by a terminal, wherein the service request carries a user identifier corresponding to the terminal;
obtaining a screening machine code corresponding to the service request;
requesting to obtain the current user portrait information corresponding to the user identification from an access server according to the service request;
analyzing and executing the screening machine code through a local virtual machine corresponding to the service request, and obtaining a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code;
and returning service request data corresponding to the user identification to the terminal according to the screening result.
2. The method of claim 1, wherein before the receiving the service request sent by the terminal, the method further comprises:
and acquiring a screening machine code corresponding to each service request from a task server, and storing the screening machine code to the local, wherein the screening machine code is obtained by compiling an original screening code corresponding to each service request by the task server.
3. A method according to any one of claims 1 to 3, characterized in that the method further comprises:
the first access server acquires first behavior data corresponding to the user identification in real time and receives second behavior data corresponding to the user identification, which is sent by at least one second access server in real time;
and the first access server generates user portrait information corresponding to the user identification according to the first behavior data and the second behavior data.
4. The method of claim 1, wherein obtaining the screening result corresponding to the user identifier according to the current user portrait information and the parsing result corresponding to the screening machine code comprises:
obtaining a screening condition corresponding to the screening machine code;
when the user corresponding to the user identification is judged to meet the screening condition according to the current user portrait information, the user identification is classified into a first user group, otherwise, the user identification is classified into a second user group;
the returning of the service request data corresponding to the user identifier to the terminal according to the screening result includes:
acquiring corresponding target service request data according to the user group corresponding to the user identification;
and returning the target service request data to the terminal so that the terminal displays a corresponding target service interface according to the target service request data.
5. The method of any one of claims 1 to 4, further comprising:
receiving service feedback data returned by the terminal according to the service request data;
and adjusting service request data returned to the terminal corresponding to the user identification according to the service feedback data.
6. The method of claim 5, further comprising:
sending the service feedback data to the task server so that the task server updates the screening machine code corresponding to the service request according to the service feedback data;
and receiving the updated screening machine code returned by the task server.
7. The method according to claim 5, wherein the returning service request data corresponding to the user identifier to the terminal according to the screening result comprises:
sending a service data updating request to the terminal, and receiving an updating confirmation instruction returned by the terminal in response to the service data updating request;
and returning service request data corresponding to the user identification to the terminal according to the updating confirmation instruction and the screening result.
8. A data processing apparatus, characterized in that the apparatus comprises:
the request receiving module is used for receiving a service request sent by a terminal, wherein the service request carries a user identifier corresponding to the terminal;
the machine code acquisition module is used for acquiring a screening machine code corresponding to the service request;
the portrait information acquisition module is used for requesting current user portrait information corresponding to the user identification from an access server according to the service request;
the user screening module analyzes and executes the screening machine code through a local virtual machine corresponding to the service request, and obtains a screening result corresponding to the user identifier according to the current user portrait information and an analysis result corresponding to the screening machine code;
and the data return module returns the service request data corresponding to the user identification to the terminal according to the screening result.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910290247.4A CN111813816B (en) | 2019-04-11 | 2019-04-11 | Data processing method, device, computer readable storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910290247.4A CN111813816B (en) | 2019-04-11 | 2019-04-11 | Data processing method, device, computer readable storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111813816A true CN111813816A (en) | 2020-10-23 |
CN111813816B CN111813816B (en) | 2023-11-14 |
Family
ID=72843709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910290247.4A Active CN111813816B (en) | 2019-04-11 | 2019-04-11 | Data processing method, device, computer readable storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111813816B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112817856A (en) * | 2021-02-04 | 2021-05-18 | 上海哔哩哔哩科技有限公司 | AB experiment integration method and system |
CN113448738A (en) * | 2021-08-31 | 2021-09-28 | 成都派沃特科技股份有限公司 | Method, device, equipment and storage medium for adjusting availability of server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170195311A1 (en) * | 2015-04-21 | 2017-07-06 | Tencent Technology (Shenzhen) Company Limited | Login method, server, and login system |
CN109408746A (en) * | 2018-09-26 | 2019-03-01 | 平安科技(深圳)有限公司 | Portrait information query method, device, computer equipment and storage medium |
CN109544326A (en) * | 2019-01-02 | 2019-03-29 | 深圳壹账通智能科技有限公司 | Service request response method, device, computer equipment and storage medium |
-
2019
- 2019-04-11 CN CN201910290247.4A patent/CN111813816B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170195311A1 (en) * | 2015-04-21 | 2017-07-06 | Tencent Technology (Shenzhen) Company Limited | Login method, server, and login system |
CN109408746A (en) * | 2018-09-26 | 2019-03-01 | 平安科技(深圳)有限公司 | Portrait information query method, device, computer equipment and storage medium |
CN109544326A (en) * | 2019-01-02 | 2019-03-29 | 深圳壹账通智能科技有限公司 | Service request response method, device, computer equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112817856A (en) * | 2021-02-04 | 2021-05-18 | 上海哔哩哔哩科技有限公司 | AB experiment integration method and system |
CN113448738A (en) * | 2021-08-31 | 2021-09-28 | 成都派沃特科技股份有限公司 | Method, device, equipment and storage medium for adjusting availability of server |
CN113448738B (en) * | 2021-08-31 | 2021-11-12 | 成都派沃特科技股份有限公司 | Method, device, equipment and storage medium for adjusting availability of server |
Also Published As
Publication number | Publication date |
---|---|
CN111813816B (en) | 2023-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110688598B (en) | Service parameter acquisition method and device, computer equipment and storage medium | |
US20170013085A1 (en) | Method of website optimisation | |
KR101547194B1 (en) | Method and application for managing cookie-information | |
US20130198203A1 (en) | Bot detection using profile-based filtration | |
CN108804133B (en) | Method, system, computer device and storage medium for acquiring virtual resources | |
CN102203765A (en) | Uniquely identifying network-distributed devices without explicitly provided device or user identifying information | |
JP7483929B2 (en) | Method and apparatus for evaluating jointly trained models - Patents.com | |
CN108809718B (en) | Network access method, system, computer device and medium based on virtual resources | |
US20150302466A1 (en) | Data determination method and device for a thermodynamic chart | |
US20140278926A1 (en) | System and method for attribution of mobile advertisements related to mobile applications | |
US20140278927A1 (en) | System and method for attribution of mobile advertisements related to mobile applications | |
US11727082B2 (en) | Machine-learning based personalization | |
CN109684364A (en) | The problem of being drawn a portrait based on user processing method, device, equipment and storage medium | |
CN112017007A (en) | User behavior data processing method and device, computer equipment and storage medium | |
CN110795697A (en) | Logic expression obtaining method and device, storage medium and electronic device | |
CN111813816B (en) | Data processing method, device, computer readable storage medium and computer equipment | |
US20170193087A1 (en) | Real-Time Markup of User Text with Deep Links | |
US11093979B2 (en) | Machine learning system for configuring social media campaigns | |
CN107895289A (en) | A kind of task dissemination method and device | |
US11501081B1 (en) | Methods, mediums, and systems for providing a model for an end-user device | |
Ma et al. | Roaming through the castle tunnels: an empirical analysis of inter-app navigation of Android apps | |
CN116450723A (en) | Data extraction method, device, computer equipment and storage medium | |
KR20210000041A (en) | Method and apparatus for analyzing log data in real time | |
CN115586939A (en) | Page management method and management device, electronic equipment and storage medium | |
US11562121B2 (en) | AI driven content correction built on personas |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |