Data processing method, device, related equipment and storage medium
By acquiring and reporting data in the terminal environment, the problem of insufficient optimization of data processing methods in the prior art is solved, efficient heat map generation and distribution is achieved, reducing operation and maintenance costs and improving user experience.
Patent Information
- Application Number
- CN202011255946.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-11
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2040-11-11
AI Technical Summary
When providing heat map services to e-commerce users, the data processing methods in the existing technology still need to be optimized, resulting in system compatibility issues and high operation and maintenance costs, which in turn affects data processing efficiency and user experience.
By obtaining the pending data in the terminal environment, including obtaining pictures, coordinates of preset click locations and buried point information, and reporting these information to the server. The server generates a heat map based on this information and issues it to the client.
This avoids system compatibility issues that may be caused by processing data in a server simulation environment, reduces operation and maintenance costs, improves data processing efficiency, and thus improves the efficiency and user experience of providing users with heat maps.
Smart Images

Figure CN113742618B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, apparatus, related equipment and storage medium. Background Art
[0002] In order to understand the online sales / marketing effects of consumers and their own products, more and more e-commerce users have begun to customize merchant heat map services.
[0003] However, in the related art, in the process of providing heat maps to users, the data processing method still needs to be optimized. Summary of the invention
[0004] To solve the related technical problems, the embodiments of the present application provide a data processing method, apparatus, related equipment and storage medium.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] At least one embodiment of the present application provides a data processing method, which is applied to a terminal and includes:
[0007] Acquire data to be processed; the data to be processed includes at least one picture; the at least one picture can constitute a complete screenshot of the target webpage;
[0008] For each of the at least one picture, obtain the coordinates of at least one preset click position corresponding to the corresponding picture; and obtain the burying point information corresponding to each preset click position;
[0009] The at least one image, the coordinates of at least one preset click position corresponding to each image, and the burying point information corresponding to each preset click position are reported to the server so that the server can generate a heat map corresponding to the target web page.
[0010] In addition, according to at least one embodiment of the present application, obtaining the data to be processed includes:
[0011] Get pending tasks from the server;
[0012] Determine a target web page according to the acquired pending tasks;
[0013] The data to be processed is obtained based on the determined target web page.
[0014] In addition, according to at least one embodiment of the present application, the step of obtaining the data to be processed based on the determined target webpage includes:
[0015] The target webpage is screenshoted to obtain at least one picture.
[0016] In addition, according to at least one embodiment of the present application,
[0017] The coordinates of at least one preset click position corresponding to the corresponding image and the burying point information corresponding to each preset click position are obtained from the local information library.
[0018] In addition, according to at least one embodiment of the present application, reporting the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the burying point information corresponding to each preset click position to the server includes:
[0019] Reporting the at least one picture to the server, and obtaining a Uniform Resource Locator (URL) corresponding to each picture in the at least one picture;
[0020] For each of the at least one picture, a correspondence is established between the URL corresponding to the corresponding picture, the coordinates of at least one preset click position corresponding to the corresponding picture, and the burying point information corresponding to each preset click position, and the established correspondence is reported to the server.
[0021] In addition, according to at least one embodiment of the present application, the establishing of a corresponding relationship between a URL corresponding to a corresponding image, coordinates of at least one preset click position corresponding to the corresponding image, and burying point information corresponding to each preset click position includes:
[0022] By means of JavaScript Object Notation (JSON), a correspondence is established between the URL corresponding to the corresponding image, the coordinates of at least one preset click position corresponding to the corresponding image, and the burying point information corresponding to each preset click position.
[0023] At least one embodiment of the present application further provides a data processing method, characterized in that it is applied to a server and includes:
[0024] At least one picture reported by the receiving terminal, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position; the at least one picture can form a complete screenshot of the target webpage;
[0025] Generate a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position;
[0026] Send the heat map corresponding to the target webpage to the target client.
[0027] In addition, according to at least one embodiment of the present application, generating a heat map corresponding to the target web page based on the at least one image, the coordinates of at least one preset click position corresponding to each image, and the embedding information corresponding to each preset click position includes:
[0028] Performing jigsaw processing on the at least one picture to obtain a first picture, wherein the first picture corresponds to at least one preset click position;
[0029] For each preset click position among the at least one preset click position, the number of times the corresponding preset click position is clicked within a preset time range is determined using the burying point information corresponding to the corresponding preset click position, and the number of times the corresponding preset click position is clicked within the preset time range is marked on the first picture using the coordinates of the corresponding preset click position to obtain a heat map corresponding to the target web page.
[0030] In addition, according to at least one embodiment of the present application, generating a heat map corresponding to the target web page based on the at least one image, the coordinates of at least one preset click position corresponding to each image, and the embedding information corresponding to each preset click position includes:
[0031] For at least one preset click position corresponding to each picture in the at least one picture, determine the number of times the corresponding preset click position is clicked within a preset time range using the buried point information corresponding to the corresponding preset click position, and mark the number of times the corresponding preset click position is clicked within the preset time range on the corresponding picture using the coordinates of the corresponding preset click position, to obtain at least one second picture corresponding to the at least one picture;
[0032] The at least one second image is subjected to puzzle processing to obtain a heat map corresponding to the target webpage.
[0033] At least one embodiment of the present application further provides a terminal, including:
[0034] An acquisition unit, configured to acquire data to be processed; the data to be processed includes at least one picture; the at least one picture can constitute a complete screenshot of a target web page;
[0035] A first processing unit is used to obtain, for each of the at least one picture, the coordinates of at least one preset click position corresponding to the corresponding picture; and obtain the buried point information corresponding to each preset click position;
[0036] The first sending unit is used to report the at least one image, the coordinates of at least one preset click position corresponding to each image, and the burying point information corresponding to each preset click position to the server, so that the server can generate a heat map corresponding to the target web page.
[0037] At least one embodiment of the present application further provides a server, characterized in that it includes:
[0038] A first receiving unit is used to receive at least one picture reported by a terminal, coordinates of at least one preset click position corresponding to each picture, and burying point information corresponding to each preset click position; the at least one picture can constitute a complete screenshot of the target web page;
[0039] A second processing unit, configured to generate a heat map corresponding to the target web page based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position;
[0040] The second sending unit is used to send the heat map corresponding to the target webpage to the target client.
[0041] At least one embodiment of the present application further provides a data processing device, comprising: a processor and a memory for storing a computer program that can be run on the processor; wherein,
[0042] The processor is used to execute the steps of any method on the terminal side or the steps of any method on the server side when running the computer program.
[0043] At least one embodiment of the present application further provides a storage medium, wherein the medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of any method on the terminal side, or implements the steps of any method on the server side.
[0044] The data processing method, apparatus, related equipment and storage medium provided in the embodiments of the present application, the terminal obtains data to be processed; the data to be processed includes at least one picture; the at least one picture can constitute a complete screenshot of the target web page; for each of the at least one picture, the coordinates of at least one preset click position corresponding to the corresponding picture are obtained; and the burying point information corresponding to each preset click position is obtained; the coordinates of the at least one picture, the at least one preset click position corresponding to each picture, and the burying point information corresponding to each preset click position are reported to the server; the server generates a heat map corresponding to the target web page based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the burying point information corresponding to each preset click position; and the heat map corresponding to the target web page is sent to the target client. The solution of the embodiment of the present application determines at least one image to be processed, the coordinates of at least one preset click position corresponding to each image, and the burrowing point information corresponding to each preset click position in a real terminal environment, and reports the determined information to the server so that the server can generate a heat map. In this way, system compatibility problems that may be caused by data processing in a simulated environment of the server can be avoided, operation and maintenance costs can be reduced, data processing efficiency can be improved, and the efficiency of providing heat maps to users can be improved, thereby improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A flowchart of a data processing method according to an embodiment of the present application;
[0046] Figure 2 A schematic diagram of an application scenario of an embodiment of the present application;
[0047] Figure 3 A flowchart of another data processing method according to an embodiment of the present application;
[0048] Figure 4 A schematic diagram of an application scenario of an application embodiment of the present application;
[0049] Figure 5 This is a flow chart of a data processing method according to an embodiment of the present application;
[0050] Figure 6 This is a schematic diagram of the structure of the terminal in the embodiment of the present application;
[0051] Figure 7 This is a schematic diagram of the structure of the server in the embodiment of the present application;
[0052] Figure 8 Schematic diagram of the hardware structure of the data processing device according to the embodiment of the present application. DETAILED DESCRIPTION
[0053] The technical solution of the present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0054] The present application embodiment provides a data processing method, which is applied to a terminal, such as Figure 1 As shown, the method includes:
[0055] Step 101: Obtain data to be processed;
[0056] Here, the data to be processed includes at least one picture; the at least one picture can constitute a complete screenshot of the target webpage;
[0057] Step 102: for each of the at least one picture, obtain the coordinates of at least one preset click position corresponding to the corresponding picture; and obtain the buried point information corresponding to each preset click position;
[0058] Step 103: Report the at least one image, the coordinates of at least one preset click position corresponding to each image, and the burying point information corresponding to each preset click position to the server, so that the server can generate a heat map corresponding to the target web page.
[0059] Here, it should be noted that the terminal may include a personal computer (PC), a mobile phone, etc.; the PC may include a desktop computer, a laptop computer, a tablet computer, etc.
[0060] In actual application, the data processing method provided in the embodiment of the present application can be implemented by an application (APP) installed on the terminal. For example, since the online sales of goods are usually achieved through mobile phone APPs, in order to more conveniently obtain the data to be processed, the data processing method provided in the embodiment of the present application can be implemented by adding a new function in the e-commerce APP. The mobile phone here can be an Android system (which can be expressed as Android in English) or an Apple mobile device operating system (which can be expressed as iOS in English).
[0061] In actual application, the data processing method provided by the application embodiment can be implemented in a simulation environment according to the requirements. For example, Figure 2As shown, the script module (which can be a Shell script) and the Android emulator run on the first server. The first server obtains the pending tasks from the second server, and obtains the pending images according to the pending tasks. After obtaining the pending images, the images can be uploaded to the third server, and the URL corresponding to the images can be obtained. The URL corresponding to the images, the click location coordinate information, and the buried point information are then uploaded to the second server, so that the second server can generate the corresponding heat map and provide it to the user. After the script module obtains the pending tasks, it can start the Android emulator with the task information through the Android startup command (adbshell am start), and the Android emulator opens the corresponding target web page and obtains the pending images. However, using Figure 2 When the data processing method provided by the embodiment of the present application is implemented in the application scenario, there may be compatibility issues between the Android system and the server's own system, which will lead to low data processing efficiency; and, since there are many servers that need to be maintained during operation and maintenance (the first server, the second server, and the third server), the operation and maintenance costs are high. Therefore, the data processing method provided by the embodiment of the application can also be implemented in a real terminal environment, such as a mobile phone; in this way, since the development environment of the APP is consistent with the actual application environment in the real terminal environment, there will be no system compatibility issues, which improves data processing efficiency. At the same time, the maintenance cost of the terminal is lower than the maintenance cost of the server, which greatly reduces the operation and maintenance cost.
[0062] Based on this, in various embodiments of the present application, at least one image to be processed, the coordinates of at least one preset click position corresponding to each image, and the burial point information corresponding to each preset click position are determined in a real terminal environment, and the determined information is reported to the server for the server to generate a heat map. In this way, system compatibility issues that may be caused by data processing in a simulated environment of the server can be avoided, operation and maintenance costs can be reduced, data processing efficiency can be improved, and the efficiency of providing heat maps to users can be improved, thereby improving user experience.
[0063] In actual application, after receiving the at least one picture reported by the terminal, the coordinates of at least one preset click position corresponding to each picture, and the burying point information corresponding to each preset click position, the server can first perform puzzle processing on the at least one picture to obtain a first picture, which corresponds to at least one preset click position; that is, merge the at least one picture into the first picture, and integrate the coordinates of at least one preset click position corresponding to each picture to obtain the coordinates of at least one preset click position corresponding to the first picture; thereafter, for each preset click position in the at least one preset click position, the burying point information corresponding to the corresponding preset click position can be used to determine the number of times the corresponding preset click position is clicked within a preset time range (for example, 24 hours), and the coordinates of the corresponding preset click position can be used to mark the number of times the corresponding preset click position is clicked within the preset time range on the first picture to obtain a heat map corresponding to the target web page. Alternatively, the server may first determine the number of times the corresponding preset click position is clicked within a preset time range using the embedding information corresponding to the corresponding preset click position for at least one preset click position corresponding to each of the at least one picture, and mark the number of times the corresponding preset click position is clicked within a preset time range on the corresponding picture using the coordinates of the corresponding preset click position, thereby obtaining at least one second picture corresponding to the at least one picture; thereafter, the at least one second picture is subjected to jigsaw processing to obtain a heat map corresponding to the target web page. Here, the server may maintain an information database locally, and the information database may store embedding information and information on clicks of the corresponding preset click position. The server may query the information database using the embedding information corresponding to the corresponding preset click position to determine the number of times the corresponding preset click position is clicked within a preset time range.
[0064] In actual application, users (such as e-commerce merchants) can subscribe to the heat map service. In this way, when a user who subscribes to the heat map service publishes a new web page, the server can add the web page information published by the user to the task list maintained by itself. The terminal can cyclically obtain tasks to be processed from the server, determine the target web page based on the tasks to be processed, and then obtain the data to be processed based on the determined target web page. In this way, the data processing efficiency can be further improved.
[0065] Based on this, in one embodiment, the method may further include:
[0066] Get pending tasks from the server;
[0067] Determine a target web page according to the acquired pending tasks;
[0068] Accordingly, the obtaining of the data to be processed may include:
[0069] The data to be processed is obtained based on the determined target web page.
[0070] In actual application, the task to be processed obtained by the terminal from the server may include information such as the user identity identification number (ID, Identity document) (such as the merchant ID) corresponding to the target webpage, the webpage ID and the task ID. The acquisition of the data to be processed based on the determined target webpage refers to: acquiring at least one picture that can constitute a complete screenshot of the target webpage, and the data to be processed can be obtained by taking a screenshot.
[0071] Based on this, in one embodiment, obtaining the data to be processed based on the determined target webpage may include:
[0072] The target webpage is screenshoted to obtain at least one picture.
[0073] Specifically, in actual application, the terminal can automatically open the target web page according to the above information such as the user ID, web page ID and task ID, and take a screenshot of the target web page.
[0074] In actual application, the method of taking screenshots of the target webpage can be selected according to the requirements, such as scrolling screenshot processing; or partitioned screenshot processing.
[0075] Based on this, in one embodiment, the screenshot processing of the target webpage may include:
[0076] A scrolling screenshot process is performed on the target webpage.
[0077] In actual application, the terminal may be provided with an information library locally, and the information library may store preset click position coordinate information and the corresponding point information of the preset click position. The preset click position may be determined according to the needs of the user when subscribing to the heat map service. Here, in the case where the data processing method provided in the embodiment of the present application is implemented by an APP installed on the terminal, the information library may also refer to the data stored in the running memory of the terminal when the APP is running.
[0078] Based on this, in one embodiment, obtaining the coordinates of at least one preset click position corresponding to the corresponding image may include:
[0079] Acquire the coordinates of at least one preset click position corresponding to the corresponding image from the local information library;
[0080] Accordingly, obtaining the embedding point information corresponding to each preset click position may include:
[0081] Get the embedding point information corresponding to each preset click location from the local information library.
[0082] In actual application, the method of reporting the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the burying point information corresponding to each preset click position to the server can be set according to needs. For example, the picture information, the coordinate information of the click position, and the burying point information can be reported to the server separately; for another example, a correspondence between the picture information, the coordinate information of the click position, and the burying point information can be established, and the picture information, the coordinate information of the click position, and the burying point information can be reported to the server together.
[0083] Based on this, in one embodiment, reporting the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the burying point information corresponding to each preset click position to the server may include:
[0084] Reporting the at least one picture to the server, and obtaining a URL corresponding to each picture in the at least one picture;
[0085] For each of the at least one picture, a correspondence is established between the URL corresponding to the corresponding picture, the coordinates of at least one preset click position corresponding to the corresponding picture, and the burying point information corresponding to each preset click position, and the established correspondence is reported to the server.
[0086] In one embodiment, the establishing of a correspondence between a URL corresponding to a corresponding image, coordinates of at least one preset click position corresponding to the corresponding image, and burying point information corresponding to each preset click position may include:
[0087] Through JSON, a corresponding relationship is established between the URL corresponding to the corresponding image, the coordinates of at least one preset click position corresponding to the corresponding image, and the burying point information corresponding to each preset click position.
[0088] Accordingly, the embodiment of the present application also provides a data processing method, which is applied to a server, such as Figure 3 As shown, the method includes:
[0089] Step 301: receiving at least one picture reported by a terminal, coordinates of at least one preset click position corresponding to each picture, and burying point information corresponding to each preset click position;
[0090] Here, the at least one image can constitute a complete screenshot of the target webpage;
[0091] Step 302: Generate a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position;
[0092] Step 303: Send the heat map corresponding to the target webpage to the target client.
[0093] In one embodiment, the step of generating a heat map corresponding to the target webpage based on the at least one image, the coordinates of at least one preset click position corresponding to each image, and the embedding information corresponding to each preset click position includes:
[0094] Performing jigsaw processing on the at least one picture to obtain a first picture, wherein the first picture corresponds to at least one preset click position;
[0095] For each preset click position among the at least one preset click position, the number of times the corresponding preset click position is clicked within a preset time range is determined using the burying point information corresponding to the corresponding preset click position, and the number of times the corresponding preset click position is clicked within the preset time range is marked on the first picture using the coordinates of the corresponding preset click position to obtain a heat map corresponding to the target web page.
[0096] In one embodiment, generating a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position includes:
[0097] For at least one preset click position corresponding to each picture in the at least one picture, determine the number of times the corresponding preset click position is clicked within a preset time range using the buried point information corresponding to the corresponding preset click position, and mark the number of times the corresponding preset click position is clicked within the preset time range on the corresponding picture using the coordinates of the corresponding preset click position, to obtain at least one second picture corresponding to the at least one picture;
[0098] The at least one second image is subjected to puzzle processing to obtain a heat map corresponding to the target webpage.
[0099] The data processing method provided in the embodiment of the present application, the terminal obtains the data to be processed; the data to be processed includes at least one picture; the at least one picture can form a complete screenshot of the target web page; for each picture in the at least one picture, the coordinates of at least one preset click position corresponding to the corresponding picture are obtained; and the burying point information corresponding to each preset click position is obtained; the coordinates of at least one preset click position corresponding to the at least one picture, each picture, and the burying point information corresponding to each preset click position are reported to the server; the server generates a heat map corresponding to the target web page based on the coordinates of at least one preset click position corresponding to the at least one picture, each picture, and the burying point information corresponding to each preset click position; and sends the heat map corresponding to the target web page to the target client. The scheme of the embodiment of the present application determines the coordinates of at least one preset click position corresponding to each picture and the burying point information corresponding to each preset click position in a real terminal environment, and reports the determined information to the server for the server to generate a heat map, so that the system compatibility problems that may be caused by data processing in the simulated environment of the server can be avoided, the operation and maintenance costs can be reduced, the data processing efficiency can be improved, and the efficiency of providing heat maps to users can be improved, and the user experience can be improved.
[0100] The present application is further described in detail below in conjunction with application examples.
[0101] The application scenarios of the data processing method provided by this application embodiment are as follows: Figure 4 As shown, a mobile phone with an Android operating system (i.e., the above-mentioned terminal) obtains pending tasks from a fourth server, enters the web page corresponding to the pending task to take a scrolling screenshot, and obtains at least one picture (each picture may correspond to index information, and the index information represents the splicing order of the corresponding pictures when the corresponding web page is spliced using the at least one picture); the at least one picture obtained is reported to a fifth server (the fifth server may be the same as or different from the fourth server), and the URL corresponding to each picture in the at least one picture is obtained, the click position information (i.e., the coordinates of the at least one preset click position) and the burying point information (i.e., the burying point information corresponding to each preset click position) corresponding to each picture in the at least one picture are determined, and the URL, index information, click position information, and burying point information corresponding to each picture in the at least one picture are reported to the fourth server, so that the fourth server can generate a corresponding heat map and provide it to the user.
[0102] Specifically, based on Figure 4 The application scenarios shown are as follows: Figure 5 As shown, the data processing method provided by this application embodiment may include:
[0103] Step 501: The terminal obtains a task to be processed from a server; then executes step 502.
[0104] Specifically, the mobile phone with an Android operating system obtains pending tasks from a task queue maintained locally by the fourth server. The obtained pending tasks may include parameters of the target web page, such as user ID, web page ID, task ID and other information.
[0105] Step 502: Determine whether a task to be processed is obtained; if so, execute step 503; if not, execute step 501.
[0106] Specifically, when there are no pending tasks in the task queue maintained by the fourth server, resulting in the mobile phone failing to obtain the pending tasks from the fourth server, it can wait for a first period of time (for example, 10 seconds) before re-acquiring the task; when the mobile phone fails to obtain the pending task due to program errors or other reasons, it can wait for a second period of time (the second period of time may be less than the first period of time, for example, when the first period of time is 10 seconds, the second period of time may be 5 seconds) before re-acquiring the task.
[0107] Step 503: Start the target webpage according to the task to be processed; then execute step 504.
[0108] Specifically, the mobile phone can carry the parameters of the target webpage to determine and enter the target webpage, that is, automatically open the target webpage.
[0109] Step 504: Take a scrolling screenshot of the target web page to obtain at least one picture and acquire the URL of each picture; then execute step 505.
[0110] Step 505: Integrate the URL, index information, click location information and embedding information of each image; then execute step 506.
[0111] Step 506: Report the integrated information to the server; then re-execute step 501.
[0112] Specifically, after the mobile phone reports the integrated information to the server, the current task to be processed is completed, and the next task to be processed can be processed by executing steps 501 to 506, that is, executing steps 501 to 506 in a loop.
[0113] In practical application, Figure 5 Steps 501 to 506 shown in the figure can be implemented through a control page of the APP, and its specific implementation logic is the same as Figure 1 The specific implementation process of the data processing method shown is the same and will not be described in detail here.
[0114] The data processing method provided by this application embodiment has the following advantages:
[0115] First, it does not rely on the server's simulation environment to avoid system compatibility issues that may be caused by the Android emulator.
[0116] Second, the maintenance cost of mobile phones is lower than that of servers, thus reducing the overall maintenance cost of the system.
[0117] Third, the logic of the entire data processing method can be implemented through the APP, and good communication with the target web page can be achieved within the APP, which reduces the complexity of data processing and improves data processing efficiency.
[0118] In order to implement the method on the terminal side of the embodiment of the present application, the embodiment of the present application also provides a terminal, such as Figure 6 As shown, the terminal includes:
[0119] The acquisition unit 601 is used to acquire data to be processed; the data to be processed includes at least one picture; the at least one picture can constitute a complete screenshot of the target webpage;
[0120] The first processing unit 602 is used to obtain, for each of the at least one picture, the coordinates of at least one preset click position corresponding to the corresponding picture; and obtain the buried point information corresponding to each preset click position;
[0121] The first sending unit 603 is used to report the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the burying point information corresponding to each preset click position to the server, so that the server can generate a heat map corresponding to the target web page.
[0122] In one embodiment, the acquisition unit 601 is used to:
[0123] Get pending tasks from the server;
[0124] Determine a target web page according to the acquired pending tasks;
[0125] The data to be processed is obtained based on the determined target web page.
[0126] In one embodiment, the acquisition unit 601 is used to take a screenshot of the target webpage to obtain at least one picture.
[0127] In one embodiment, the first processing unit 602 is used to obtain the coordinates of at least one preset click position corresponding to the corresponding image and the burying point information corresponding to each preset click position from the local information library.
[0128] In one embodiment, the first sending unit 603 is configured to:
[0129] Reporting the at least one picture to the server, and obtaining a URL corresponding to each picture in the at least one picture;
[0130] For each of the at least one picture, a correspondence is established between the URL corresponding to the corresponding picture, the coordinates of at least one preset click position corresponding to the corresponding picture, and the burying point information corresponding to each preset click position, and the established correspondence is reported to the server.
[0131] In one embodiment, the first sending unit 603 is used to establish a corresponding relationship between the URL corresponding to the corresponding image, the coordinates of at least one preset click position corresponding to the corresponding image, and the burying point information corresponding to each preset click position in a JSON manner.
[0132] In actual application, the acquisition unit 601 can be implemented by a processor in the terminal in combination with a communication interface; the first processing unit 602 can be implemented by a processor in the terminal; and the first sending unit 603 can be implemented by a communication interface in the terminal.
[0133] Accordingly, in order to implement the method on the server side of the embodiment of the present application, the embodiment of the present application also provides a server, such as Figure 7 As shown, the server includes:
[0134] The first receiving unit 701 is used to receive at least one picture reported by the terminal, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position; the at least one picture can constitute a complete screenshot of the target webpage;
[0135] The second processing unit 702 is used to generate a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position;
[0136] The second sending unit 703 is used to send the heat map corresponding to the target webpage to the target client.
[0137] In one embodiment, the second processing unit 702 is used to:
[0138] Performing jigsaw processing on the at least one picture to obtain a first picture, wherein the first picture corresponds to at least one preset click position;
[0139] For each preset click position among the at least one preset click position, the number of times the corresponding preset click position is clicked within a preset time range is determined using the burying point information corresponding to the corresponding preset click position, and the number of times the corresponding preset click position is clicked within the preset time range is marked on the first picture using the coordinates of the corresponding preset click position to obtain a heat map corresponding to the target web page.
[0140] In one embodiment, the second processing unit 702 is configured to:
[0141] For at least one preset click position corresponding to each picture in the at least one picture, determine the number of times the corresponding preset click position is clicked within a preset time range using the buried point information corresponding to the corresponding preset click position, and mark the number of times the corresponding preset click position is clicked within the preset time range on the corresponding picture using the coordinates of the corresponding preset click position, to obtain at least one second picture corresponding to the at least one picture;
[0142] The at least one second image is subjected to puzzle processing to obtain a heat map corresponding to the target webpage.
[0143] In actual application, the first receiving unit 701 and the second sending unit 703 can be implemented by a communication interface in the server; the second processing unit 702 can be implemented by a processor in the server.
[0144] It should be noted that: when the terminal and server provided in the above embodiment process data, only the division of the above program modules is used as an example. In actual application, the above processing can be assigned to different program modules as needed, that is, the internal structure of the terminal or server is divided into different program modules to complete all or part of the processing described above. In addition, the terminal and server provided in the above embodiment belong to the same concept as the data processing method embodiment, and its specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0145] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a data processing device, which can be a terminal or a server, such as Figure 8 As shown, the data processing device 800 includes:
[0146] Communication interface 801, capable of exchanging information with other electronic devices;
[0147] A processor 802, connected to the communication interface 801, to implement information interaction with other electronic devices, and used to execute the method provided by one or more of the above technical solutions when running a computer program;
[0148] The memory 803 is used to store a computer program that can be executed on the processor 802 .
[0149] Here, when the data processing device 800 is a terminal, the other electronic device may be a server; when the data processing device 800 is a server, the other electronic device may be a terminal or a client.
[0150] Specifically, when the data processing device 800 is a terminal, the processor 802 is configured to perform the following operations:
[0151] Acquire data to be processed; the data to be processed includes at least one picture; the at least one picture can constitute a complete screenshot of the target webpage;
[0152] For each of the at least one picture, obtain the coordinates of at least one preset click position corresponding to the corresponding picture; and obtain the burying point information corresponding to each preset click position;
[0153] The at least one image, the coordinates of at least one preset click position corresponding to each image, and the burying point information corresponding to each preset click position are reported to the server through the communication interface 801 so that the server can generate a heat map corresponding to the target web page.
[0154] In one embodiment, the processor 802 is configured to perform the following operations:
[0155] Obtaining tasks to be processed from the server via the communication interface 801;
[0156] Determine a target web page according to the acquired pending tasks;
[0157] The data to be processed is obtained based on the determined target web page.
[0158] In one embodiment, the processor 802 is configured to perform the following operations:
[0159] The target webpage is screenshoted to obtain at least one picture.
[0160] In one embodiment, the processor 802 is configured to perform the following operations:
[0161] The coordinates of at least one preset click position corresponding to the corresponding image and the burying point information corresponding to each preset click position are obtained from the local information library.
[0162] In one embodiment, the processor 802 is configured to perform the following operations:
[0163] Reporting the at least one picture to the server through the communication interface 801, and obtaining a URL corresponding to each picture in the at least one picture;
[0164] For each of the at least one picture, a correspondence is established between the URL corresponding to the corresponding picture, the coordinates of at least one preset click position corresponding to the corresponding picture, and the burrowing point information corresponding to each preset click position, and the established correspondence is reported to the server through the communication interface 801.
[0165] In one embodiment, the processor 802 is configured to perform the following operations:
[0166] Through JSON, a corresponding relationship is established between the URL corresponding to the corresponding image, the coordinates of at least one preset click position corresponding to the corresponding image, and the burying point information corresponding to each preset click position.
[0167] Accordingly, when the data processing device 800 is a server, the processor 802 is configured to perform the following operations:
[0168] Receive at least one picture reported by the terminal, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position through the communication interface 801; the at least one picture can constitute a complete screenshot of the target webpage;
[0169] Generate a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position;
[0170] The heat map corresponding to the target webpage is sent to the target client through the communication interface 801.
[0171] In one embodiment, the processor 802 is configured to perform the following operations:
[0172] Performing jigsaw processing on the at least one picture to obtain a first picture, wherein the first picture corresponds to at least one preset click position;
[0173] For each preset click position among the at least one preset click position, the number of times the corresponding preset click position is clicked within a preset time range is determined using the burying point information corresponding to the corresponding preset click position, and the number of times the corresponding preset click position is clicked within the preset time range is marked on the first picture using the coordinates of the corresponding preset click position to obtain a heat map corresponding to the target web page.
[0174] In one embodiment, the processor 802 is configured to perform the following operations:
[0175] For at least one preset click position corresponding to each picture in the at least one picture, determine the number of times the corresponding preset click position is clicked within a preset time range using the buried point information corresponding to the corresponding preset click position, and mark the number of times the corresponding preset click position is clicked within the preset time range on the corresponding picture using the coordinates of the corresponding preset click position, to obtain at least one second picture corresponding to the at least one picture;
[0176] The at least one second image is subjected to puzzle processing to obtain a heat map corresponding to the target webpage.
[0177] It should be noted that: the specific process of the processor 802 performing the above operations is detailed in the method embodiment, which will not be repeated here.
[0178] Of course, in actual application, the various components in the data processing device 800 are coupled together through the bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804 .
[0179] The memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the data processing device 800. Examples of such data include: any computer program used to operate on the data processing device 800.
[0180] The method disclosed in the above embodiment of the present application can be applied to the processor 802, or implemented by the processor 802. The processor 802 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 802. The above processor 802 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 802 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 803, and the processor 802 reads the information in the memory 803 and completes the steps of the above method in combination with its hardware.
[0181] In an exemplary embodiment, the data processing device 800 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0182] It can be understood that the memory 803 of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory described in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
[0183] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 803 storing a computer program, and the computer program can be executed by a processor 802 of a data processing device 800 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0184] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0185] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0186] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A data processing method, characterized in that: Applied to terminals, including: Acquire data to be processed; the data to be processed includes at least one picture; the at least one picture can constitute a complete screenshot of the target webpage; For each of the at least one picture, the coordinates of at least one preset click position corresponding to the corresponding picture are obtained; and the burying point information corresponding to each preset click position is obtained; wherein the preset click position is determined according to the needs of the user when subscribing to the heat map; the at least one picture, the coordinates of at least one preset click position corresponding to the picture, and the burying point information corresponding to each preset click position are determined in a real terminal environment; Report the at least one image to the server, and obtain the uniform resource locator URL corresponding to each image in the at least one image; for each image in the at least one image, establish a correspondence between the URL corresponding to the corresponding image, the coordinates of at least one preset click position corresponding to the corresponding image, and the burial point information corresponding to each preset click position, and report the established correspondence to the server so that the server can generate a heat map corresponding to the target web page.
2. The method according to claim 1, characterized in that The obtaining of the data to be processed comprises: Get pending tasks from the server; Determine a target web page according to the acquired tasks to be processed; The data to be processed is obtained based on the determined target web page.
3. The method according to claim 2, characterized in that The step of obtaining the data to be processed based on the determined target webpage includes: The target webpage is screenshoted to obtain at least one picture.
4. The method according to any one of claims 1 to 3, characterized in that: The coordinates of at least one preset click position corresponding to the corresponding image and the burying point information corresponding to each preset click position are obtained from the local information library.
5. The method according to claim 1, characterized in that The establishing of a corresponding relationship between a URL corresponding to a corresponding image, coordinates of at least one preset click position corresponding to the corresponding image, and burying point information corresponding to each preset click position includes: By means of JavaScript object notation JSON, a corresponding relationship is established among the URL corresponding to the corresponding image, the coordinates of at least one preset click position corresponding to the corresponding image, and the burying point information corresponding to each preset click position.
6. A data processing method, characterized in that: Applicable to servers, including: Receive at least one picture reported by a terminal, and receive a corresponding relationship reported by the terminal; the corresponding relationship includes the terminal establishing, for each of the at least one picture, a corresponding relationship between a uniform resource locator URL corresponding to the corresponding picture, coordinates of at least one preset click position corresponding to the corresponding picture, and burying point information corresponding to each preset click position; the preset click position is determined according to the needs of the user when subscribing to the heat map; the at least one picture can constitute a complete screenshot of the target web page; wherein the at least one picture, the coordinates of at least one preset click position corresponding to the picture, and the burying point information corresponding to each preset click position are determined in a real terminal environment; Generate a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position; Send the heat map corresponding to the target webpage to the target client.
7. The method according to claim 6, characterized in that The step of generating a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position includes: Performing jigsaw processing on the at least one picture to obtain a first picture, wherein the first picture corresponds to at least one preset click position; For each preset click position among the at least one preset click position, the number of times the corresponding preset click position is clicked within a preset time range is determined using the burying point information corresponding to the corresponding preset click position, and the number of times the corresponding preset click position is clicked within the preset time range is marked on the first picture using the coordinates of the corresponding preset click position to obtain a heat map corresponding to the target web page.
8. The method according to claim 6, characterized in that The step of generating a heat map corresponding to the target webpage based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position includes: For at least one preset click position corresponding to each picture in the at least one picture, determine the number of times the corresponding preset click position is clicked within a preset time range using the buried point information corresponding to the corresponding preset click position, and mark the number of times the corresponding preset click position is clicked within the preset time range on the corresponding picture using the coordinates of the corresponding preset click position, to obtain at least one second picture corresponding to the at least one picture; The at least one second image is subjected to puzzle processing to obtain a heat map corresponding to the target webpage.
9. A terminal, characterized in that: include: An acquisition unit, used for acquiring data to be processed; The data to be processed includes at least one picture; The at least one picture can constitute a complete screenshot of the target webpage; A first processing unit is used to obtain, for each of the at least one picture, the coordinates of at least one preset click position corresponding to the corresponding picture; and obtain the burying point information corresponding to each preset click position; wherein the preset click position is determined according to the needs of the user when subscribing to the heat map; the at least one picture, the coordinates of at least one preset click position corresponding to the picture, and the burying point information corresponding to each preset click position are determined in a real terminal environment; The first sending unit is used to report the at least one image to the server and obtain the uniform resource locator URL corresponding to each image in the at least one image; for each image in the at least one image, establish a corresponding relationship between the URL corresponding to the corresponding image, the coordinates of at least one preset click position corresponding to the corresponding image, and the burial point information corresponding to each preset click position, and report the established corresponding relationship to the server so that the server can generate a heat map corresponding to the target web page.
10. A server, characterized in that: include: A first receiving unit, configured to receive at least one picture reported by a terminal, and receive a corresponding relationship reported by the terminal; The corresponding relationship includes the terminal establishing, for each of the at least one picture, a corresponding relationship between a uniform resource locator URL corresponding to the corresponding picture, coordinates of at least one preset click position corresponding to the corresponding picture, and burying point information corresponding to each preset click position; The preset click position is determined according to the needs of the user when subscribing to the heat map; the at least one picture can form a complete screenshot of the target webpage; wherein the at least one picture, the coordinates of at least one preset click position corresponding to the picture, and the embedding information corresponding to each preset click position are determined in a real terminal environment; A second processing unit, configured to generate a heat map corresponding to the target web page based on the at least one picture, the coordinates of at least one preset click position corresponding to each picture, and the embedding information corresponding to each preset click position; The second sending unit is used to send the heat map corresponding to the target webpage to the target client.
11. A data processing device, characterized in that: include: A processor and a memory for storing a computer program capable of running on the processor; wherein, When the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 5, or executes the steps of the method described in any one of claims 6 to 8.
12. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented, or the steps of the method described in any one of claims 6 to 8 are implemented.
Citation Information
Patent Citations
Heatmap generation method and device
CN108804445A
Page thermodynamic diagram generation method and system
CN111240947A