Method and device for processing burying point data
By receiving and processing the buried point data sent by the target terminal, and converting and processing according to the differences between the terminal and server versions, the compatibility problem of buried point data processing is solved, and effective data processing and more comprehensive and accurate data support are achieved.
Patent Information
- Application Number
- CN202411786073.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-25
AI Technical Summary
How to ensure that the buried point data returned by the original version of the terminal application is effectively processed to meet new business needs.
By receiving the buried point data sent by the target terminal, the terminal version and the server version are determined, the conversion information and mapping information are determined according to the version difference, the buried point data is converted and stored in the corresponding data object.
Ensure compatibility between the terminal version and server version of buried point data in the server, ensure effective data processing and more comprehensive and accurate data support.
Smart Images

Figure CN119690502A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a method and device for processing buried point data. Background Art
[0002] Tracking data is a technical solution for data collection and reporting for specific business scenarios. Tracking data can be user behavior data captured from the terminal, such as button clicks, reading time, and other statistical data. Tracking data is used to provide data decision support for data-driven businesses, such as marketing strategies, product iterations, business analysis, user profiling, etc. With the continuous iteration of terminal applications, tracking data also needs to change to adapt to new business needs. How to ensure that the tracking data returned by the original version of the terminal application is effectively processed has become a technical problem. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method and device for processing buried data, which can ensure that the buried data returned by the original version of the terminal application is effectively processed.
[0004] In a first aspect, an embodiment of the present invention provides a method for processing buried point data, including:
[0005] Receive tracking data for target applications sent by target terminals;
[0006] Determine the terminal version of the target application installed on the target terminal, and store the tracking data in a data object corresponding to the terminal version;
[0007] Determine the server version corresponding to the target application;
[0008] In response to the terminal version being smaller than the server version and the target application meeting an upward compatibility condition, determining first conversion information and first mapping information of the embedding data according to the terminal version and the server version;
[0009] According to the first conversion information, performing a first conversion process on the buried point data;
[0010] According to the first mapping information, the tracking point data after the first conversion processing is stored in the data object corresponding to the server version.
[0011] Optionally, after determining the server version corresponding to the target application, the method further includes:
[0012] In response to the terminal version being the same as the server version, determining whether the target application meets a backward compatibility condition;
[0013] In response to the target application meeting the backward compatibility condition, the original version corresponding to the target application is determined, and the converted tracking data is stored in the data object corresponding to the original version.
[0014] Optionally, storing the converted tracking data in a data object corresponding to the original version includes:
[0015] Determine second conversion information and second mapping information of the embedding data according to the server version and the original version;
[0016] According to the second conversion information, performing a second conversion process on the buried point data;
[0017] According to the second mapping information, the tracking point data after the second conversion processing is stored in the data object corresponding to the original version.
[0018] Optionally, after determining the server version corresponding to the target application, the method further includes:
[0019] In response to the terminal version being greater than the server version, error information for the terminal version is generated and returned.
[0020] Optionally, after receiving the tracking data for the target application sent by the target terminal, the method further includes:
[0021] Receiving a processing error report for the buried point data;
[0022] According to the processing error, the terminal version and the server version, alarm information for the target application is generated and sent.
[0023] Optionally, after receiving a processing error report for the buried point data, the method further includes:
[0024] Determine the framework version of the tracking framework installed in the target terminal; wherein the tracking control is used to collect and report the tracking data of the target application;
[0025] Determining whether the terminal version matches the framework version;
[0026] In response to the terminal version not matching the framework version, an upgrade package for the target terminal is issued according to the terminal version and the framework version.
[0027] Optionally, it also includes:
[0028] receiving an upgrade instruction for the target application; wherein the upgrade instruction is used to upgrade the target application from an original version to the server version;
[0029] receiving return information for the upgrade instruction;
[0030] In response to the return information indicating that the upgrade is successful, determining the data to be synchronized from the data object corresponding to the original version;
[0031] The data to be synchronized is synchronized to the data object corresponding to the server version.
[0032] Optionally, after determining the server version corresponding to the target application, the method further includes:
[0033] In response to the terminal version being lower than the server version and the target terminal meeting the upgrade package delivery condition, an upgrade package for the target terminal is delivered according to the terminal version and the server version.
[0034] In a second aspect, an embodiment of the present invention provides a device for processing buried point data, including:
[0035] A data receiving module is used to receive the embedded point data for the target application sent by the target terminal;
[0036] A first storage module is used to determine the terminal version of the target application installed on the target terminal, and store the tracking data in a data object corresponding to the terminal version;
[0037] A version determination module, used to determine the server version corresponding to the target application;
[0038] An information determination module, configured to determine, in response to the terminal version being smaller than the server version and the target application meeting an upward compatibility condition, first conversion information and first mapping information of the buried point data according to the terminal version and the server version;
[0039] A conversion module, configured to perform a first conversion process on the buried point data according to the first conversion information;
[0040] The second storage module is used to store the tracking point data after the first conversion processing into the data object corresponding to the server version according to the first mapping information.
[0041] Optionally, it also includes:
[0042] A second storage module, configured to determine whether the target application meets a backward compatibility condition in response to the terminal version being the same as the server version;
[0043] In response to the target application meeting the backward compatibility condition, the original version corresponding to the target application is determined, and the converted tracking data is stored in the data object corresponding to the original version.
[0044] Optionally, the second storage module is specifically used to:
[0045] Determine second conversion information and second mapping information of the embedding data according to the server version and the original version;
[0046] According to the second conversion information, performing a second conversion process on the buried point data;
[0047] According to the second mapping information, the tracking point data after the second conversion processing is stored in the data object corresponding to the original version.
[0048] Optionally, the version determination module is further used to:
[0049] In response to the terminal version being greater than the server version, error information for the terminal version is generated and returned.
[0050] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0051] one or more processors;
[0052] A storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.
[0053] In a fourth aspect, an embodiment of the present invention provides a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the above embodiments.
[0054] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which implements the method described in any of the above embodiments when executed by a processor.
[0055] One embodiment of the above invention has the following advantages or beneficial effects: due to business needs, the target application deployed on the server is upgraded to upgrade the target application from the original version to the server version. Since there may be some terminals that have not been upgraded, for a period of time after the server is upgraded, the original version and the server version of the target application are run simultaneously in the server.
[0056] After receiving the tracking data for the target application sent by the target terminal, the tracking data is stored in the data object corresponding to the terminal version, which can ensure that the tracking data is normally processed and responded by the target application of the terminal version in the server.
[0057] If the terminal version is smaller than the server version, the terminal has not completed the upgrade for the target application, and the terminal version is the original version. If the target application meets the upward compatibility conditions, the first conversion information and the first mapping information of the buried data are determined according to the terminal version and the server version. According to the first conversion information and the first mapping information, the buried data is converted and stored. It can ensure that the buried data is effectively processed by the server version of the target application in the server, making the data in the server version of the target application more comprehensive and accurate.
[0058] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0060] Figure 1 It is a flowchart of a method for processing buried point data provided by the first embodiment of the present invention;
[0061] Figure 2 It is a flowchart of a method for processing buried point data provided by the second embodiment of the present invention;
[0062] Figure 3 It is a flowchart of a method for processing buried point data provided by the third embodiment of the present invention;
[0063] Figure 4 It is a structural schematic diagram of a device for processing buried point data provided by an embodiment of the present invention;
[0064] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0066] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of this application, some existing solutions in the industry such as certain software, components, and models may be mentioned, and they should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0067] Due to business needs, the target application deployed on the server is upgraded to upgrade the target application from the original version to the server version. Since there may be some terminals that have not been upgraded, the original version and the server version of the target application may be run on the server at the same time for a period of time after the server is upgraded. The offline time of the original version of the target application can be: all terminals are upgraded, the proportion of upgraded terminals exceeds a preset proportion or a preset time point, etc.
[0068] Based on this, an embodiment of the present invention provides a kind of buried point data, and the method is applied to a server. Figure 1 FIG. 1 is a flow chart of a method for processing buried point data provided by the first embodiment of the present invention. Figure 1 As shown, the method includes:
[0069] Step 101: receiving tracking data for a target application sent by a target terminal.
[0070] Step 102: Determine the terminal version of the target application installed on the target terminal, and store the tracking data in a data object corresponding to the terminal version.
[0071] For a period of time after the server is upgraded, the original version and the server version of the target application are run on the server at the same time. The server version is greater than the original version. The terminal version may be the original version, or the terminal version may be the server version.
[0072] If the original version and the server version of the target application are running on the server at the same time, the data objects corresponding to the original version and the service objects corresponding to the server version are set in the server to support the original version and the server version of the target application at the same time. The data objects can be data tables, databases, data warehouses, data lakes, etc.
[0073] Step 103: Determine the server version corresponding to the target application.
[0074] The server version is the highest version of the target application deployed on the server. The server version is an upgraded version of the original version.
[0075] Step 104: In response to the terminal version being smaller than the server version and the target application meeting the upward compatibility condition, first conversion information and first mapping information of the embedded data are determined according to the terminal version and the server version.
[0076] If the terminal version is smaller than the server version, the target terminal has not completed the upgrade of the target application to the server version, and the terminal version is the original version. If the terminal version is smaller than the server version and the target application meets the upward compatibility conditions, the tracking data is converted and stored for the server version so that the server version of the target application deployed on the server can process the tracking data and provide richer data support for the server version of the target application.
[0077] The upward compatibility condition indicates that the tracking data of the lower version needs to be converted into data that can be processed by the higher version application. The upward compatibility condition can be set as needed. The upward compatibility condition can be: whether the compatibility condition bit is a specific value, whether the application involves specific decision analysis, etc.
[0078] Step 105: Perform a first conversion process on the buried point data according to the first conversion information.
[0079] Step 106: According to the first mapping information, the tracking point data after the first conversion is stored in the data object corresponding to the server version.
[0080] The first conversion information may include: conversion information between fields, data processing models, etc. The first mapping information may include: correspondence between fields and databases, data tables, data fields, or correspondence between data objects, etc. The first conversion information and the first mapping information are used to convert data corresponding to the terminal version into data that can be processed by the target application of the server version, and store them in the data object corresponding to the server version.
[0081] Automatically convert the old and new data formats according to version differences to ensure data compatibility. Map the converted data to the corresponding data structure to achieve compatibility between the old and new data tracking frameworks.
[0082] In the scheme of the embodiment of the present invention, after receiving the tracking data for the target application sent by the target terminal, the tracking data is stored in the data object corresponding to the terminal version, which can ensure that the target application corresponding to the terminal version in the server can process the response normally.
[0083] If the terminal version is smaller than the server version, the terminal version is the original version. If the target application meets the upward compatibility conditions, the first conversion information and the first mapping information of the buried point data are determined according to the terminal version and the server version. According to the first conversion information and the first mapping information, the buried point data is converted and stored. It can ensure that the returned buried point data is effectively processed by the target application corresponding to the server version in the server, so that the data in the target application corresponding to the server version is more comprehensive and accurate.
[0084] Figure 2 FIG. 1 is a flow chart of a method for processing buried point data provided by the second embodiment of the present invention. Figure 2 As shown, the method includes:
[0085] Step 201: Receive tracking data for a target application sent by a target terminal.
[0086] Step 202: Determine the terminal version of the target application installed on the target terminal, and store the tracking data in the data object corresponding to the terminal version.
[0087] Step 203: Determine the server version corresponding to the target application.
[0088] If the terminal version is smaller than the server version, execute step 204. If the terminal version is equal to the server version, execute step 207. If the terminal version is larger than the server version, the version of the target application deployed by the terminal is higher than the version of the target application deployed by the server. This is abnormal, and an error message for the terminal version is generated and returned. The error message may include: application information of the target application, terminal information of the target terminal, etc.
[0089] Step 204: In response to the terminal version being smaller than the server version and the target application meeting the upward compatibility condition, first conversion information and first mapping information of the buried data are determined according to the terminal version and the server version.
[0090] Step 205: Perform a first conversion process on the buried point data according to the first conversion information.
[0091] Step 206: According to the first mapping information, the tracking point data after the first conversion processing is stored in the data object corresponding to the server version.
[0092] Step 207: In response to the terminal version being the same as the server version, determining whether the target application meets a downward compatibility condition.
[0093] If the terminal version is equal to the server version, the target terminal has completed the upgrade to the server version. If the terminal version is equal to the server version and the target application meets the backward compatibility conditions, the tracking data is converted and stored for the original version, that is, the tracking data is converted to a lower version so that the original version of the target application deployed on the server can process the tracking data, providing richer data support for the original version of the target application.
[0094] The backward compatibility condition indicates that the tracking data of the higher version needs to be converted into data that can be processed by the lower version application. The backward compatibility condition can be set as needed. The backward compatibility condition can be: whether the compatibility condition bit is a specific value, whether the application involves specific decision analysis, etc.
[0095] Step 208: In response to the target application meeting the backward compatibility condition, the original version corresponding to the target application is determined, and the converted tracking data is stored in the data object corresponding to the original version.
[0096] Specifically, according to the server version and the original version, the second conversion information and the second mapping information of the burying point data are determined; according to the second conversion information, the burying point data is subjected to a second conversion process; according to the second mapping information, the burying point data after the second conversion process is stored in the data object corresponding to the original version.
[0097] The second conversion information may include: conversion information between fields, data processing models, etc. The second mapping information may include: correspondence between fields and databases, data tables, data fields, or correspondence between data objects, etc. The second conversion information and the second mapping information are used to convert the embedded data corresponding to the terminal version into data that can be processed by the target application of the original version, and store it in the data object corresponding to the original version.
[0098] In the solution of the embodiment of the present invention, the tracking data is processed for upward compatibility or downward compatibility respectively for the case where the terminal version is less than or equal to the server version. It can ensure that the returned tracking data is effectively processed by the server version or the original version of the target application in the server, so that the tracking data can be compatible with each other under different versions of applications.
[0099] In one embodiment of the present invention, after receiving the buried point data for the target application sent by the target terminal, it also includes: receiving a processing error report for the buried point data; generating and sending an alarm message for the target application according to the processing error report, the terminal version and the server version. If a processing error report for the buried point data is received, an error occurs during the processing of the buried point data, and an alarm message for the target application is generated and sent, so that relevant personnel can quickly find out the cause of the error in the buried point data.
[0100] In one embodiment of the present invention, after receiving a processing error report for tracking data, it also includes: determining the framework version of the tracking framework installed in the target terminal; wherein the tracking control is used to collect and report the tracking data of the target application; determining whether the terminal version matches the framework version; in response to the mismatch between the terminal version and the framework version, issuing an upgrade package for the target terminal according to the terminal version and the framework version.
[0101] The tracking framework is used to collect and report data for the target application. As the target application installed on the terminal is continuously upgraded, the tracking framework also needs to be upgraded to achieve data collection and reporting of high-version applications. If the terminal version does not match the framework version, it will cause problems such as failure to collect or incorrect tracking data. Therefore, according to the terminal version and the framework version, an upgrade package for the target terminal is issued. The upgrade package is used to upgrade the tracking framework so that the framework version of the upgraded tracking framework matches the terminal version.
[0102] In one embodiment of the present invention, it also includes: receiving an upgrade instruction for a target application; wherein the upgrade instruction is used to upgrade the target application from an original version to a server version; receiving return information for the upgrade instruction; in response to the return information indicating a successful upgrade, determining the data to be synchronized from the data object corresponding to the original version; and synchronizing the data to be synchronized to the data object corresponding to the server version.
[0103] During the version upgrade process, the data of the new and old versions are synchronized to ensure the integrity of the data. The solution of the embodiment of the present invention can achieve version compatibility during the data embedding framework upgrade process, ensure the availability of new and old data, and improve the accuracy of data analysis and the efficiency of business decision-making. At the same time, the solution of the embodiment of the present invention can also reduce the development and maintenance workload caused by version upgrades and reduce costs.
[0104] Figure 3 FIG. 1 is a flow chart of a method for processing buried point data provided by the third embodiment of the present invention. Figure 3 As shown, the method includes:
[0105] Step 301: Receive tracking data for a target application sent by a target terminal.
[0106] Step 302: Determine the terminal version of the target application installed on the target terminal, and store the tracking data in the data object corresponding to the terminal version.
[0107] Step 303: Determine the server version corresponding to the target application.
[0108] Step 304: In response to the terminal version being smaller than the server version and the target application meeting the upward compatibility condition, first conversion information and first mapping information of the embedded data are determined according to the terminal version and the server version.
[0109] Step 305: Perform a first conversion process on the buried point data according to the first conversion information.
[0110] Step 306: According to the first mapping information, the tracking point data after the first conversion processing is stored in the data object corresponding to the server version.
[0111] Step 307: In response to the target terminal meeting the upgrade package delivery condition, the upgrade package for the target terminal is delivered according to the terminal version and the server version.
[0112] The upgrade package delivery conditions can be set according to the requirements. The upgrade package delivery conditions can be: no upgrade package has been delivered to the target terminal during the statistical period, an upgrade request for the target application is received from the target, etc.
[0113] In the solution of the embodiment of the present invention, if the terminal version is lower than the server version and the target terminal meets the upgrade package delivery conditions, an upgrade package for the target terminal is delivered according to the terminal version and the server version. The upgrade package is used to upgrade the target application deployed by the terminal from the terminal version to the server version, thereby speeding up the upgrade of each terminal.
[0114] Figure 4 FIG. 1 is a schematic diagram of a structure of a device for processing buried point data provided by an embodiment of the present invention. Figure 4 As shown, the device comprises:
[0115] The data receiving module 401 is used to receive the buried point data for the target application sent by the target terminal;
[0116] The first storage module 402 is used to determine the terminal version of the target application installed on the target terminal, and store the tracking data in the data object corresponding to the terminal version;
[0117] A version determination module 403 is used to determine the server version corresponding to the target application;
[0118] The information determination module 404 is used to determine the first conversion information and the first mapping information of the buried data according to the terminal version and the server version in response to the terminal version being smaller than the server version and the target application meeting the upward compatibility condition;
[0119] The conversion module 405 is used to perform a first conversion process on the buried point data according to the first conversion information;
[0120] The second storage module 406 is used to store the tracking point data after the first conversion process into the data object corresponding to the server version according to the first mapping information.
[0121] Optionally, it also includes:
[0122] The second storage module 406 is used to determine whether the target application meets the backward compatibility condition in response to the terminal version being the same as the server version;
[0123] In response to the target application meeting the backward compatibility condition, the original version corresponding to the target application is determined, and the converted tracking data is stored in the data object corresponding to the original version.
[0124] Optionally, the second storage module 406 is specifically used for:
[0125] Determine the second conversion information and the second mapping information of the embedding data according to the server version and the original version;
[0126] According to the second conversion information, the buried point data is subjected to a second conversion process;
[0127] According to the second mapping information, the tracking point data after the second conversion processing is stored in the data object corresponding to the original version.
[0128] Optionally, the version determination module 403 is further configured to:
[0129] In response to the terminal version being greater than the server version, error information for the terminal version is generated and returned.
[0130] Optionally, it also includes:
[0131] An alarm module is used to receive processing errors for buried point data;
[0132] Generate and send alarm information for the target application based on processing errors, terminal version and server version.
[0133] Optionally, the alarm module is further used to: determine the framework version of the tracking framework installed in the target terminal; wherein the tracking control is used to collect and report the tracking data of the target application;
[0134] Determine whether the terminal version matches the framework version;
[0135] In response to the terminal version not matching the framework version, an upgrade package for the target terminal is issued according to the terminal version and the framework version.
[0136] Optionally, it also includes:
[0137] An upgrade module, used to receive an upgrade instruction for a target application; wherein the upgrade instruction is used to upgrade the target application from an original version to a server version;
[0138] Receive return information for the upgrade instruction;
[0139] In response to the returned information indicating that the upgrade is successful, determining the data to be synchronized from the data object corresponding to the original version;
[0140] Synchronize the data to be synchronized to the data object corresponding to the server version.
[0141] Optionally, the version determination module 403 is further used to: in response to the terminal version being lower than the server version and the target terminal meeting the upgrade package delivery condition, deliver the upgrade package to the target terminal according to the terminal version and the server version.
[0142] An embodiment of the present invention provides an electronic device, including:
[0143] one or more processors;
[0144] The storage device is used to store one or more programs. When the one or more programs are executed by one or more processors, the one or more processors implement the method of any of the above embodiments.
[0145] An embodiment of the present invention provides a computer program product, including a computer program, which implements the method for processing buried point data in the embodiment of the present invention when executed by a processor.
[0146] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device suitable for implementing an embodiment of the present invention. Figure 5 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0147] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0148] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0149] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.
[0150] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0151] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0152] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be provided in a processor, for example, they may be described as: a data receiving module, a first storage module, a version determination module, an information determination module, a conversion module and a second storage module. Among them, the names of these modules do not constitute a limitation on the modules themselves in certain cases. For example, the data receiving module may also be described as a "module for receiving the buried point data for the target application sent by the target terminal."
[0153] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:
[0154] Receive tracking data for target applications sent by target terminals;
[0155] Determine the terminal version of the target application installed on the target terminal, and store the tracking data in a data object corresponding to the terminal version;
[0156] Determine the server version corresponding to the target application;
[0157] In response to the terminal version being smaller than the server version and the target application meeting an upward compatibility condition, determining first conversion information and first mapping information of the embedding data according to the terminal version and the server version;
[0158] According to the first conversion information, performing a first conversion process on the buried point data;
[0159] According to the first mapping information, the tracking point data after the first conversion processing is stored in the data object corresponding to the server version.
[0160] According to the technical solution of the embodiment of the present invention, after receiving the tracking data for the target application sent by the target terminal, the tracking data is stored in the data object corresponding to the terminal version, which can ensure that the target application corresponding to the terminal version in the server can process the response normally.
[0161] If the terminal version is smaller than the server version, the terminal version is the original version. If the target application meets the upward compatibility conditions, the first conversion information and the first mapping information of the buried point data are determined according to the terminal version and the server version. According to the first conversion information and the first mapping information, the buried point data is converted and stored. It can ensure that the returned buried point data is effectively processed by the target application corresponding to the server version in the server, so that the data in the target application corresponding to the server version is more comprehensive and accurate.
[0162] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for processing buried point data, characterized in that: include: Receive tracking data for target applications sent by target terminals; Determine the terminal version of the target application installed on the target terminal, and store the tracking data in a data object corresponding to the terminal version; Determine the server version corresponding to the target application; In response to the terminal version being smaller than the server version and the target application meeting an upward compatibility condition, determining first conversion information and first mapping information of the embedding data according to the terminal version and the server version; According to the first conversion information, performing a first conversion process on the buried point data; According to the first mapping information, the tracking point data after the first conversion processing is stored in the data object corresponding to the server version.
2. The method according to claim 1, characterized in that: After determining the server version corresponding to the target application, the method further includes: In response to the terminal version being the same as the server version, determining whether the target application meets a backward compatibility condition; In response to the target application meeting the backward compatibility condition, the original version corresponding to the target application is determined, and the converted tracking data is stored in the data object corresponding to the original version.
3. The method according to claim 2, characterized in that The storing of the converted tracking data into the data object corresponding to the original version includes: Determine second conversion information and second mapping information of the embedding data according to the server version and the original version; According to the second conversion information, performing a second conversion process on the buried point data; According to the second mapping information, the tracking point data after the second conversion processing is stored in the data object corresponding to the original version.
4. The method according to claim 1, characterized in that: After determining the server version corresponding to the target application, the method further includes: In response to the terminal version being greater than the server version, error information for the terminal version is generated and returned.
5. The method according to claim 1, characterized in that After receiving the tracking data for the target application sent by the target terminal, the method further includes: Receiving a processing error report for the buried point data; According to the processing error, the terminal version and the server version, alarm information for the target application is generated and sent.
6. The method according to claim 5, characterized in that After receiving the processing error report for the buried point data, the method further includes: Determine the framework version of the tracking framework installed in the target terminal; wherein the tracking control is used to collect and report the tracking data of the target application; Determining whether the terminal version matches the framework version; In response to the terminal version not matching the framework version, an upgrade package for the target terminal is issued according to the terminal version and the framework version.
7. The method according to claim 1, characterized in that Also includes: receiving an upgrade instruction for the target application; wherein the upgrade instruction is used to upgrade the target application from an original version to the server version; receiving return information for the upgrade instruction; In response to the return information indicating that the upgrade is successful, determining the data to be synchronized from the data object corresponding to the original version; The data to be synchronized is synchronized to the data object corresponding to the server version.
8. The method according to claim 1, characterized in that After determining the server version corresponding to the target application, the method further includes: In response to the terminal version being lower than the server version and the target terminal meeting the upgrade package delivery condition, an upgrade package for the target terminal is delivered according to the terminal version and the server version.
9. A device for processing buried point data, characterized in that: include: A data receiving module is used to receive the embedded point data for the target application sent by the target terminal; A first storage module is used to determine the terminal version of the target application installed on the target terminal, and store the tracking data in a data object corresponding to the terminal version; A version determination module, used to determine the server version corresponding to the target application; An information determination module, configured to determine, in response to the terminal version being smaller than the server version and the target application meeting an upward compatibility condition, first conversion information and first mapping information of the buried point data according to the terminal version and the server version; A conversion module, configured to perform a first conversion process on the buried point data according to the first conversion information; The second storage module is used to store the tracking point data after the first conversion processing into the data object corresponding to the server version according to the first mapping information.
10. The device according to claim 9, characterized in that Also includes: A second storage module, configured to determine whether the target application meets a backward compatibility condition in response to the terminal version being the same as the server version; In response to the target application meeting the backward compatibility condition, the original version corresponding to the target application is determined, and the converted tracking data is stored in the data object corresponding to the original version.
11. The device according to claim 10, characterized in that The second storage module is specifically used for: Determine second conversion information and second mapping information of the embedding data according to the server version and the original version; According to the second conversion information, performing a second conversion process on the buried point data; According to the second mapping information, the tracking point data after the second conversion processing is stored in the data object corresponding to the original version.
12. The device according to claim 9, characterized in that The version determination module is also used for: In response to the terminal version being greater than the server version, error information for the terminal version is generated and returned.
13. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.
14. A computer readable medium having a computer program stored thereon, characterized in that When the program is executed by a processor, the method described in any one of claims 1 to 8 is implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.