Method, apparatus, storage medium, and electronic device for identifying user operations
By monitoring user operations and combining preset configuration files, the problem of complexity and high error risk of modifying source code to obtain click-through rate in the prior art is solved, and safe and efficient click-through rate acquisition is achieved.
Patent Information
- Application Number
- CN202211406166.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-11-10
AI Technical Summary
The prior art obtains click-through rate of page content by modifying the product source code. The process is complicated and the risk of errors is high, and it may affect the normal operation of the product.
By listening to the user's operations on the target page, obtaining operation information, filtering and filtering according to the tags in the page information, combining the identification in the preset configuration file, determining the target information and counting the number of times it has been executed, thereby obtaining the click-through rate.
It realizes the acquisition of click-through rate without modifying the product source code, and avoid product code errors by changing preset configuration files, reducing the risk of errors and improving operational security and efficiency.
Smart Images

Figure CN115659045B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of fintech, and more particularly, to a method, apparatus, storage medium, and electronic device for identifying user operations. Background Art
[0002] With the rapid development of the information age, in order to continuously meet the needs of users and optimize products, it is particularly important to fully understand the operations performed by users on products, their favorite content, as well as opinions and suggestions, so as to generate user portraits. When generating a user portrait, mastering the click-through rate of the content on the product page when the user uses the product can quickly locate the user's preferences, introduce traffic, and better promote the product.
[0003] However, currently, when obtaining the click-through rate, the method used is to perform click event tracking at the code layer for the images to be tracked, and perform the tracking operation while clicking on the images to be tracked. This method requires modifying the source code of the product, which has a great impact on the source code, and the development cost is relatively high. Moreover, it will also cause serious code redundancy in the product, increase the risk of code errors when making modifications, and even affect the operation of the product code, resulting in the product being unable to be used normally, thus having a bad impact on the product.
[0004] Regarding the problem that the implementation process is complex and the error risk is high when obtaining the click-through rate of page content by modifying the product source code in the related art, no effective solution has been proposed yet. Summary of the Invention
[0005] This application provides a method, apparatus, storage medium, and electronic device for identifying user operations to solve the problem that the implementation process is complex and the error risk is high when obtaining the click-through rate of page content by modifying the product source code in the related art.
[0006] According to one aspect of this application, a method for identifying user operations is provided. The method includes: listening for operations performed by a user on a target page to obtain a plurality of operation information, and obtaining a page information indicated by each operation information to obtain a plurality of page information; screening the plurality of page information according to a first tag in each page information to obtain at least one candidate information; obtaining a plurality of preset information from a preset configuration file, and obtaining a preset identifier of each preset information to obtain a plurality of preset identifiers, where each preset information includes a preset identifier; obtaining a second tag of each candidate information, and determining information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain target information; grouping the target information according to the second tag, and determining the number of times the operation corresponding to each group of target information is executed.
[0007] Optionally, monitor the operations performed by the user on the target page to obtain multiple operation information, and obtain a page information indicated by each operation information, where the multiple page information includes: determining the position information of the user clicking on the target page from the operation information to obtain multiple position information; determining the program corresponding to the position information in the target page, and determining the page information of the program as the page information.
[0008] Optionally, filter the multiple page information according to the first tag in each page information to obtain at least one candidate information, including: obtaining a filtering rule, and obtaining the operation type that needs to be filtered from the filtering rule to obtain a target operation type; obtaining the tag of the target operation type to obtain an operation tag; determining the page information with the same first tag and operation tag as the candidate information to obtain at least one candidate information.
[0009] Optionally, before obtaining multiple preset information from a preset configuration file, the method further includes: determining multiple information collection objects, and obtaining the characteristic value of each information collection object to obtain multiple characteristic values; determining the characteristic value as a preset tag to obtain multiple preset tags; adding the preset tag to the preset information obtained by each information collection object to obtain multiple preset information, and combining the multiple preset information to obtain a preset configuration file.
[0010] Optionally, after determining the information with the same second identifier and any one preset identifier from at least one candidate information to obtain the target information, the method further includes: determining the quantity of the target information to obtain a first quantity; in the case where the first quantity is less than or equal to a preset quantity, sending a first warning message, where the first warning message indicates that the preset configuration file has an abnormality.
[0011] Optionally, after monitoring the operations performed by the user on the target page to obtain multiple operation information, the method further includes: in the case where no operation information is obtained within a preset time interval, sending a second warning message, where the second warning message indicates that the step of monitoring the operations performed by the user on the target page has an abnormality.
[0012] Optionally, after determining the execution times of the operations corresponding to each group of target information, the method further includes: obtaining the execution times of each operation, and adding the multiple execution times to obtain a total execution times; dividing each execution time by the total execution times in turn to obtain the operation rate of each operation, and selecting the operation rates greater than a preset probability from the multiple operation rates to obtain multiple target operation rates; determining the operations corresponding to the multiple target operation rates as the operations associated with the user, and preloading the page information of the operations associated with the user in the case where the user clicks on the target page again.
[0013] According to another aspect of the present application, there is provided a user operation recognition device. The device includes: a first acquisition unit, configured to monitor operations performed by a user on a target page, obtain a plurality of operation information, and obtain a page information indicated by each operation information, so as to obtain a plurality of page information; a screening unit, configured to screen the plurality of page information according to a first tag in each page information to obtain at least one candidate information; a second acquisition unit, configured to obtain a plurality of preset information from a preset configuration file, and obtain a preset identifier of each preset information, so as to obtain a plurality of preset identifiers, wherein each preset information includes a preset identifier; a third acquisition unit, configured to obtain a second tag of each candidate information, and determine information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain target information; a first determination unit, configured to group the target information according to the second tag, and determine the number of times the operations corresponding to each group of target information are executed.
[0014] According to another aspect of the embodiments of the present invention, there is also provided a computer storage medium for storing a program, wherein when the program runs, it controls a device where the computer storage medium is located to execute a user operation recognition method.
[0015] According to another aspect of the embodiments of the present invention, there is also provided an electronic device including one or more processors and a memory; the memory stores computer-readable instructions, and the processor is configured to run the computer-readable instructions, wherein when the computer-readable instructions run, they execute a user operation recognition method.
[0016] Through the present application, the following steps are adopted: listening to the operations performed by the user on the target page to obtain multiple operation information, and obtaining one page information indicated by each operation information to obtain multiple page information; screening the multiple page information according to the first tags in each page information to obtain at least one candidate information; obtaining multiple preset information from a preset configuration file, and obtaining the preset identifiers of each preset information to obtain multiple preset identifiers, where each preset information includes a preset identifier; obtaining the second tags of each candidate information, and determining the information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain the target information; grouping the target information according to the second tags, and determining the number of times the operations corresponding to each group of target information are executed. This solves the problem in the related art that obtaining the click-through rate of page content by modifying the product source code has a complex implementation process and a high risk of errors. By setting up a listening program to monitor the target page, obtaining the user's operation information, and comparing and filtering the content of the page information in the operation information with the preset configuration file, the information that needs to confirm the click-through rate is obtained, and the number of occurrences of the filtered information is determined and the click-through rate is calculated based on the number of occurrences, so as to achieve the effect of obtaining the click-through rate without modifying the product source code, and directly changing the content of the preset configuration file when changes are needed, thereby preventing the occurrence of product anomalies caused by product code errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings constituting a part of this application are used to provide a further understanding of this application. The schematic embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation to this application. In the drawings:
[0018] Figure 1 is a flowchart of a method for identifying user operations provided according to an embodiment of this application;
[0019] Figure 2 is a schematic diagram of an optional preset configuration file provided according to an embodiment of this application;
[0020] Figure 3 is a flowchart of an optional method for identifying user operations provided according to an embodiment of this application;
[0021] Figure 4 is a schematic diagram of a device for identifying user operations provided according to an embodiment of this application;
[0022] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments may be combined with each other. The following will describe the present application in detail with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data used in appropriate cases can be interchanged so as to describe the embodiments of the present application here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be noted that the relevant information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in the present disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between the present system and relevant users or institutions. Before obtaining relevant information, a request for obtaining information needs to be sent to the aforementioned users or institutions through the interface, and after receiving the consent information feedback from the aforementioned users or institutions, the relevant information is obtained.
[0027] It should be noted that the method, device, storage medium, and electronic device for identifying user operations determined by the present disclosure can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The application fields of the method, device, storage medium, and electronic device for identifying user operations determined by the present disclosure are not limited.
[0028] According to an embodiment of the present application, a method for identifying user operations is provided.
[0029] Figure 1 is a flowchart of the method for identifying user operations provided according to an embodiment of the present application. As Figure 1 shown, the method includes the following steps:
[0030] Step S101, monitor the operations performed by the user on the target page, obtain multiple operation messages, and acquire the page information indicated by each operation message to obtain multiple page information.
[0031] Specifically, the target page can be a page in a certain financial product, which may include multiple front-end web page pages such as multiple sub-programs, multiple pictures, and text. The operation message can be an operation performed by the user on the target page. For example, clicking on a certain picture to view the large picture or clicking on a certain sub-program to view the program content. A monitoring program can be set up to connect with the program of the current product, so as to monitor the operation messages of the user when using the current product and the code information of the product when the user is operating. For example, the operation message can be that the user clicks on a certain picture in a certain product. At this time, when it is monitored that the user performs a click operation, the picture clicked by the user can be determined, and the information of the picture can be obtained, so as to obtain the page information of the page area where the picture is located.
[0032] Step S102, filter the multiple page information according to the first tags in each page information to obtain at least one candidate message.
[0033] Specifically, after obtaining the page information within a certain period of time, the page information can be filtered according to the first tags in each page information, so as to obtain the candidate page information that needs to be statistically analyzed, that is, the candidate message.
[0034] For example, the first tag can be the picture tag in the page information , after obtaining each page information, it can be determined whether the page information contains a picture tag , so that the page information containing the picture tag can be stored and statistically analyzed, while the remaining page information can be deleted. The remaining page information can be content such as text or blank area clicked.
[0035] Step S103, obtain multiple preset messages from the preset configuration file, and obtain the preset identifier of each preset message to obtain multiple preset identifiers, where each preset message includes a preset identifier.
[0036] Specifically, after obtaining the candidate message, further screening of the information to be statistically analyzed can be obtained from the preset configuration file. At this time, the preset identifier of each preset message can be obtained, and the final required target message can be obtained from the multiple candidate messages according to the preset identifier.
[0037] Figure 2 is a schematic diagram of an optional preset configuration file provided according to an embodiment of the present application, as Figure 2As shown, multiple buried point object configuration units, that is, preset information, can be set in a preset configuration file first. Each buried point object configuration unit corresponds to a page information. The buried point object configuration unit includes a preset identifier. The number of units and the content of the units in the preset configuration file can be flexibly changed according to the content of the page information to be counted, so that the page content of different applications can be obtained and filtered.
[0038] Step S104: Obtain the second tag of each candidate information, and determine the information with the second identifier being the same as any one of the preset identifiers from at least one candidate information to obtain the target information.
[0039] Specifically, each candidate information also includes a second tag as the unique identifier of each page information. For example, when the target information is a picture, the unique address attribute src of the picture can be used as the second identifier of the target information. After obtaining the second identifier, the second identifier can be compared with the preset identifiers of each buried point object configuration unit in the preset configuration file in sequence. When the second identifier is the same as a certain preset identifier, the candidate information corresponding to the second identifier can be determined as the target information and stored.
[0040] Step S105: Group the target information according to the second tag, and determine the number of times the operation corresponding to each group of target information is executed.
[0041] Specifically, after obtaining multiple target information, since a certain picture may be clicked multiple times, there may be multiple identical information in the target information. At this time, the same target information can be grouped according to the second tag in the target information, so that the number of times each operation is executed can be determined according to the number of target information in each group. For example, if the number of target information corresponding to a certain picture is 100, it means that the picture has been clicked 100 times.
[0042] Furthermore, after obtaining multiple information, the click-through rate can be determined according to the number of times each page information is operated. For example, if the click times of 5 pictures are all 100, the click-through rate of each picture is 20%.
[0043] The user operation recognition method provided by the embodiments of this application obtains multiple operation information by listening to the operations performed by the user on the target page, and obtains a page information indicated by each operation information to obtain multiple page information; filters the multiple page information according to the first tags in each page information to obtain at least one candidate information; obtains multiple preset information from a preset configuration file and obtains a preset identifier for each preset information to obtain multiple preset identifiers, where each preset information includes a preset identifier; obtains the second tags of each candidate information, and determines the information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain the target information; groups the target information according to the second tags, and determines the number of times the operations corresponding to each group of target information are executed. This solves the problem in the related art that the click-through rate of page content is obtained by modifying the product source code, and the implementation process is complex and the risk of error is high. By setting up a monitoring program to monitor the target page, obtaining the user's operation information, and comparing and filtering the content of the page information in the operation information with the preset configuration file, the information that needs to confirm the click-through rate is obtained, and the number of occurrences of the filtered information is determined and the click-through rate is calculated based on the number of occurrences. Thus, the effect of obtaining the click-through rate without modifying the product source code and directly changing the content of the preset configuration file when changes are needed is achieved, thereby preventing the occurrence of product anomalies caused by product code errors.
[0044] Optionally, in the user operation recognition method provided by the embodiments of this application, obtaining multiple operation information by listening to the operations performed by the user on the target page, and obtaining a page information indicated by each operation information to obtain multiple page information includes: determining the position information of the user clicking on the target page from the operation information to obtain multiple position information; determining the program corresponding to the position information in the target page, and determining the page information of the program as the page information.
[0045] Specifically, when determining the user's operation information, the user's operations can be listened to first. For example, the click positions of the user are determined to obtain multiple position information, and the page content at the user's click position is determined in the program according to the correspondence between the position information and the content on the page. Furthermore, the page content corresponding to the position information is obtained from a large amount of page content on the current page according to the position information, so as to obtain multiple page information.
[0046] Optionally, in the method for identifying user operations provided in the embodiments of the present application, screening multiple page information according to the first tags in each page information to obtain at least one piece of candidate information includes: obtaining a screening rule, and obtaining the operation type to be screened from the screening rule to obtain a target operation type; obtaining the tag of the target operation type to obtain an operation tag; determining the page information with the same first tag and operation tag as the candidate information to obtain at least one piece of candidate information.
[0047] Specifically, when screening multiple page information, it is first necessary to determine the screening rule and determine the operation type to be screened from the screening rule. Among them, the operation type can be: click on a picture, click on a video, click on text, click on a document, etc. After determining the operation type to be screened, the operation tag corresponding to each operation type can be obtained, and when the first tag is the same as the operation tag, the page information is determined to be the information corresponding to the operation type to be screened, so as to complete the screening of the page information corresponding to the operation to be obtained.
[0048] Optionally, in the method for identifying user operations provided in the embodiments of the present application, before obtaining multiple preset information from a preset configuration file, the method further includes: determining multiple information collection objects, and obtaining the characteristic values of each information collection object to obtain multiple characteristic values; determining the characteristic values as preset tags to obtain multiple preset tags; adding the preset tags to the preset information obtained for each information collection object to obtain multiple preset information, and combining the multiple preset information to obtain a preset configuration file.
[0049] Specifically, before obtaining multiple preset information from a preset configuration file, it is necessary to first generate a preset configuration file. At this time, it is possible to first determine the objects for which information needs to be collected and obtain the characteristic values of each information collection object. For example, when the information collection object is a picture, the characteristic value can be determined as the characteristic attribute value src in each picture (the src value of each picture is a unique value that is not repeated).
[0050] After setting the characteristic values, the characteristic values can be determined as the preset identifiers in the preset information corresponding to the information collection object, so that it is possible to determine whether the information collection object exists in multiple candidate information according to the preset identifier.
[0051] It should be noted that each preset information may further include a custom field. After the custom field is set and the page information with the second identifier being the same as the preset identifier is obtained, the content in the custom field can be executed to change the obtained result. For example, when the custom field is the collection quantity of the information collection object multiplied by 2, after obtaining the page information corresponding to 5 such collection objects, the operation quantity corresponding to the page information can be multiplied by 2 before calculating the click-through rate, so as to make targeted adjustments to some collection objects.
[0052] After obtaining multiple preset information, the multiple preset information can be integrated and added to a certain file to obtain a preset configuration file.
[0053] Optionally, in the user operation recognition method provided in the embodiments of the present application, after determining the information with the second identifier being the same as any one of the preset identifiers from at least one candidate information to obtain the target information, the method further includes: determining the quantity of the target information to obtain the first quantity; when the first quantity is less than or equal to the preset quantity, sending a first warning message, where the first warning message indicates that the preset configuration file is abnormal.
[0054] Specifically, the preset quantity can be 0. After determining the quantity of the target information, when the target information is 0, it indicates that there is no target information that conforms to the preset identifier in the preset configuration file. At this time, it may be that the preset configuration file is abnormal, resulting in an abnormal preset identifier, and further, even when the second identifier is the same as the preset identifier, the candidate information is not determined as the target information. At this time, a first warning message can be sent so that the staff can check the preset configuration file to ensure that the preset configuration file is normal, thereby preventing abnormal information statistics.
[0055] Optionally, in the user operation recognition method provided in the embodiments of the present application, after listening to the operations performed by the user on the target page to obtain multiple operation information, the method further includes: when no operation information is obtained within a preset time interval, sending a second warning message, where the second warning message indicates that the step of listening to the operations performed by the user on the target page is abnormal.
[0056] Specifically, since it is necessary to listen to the user's operations in real time when the user uses the application, therefore, when no operation instruction is obtained within the preset time interval, it indicates that the user has not performed any operation when using the application. At this time, it can be determined whether there is an abnormality in the listening operation of the user's operation, thereby preventing the phenomenon that the user performs an operation but no operation information is obtained, and further preventing abnormal information statistics.
[0057] Optionally, in the method for identifying user operations provided in the embodiments of the present application, after determining the number of times each operation corresponding to each group of target information is executed, the method further includes: obtaining the number of times each operation is executed, adding up the multiple numbers of times executed to obtain the total number of executions; successively dividing each number of times executed by the total number of executions to obtain the operation rate of each operation, and selecting the operation rates greater than the preset probability from the multiple operation rates to obtain multiple target operation rates; determining the operations corresponding to the multiple target operation rates as the operations associated with the user, and preloading the page information of the operations associated with the user when the user clicks the target page again.
[0058] Specifically, the number of times each operation is executed can be obtained, and the sum of the multiple numbers of times executed can be calculated to obtain the total number of executions. Each number of times executed is successively divided by the total number of executions to obtain the operation rate of each operation.
[0059] For example, if the number of times operation A is executed is 5, the number of times operation B is executed is 6, and the number of times operation C is executed is 9, then the operation rate of operation A is 25%.
[0060] After obtaining the operation rate of each operation, the operations with operation rates greater than the preset probability can be determined as target operations and recorded. Thus, when the user uses the application next time, preloading can be performed according to the click-through rate, so that when the user clicks, the information content can be directly displayed, thereby saving the user's time.
[0061] Figure 3 is a flowchart of the optional method for identifying user operations provided in the embodiments of the present application, as Figure 3 shown, which includes:
[0062] Step Step1: The user opens the application, and the operations of the user are monitored when the user starts the application.
[0063] Step Step2, by obtaining the operation type of the operation, and identifying and obtaining the operation with the operation type of clicking on a picture through rendering tags Identify and obtain the operation with the operation type of clicking on a picture.
[0064] Step Step3, by obtaining the unique src value of each picture and comparing this value with multiple preset src values in the preset configuration file, if there is the same src value, determine this operation as the target operation and store it.
[0065] Step Step4, determine the number of times each target operation is executed, and calculate the click-through rate according to the number of times, so as to obtain the click-through rates of multiple click operations.
[0066] Through the above steps, a monitoring program can be set up to monitor the target page, obtain the operation information of the user, and compare and filter the content of the page information in the operation information with a preset configuration file to obtain the information that needs to confirm the click-through rate, and determine the number of occurrences of the filtered information and calculate the click-through rate based on the number of occurrences. Thus, the effect of obtaining the click-through rate without modifying the source code of the product is achieved, and when changes are needed, the content of the preset configuration file can be directly changed, thereby preventing the occurrence of abnormal phenomena caused by product code errors.
[0067] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0068] The embodiment of the present application also provides a recognition device for user operations. It should be noted that the recognition device for user operations in the embodiment of the present application can be used to execute the recognition method for user operations provided in the embodiment of the present application. The following introduces the recognition device for user operations provided in the embodiment of the present application.
[0069] Figure 4 is a schematic diagram of the recognition device for user operations provided according to the embodiment of the present application. As Figure 4 shown, the device includes: a first acquisition unit 41, a screening unit 42, a second acquisition unit 43, a third acquisition unit 44, and a first determination unit 45.
[0070] The first acquisition unit 41 is used to monitor the operations performed by the user on the target page, obtain a plurality of operation information, and obtain a page information indicated by each operation information to obtain a plurality of page information.
[0071] The screening unit 42 is used to screen the plurality of page information according to the first label in each page information to obtain at least one candidate information.
[0072] The second acquisition unit 43 is used to obtain a plurality of preset information from the preset configuration file and obtain a preset identifier of each preset information to obtain a plurality of preset identifiers, where each preset information includes a preset identifier.
[0073] The third acquisition unit 44 is used to obtain the second label of each candidate information and determine the information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain the target information.
[0074] The first determination unit 45 is used to group the target information according to the second label and determine the number of times the operation corresponding to each group of target information is executed.
[0075] The recognition device for user operations provided by the embodiments of the present application includes a first acquisition unit 41, which is used to monitor the operations performed by the user on the target page, obtain a plurality of operation information, and obtain a page information indicated by each operation information, so as to obtain a plurality of page information. A screening unit 42 is used to screen the plurality of page information according to the first tags in each page information to obtain at least one candidate information. A second acquisition unit 43 is used to obtain a plurality of preset information from a preset configuration file, and obtain a preset identifier of each preset information, so as to obtain a plurality of preset identifiers, where each preset information includes a preset identifier. A third acquisition unit 44 is used to obtain the second tags of each candidate information, and determine the information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain the target information. A first determination unit 45 is used to group the target information according to the second tags, and determine the number of times the operations corresponding to each group of target information are executed. This solves the problem in the related art that the method of modifying the product source code is used to obtain the click-through rate of page content, and the implementation process is complex and the risk of errors is high. By setting up a monitoring program to monitor the target page, obtaining the user's operation information, and comparing and filtering the content of the page information in the operation information with the preset configuration file, the information that needs to confirm the click-through rate is obtained, and the number of occurrences of the filtered information is determined and the click-through rate is calculated according to the number of occurrences, so as to achieve the effect of obtaining the click-through rate without modifying the product source code, and directly changing the content of the preset configuration file when changes are needed, thereby preventing the phenomenon of product anomalies caused by product code errors.
[0076] Optionally, in the recognition device for user operations provided by the embodiments of the present application, the first acquisition unit 41 includes: a first determination module, which is used to determine the position information of the user clicking on the target page from the operation information to obtain a plurality of position information; a second determination module, which is used to determine the program corresponding to the position information on the target page, and determine the page information of the program as the page information.
[0077] Optionally, in the recognition device for user operations provided by the embodiments of the present application, the screening unit 42 includes: a first acquisition module, which is used to obtain a screening rule, and obtain the operation types that need to be screened from the screening rule to obtain the target operation types; a second acquisition module, which is used to obtain the tags of the target operation types to obtain operation tags; a third determination module, which is used to determine the page information with the same first tag and operation tag as the candidate information to obtain at least one candidate information.
[0078] Optionally, in the user operation recognition device provided in the embodiments of the present application, the device further includes: a second determination unit, configured to determine a plurality of information collection objects, and obtain the characteristic values of each information collection object, so as to obtain a plurality of characteristic values; a third determination unit, configured to determine the characteristic values as preset tags, so as to obtain a plurality of preset tags; an addition unit, configured to add the preset tags to the preset information of each information collection object, so as to obtain a plurality of preset information, and combine the plurality of preset information to obtain a preset configuration file.
[0079] Optionally, in the user operation recognition device provided in the embodiments of the present application, the device further includes: a fourth determination unit, configured to determine the quantity of target information to obtain a first quantity; a first alarm unit, configured to send a first alarm message when the first quantity is less than or equal to a preset quantity, where the first alarm message indicates that the preset configuration file is abnormal.
[0080] Optionally, in the user operation recognition device provided in the embodiments of the present application, the device further includes: a second alarm unit, configured to send a second alarm message when operation information is not obtained within a preset time interval, where the second alarm message indicates that the step of listening for the operation performed by the user on the target page is abnormal.
[0081] Optionally, in the user operation recognition device provided in the embodiments of the present application, the device further includes: a fourth acquisition unit, configured to acquire the execution times of each operation, and add the plurality of execution times to obtain a total execution times; a calculation unit, configured to divide each execution time by the total execution times in turn to obtain the operation rate of each operation, and select the operation rates greater than a preset probability from the plurality of operation rates to obtain a plurality of target operation rates; a fifth determination unit, configured to determine the operations corresponding to the plurality of target operation rates as the operations associated with the user, and preload the page information of the operations associated with the user when the user clicks the target page again.
[0082] The above-mentioned user operation recognition device includes a processor and a memory. The above-mentioned first acquisition unit 41, screening unit 42, second acquisition unit 43, third acquisition unit 44, first determination unit 45, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement corresponding functions.
[0083] The processor includes a kernel, and the kernel retrieves the corresponding program units from the memory. One or more kernels can be set, and by adjusting the kernel parameters, the problem in the related art of obtaining the click-through rate of page content by modifying the product source code, with a complex implementation process and a high risk of errors, is solved.
[0084] The memory may include non - permanent memory in the form of computer - readable media, such as random access memory (RAM) and / or non - volatile memory, such as read - only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0085] Embodiments of the present invention provide a computer - readable storage medium, on which a program is stored, and when the program is executed by a processor, the recognition method of the user operation is implemented.
[0086] Embodiments of the present invention provide a processor for running a program, and when the program runs, the recognition method of the user operation is executed.
[0087] As Figure 5 shown, embodiments of the present invention provide an electronic device. The electronic device 50 includes a processor, a memory, and a program stored on the memory and executable on the processor. When the processor executes the program, the following steps are implemented: listening to the operations performed by the user on the target page to obtain a plurality of operation information, and obtaining a page information indicated by each operation information to obtain a plurality of page information; screening the plurality of page information according to the first label in each page information to obtain at least one candidate information; obtaining a plurality of preset information from a preset configuration file, and obtaining a preset identifier of each preset information to obtain a plurality of preset identifiers, where each preset information includes a preset identifier; obtaining the second label of each candidate information, and determining the information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain the target information; grouping the target information according to the second label, and determining the execution times of the operations corresponding to each group of target information. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
[0088] This application also provides a computer program product, which is suitable for executing a program initialized with the following method steps when executed on a data - processing device: listening to the operations performed by the user on the target page to obtain a plurality of operation information, and obtaining a page information indicated by each operation information to obtain a plurality of page information; screening the plurality of page information according to the first label in each page information to obtain at least one candidate information; obtaining a plurality of preset information from a preset configuration file, and obtaining a preset identifier of each preset information to obtain a plurality of preset identifiers, where each preset information includes a preset identifier; obtaining the second label of each candidate information, and determining the information whose second identifier is the same as any one of the preset identifiers from at least one candidate information to obtain the target information; grouping the target information according to the second label, and determining the execution times of the operations corresponding to each group of target information.
[0089] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) that contain computer-usable program code.
[0090] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0091] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implements the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0092] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0093] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.
[0094] The memory may include non-permanent memory in the computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
[0095] A computer-readable medium includes permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information accessible by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media, such as modulated data signals and carrier waves.
[0096] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0097] The above are only embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
Claims
1. A method for identifying user operations, characterized in that, Including: Monitoring the operations performed by the user on the target page, obtaining multiple operation information, and obtaining one page information indicated by each operation information, thereby obtaining multiple page information; Filtering the multiple page information according to the first tags in each page information to obtain at least one candidate information; Obtaining multiple preset information from a preset configuration file, and obtaining the preset identifiers of each preset information, thereby obtaining multiple preset identifiers, wherein each of the preset information includes a preset identifier; Obtaining the second tags of each candidate information, and determining the information whose second identifier is the same as any one of the preset identifiers from the at least one candidate information, thereby obtaining the target information; Grouping the target information according to the second tags, and determining the execution times of the operations corresponding to each group of target information.
2. The method according to claim 1, characterized in that, Monitoring the operations performed by the user on the target page, obtaining multiple operation information, and obtaining one page information indicated by each operation information, including: Determining the position information where the user clicks on the target page from the operation information, thereby obtaining multiple position information; Determining the program corresponding to the position information in the target page, and determining the page information of the program as the page information.
3. The method according to claim 1, wherein Filtering the multiple page information according to the first tags in each page information to obtain at least one candidate information, including: Obtaining a filtering rule, and obtaining the operation type to be filtered from the filtering rule, thereby obtaining the target operation type; Obtaining the tag of the target operation type, thereby obtaining the operation tag; Determining the page information with the same first tag and operation tag as the candidate information, thereby obtaining the at least one candidate information.
4. The method according to claim 1, wherein Before obtaining multiple preset information from a preset configuration file, the method further includes: Determining multiple information collection objects, and obtaining the characteristic values of each information collection object, thereby obtaining multiple characteristic values; Determining the characteristic values as preset tags, thereby obtaining multiple preset tags; Adding the preset tags to the preset information obtained for each information collection object, thereby obtaining multiple preset information, and combining the multiple preset information to obtain the preset configuration file.
5. The method according to claim 1, wherein After determining the information whose second identifier is the same as any one of the preset identifiers from the at least one candidate information, thereby obtaining the target information, the method further includes: Determining the quantity of the target information, thereby obtaining the first quantity; When the first quantity is less than or equal to a preset quantity, sending a first warning message, wherein the first warning message indicates that the preset configuration file has an abnormality.
6. The method according to claim 1, characterized in that, After monitoring the operations performed by the user on the target page and obtaining multiple operation information, the method further includes: When no operation information is obtained within a preset time interval, sending a second warning message, wherein the second warning message indicates that the step of monitoring the operations performed by the user on the target page has an abnormality.
7. The method according to claim 1, characterized in that, After determining the execution times of the operations corresponding to each group of target information, the method further includes: Obtaining the execution times of each operation, and adding the multiple execution times to obtain the total execution times; Divide the number of times each operation is executed by the total number of executions in sequence to obtain the operation rate of each operation, and select the operation rates greater than a preset probability from the multiple operation rates to obtain multiple target operation rates; Determine the operations corresponding to the multiple target operation rates as the operations associated with the user, and pre-load the page information of the operations associated with the user when the user clicks the target page again.
8. An identification device for user operations, characterized in that, Comprising: A first acquisition unit, configured to monitor the operations performed by a user on a target page, obtain multiple operation information, and acquire one page information indicated by each operation information to obtain multiple page information; A screening unit, configured to screen the multiple page information according to the first tags in each page information to obtain at least one candidate information; A second acquisition unit, configured to acquire multiple preset information from a preset configuration file, and acquire the preset identifiers of each preset information to obtain multiple preset identifiers, wherein each of the preset information includes a preset identifier; A third acquisition unit, configured to acquire the second tags of each candidate information, and determine the information whose second identifier is the same as any one of the preset identifiers from the at least one candidate information to obtain target information; A first determination unit, configured to group the target information according to the second tags, and determine the number of times the operations corresponding to each group of target information are executed.
9. A computer storage medium, characterized in that, The computer storage medium is used to store a program, wherein when the program runs, it controls the device where the computer storage medium is located to execute the user operation recognition method according to any one of claims 1 to 7.
10. An electronic device, characterized in that, Comprising one or more processors and a memory, the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the user operation recognition method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Data processing method and device, computer readable storage medium and computer device
CN110119336A
Event monitoring method and device, computer equipment and storage medium
CN110647438A