Method for reporting buried point data, related device and computer program product
By obtaining general buried point data in the functional module and combining personalized data with the business party, the problem of high cost and difficult configuration of buried point data acquisition in the existing technology is solved, and high-quality and low-cost buried point data acquisition is achieved. , meeting diverse business needs.
Patent Information
- Application Number
- CN202410764387.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-22
AI Technical Summary
Existing technologies are costly and difficult to configure when setting up and obtaining buried point data, resulting in data loss and inaccuracy, and are unable to meet the diverse needs of the business.
By obtaining general buried point data in functional modules and combining it with personalized buried point data by the business party, combined buried point data is formed, which reduces the difficulty of burying point configuration of functional modules and improves data quality.
It achieves more accurate and low-cost data acquisition, reduces the configuration pressure of functional modules, and improves the quality of data and business fit.
Smart Images

Figure CN118828591A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for reporting buried point data, an electronic device, a computer-readable medium, and a computer program product. Background Art
[0002] With the development of society, mobile Internet technology has gradually emerged. In order to provide better services to users, service and business providers on the Internet will expect to analyze the user's use of services and businesses in order to improve services and businesses.
[0003] In this context, service and business providers can choose to use tracking to obtain data changes when services and businesses are used, and then determine the operating status of businesses and services. Then, based on the analysis of the operating status, they can determine the direction of improvement and improve services and businesses accordingly. Therefore, how to set tracking points and obtain tracking data more accurately and at a lower cost is worthy of attention and urgent need. Summary of the invention
[0004] Multiple aspects of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for reporting buried point data, which can decouple the functional module called by the business and the business, so that the functional module only provides general buried point data that can be used simultaneously by different businesses, without having to adapt to a specific business. Furthermore, on the basis that the functional module only provides general buried point data, the quality of the buried point data can also be guaranteed by combining general data and the personalized buried point data of the business itself, so as to avoid data missing and inaccuracy caused by using the buried point data provided by the functional module alone. In this way, the difficulty and pressure of the buried point configuration of the functional module can be reduced while improving the quality of the reported buried point data.
[0005] One aspect of the present application provides a method for reporting tracking data, comprising: in response to a target function module calling a local broadcast function, obtaining general tracking data from the target function module; broadcasting the general tracking data to a target business party of a target business that calls the target function module; in response to receiving combined tracking data returned by the target business party, reporting the combined tracking data to a target device based on a pre-configured communication path, wherein the combined tracking data is obtained by the target business party by combining personalized tracking data collected locally for the target business by the target business party and the general tracking data.
[0006] On the other hand, the present application provides an apparatus for reporting burial point data, comprising: a general burial point data acquisition unit, configured to acquire general burial point data from the target function module in response to the target function module calling a local broadcast function; a general burial point data broadcast unit, configured to broadcast the general burial point data to the target business party of the target business that calls the target function module; a burial point data reporting unit, configured to report the combined burial point data to the target device based on a pre-configured communication path in response to receiving the combined burial point data returned by the target business party, wherein the combined burial point data is obtained by the target business party by combining the personalized burial point data collected locally by the target business party for the target business and the general burial point data.
[0007] Another aspect of the present application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for reporting burial point data provided above.
[0008] In another aspect of the present application, a computer-readable storage medium is provided, on which computer program instructions are stored. The computer program instructions can be executed by a processor to implement the method for reporting burial point data provided above.
[0009] Another aspect of the present application is a computer program product including a computer program having computer program instructions stored thereon, which, when executed by a processor, can implement the method for reporting burial point data provided above.
[0010] In the solution provided by the embodiment of the present application, in response to the target function module calling the local broadcast function, the general buried point data is obtained from the target function module; the general buried point data is broadcast to the target business party of the target business that calls the target function module; in response to receiving the combined buried point data returned by the target business party, the combined buried point data is reported to the target device based on the pre-configured communication path, wherein the combined buried point data is obtained by the target business party combining the personalized buried point data and the general buried point data collected locally for the target business by the target business party. In this way, the difficulty and pressure of the buried point configuration of the functional module can be reduced while improving the quality of the reported buried point data. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0012] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0013] Figure 1 A schematic diagram of a process for reporting tracking data provided in an embodiment of the present application;
[0014] Figure 2 A schematic diagram of a process of reporting buried point data in an application scenario provided by another embodiment of the present application;
[0015] Figure 3 A schematic diagram of the structure of a device for reporting buried point data provided in an embodiment of the present application;
[0016] Figure 4 The present invention is a schematic diagram of the structure of an electronic device suitable for implementing the solution in the embodiment of the present application.
[0017] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0019] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.
[0020] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0021] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer program instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0022] As discussed above, how to set up tracking points and obtain tracking point data more accurately and at a lower cost is worthy of attention and an urgent need.
[0023] In some solutions, for specific businesses, tracking can be performed based on the dimension of "complete business". For example, you can choose to add code to the business code to indicate the collection of data used and generated in the business operation to achieve "tracking". Accordingly, the tracking data collected for the tracking points can be reported to the service and business analysts later, so that the analysts can analyze the business.
[0024] However, in this way, it is often necessary to fully analyze the business in order to implement tracking, which significantly increases the cost of "tracking" and the requirements for tracking. In addition, in some scenarios in order to improve the development efficiency of the business and reduce the difficulty of development, because they often use functional modules in the business to implement development, or in other words, business construction, the cost and difficulty of tracking are more significantly increased. For example, in these scenarios, the code of the business that can be used by the business can be encapsulated as a functional module in advance, and then, when the business needs to use the function, the function can be added and configured for the business by calling the functional module, so that the configuration difficulty of the business can be significantly reduced by reusing the functional module, and the configuration efficiency of the business can be improved. Due to this method, in fact, for a functional module, it may be repeatedly used by multiple different businesses, so in the solution of executing tracking with the complete business as the dimension, the code of the functional module part may also be "repeatedly tracked" by different businesses, which will not only waste resources and further increase the difficulty of tracking, but also increase the difficulty of modifying and adjusting the embedded points.
[0025] In this regard, an embodiment of the present application provides a method for reporting buried point data, which obtains general buried point data from the target functional module in response to the target functional module calling a local broadcast function; broadcasts the general buried point data to the target business party of the target business that calls the target functional module; and in response to receiving the combined buried point data returned by the target business party, reports the combined buried point data to the target device based on a pre-configured communication path, wherein the combined buried point data is obtained by the target business party combining the personalized buried point data and the general buried point data collected locally by the target business party for the target business. In this way, the difficulty and pressure of the buried point configuration of the functional module can be reduced while improving the quality of the reported buried point data.
[0026] In actual scenarios, the execution subject of the method can be a user device, or a device formed by integrating a user device and a network device through a network, or an application running on the above device. The user device includes but is not limited to various terminal devices such as computers, mobile phones, tablet computers, smart watches, and bracelets. The network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer sets. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing (Cloud Computing), where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.
[0027] When the execution subject is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules, or as a single software or software module, without specific limitation. For example, the execution subject can actually be a software development kit (SDK) executed by the electronic device. When the SDK is executed by the electronic device, it can instruct and control the electronic device to execute the method for reporting buried data provided in this application.
[0028] In an embodiment of the present application, a function module may be a module called by one or more different services. For example, a function module may provide functions used by a service. For example, some functions that can be used by multiple services may be processed as function modules, so that the service can obtain the corresponding functions by calling the function modules, thereby reducing the configuration pressure of the service. For example, a function module may be a module that provides identity authentication and a module that provides image editing functions. Accordingly, after calling these function modules, the service may provide the functions of "identity authentication" and "image editing" in the service.
[0029] It should be understood that a functional module may also integrate more than two functions, so that after being called and used by a business, the business has more than two corresponding functions. Accordingly, after the functional module is called by the business, the functional module may also be understood as constituting a part of the business. Further, as discussed above, for a functional module, it may also be called by more than two businesses in a "reuse" manner to reduce the difficulty of code configuration for the business. For example, for the same function, each business can complete the configuration of the function by reusing the functional module, without having to independently configure the business code corresponding to the function.
[0030] Figure 1 A process 100 for reporting tracking data provided by an embodiment of the present application is shown. The process 100 includes at least the following processing steps:
[0031] (Step) S101, in response to the target functional module calling the local broadcast function, obtaining general buried point data from the target functional module.
[0032] In an embodiment of the present application, it is possible to select to pre-set points in the function module for collecting the point-tracking data in the function module. Generally, the point-tracking may correspond to the changes that occur when the function module is called by the business, or may have an impact on the business, or may be involved in analyzing the status of the business. Generally, the data content corresponding to the point-tracking in the function module is not targeted at a specific, specific business. For example, in the case where multiple businesses are allowed to call the function module, the point-tracking may be performed for the data that changes when the function module is called by each business. Thus, the point-tracking data provided by the point-tracking in the function module can be used by multiple businesses. For ease of understanding, the point-tracking in the function module can be referred to as "general point-tracking", and accordingly, the data collected by these general point-tracking can be referred to as "general point-tracking data". That is, the general point-tracking data collected by the general point-tracking can be used and required by multiple different businesses, rather than being specifically and limitedly used by a specific business.
[0033] Furthermore, the execution entity may be locally configured with a broadcast function. Accordingly, when the functional module expects to provide general burial point data, it calls the broadcast function to instruct the execution entity to obtain the general burial point data and broadcast it to each business that calls the functional module.
[0034] Accordingly, for the sake of clarity, the data for calling a broadcast function and requesting a broadcast general tracking point can be described as a "target function module".
[0035] Accordingly, the execution subject can send an acquisition instruction to the target functional module, or directly allow the target functional module to provide general tracking data to the local based on pre-configuration.
[0036] General tracking data can be understood as tracking data collected based on general tracking. As discussed above, in order to analyze parameters such as operating conditions, tracking data can be obtained based on these tracking points by tracking points (for example, adding tracking code to the code of the business), so as to understand at least part of the operating conditions of the business, or to obtain at least part of the operating conditions of the business.
[0037] In some embodiments, general tracking data can be collected by a set of general tracking configured in the target function module. Therefore, in the process of selecting and configuring a set of general tracking, it is possible to select the tracking based on the union result of the demand tracking of each business party that calls the target function module to determine the tracking (or more specifically, the location of the tracking, or the data content corresponding to the tracking). For example, the services that are allowed and can call the target function module can be collected in advance, and then the functions included in the target function module involved when each collected service calls the target function module, or the data type (type). Then, the demand tracking of each business party is determined based on the parts involved in each business. For example, for the business party of business A, it may wish to analyze the activation duration of function X in the function module, and the business party of business B may analyze the activation frequency of function X in the function module, then the demand tracking can be determined as "activation duration" and "activation frequency" respectively.
[0038] Furthermore, after determining the demand points of each business party that can call the target function module, a set of general points can be determined based on the union of these demand points. Thus, the obtained set of general points can meet the collection needs of each business party, so that the general point data obtained based on a set of general points can meet the use needs of each business (business party) and avoid data omission and loss.
[0039] In some embodiments, it is also possible to further optimize the general burial points used to reduce the volume of general burial point data and improve the quality of general burial point data. After determining a set of general burial points, the execution entity can select a set of valid general burial points from a set of general burial points based on the union result of the demand burial points of the currently activated business party. Accordingly, the general burial point data is actually obtained by selecting a set of valid general burial points for collection. In this way, when collecting general burial point data, only the demand burial points that meet the needs of the currently activated business party can be selected, so as to optimize the collection efficiency of general burial point data and reduce the volume of burial point data that needs to be collected by only meeting the needs of the currently valid (general) burial point data.
[0040] In some embodiments, after determining and adding a group of universal burying points, the usage status of each universal burying point in a group of universal burying points can also be continuously checked and monitored. The execution subject responds when it is determined that there is a damaged universal burying point (for example, the code corresponding to the burying point is expired, the code cannot be read, etc.), and determines the demand business party that has a demand data demand for the damaged universal burying point. Then, the execution subject communicates prompt information to the demand business party to indicate the damaged universal burying point to the demand business party. For example, in some scenarios, if allowed, the functional module can directly communicate the prompt information to the demand business party to indicate the damaged universal burying point to the demand business party. Or in some scenarios, the execution subject can also check and monitor the usage status of each universal burying point in a group of universal burying points to determine whether there is a damaged universal burying point, and communicate prompt information when there is a damaged universal burying point. Alternatively, the functional module can also check and monitor the usage status of each universal burying point in a group of universal burying points, and when it is determined that there is a damaged universal burying point, feedback this situation through communication with the execution subject, and then the execution subject can respond to the feedback to the situation to communicate prompt information to the demand business party. Therefore, the demand business party can understand the existence of damaged general burying points based on the communicated prompt information, so as to assist the demand business party in making timely decisions based on the specific circumstances of the damaged general burying points (for example, adjusting the code corresponding to the burying point, setting a new burying point, etc.), which can reduce the burying point maintenance costs of the demand business party while improving the robustness of the system.
[0041] Generally, a trigger event can be pre-configured so that the execution subject responds when the trigger event is detected to obtain the corresponding buried point data. Accordingly, in some embodiments, the target function module can be configured to call the local broadcast function in response to detecting the presence of a target event in the target function module. For example, the target event can correspond to the function provided by the target function module. For example, the target function module can provide a plug-in to implement the X function. Accordingly, the target event can be the activation of the plug-in of the X function. For example, when the plug-in of the X function is activated, the target function module can determine the existence of the target event and respond to it to call the local broadcast function. Thus, by setting the target event, the (target) function module can spontaneously detect the local operating status, and when a change occurs that will cause the buried point data to change, or a change in the data content that affects the business, the general buried point data is spontaneously reported to reduce the monitoring requirements for the execution subject and reduce the configuration difficulty of the execution subject.
[0042] S102, broadcasting general tracking data to the target business party of the target business that calls the target functional module.
[0043] In an embodiment of the present application, the execution subject broadcasts the general burying point data to the target business party of the target business that calls the target function module. After acquiring the general burying point data from the target function module in the above step S101, the general burying point data can be broadcast to the target business parties of each target business that calls the target function module. That is, the execution subject can publish and provide the acquired general burying point data equally to the (target) business party that calls the target function module.
[0044] Accordingly, after receiving the universal burying point data, each (target) business party can adjust and update the universal burying point data based on demand (for example, delete the universal burying point data that is not needed, or add indication tags to the data content of the specific type of universal burying point data based on actual needs, etc.). In an embodiment of the present application, after receiving the universal burying point data, the target business party can also choose to combine the personalized burying point data and the universal burying point data collected locally by the target business party for the target business to obtain the combined burying point data. That is, the combined burying point data can include the content of two parts: universal burying point data and personalized data of the business.
[0045] Furthermore, the target business party can return such combined burying point data to the local of the executing entity based on its own choice and / or according to the instructions of the executing entity. Because the combined burying point data can be composed of two parts: general burying point data and personalized burying point data, this allows the target functional module to only provide burying point data in general, without having to provide burying point data only for a unique business, which can significantly reduce the burying point cost of the functional module. Accordingly, the business can use personalized burying point data to provide specific and unique burying point data for the business to ensure the integrity of the burying point data, and improve the fit of the burying point data with the business, and improve the quality of burying point data governance, thereby achieving partial burying point decoupling of the business and the functional module, and reducing the difficulty of burying point configuration for the functional module.
[0046] S103, in response to receiving the combined burial point data returned by the target business party, reporting the combined burial point data to the target device based on a pre-configured communication path.
[0047] In an embodiment of the present application, if the target business party returns the combined tracing data, the execution entity can respond to this by reporting the combined tracing data to the target device (for example, a device used by a predetermined analyst of the business operation status) based on a pre-configured communication path.
[0048] Then, the method for reporting buried point data provided by the present application obtains general buried point data from the target functional module in response to the target functional module calling the local broadcast function; broadcasts the general buried point data to the target business party of the target business that calls the target functional module; and in response to receiving the combined buried point data returned by the target business party, reports the combined buried point data to the target device based on the pre-configured communication path, wherein the combined buried point data is obtained by the target business party combining the personalized buried point data and the general buried point data collected locally by the target business party for the target business. In this way, the difficulty and pressure of the buried point configuration of the functional module can be reduced while improving the quality of the reported buried point data.
[0049] In some embodiments, the target business party can configure a listener to indicate the associated (target) function module to the execution subject, and instruct the execution subject to listen to whether the target function module calls the local broadcast function of the execution subject. The listener is an object or function that is responsible for listening to specific events (for example, the target event discussed above). For example, the target business party can choose to send a listener to the execution subject, and the execution subject responds to receiving the listener sent from the target business party, and then determines the corresponding (target) function module based on the function module indicated by the listener. For example, the execution subject can be instructed by the listener, and when it listens to the target function module calling the local broadcast function, the listener callback function (Callback) of the listener is executed to broadcast "broadcast general burying data" to the target business party. As a result, the target business party can communicate with the execution subject by means of a listener, decoupling the monitoring operation of the function module, so that the function module can respond to events more flexibly, provide general burying data for multiple different businesses at the same time, and flexibly configure and indicate the target function module with a call relationship.
[0050] This approach also allows the execution subject to not have to determine all the functional modules associated with the target business party in advance, but only to select and monitor the (target) functional modules indicated by the target business party, thereby reducing configuration difficulty and improving monitoring efficiency.
[0051] Accordingly, in some embodiments, after the execution subject completes broadcasting the general tracking data, it can also choose to clear the listener corresponding to the target functional module, thereby avoiding the listener from being "stuck" locally by mistake and causing monitoring errors or other code logic confusion, and improving system stability.
[0052] On the basis of any of the above embodiments, after the execution subject reports the combined buried data to the target device based on the pre-configured communication path, it can also communicate feedback information to the target business party involved based on the reported result. The feedback information is used to indicate whether the combined buried data is successfully reported to the target device. As a result, the target business party can promptly understand the reporting status of the buried data, and in the event of a reporting failure, for example, make decisions and troubleshoot more promptly to improve the reliability of the buried data reporting process.
[0053] To facilitate understanding of the process of reporting tracking data provided by this application, you can also refer to Figure 2 . Figure 2 A schematic diagram of a process 200 for reporting tracking data in an application scenario is provided as another embodiment of the present application.
[0054] In this application scenario, the SDK can be used as the execution subject of the process of reporting the tracking data. For example, in the process 200, the target business party 210, SDK 220 and the target function module 230 called by at least the target business party 210 can be included.
[0055] refer to Figure 2 , the target business party 210 can execute S201 to configure the listener 213 in the SDK 220 to instruct the SDK 220 to monitor the target function module 230. For example, monitor whether the target function module 230 calls the local broadcast function of the SDK 220 (not shown in the figure), and provide the target business party 210 with general tracking data (for example, the general tracking data 235 exemplified below) when the target function module 230 calls the local broadcast function of the SDK 220.
[0056] Correspondingly, after receiving and configuring the listener 213, SDK 220 can locally maintain a listening callback function 215 corresponding to the listener 213, so as to provide the general burying point data 235 to the target business party 210 based on the listening callback function 215 when it is determined that the target functional module 230 calls the local broadcast function of SDK 220 and obtains the general burying point data 235.
[0057] Accordingly, in the target function module 230, it can continuously execute S202 to detect whether there is a target event locally (for example, as discussed above, changes in the buried data related to the business operation, etc.). If there is a target event, the target function module 230 can execute S203 to call the local broadcast function of the SDK 220. If there is no target event, the target function module 230 can continuously execute S202 to implement "continuous detection".
[0058] Furthermore, in response to its local broadcast function being called by the target function module 230 , the SDK 220 may execute S204 to communicate the general burial point data 235 from the target function module 230 and store it locally.
[0059] After obtaining the general data 235, the SDK 220 executes S205, and broadcasts the general tracking data 235 to the target business party 210 using the listening callback function 215. It should be understood that if the SDK 220 is configured with listeners by multiple different target business parties (for example, other target business parties other than the target business party 210), the SDK 220 can broadcast the general tracking data 235 to each target business party at the same time. For ease of understanding, only the execution process of the target business party 210 is used as an example.
[0060] After receiving the general burying point data 235, the target business party 210 can locally combine it with the personalized burying point data 217 collected locally to obtain the combined burying point data 219. Then, the target business party 210 can execute S206 to return the obtained combined burying point data 219 to the SDK 220.
[0061] Next, SDK 220 may choose to execute S207 to report the combined burial point data 219 to a target device (not shown in the figure) based on a pre-configured communication path.
[0062] Finally, SDK 220 may execute S208 to communicate feedback information (not shown in the figure) to communicate the reporting result of the combined burial point data 219 to the target business party 210 .
[0063] The present application also provides a device for reporting buried point data. The structure of the device is as follows: Figure 3 The device 300 shown. The device 300 includes: a general burying point data acquisition unit 310, configured to acquire general burying point data from the target function module in response to the target function module calling the local broadcast function; a general burying point data broadcast unit 320, configured to broadcast the general burying point data to the target business party of the target business that calls the target function module; a burying point data reporting unit 330, configured to report the combined burying point data to the target device based on a pre-configured communication path in response to receiving the combined burying point data returned by the target business party, wherein the combined burying point data is obtained by the target business party combining the personalized burying point data and the general burying point data collected locally for the target business by the target business party.
[0064] In some embodiments, the device 300 also includes: a functional module monitoring unit, which is configured to respond to a listener set by the target business party and use the listener to monitor whether the target functional module calls a local broadcast function; and a general burying point data broadcast unit 320, which is further configured to use the listening callback function of the listener to broadcast general burying point data to the target business party of the target business that calls the target functional module.
[0065] In some embodiments, the device 300 also includes: a listener clearing unit configured to clear the listener after broadcasting the general burial data.
[0066] In some embodiments, general tracking point data is collected by a set of general tracking points configured in the target functional module, and a set of general tracking points is determined based on the union results of the demand tracking points of each business party that calls the target functional module.
[0067] In some embodiments, the device 300 also includes: an effective general burial point determination unit, which is configured to determine a set of effective general burial points from a set of general burial points based on the union result of the demand burial points of the business party that is currently in an activated state, wherein the general burial point data is collected by a set of effective general burial points.
[0068] In some embodiments, the device 300 also includes: a demand business party determination unit, configured to determine a demand business party that has a burial point data demand for a damaged general burial point in response to the presence of a damaged general burial point in a group of general burial points; and a damaged general burial point prompting unit, configured to communicate prompting information to the demand business party to indicate the damaged general burial point to the demand business party.
[0069] In some embodiments, the target functional module calls a local broadcast function in response to detecting the presence of a target event at the target functional module.
[0070] In some embodiments, the apparatus 300 further includes: a feedback information communication unit configured to communicate feedback information to a target business party, wherein the feedback information is used to indicate whether the combined tracking data is successfully reported to the target device.
[0071] Based on the same inventive concept, an electronic device, a readable storage medium and a computer program product are also provided in an embodiment of the present application. The method corresponding to the electronic device may be the method for reporting buried point data in the aforementioned embodiment, and its principle of solving the problem is similar to that of the method. The electronic device provided in an embodiment of the present application includes: at least one processor; and a memory communicatively connected to at least one processor; wherein the memory stores instructions executable by at least one processor, and the instructions are executed by at least one processor so that at least one processor can execute the methods and / or technical solutions of the aforementioned multiple embodiments of the present application.
[0072] The electronic device may be a user device, or a device formed by integrating a user device and a network device through a network, or an application running on the above device. The user device includes but is not limited to various terminal devices such as computers, mobile phones, tablet computers, smart watches, and bracelets. The network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer sets, which can be used to implement some processing functions when setting an alarm. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing, where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.
[0073] Figure 4The structure of an electronic device suitable for implementing the method and / or technical solution in the embodiment of the present application is shown, and the electronic device 400 includes a central processing unit (CPU, Central Processing Unit) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM, Read Only Memory) 402 or the program loaded from the storage part 408 to the random access memory (RAM, Random Access Memory) 403. In RAM 403, various programs and data required for system operation are also stored. CPU 401, ROM 402 and RAM 403 are connected to each other through bus 404. Input / output (I / O, Input / Output) interface 405 is also connected to bus 404.
[0074] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, a touch screen, a microphone, an infrared sensor, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), an LED display, an OLED display, etc., and a speaker, etc.; a storage section 408 including one or more computer-readable media such as a hard disk, an optical disk, a magnetic disk, a semiconductor memory, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet.
[0075] In particular, the methods and / or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the central processing unit (CPU) 401, the above functions defined in the method of the present application are executed.
[0076] Another embodiment of the present application further provides a computer-readable storage medium and a computer program product, on which computer program instructions are stored. The computer program instructions can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of the present application.
[0077] Specifically, the present embodiment can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, systems, devices or devices including but not limited to electricity, magnetism, light, electromagnetic, infrared, or semiconductors, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0078] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer readable program code. Such propagated data signals 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 a computer readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0079] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0080] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0081] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0083] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules and units is only a logical function division. There may be other division methods in actual implementation. For example, with units as an example, multiple units or page components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0084] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0085] In addition, each functional module or unit in each embodiment of the present application may be integrated into one processing module or unit, or each module or unit may exist physically separately, or two or more units may be integrated into one module or unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules or units.
[0086] The above-mentioned integrated modules and units implemented in the form of software function modules and units can be stored in a computer-readable storage medium. The above-mentioned software function modules and units are stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform some steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0088] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in a device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for reporting buried point data, comprising: In response to the target function module calling the local broadcast function, obtaining general buried point data from the target function module; Broadcast the general tracking data to the target business party of the target business that calls the target function module; In response to receiving the combined burial point data returned by the target business party, the combined burial point data is reported to the target device based on a pre-configured communication path, wherein the combined burial point data is obtained by the target business party by combining the personalized burial point data collected locally by the target business party for the target business and the general burial point data.
2. The method according to claim 1, further comprising: In response to the listener being set by the target business party, using the listener to monitor whether the target functional module calls a local broadcast function; as well as The broadcasting of the general tracking data to the target business party of the target business that calls the target function module includes: The listening callback function of the listener is utilized to broadcast the general burying point data to the target business party of the target business that calls the target function module.
3. The method according to claim 2, after broadcasting the general burial point data, further comprises: Clears the listener.
4. The method according to claim 1, wherein: The general burial point data is collected by a group of general burial points configured in the target functional module, and the group of general burial points is determined based on the union result of the demand burial points of each business party that calls the target functional module.
5. The method according to claim 4, further comprising: Based on the union result of the demand tracking points of the business party that is currently in an activated state, a group of valid general tracking points is determined from the group of general tracking points, wherein the general tracking point data is collected by the group of valid general tracking points.
6. The method according to claim 4, further comprising: In response to the presence of a damaged universal burying point in the group of universal burying points, determining a demand business party that has a burying point data demand for the damaged universal burying point; Prompt information is communicated to the demand service party to indicate the general damage burial point to the demand service party.
7. The method according to claim 1, wherein: In response to detecting the presence of a target event in the target function module, the target function module calls the local broadcast function.
8. The method according to any one of claims 1 to 7, further comprising: Communicate feedback information to the target business party, wherein the feedback information is used to indicate whether the combined tracking data is successfully reported to the target device.
9. A device for reporting buried point data, comprising: A general burying point data acquisition unit is configured to acquire general burying point data from the target function module in response to the target function module calling the local broadcast function; A general burying point data broadcasting unit, configured to broadcast the general burying point data to a target business party of a target business that calls the target function module; The tracking point data reporting unit is configured to report the combined tracking point data to the target device based on a pre-configured communication path in response to receiving the combined tracking point data returned by the target business party, wherein the combined tracking point data is obtained by the target business party by combining the personalized tracking point data collected locally by the target business party for the target business and the general tracking point data.
10. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.
11. A computer readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.
