CN114741251B - Method, device, electronic device and computer-readable storage medium for processing buried points - Google Patents
Method, device, electronic device and computer-readable storage medium for processing buried points Download PDFInfo
- Publication number
- CN114741251B CN114741251B CN202110019735.9A CN202110019735A CN114741251B CN 114741251 B CN114741251 B CN 114741251B CN 202110019735 A CN202110019735 A CN 202110019735A CN 114741251 B CN114741251 B CN 114741251B
- Authority
- CN
- China
- Prior art keywords
- target
- point
- buried
- component
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/865—Monitoring of software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a buried point processing method, a buried point processing device, electronic equipment and a computer readable storage medium, and relates to the field of Internet. The cloud application cloud point embedding method includes the steps of responding to a selection instruction aiming at a target area in a target image, displaying at least one embedding point type and at least one reporting content, enabling the target image to be a page diagram of a cloud application current display page of a point to be embedded, enabling the target area to be an area corresponding to any component in the current display page, responding to the embedding point type selection instruction, displaying the target embedding point type determined from the at least one embedding point type, responding to the reporting content selection instruction, displaying target reporting content determined from the at least one reporting content, receiving a generation instruction, enabling the generation instruction to generate an embedding point request based on the target embedding point type and the target reporting content, sending the embedding point request to a cloud end, enabling the cloud end to embed any component based on the embedding point request, and enabling the cloud application to run in the cloud end. The application improves the efficiency of setting the buried point.
Description
Technical Field
The application relates to the technical field of internet, in particular to a buried point processing method, a buried point processing device, electronic equipment and a computer readable storage medium.
Background
Android applications cannot change functions in release versions, including adding buried points, modifying buried points and the like. Because adding a buried site would bring additional flow costs, it is not possible for developers to add buried sites to the application without limit. This presents a problem in that if a developer leaks a buried point of a component on a page of an application, the data generated by the buried point may affect the data analysis of the current application version (the buried point may be a key analysis node for the service buried point), and the package can only be re-sent at this time, which is a costly matter for both the user and the developer, and the addition and modification of the buried point is too dependent on the developer, which may also result in a low efficiency of the buried point setting.
Disclosure of Invention
The application provides a buried point processing method, a buried point processing device, electronic equipment and a computer readable storage medium, which can solve the problems of high cost and low efficiency in the existing buried point setting. The technical scheme is as follows:
In one aspect, a method for processing a buried point is provided, the method comprising:
displaying at least one buried point type and at least one report content in response to a selection instruction aiming at a target area in a target image, wherein the target image is a page diagram of a cloud application current display page of a point to be buried, and the target area is an area corresponding to any component in the current display page;
Displaying a target buried point type determined from the at least one buried point type in response to a buried point type selection instruction, and displaying target report content determined from the at least one report content in response to a report content selection instruction;
Receiving a generation instruction, so that a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction, and the buried point request is sent to a cloud terminal, wherein the cloud terminal buries any component based on the buried point request, and the cloud application runs in the cloud terminal.
On the other hand, a method for processing buried points is provided, and the method comprises the following steps:
acquiring a target image of a cloud application of a point to be buried, and sending the target image to a front end so that the front end generates the point burying request based on the target image;
responding to the buried point request to obtain a buried point configuration file;
burying points on the original components to be buried on the basis of the buried point configuration file to obtain target components after burying the points;
and updating the buried point configuration file based on the target component to obtain an updated buried point configuration file.
On the other hand, a method for processing buried points is provided, and the method comprises the following steps:
When a target component is triggered, acquiring a component identifier of the target component;
When a matching item exists between the component identifier and at least one component identifier in the embedded point configuration file, acquiring target report content corresponding to the matching item;
and reporting the target reporting content by embedding points.
Preferably, before the target component in the cloud application is triggered, the method further comprises:
Responding to a starting instruction, and sending a buried point configuration file acquisition request to a cloud;
And when the buried point configuration file is successfully acquired, storing the buried point configuration file.
In another aspect, there is provided a buried point processing apparatus, the apparatus comprising:
the display module is used for responding to a selection instruction aiming at a target area in a target image, displaying at least one buried point type and at least one report content, wherein the target image is a page diagram of a cloud application current display page of a point to be buried, the target area is an area corresponding to any component in the current display page, and
Displaying a target buried point type determined from the at least one buried point type in response to a buried point type selection instruction, and displaying target report content determined from the at least one report content in response to a report content selection instruction;
the receiving module is used for receiving the generation instruction;
The first generation module is used for responding to the generation instruction and generating a buried point request based on the target buried point type and the target report content;
The cloud application is used for operating in the cloud, and the cloud application is used for receiving the embedded point request from the cloud.
In another aspect, there is provided a buried point processing apparatus, the apparatus comprising:
the target image acquisition module is used for acquiring a target image of the cloud application of the point to be buried;
The second sending module is used for sending the target image to a front end so that the front end generates the buried point request based on the target image;
The embedded point configuration file acquisition module is used for responding to the embedded point request to obtain an embedded point configuration file;
The embedded point processing module is used for embedding the original assembly to be embedded with the points based on the embedded point configuration file to obtain a target assembly after embedding the points;
And the updating module is used for updating the embedded point configuration file based on the target component to obtain an updated embedded point configuration file.
Preferably, the embedded point configuration file acquisition module includes:
the analysis submodule is used for analyzing the buried point request to obtain buried point configuration data;
And the serialization submodule is used for serializing the buried point configuration data to obtain the buried point configuration file.
Preferably, the embedded point configuration file comprises a target embedded point type and target report content;
the buried point processing module comprises:
A replacement sub-module for replacing the original component with a target component having the target buried point type;
and the first adding sub-module is used for adding the target reporting content to the target attribute information of the target component to obtain the target component after embedding the point.
Preferably, the buried point processing module includes:
The original attribute information acquisition sub-module is used for acquiring the original attribute information of the original component;
and the second adding sub-module is used for adding the target reporting content to the original attribute information to obtain a target assembly after embedding the point.
Preferably, the updating module includes:
The first processing sub-module is used for acquiring the component identifier of the target component and establishing a first association relationship between the component identifier, the target embedded point type and the target reporting content;
And the second processing sub-module is used for adding the component identifier and the first association relation to the embedded point configuration file to obtain the updated embedded point configuration file.
Preferably, the method further comprises:
and the second generation sub-module is used for establishing a second association relation between the updated embedded point configuration file and the user identifier.
Preferably, the method further comprises:
The cloud application comprises a user identification acquisition module, a cloud application acquisition module and a cloud application acquisition module, wherein the user identification acquisition module is used for responding to a buried point configuration file acquisition request of the cloud application and acquiring a user identification from the buried point configuration file acquisition request;
the determining module is used for determining a target buried point configuration file based on the second association relation;
and the third sending module is used for feeding back the target embedded point configuration file to the cloud application, so that embedded point reporting is performed based on the target embedded point configuration file when the target component in the cloud application is triggered.
Preferably, the target image acquisition module is specifically configured to:
And grabbing a page map of the current display page of the cloud application based on a preset frequency to obtain the target image.
In another aspect, there is provided a buried point processing apparatus, the apparatus comprising:
the component identification acquisition module is used for acquiring the component identification of the target component when the target component is triggered;
The target report content acquisition module is used for acquiring target report content corresponding to a matching item when the matching item exists between the component identifier and at least one component identifier in the embedded point configuration file;
and the reporting module is used for reporting the target reporting content by burying points.
Preferably, the method further comprises:
the fourth sending module is used for responding to the starting instruction and sending a buried point configuration file acquisition request to the cloud before a target component in the cloud application is triggered;
and the storage module is used for storing the embedded point configuration file when the embedded point configuration file is successfully acquired.
In another aspect, there is provided an electronic device comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
The processor is configured to, by invoking the operation instruction, cause the processor to execute an operation corresponding to the processing method of the buried point according to the first aspect, the second aspect, and the third aspect of the present application.
In another aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the buried point processing method shown in the first, second and third aspects of the present application.
The technical scheme provided by the application has the beneficial effects that:
The cloud application cloud management method and device based on the cloud application, the cloud application client and the cloud application, the application client used for setting responds to a selection instruction aiming at a target area in a target image, shows at least one embedded point type and at least one report content, the target image is a page diagram of a cloud application current showing page of a point to be embedded, the target area is an area corresponding to any component in the current showing page, then responds to the embedded point type selection instruction, shows the target embedded point type determined from the at least one embedded point type, responds to the report content selection instruction, shows the target report content determined from the at least one report content, when receiving a generation instruction, enables a cloud point request to be generated based on the target embedded point type and the target report content in response to the generation instruction, and sends the embedded point request to the cloud end, the cloud end carries out embedded point on any component based on the embedded point request, and the cloud application runs in the cloud end. Therefore, even people without research and development capability can set the embedded point for any component in the cloud application through the configuration mode in the application program client, so that research and development productivity is liberated, the 'who needs to set' is realized, any person can set the embedded point, the threshold for setting the embedded point is greatly reduced, the problem that the embedded point needs to be re-packaged in the prior art is solved, and the efficiency for setting the embedded point is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments of the present application will be briefly described below.
FIG. 1 is a schematic view of an application environment of a method for processing buried points according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for processing buried points according to an embodiment of the present application;
FIGS. 3A-3B are schematic diagrams of a setup page of an application client according to the present application;
FIG. 4 is a schematic flow chart of a method for processing buried points according to another embodiment of the present application;
FIG. 5 is a schematic flow chart of a method for processing buried points according to another embodiment of the present application;
FIG. 6 is a block diagram of a method for processing buried points according to another embodiment of the present application;
FIG. 7 is a schematic structural diagram of a buried point processing apparatus according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a buried point processing device according to another embodiment of the present application;
FIG. 9 is a schematic structural diagram of a buried point processing apparatus according to another embodiment of the present application;
Fig. 10 is a schematic structural diagram of an electronic device for processing buried points according to another embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
The application provides a buried point processing method, a buried point processing device, electronic equipment and a computer readable storage medium, and aims to solve the technical problems in the prior art.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
The embodiment of the invention provides an application environment of a buried point processing method, and referring to fig. 1, the application environment comprises a first device 101, a second device 102 and a cloud 103. The first device 101 is connected with the cloud 103 through a network, and the second device 102 is connected with the cloud 103 through the network. The first device 101 is a front end, the front end may be a device provided with an application program client for setting a buried point for a cloud application, the cloud application operates in the cloud 103, the second device 102 is an access device, the access device may be a terminal for accessing the cloud application, and the terminal may have the following characteristics:
(1) In a hardware system, the device includes a central processing unit, a memory, an input unit, and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, there may be various input modes such as a keyboard, a mouse, a touch panel, a microphone, a camera, and the like, and the input may be adjusted as necessary. Meanwhile, the equipment often has various output modes, such as a receiver, a display screen and the like, and can be adjusted according to the needs;
(2) On a software architecture, the device must be provided with an operating system, such as Windows Mobile, symbian, palm, android, iOS, etc. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are layered endlessly, such as an address book, a calendar, a notepad, a calculator, various games and the like, so that the demands of personalized users are met to a great extent;
(3) In terms of communication capability, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby facilitating the use of users. The equipment supports 5G SA (stand alone networking) access, so that the equipment end side is ensured to support network slicing, not only voice service, but also various wireless data service;
(4) In terms of functional use, the device is more focused on humanization, individualization and multifunctionality. With the development of computer technology, the device enters a mode of 'centering on people' from a mode of 'centering on the device', and embedded computing, control technology, artificial intelligence technology, biological authentication technology and the like are integrated, so that the aim of people is fully embodied. Due to the development of software technology, the device can adjust the settings according to personal needs, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the functions are more and more powerful.
A method for processing a buried point may be performed in the first device (i.e., front end) of the application environment, as shown in fig. 2, where the method includes:
Step S201, at least one buried point type and at least one report content are displayed in response to a selection instruction for a target area in a target image, wherein the target image is a page diagram of a cloud application current display page of a point to be buried, and the target area is an area corresponding to any component in the current display page;
Specifically, an application client for setting a buried point for a cloud application may be installed in the front end. In the process that an operator uses the application program client to set the buried point, when the application program client receives a selection instruction for a target area in a target image initiated by the operator, a setting page of the application program client is shown in fig. 3A.
301 Is a target image, where the target image is a page diagram of a currently displayed page when the cloud application of the point to be buried is running, that is, a page currently seen by a user when the cloud application is running.
302 Is a settable buried point type including, but not limited to, exposure reporting, click reporting. The exposure report is passively triggered, for example, a page shown in 301 is displayed when the cloud application runs, and if the embedded point type of the whole page is the exposure report, the exposure report is triggered when the cloud application displays the page, and the preset report content is reported at this time. The click report is actively triggered, for example, a page shown in 301 is shown when the cloud application runs, and if the "confirm payment" is the click report, then when the cloud application runs, the user (non-operator) using the cloud application clicks the confirm payment, the click report is triggered, and at this time, the preset report content is reported.
And 303 is settable reporting content including, but not limited to, text content and custom content. The content of the file may be a content with a unified embedded point type, for example, exposure report may be set to be a "processing page showing an embedded point" in a unified manner, when the cloud application is running, the cloud application reports to be a "processing page showing an embedded point" when the exposure report is triggered, click report may be set to be a "processing button clicking an embedded point" in a unified manner, when the cloud application is running, the cloud application reports to be a "processing button clicking an embedded point" when the click report is triggered, and the custom content may be personalized settings for a target area, for example, assume that "confirm payment" in 301, the embedded point type is set to be a "click report", the custom content is set to be "12345", when the cloud application is running, the user clicks "confirm payment" and triggers click report, and the content of the cloud application is "12345".
Further, the target area is an area corresponding to any component in the current display page. For example, when the cloud application is actually running, the "confirmed payment" corresponds to one component, and in 301, the area corresponding to the "confirmed payment" is the target area.
Step S202, in response to a buried point type selection instruction, displaying a target buried point type determined from at least one buried point type, and in response to a report content selection instruction, displaying target report content determined from at least one report content;
Specifically, when the application client receives the buried point type selection instruction initiated by the operator, the target buried point type selected from the at least one buried point type may be displayed in the application client, and when the report content selection instruction is received, the target report content selected from the at least one report content may be displayed in the application client, as shown in fig. 3B.
And step 203, receiving a generation instruction, so that a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction, and the buried point request is sent to the cloud terminal, wherein the cloud terminal performs buried point on any component based on the buried point request, and the cloud application operates in the cloud terminal.
Specifically, a button for generating a buried point is further arranged in the setting page of the application program client, for example, a 'confirmation' button in fig. 3A, when an operator clicks the button, the application program client responds to a generation instruction to generate a buried point request based on a target buried point type and target report content, and sends the buried point request to a cloud, and the cloud can perform buried point on a corresponding component in the cloud application based on the buried point request. For example, when the operator clicks the "confirm" button in fig. 3A, the application client generates a buried point request, and sends the buried point request to the cloud, and the cloud performs the buried point on the "confirm payment" in 301 based on the buried point request.
It should be noted that, in the embodiment of the present invention, the application program client displays the page map currently displayed by the cloud application during running, and the page map is not the page, that is, the operator cannot interact with the page map. For example, in FIG. 3A, 301 is an image that an operator clicking "confirm payment" does not actually make a payment operation. Of course, the personnel setting the buried point may be other personnel managing the cloud application, in addition to the operators, and may be adjusted according to actual requirements in practical application, which is not limited by the embodiment of the present invention.
The cloud application comprises a cloud application, a cloud application and a target application client, wherein the cloud application is used for setting a target image, the target image is used for displaying at least one embedded point type and at least one report content in response to a selection instruction for a target area in the target image, the target image is a page diagram of a current display page of the cloud application to be embedded, the target area is a region corresponding to any component in the current display page, then the target embedded point type determined from the at least one embedded point type is displayed in response to the embedded point type selection instruction, the target report content determined from the at least one report content is displayed in response to the report content selection instruction, when a generation instruction is received, the embedded point request is generated based on the target embedded point type and the target report content in response to the generation instruction, the embedded point request is sent to the cloud, the cloud application is used for embedding points of any component based on the embedded point request, and the cloud application is operated in the cloud application. Therefore, even people without research and development capability can set the embedded point for any component in the cloud application through the configuration mode in the application program client, so that research and development productivity is liberated, the 'who needs to set' is realized, any person can set the embedded point, the threshold for setting the embedded point is greatly reduced, the problem that the embedded point needs to be re-packaged in the prior art is solved, and the efficiency for setting the embedded point is greatly improved.
A method for processing a buried point may be executed in the cloud of the application environment, as shown in fig. 4, where the method includes:
Step S401, acquiring a target image of a cloud application of a point to be buried, and sending the target image to a front end, so that the front end generates a point burying request based on the target image;
When an operator initiates an instruction for starting a cloud application of a point to be buried in an application program client, the instruction is sent to a cloud end through a front end, the cloud end starts the cloud application of the point to be buried, then a target image of the cloud application is acquired, and the target image is sent to the front end, so that the application program client in the front end generates a point burying request based on the target image, wherein the process of generating the point burying request by the application program client can refer to steps S201-S203, and the process is not repeated.
In a preferred embodiment of the present invention, acquiring a target image of a cloud application of a point to be buried includes:
and grabbing a page map of a current display page of the cloud application based on a preset frequency to obtain a target image.
Specifically, a virtual machine is arranged in the cloud, and cloud applications run in the virtual machine. After the cloud receives the starting instruction, starting the cloud application in the virtual machine, establishing a communication channel with the front end through the long connection, and grabbing a page diagram of a current display page of the cloud application based on a preset frequency to obtain a target image.
Step S402, responding to a buried point request to obtain a buried point configuration file;
after receiving the embedded point request, the cloud end analyzes the embedded point request to obtain embedded point configuration data, and then sequences the embedded point configuration data to obtain an embedded point configuration file. The embedded point configuration file includes, but is not limited to, a target embedded point type and target report content, that is, the target embedded point type and target report content set in the front end by an operator.
Serialization is the process of converting state information of an object into a form that can be stored or transmitted. During serialization, an object writes its current state to a temporary or persistent storage area. Later, the object may be recreated by reading or de-serializing the state of the object from the storage area. In the embodiment of the invention, the data analyzed by the embedded point request is a memory object, and the memory object is stored as a file object in a lasting way, namely, is serialized, and cannot be stored as a file without serialization.
Step S403, burying points on the original components to be buried points based on the buried point configuration file to obtain target components after burying the points;
After the buried point configuration file is obtained, the original assembly to be buried point can be buried point based on the buried point configuration file, and the target assembly after the buried point is obtained. The original component of the point to be buried is a component corresponding to the target area determined by the operator in the front end, for example, as shown in 301 in fig. 3A, the component corresponding to the "confirm payment" area is the original component of the point to be buried.
The manner of embedding the dots includes two ways, one is to replace the original components of the system with components having reporting functions.
In a preferred embodiment of the present invention, burying a point of an original component to be buried based on a buried point configuration file to obtain a target component after burying the point, including:
Replacing the original component with a target buried point type;
And adding the target reporting content into target attribute information of the target component to obtain the target component after embedding the point.
Specifically, in the embodiment of the invention, the embedded point reporting can be performed when the component is triggered, but in normal cases, the embedded point reporting cannot be performed by the original component of the system. For this case, the embodiment of the present invention replaces the original component of the system with the target component having "report content", and of course, the target component has a target embedded point type in addition to "report content", that is, the target component has preset the triggered target embedded point type and the report content to be reported after being triggered.
The relation between the target component and the original component of the system is an inheritance relation. That is, the target component has the capability of reporting the embedded point while inheriting the full capability of the original component.
Further, both the original component and the target component have corresponding attribute information, and since the target component and the original component are in inheritance relationship, the target component has not only all attribute information of the original component but also one item of attribute information-report content which is not available for the original component. Therefore, after the original component is replaced by the target component, the content to be reported (i.e. the target reporting content) can be added into the reporting content, so as to obtain the target component after embedding the point. That is, the "report content" is a parameter in the attribute information of the target component, and the "target report content" is a parameter value of the parameter.
For example, the original attribute information of the original component Button corresponding to "confirm payment" is as follows:
<Button
android:id="@+id/appinit_continuebtn"
android:textSize="@dimen/wx54sp"
android:textColor="#FFFFFF"
android:background="@drawable/appinit_continue_bg"
android text= "confirm payment"
android:layout_marginTop="@dimen/wx40dp"
android:layout_width="@dimen/wx455dp"
android:layout_height="@dimen/wx160dp"
android:layout_marginBottom="@dimen/wx250dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"/>。
The Button does not have "report content", so that it cannot report buried points. In order to enable the original component Button to report the embedded point, a target component ReportButton, reportButton can be preset to inherit all the capabilities of the Button, and meanwhile, target attribute information, namely report, report_data, is added, and then ReportButton is used for replacing the Button. The target attribute information for ReportButton is as follows:
<ReportButton
android:id="@+id/appinit_continuebtn"
report report_data= "confirm payment button is clicked"
android:textSize="@dimen/wx54sp"
android:textColor="#FFFFFF"
android:background="@drawable/appinit_continue_bg"
Android text= "confirm payment"
android:layout_marginTop="@dimen/wx40dp"
android:layout_width="@dimen/wx455dp"
android:layout_height="@dimen/wx160dp"
android:layout_marginBottom="@dimen/wx250dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"/>。
Wherein, "report: report_data" is "report content", and "' clicking the confirm payment button" is a parameter value of "report content".
In practical application, a plurality of target components with reporting capability can be preset, a required target component can be selected when a buried point is set, the target component can be set when the buried point is set, the target component can be used immediately after the setting is finished, and the target component can be set in other modes. In practical application, the adjustment can be performed according to practical requirements, and the embodiment of the invention is not limited to the adjustment.
Another way to embed the points is to add new reporting content to the attribute information of the system components.
In a preferred embodiment of the present invention, burying a point of an original component to be buried based on a buried point configuration file to obtain a target component after burying the point, including:
Acquiring original attribute information of an original component;
and adding the target report content into the original attribute information to obtain a target component after embedding the point.
Specifically, since the original component of the system itself has the attribute information (i.e., the original attribute information), the original attribute information of the original component may also be acquired, and then the target report content is added to the original attribute information, thereby obtaining the target component after embedding.
For example, the original attribute information of the Button is acquired first, and then "report: report_data= 'is added to the original attribute information, and the confirm payment Button'" is clicked, so that the Button with reporting capability is obtained. The original attribute information of Button is the same as the original attribute information, and is not described herein, and the modified original attribute information is substantially the same as the target attribute information, and is not described herein.
Step S404, updating the buried point configuration file based on the target component to obtain an updated buried point configuration file;
Specifically, after the target component is obtained, the component identifier of the target component may be obtained, and specifically, the component identifier may be generated based on a preset embedding point rule, where the embedding point rule may be Pagename/ContainerName/ViewPath/BehaviorViewName/Id. And then, establishing a first association relation between the component identifier and the target embedded point type and the target report content, wherein the component identifier, the target embedded point type and the target report content are in one-to-one correspondence. And adding the component identifier and the first association relationship to the embedded point configuration file to obtain an updated embedded point configuration file.
Step S405, establishing a second association relationship between the updated embedded point configuration file and the user identifier;
Wherein the user identification may be a merchant number. In practical application, each user has one-to-one corresponding merchant number, each merchant number has one-to-one corresponding configuration file paths in the cloud, each merchant number corresponds to a large number of hardware devices, and each hardware device can acquire embedded point configuration files from the cloud when starting cloud application. Therefore, after the updated buried point configuration file is obtained, a second association relationship between the updated buried point configuration file and the user identifier can be established, specifically, the cloud end stores the updated buried point configuration file in a certain path, and then writes the path into a configuration file path corresponding to the merchant number. Thus, when receiving the request for acquiring the embedded point configuration file of the cloud application, the updated embedded point configuration file can be issued to the cloud application.
Step S406, responding to a buried point configuration file acquisition request of the cloud application, and acquiring a user identifier from the buried point configuration file acquisition request;
Specifically, each time the cloud application is started, a request for acquiring the embedded point configuration file can be sent to the cloud, and the request includes the user identifier. When the cloud receives the request for acquiring the embedded point configuration file, the user identification can be acquired from the request.
Step S407, determining a target buried point configuration file based on the second association relation, and feeding back the target buried point configuration file to the cloud application, so that buried point reporting is performed based on the target buried point configuration file when a target component in the cloud application is triggered.
After the user identification is acquired, a target embedded point configuration file corresponding to the user identification can be determined based on the second association relation, and then the target embedded point configuration file is fed back to the cloud application, so that embedded point reporting can be performed based on target reporting content in the target embedded point configuration file when a target component in the cloud application is triggered.
When determining the target embedded point configuration file, the cloud end can firstly inquire whether a path of the target embedded point configuration file exists in a path of the configuration file corresponding to the user identifier, if so, the target embedded point configuration file is obtained from the path, the target embedded point configuration file is fed back to the cloud application, and if not, the user identifier does not have the target embedded point configuration file.
Further, when a path with a buried point configuration file exists under a configuration file path corresponding to the user identifier is queried, the path can be sent to the cloud application, and the cloud application can acquire the target buried point configuration file from the path by itself. In practical application, the setting can be performed according to practical requirements, and the embodiment of the invention is not limited to this.
In the embodiment of the invention, a cloud end acquires a target image of a cloud application of a point to be buried, sends the target image to a front end, enables the front end to generate a point burying request based on the target image, responds to the point burying request to obtain a point burying configuration file, then performs point burying on an original component of the point to be buried based on the point burying configuration file to obtain a target component after point burying, and updates the point burying configuration file based on the target component to obtain an updated point burying configuration file. Therefore, even people without research and development capability can carry out configuration of the buried point in the front end, the cloud end generates a final buried point configuration file based on the configuration, so that research and development productivity is liberated, the 'who needs and who sets' are realized, any person can set the buried point, the threshold for setting the buried point is greatly reduced, the problem that the buried point needs to be re-packaged in the prior art is solved, and the efficiency for setting the buried point is greatly improved.
In another embodiment, a method for processing a buried point is provided, as shown in fig. 5, and the method is executed by a cloud application, and includes:
step S501, when a target component is triggered, acquiring a component identifier of the target component;
Specifically, when a target component in the cloud application is triggered by a mode of a target embedded point type, a component identifier of the target component can be acquired. The component identifier may be obtained by obtaining a component identifier generated based on the above-described buried point rule. For example, when the user sees the page shown in 301 in fig. 3 in the terminal, and when the user clicks "confirm payment", the target component is triggered, and at this time, the cloud application only needs to acquire the component identifier of the target component.
It should be noted that, the user sees the target image in the terminal, when the user clicks a certain position in the target image, an interaction instruction is generated based on the coordinates of the position in the target image, then the interaction instruction is sent to the cloud application, the cloud application extracts the coordinates from the interaction instruction, and the coordinates are mapped to the page currently displayed by the cloud application, so that the specific position actually clicked by the user on the page is determined.
Step S502, when a matching item exists between the component identifier and at least one component identifier in the embedded point configuration file, acquiring target report content corresponding to the matching item;
After the component identifier of the target component is obtained, the component identifier is matched with at least one component identifier in the configuration file, if a matching item exists, target report content corresponding to the matching item is obtained, specifically, the target report content corresponding to the component identifier of the matching item can be determined based on the first association relation, and if the matching item does not exist, the target component is not provided with a buried point.
Step S503, reporting the target reporting content by embedding points.
After the target report content is obtained, the target report content can be reported by burying points, namely the target report content is sent to the cloud.
In a preferred embodiment of the present invention, before the target component in the cloud application is triggered, the method further comprises:
Responding to a starting instruction, and sending a buried point configuration file acquisition request to a cloud;
and when the buried point configuration file is successfully acquired, storing the buried point configuration file.
Specifically, because the cloud application runs in the cloud end and not in the terminal of the user, the user initiates a starting instruction for starting the cloud application in the terminal, then the terminal sends the starting instruction to the cloud application, the cloud application starts running in response to the starting instruction, meanwhile, a buried point configuration file acquisition request is sent to the cloud end, the cloud end can directly feed back the buried point configuration file and also can feed back a path for storing the buried point configuration file, and the cloud application acquires the buried point configuration file from the path by itself.
When the embedded point configuration file is successfully acquired, the configuration file is stored in a local space of the cloud application on one hand, and the configuration file is converted into a memory object and stored in a memory on the other hand, so that the cloud application can be matched with the user identification conveniently during operation.
Further, the cloud application may send a request for acquiring the embedded point configuration file to the cloud end when the cloud application is started, and also may poll the cloud end through a heartbeat service based on a preset time interval to acquire the embedded point configuration file, for example, the cloud application sends a heartbeat to the cloud end every 5 minutes to acquire the embedded point configuration file.
In the embodiment of the invention, when a target component in the cloud application is triggered, the component identification of the target component is acquired, and when a matching item exists between the component identification and at least one component identification in the embedded point configuration file, the target reporting content corresponding to the matching item is acquired, and the embedded point reporting is carried out on the target reporting content. Therefore, even people without research and development capability can perform configuration of the buried point in the front end, the cloud end generates a final buried point configuration file based on the configuration, a user can acquire the buried point configuration file from the cloud end based on the user identification in the cloud application process, and the buried point configuration file is basically used for buried point reporting of the target component, so that research and development productivity is liberated, who needs and sets up is realized, any person can set the buried point, the threshold for setting the buried point is greatly reduced, the problem that the buried point needs to be re-packaged in the prior art is solved, and the efficiency for setting the buried point is greatly improved.
The embodiment of the invention provides a frame structure diagram of a buried point processing method, which is shown in fig. 6 and comprises a front end and a cloud end.
The front end comprises a visualization layer, a data acquisition layer and a network layer.
The visualization layer is used for visualizing the application program client side with the embedded point to obtain a visualized setting page, and then displaying the visualized setting page and the target image to a user, as shown in fig. 3A and 3B.
The data acquisition layer is used for acquiring each item of configuration information set in the setting page after the confirmation of the operator, packaging each item of configuration information to generate a buried point request, acquiring a target image from the network layer and transmitting the target image to the visualization layer.
The network layer is used for sending the embedded point request to the cloud end and receiving the target image sent by the cloud end.
The cloud comprises an analysis layer, a configuration file layer and a virtual machine.
The analysis layer is used for receiving the embedded point request, analyzing the embedded point request to obtain various configuration information, and sending the obtained target image to the front end.
The configuration file layer is used for generating a configuration file based on each item of configuration information.
The virtual machine comprises a detection layer, a network layer, an interface layer and a buried point reporting layer.
The detection layer is used for polling the configuration file layer whether the configuration file exists or not in a heartbeat mode.
The network layer includes a receiving interface and a storage interface. The storage interface is used for serializing and storing the acquired configuration files.
The interface layer is used for transmitting the stored configuration file to the embedded point reporting layer.
The buried point reporting layer comprises a buried point interface I and a buried point interface II. The embedded point interface I is used for generating the embedded point target component in a mode of changing an original component into the target component with the target embedded point type, adding target reporting content into target attribute information of the target component to obtain the embedded point target component, the embedded point interface II is used for obtaining the original attribute information of the original component, adding target reporting content into the original attribute information to obtain the embedded point target component, and generating the embedded point target component (of course, the two modes can be interchanged), and reporting the target reporting content corresponding to the target component to the cloud when the target component is triggered in the process of using the cloud application by a user.
Fig. 7 is a schematic structural diagram of a buried point processing apparatus according to another embodiment of the present application, and as shown in fig. 7, the apparatus of this embodiment may include:
A display module 701 for displaying at least one buried point type and at least one report content in response to a selection instruction for a target region in a target image, wherein the target image is a page view of a cloud application current display page of a point to be buried, the target region is a region corresponding to any component in the current display page, and
Displaying a target buried point type determined from at least one buried point type in response to the buried point type selection instruction, and displaying target report content determined from at least one report content in response to the report content selection instruction;
A receiving module 702, configured to receive a generation instruction;
a first generating module 703, configured to generate a buried point request based on the target buried point type and the target report content in response to the generating instruction;
the first sending module 704 is configured to send a point burying request to the cloud, where the cloud performs point burying on any component based on the point burying request, and the cloud application runs in the cloud.
The processing device for buried points in this embodiment may execute the processing method for buried points in the first embodiment of the present application, and the implementation principle is similar, and will not be described herein.
The cloud application comprises a cloud application, a cloud application and a target application client, wherein the cloud application is used for setting a target image, the target image is used for displaying at least one embedded point type and at least one report content in response to a selection instruction for a target area in the target image, the target image is a page diagram of a current display page of the cloud application to be embedded, the target area is a region corresponding to any component in the current display page, then the target embedded point type determined from the at least one embedded point type is displayed in response to the embedded point type selection instruction, the target report content determined from the at least one report content is displayed in response to the report content selection instruction, when a generation instruction is received, the embedded point request is generated based on the target embedded point type and the target report content in response to the generation instruction, the embedded point request is sent to the cloud, the cloud application is used for embedding points of any component based on the embedded point request, and the cloud application is operated in the cloud application. Therefore, even people without research and development capability can set the embedded point for any component in the cloud application through the configuration mode in the application program client, so that research and development productivity is liberated, the 'who needs to set' is realized, any person can set the embedded point, the threshold for setting the embedded point is greatly reduced, the problem that the embedded point needs to be re-packaged in the prior art is solved, and the efficiency for setting the embedded point is greatly improved.
Fig. 8 is a schematic structural diagram of a buried point processing apparatus according to another embodiment of the present application, and as shown in fig. 8, the apparatus of this embodiment may include:
a target image acquisition module 801, configured to acquire a target image of a cloud application of a point to be buried;
A second transmitting module 802, configured to transmit the target image to the front end, so that the front end generates a buried point request based on the target image;
A buried point configuration file obtaining module 803, configured to obtain a buried point configuration file in response to a buried point request;
The embedded point processing module 804 is configured to embed a point in an original component to be embedded based on the embedded point configuration file, so as to obtain a target component after embedding the point;
And an updating module 805, configured to update the buried point configuration file based on the target component, to obtain an updated buried point configuration file.
In a preferred embodiment of the present invention, the buried point profile acquisition module includes:
The analysis submodule is used for analyzing the buried point request to obtain buried point configuration data;
and the serialization submodule is used for serializing the buried point configuration data to obtain a buried point configuration file.
In a preferred embodiment of the present invention, the embedded point configuration file includes a target embedded point type and target report content;
buried point processing module includes:
the replacing sub-module is used for replacing the original assembly with a target buried point type;
The first adding sub-module is used for adding the target reporting content to the target attribute information of the target component to obtain the target component after embedding the point.
In a preferred embodiment of the present invention, the buried point processing module includes:
the original attribute information acquisition sub-module is used for acquiring the original attribute information of the original component;
and the second adding sub-module is used for adding the target report content into the original attribute information to obtain the target assembly after the embedded point.
In a preferred embodiment of the present invention, the update module includes:
The first processing sub-module is used for acquiring the component identification of the target component and establishing a first association relationship between the component identification, the target buried point type and the target reporting content;
and the second processing sub-module is used for adding the component identifier and the first association relation to the embedded point configuration file to obtain an updated embedded point configuration file.
In a preferred embodiment of the present invention, further comprising:
and the second generation sub-module is used for establishing a second association relation between the updated embedded point configuration file and the user identifier.
In a preferred embodiment of the present invention, further comprising:
The cloud application comprises a user identification acquisition module, a cloud application acquisition module and a cloud application acquisition module, wherein the user identification acquisition module is used for responding to a buried point configuration file acquisition request of the cloud application and acquiring a user identification from the buried point configuration file acquisition request;
The determining module is used for determining a target buried point configuration file based on the second association relation;
And the third sending module is used for feeding back the target embedded point configuration file to the cloud application, so that embedded point reporting is performed based on the target embedded point configuration file when the target component in the cloud application is triggered.
In a preferred embodiment of the present invention, the target image acquisition module is specifically configured to:
and grabbing a page map of a current display page of the cloud application based on a preset frequency to obtain a target image.
The processing device for buried points in this embodiment may execute the processing method for buried points in the second embodiment of the present application, and the implementation principle is similar, and will not be described herein.
In the embodiment of the invention, a cloud end acquires a target image of a cloud application of a point to be buried, sends the target image to a front end, enables the front end to generate a point burying request based on the target image, responds to the point burying request to obtain a point burying configuration file, then performs point burying on an original component of the point to be buried based on the point burying configuration file to obtain a target component after point burying, and updates the point burying configuration file based on the target component to obtain an updated point burying configuration file. Therefore, even people without research and development capability can carry out configuration of the buried point in the front end, the cloud end generates a final buried point configuration file based on the configuration, so that research and development productivity is liberated, the 'who needs and who sets' are realized, any person can set the buried point, the threshold for setting the buried point is greatly reduced, the problem that the buried point needs to be re-packaged in the prior art is solved, and the efficiency for setting the buried point is greatly improved.
Fig. 9 is a schematic structural diagram of a buried point processing apparatus according to another embodiment of the present application, and as shown in fig. 9, the apparatus of this embodiment may include:
The component identifier obtaining module 901 is configured to obtain, when the target component is triggered, a component identifier of the target component;
The target report content obtaining module 902 is configured to obtain target report content corresponding to a matching item when the matching item exists between the component identifier and at least one component identifier in the embedded point configuration file;
The reporting module 903 is configured to report the target report content by burying a point.
In a preferred embodiment of the present invention, further comprising:
the fourth sending module is used for responding to the starting instruction and sending a buried point configuration file acquisition request to the cloud before a target component in the cloud application is triggered;
And the storage module is used for storing the embedded point configuration file when the embedded point configuration file is successfully acquired.
The processing device for buried points in this embodiment may execute the processing method for buried points in the third embodiment of the present application, and the implementation principle is similar, and will not be described herein.
In the embodiment of the invention, when a target component in the cloud application is triggered, the component identification of the target component is acquired, and when a matching item exists between the component identification and at least one component identification in the embedded point configuration file, the target reporting content corresponding to the matching item is acquired, and the embedded point reporting is carried out on the target reporting content. Therefore, even people without research and development capability can perform configuration of the buried point in the front end, the cloud end generates a final buried point configuration file based on the configuration, a user can acquire the buried point configuration file from the cloud end based on the user identification in the cloud application process, and the buried point configuration file is basically used for buried point reporting of the target component, so that research and development productivity is liberated, who needs and sets up is realized, any person can set the buried point, the threshold for setting the buried point is greatly reduced, the problem that the buried point needs to be re-packaged in the prior art is solved, and the efficiency for setting the buried point is greatly improved.
In the embodiment of the application, the application program client for setting is used for responding to a selection instruction aiming at a target area in a target image to display at least one embedded point type and at least one report content, the target image is a page diagram of a cloud application currently displaying a page of a point to be embedded, the target area is an area corresponding to any component in the current display page, then the target embedded point type determined from the at least one embedded point type is displayed in response to the embedded point type selection instruction, the target report content determined from the at least one report content is displayed in response to the report content selection instruction, when the generation instruction is received, the cloud application is enabled to generate a cloud point request based on the target embedded point type and the target report content, and sends the cloud point request to the cloud end, any component is embedded based on the cloud point request, and the cloud application runs in the cloud. Therefore, even people without research and development capability can set the embedded point for any component in the cloud application through the configuration mode in the application program client, so that research and development productivity is liberated, the 'who needs to set' is realized, any person can set the embedded point, the threshold for setting the embedded point is greatly reduced, the problem that the embedded point needs to be re-packaged in the prior art is solved, and the efficiency for setting the embedded point is greatly improved.
In an alternative embodiment, an electronic device is provided, as shown in fig. 10, the electronic device 10000 shown in fig. 10 includes a processor 10001 and a memory 10003. Wherein the processor 10001 is coupled to the memory 10003, such as via a bus 10002. Optionally, the electronic device 10000 may also comprise a transceiver 10004. It should be noted that, in practical applications, the transceiver 10004 is not limited to one, and the structure of the electronic device 10000 is not limited to the embodiment of the present application.
The processor 10001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor 10001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 10002 may include a pathway to transfer information between the aforementioned components. Bus 10002 may be a PCI bus or an EISA bus, etc. The bus 10002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 10, but not only one bus or one type of bus.
The memory 10003 may be, but is not limited to, ROM or other type of static storage device that can store static information and instructions, RAM or other type of dynamic storage device that can store information and instructions, EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 10003 is used for storing application program codes for executing the inventive arrangements and is controlled to be executed by the processor 10001. The processor 10001 is configured to execute application code stored in the memory 10003 to implement what is shown in any of the method embodiments described above.
Among them, the electronic devices include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like.
Yet another embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the corresponding ones of the foregoing method embodiments. Compared with the prior art, in the embodiment of the application, the application program client for setting responds to the selection instruction aiming at the target area in the target image, and displays at least one buried point type and at least one report content; the cloud application comprises a cloud application, a cloud application and a cloud application, wherein the cloud application is characterized in that a target image is a page image of a cloud application current display page of a point to be buried, a target area is an area corresponding to any component in the current display page, then a target buried point type determined from at least one buried point type is displayed in response to a buried point type selection instruction, target report content determined from at least one report content is displayed in response to a report content selection instruction, when a generation instruction is received, a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction, the buried point request is sent to the cloud, any component is buried by the cloud application based on the buried point request, and the cloud application runs in the cloud. Therefore, even people without research and development capability can set the embedded point for any component in the cloud application through the configuration mode in the application program client, so that research and development productivity is liberated, the 'who needs to set' is realized, any person can set the embedded point, the threshold for setting the embedded point is greatly reduced, the problem that the embedded point needs to be re-packaged in the prior art is solved, and the efficiency for setting the embedded point is greatly improved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.
Claims (20)
1. A method of treating a buried site, comprising:
The method comprises the steps of responding to a selection instruction aiming at a target area in a target image, displaying at least two embedded point types and at least two reporting contents, wherein the target image is a page diagram of a cloud application current display page of a point to be embedded, and the target area is an area corresponding to any component in the current display page;
Displaying a target buried point type determined from the at least two buried point types in response to a buried point type selection instruction, and displaying target report contents determined from the at least two report contents in response to a report content selection instruction;
Receiving a generation instruction, so that a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction, and the buried point request is sent to a cloud, wherein the cloud responds to the buried point request to obtain a buried point configuration file, and any component is buried based on the buried point configuration file to obtain any component after the buried point;
The response to the report content selection instruction displays the target report content determined from the at least two report contents, including:
Responding to a report content selection instruction aiming at the self-defined report content setting area, receiving a self-defined content setting operation aiming at the self-defined report content setting area, and taking the document content corresponding to the self-defined content setting operation as the target report content;
The any one of the components after the buried point is obtained based on the following mode:
Determining a target buried point type and target report content from the buried point configuration file;
Replacing any component with a target component with the target embedded point type, wherein the attribute information of the target component comprises the attribute information of any component;
and adding the target report content to the attribute information of the target component to obtain any component after embedding the point.
2. A method of treating a buried site, comprising:
acquiring a target image of a cloud application of a point to be buried, and sending the target image to a front end so that the front end generates the point burying request based on the target image;
Responding to the buried point request to obtain a buried point configuration file, wherein the buried point configuration file comprises a target buried point type and target reporting content;
The original component of the point to be buried is replaced by a target component with the target point buried type, wherein the attribute information of the target component comprises the attribute information of the original component;
updating the buried point configuration file based on the target component to obtain an updated buried point configuration file;
the embedded point request is generated at the front end by:
Responding to a selection instruction aiming at a target area in a target image, and displaying at least two embedded point types and at least two reporting contents, wherein the at least two reporting contents comprise a preset custom reporting content setting area and at least one preset document content corresponding to each embedded point type;
Displaying a target buried point type determined from the at least two buried point types in response to a buried point type selection instruction, and displaying target report contents determined from the at least two report contents in response to a report content selection instruction;
receiving a generation instruction, so that a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction;
The response to the report content selection instruction displays the target report content determined from the at least two report contents, including:
Responding to a report content selection instruction aiming at the self-defined report content setting area, receiving a self-defined content setting operation aiming at the self-defined report content setting area, and taking the document content corresponding to the self-defined content setting operation as the target report content.
3. The method for processing a buried point according to claim 2, wherein said obtaining a buried point configuration file in response to said buried point request includes:
analyzing the buried point request to obtain buried point configuration data;
and serializing the buried point configuration data to obtain the buried point configuration file.
4. The method for processing a buried point according to claim 2, wherein said updating the buried point configuration file based on the target component to obtain an updated buried point configuration file includes:
acquiring a component identifier of the target component, and establishing a first association relationship between the component identifier, a target embedded point type and target report content;
And adding the component identifier and the first association relationship to the embedded point configuration file to obtain the updated embedded point configuration file.
5. The method for processing a buried point according to claim 2 or 4, further comprising:
And establishing a second association relation between the updated embedded point configuration file and the user identifier.
6. The method for processing a buried point according to claim 5, further comprising:
Responding to a buried point configuration file acquisition request of a cloud application, and acquiring a user identifier from the buried point configuration file acquisition request;
And determining a target embedded point configuration file based on the second association relation, and feeding back the target embedded point configuration file to the cloud application, so that embedded point reporting is performed based on the target embedded point configuration file when the target component in the cloud application is triggered.
7. The method for processing the buried point according to claim 2, wherein the acquiring the target image of the cloud application of the point to be buried includes:
And grabbing a page map of the current display page of the cloud application based on a preset frequency to obtain the target image.
8. A method of treating a buried site, comprising:
When a target component is triggered, acquiring a component identifier of the target component;
When a matching item exists between the component identifier and at least one component identifier in the embedded point configuration file, acquiring target report content corresponding to the matching item;
reporting the target reporting content by burying points;
The embedded point configuration file is obtained by the cloud in response to an embedded point request sent by the front end, and the embedded point request is generated by the front end through the following steps:
Displaying at least two embedded point types and at least two reporting contents in response to a selection instruction aiming at a target area in a target image, wherein the at least two reporting contents comprise a preset custom reporting content setting area and at least one preset document content corresponding to each embedded point type;
Displaying a target buried point type determined from the at least two buried point types in response to a buried point type selection instruction, and displaying target report contents determined from the at least two report contents in response to a report content selection instruction;
Receiving a generation instruction, so that a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction, and the buried point request is sent to a cloud;
The response to the report content selection instruction displays the target report content determined from the at least two report contents, including:
Responding to a report content selection instruction aiming at the self-defined report content setting area, receiving a self-defined content setting operation aiming at the self-defined report content setting area, and taking the document content corresponding to the self-defined content setting operation as the target report content;
The embedded point configuration file comprises a target embedded point type and target reporting content;
the target assembly is buried based on the following mode:
Replacing an original component with a target component with the target buried point type, wherein the attribute information of the target component comprises the attribute information of the original component;
and adding the target report content into the attribute information of the target component to obtain the target component after embedding the point.
9. The method of claim 8, further comprising, before the target component in the cloud application is triggered:
Responding to a starting instruction, and sending a buried point configuration file acquisition request to a cloud;
And when the buried point configuration file is successfully acquired, storing the buried point configuration file.
10. A buried point processing apparatus, comprising:
The cloud application display module is used for displaying at least two embedded point types and at least two reported contents in response to a selection instruction aiming at a target area in a target image, wherein the target image is a page diagram of a cloud application current display page of a point to be embedded, and the target area is an area corresponding to any component in the current display page;
Displaying a target buried point type determined from the at least two buried point types in response to a buried point type selection instruction, and displaying target report contents determined from the at least two report contents in response to a report content selection instruction;
the receiving module is used for receiving the generation instruction;
The first generation module is used for responding to the generation instruction and generating a buried point request based on the target buried point type and the target report content;
The cloud end responds to the embedded point request to obtain an embedded point configuration file, and embeds any component based on the embedded point configuration file to obtain any component after embedding the embedded point; the cloud application runs in the cloud;
the display module is specifically configured to, when responding to a report content selection instruction, display a target report content determined from the at least two report contents:
Responding to a report content selection instruction aiming at the self-defined report content setting area, receiving a self-defined content setting operation aiming at the self-defined report content setting area, and taking the document content corresponding to the self-defined content setting operation as the target report content;
The any one of the components after the buried point is obtained based on the following mode:
Determining a target buried point type and target report content from the buried point configuration file;
Replacing any component with a target component with the target embedded point type, wherein the attribute information of the target component comprises the attribute information of any component;
and adding the target report content to the attribute information of the target component to obtain any component after embedding the point.
11. A buried point processing apparatus, comprising:
the target image acquisition module is used for acquiring a target image of the cloud application of the point to be buried;
The second sending module is used for sending the target image to a front end so that the front end generates the buried point request based on the target image;
the embedded point configuration file acquisition module is used for responding to the embedded point request to obtain an embedded point configuration file, wherein the embedded point configuration file comprises a target embedded point type and target reporting content;
The embedded point processing module is used for replacing an original component of the to-be-embedded point with a target component with the target embedded point type, wherein the attribute information of the target component comprises the attribute information of the original component;
The updating module is used for updating the embedded point configuration file based on the target component to obtain an updated embedded point configuration file;
the embedded point request is generated at the front end by:
Responding to a selection instruction aiming at a target area in a target image, and displaying at least two embedded point types and at least two reporting contents, wherein the at least two reporting contents comprise a preset custom reporting content setting area and at least one preset document content corresponding to each embedded point type;
Displaying a target buried point type determined from the at least two buried point types in response to a buried point type selection instruction, and displaying target report contents determined from the at least two report contents in response to a report content selection instruction;
receiving a generation instruction, so that a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction;
The response to the report content selection instruction displays the target report content determined from the at least two report contents, including:
Responding to a report content selection instruction aiming at the self-defined report content setting area, receiving a self-defined content setting operation aiming at the self-defined report content setting area, and taking the document content corresponding to the self-defined content setting operation as the target report content.
12. The device for processing a buried point according to claim 11, wherein said buried point profile obtaining module is configured to, when obtaining a buried point profile in response to said buried point request:
analyzing the buried point request to obtain buried point configuration data;
and serializing the buried point configuration data to obtain the buried point configuration file.
13. The device for processing a buried point according to claim 11, wherein said updating module is configured to, when updating said buried point configuration file based on said target component, obtain an updated buried point configuration file:
acquiring a component identifier of the target component, and establishing a first association relationship between the component identifier, a target embedded point type and target report content;
And adding the component identifier and the first association relationship to the embedded point configuration file to obtain the updated embedded point configuration file.
14. The buried site processing apparatus according to claim 11 or 13, further comprising:
and the second generation sub-module is used for establishing a second association relation between the updated embedded point configuration file and the user identifier.
15. The buried site processing apparatus as set forth in claim 14, further comprising:
The cloud application comprises a user identification acquisition module, a cloud application acquisition module and a cloud application acquisition module, wherein the user identification acquisition module is used for responding to a buried point configuration file acquisition request of the cloud application and acquiring a user identification from the buried point configuration file acquisition request;
the determining module is used for determining a target buried point configuration file based on the second association relation;
and the third sending module is used for feeding back the target embedded point configuration file to the cloud application, so that embedded point reporting is performed based on the target embedded point configuration file when the target component in the cloud application is triggered.
16. The embedded point processing device according to claim 11, wherein the target image acquisition module is specifically configured to, when acquiring a target image of a cloud application of a point to be embedded:
And grabbing a page map of the current display page of the cloud application based on a preset frequency to obtain the target image.
17. A buried point processing apparatus, comprising:
the component identification acquisition module is used for acquiring the component identification of the target component when the target component is triggered;
The target report content acquisition module is used for acquiring target report content corresponding to a matching item when the matching item exists between the component identifier and at least one component identifier in the embedded point configuration file;
the reporting module is used for reporting the target reporting content by burying points;
The embedded point configuration file is obtained by the cloud in response to an embedded point request sent by the front end, and the embedded point request is generated by the front end through the following steps:
Displaying at least two embedded point types and at least two reporting contents in response to a selection instruction aiming at a target area in a target image, wherein the at least two reporting contents comprise a preset custom reporting content setting area and at least one preset document content corresponding to each embedded point type;
Displaying a target buried point type determined from the at least two buried point types in response to a buried point type selection instruction, and displaying target report contents determined from the at least two report contents in response to a report content selection instruction;
Receiving a generation instruction, so that a buried point request is generated based on the target buried point type and the target report content in response to the generation instruction, and the buried point request is sent to a cloud;
The response to the report content selection instruction displays the target report content determined from the at least two report contents, including:
Responding to a report content selection instruction aiming at the self-defined report content setting area, receiving a self-defined content setting operation aiming at the self-defined report content setting area, and taking the document content corresponding to the self-defined content setting operation as the target report content;
The embedded point configuration file comprises a target embedded point type and target reporting content;
the target assembly is buried based on the following mode:
Replacing an original component with a target component with the target buried point type, wherein the attribute information of the target component comprises the attribute information of the original component;
and adding the target report content into the attribute information of the target component to obtain the target component after embedding the point.
18. The buried site processing apparatus as set forth in claim 17, further comprising:
the fourth sending module is used for responding to the starting instruction and sending a buried point configuration file acquisition request to the cloud before a target component in the cloud application is triggered;
and the storage module is used for storing the embedded point configuration file when the embedded point configuration file is successfully acquired.
19. An electronic device, comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
The processor is configured to execute the method for processing a buried point according to any one of claims 1 to 9 by calling the operation instruction.
20. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110019735.9A CN114741251B (en) | 2021-01-07 | 2021-01-07 | Method, device, electronic device and computer-readable storage medium for processing buried points |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110019735.9A CN114741251B (en) | 2021-01-07 | 2021-01-07 | Method, device, electronic device and computer-readable storage medium for processing buried points |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114741251A CN114741251A (en) | 2022-07-12 |
CN114741251B true CN114741251B (en) | 2024-12-20 |
Family
ID=82274009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110019735.9A Active CN114741251B (en) | 2021-01-07 | 2021-01-07 | Method, device, electronic device and computer-readable storage medium for processing buried points |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114741251B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106598868A (en) * | 2016-12-24 | 2017-04-26 | 上海亿账通互联网科技有限公司 | Dynamic point burying method and system for application program of client |
CN107800757A (en) * | 2017-03-28 | 2018-03-13 | 平安壹钱包电子商务有限公司 | User behavior recording method and device |
CN110502415A (en) * | 2019-08-27 | 2019-11-26 | 北京思维造物信息科技股份有限公司 | One kind burying a setting method, device and equipment |
CN110851326A (en) * | 2019-11-08 | 2020-02-28 | 浙江每日互动网络科技股份有限公司 | A kind of buried point method, data acquisition method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933472A (en) * | 2017-05-20 | 2017-07-07 | 南京西桥科技有限公司 | A kind of user behavior data acquisition system and its control method based on mobile phone A PP |
CN107832218B (en) * | 2017-11-10 | 2019-03-12 | 平安科技(深圳)有限公司 | A processing method, device and computer equipment are buried in dynamic page |
CN108536589A (en) * | 2018-03-26 | 2018-09-14 | 广州小鹏汽车科技有限公司 | A kind of application program buries point methods and system |
CN112148499B (en) * | 2019-06-27 | 2025-03-07 | 腾讯科技(北京)有限公司 | Data reporting method, device, computer equipment and medium |
CN110990619B (en) * | 2019-10-12 | 2023-09-01 | 平安银行股份有限公司 | Buried data query method, buried data query device, buried data query system, buried data query device and computer storage medium |
CN111737100A (en) * | 2020-06-09 | 2020-10-02 | 北京三快在线科技有限公司 | Data acquisition method, device, equipment and storage medium |
-
2021
- 2021-01-07 CN CN202110019735.9A patent/CN114741251B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106598868A (en) * | 2016-12-24 | 2017-04-26 | 上海亿账通互联网科技有限公司 | Dynamic point burying method and system for application program of client |
CN107800757A (en) * | 2017-03-28 | 2018-03-13 | 平安壹钱包电子商务有限公司 | User behavior recording method and device |
CN110502415A (en) * | 2019-08-27 | 2019-11-26 | 北京思维造物信息科技股份有限公司 | One kind burying a setting method, device and equipment |
CN110851326A (en) * | 2019-11-08 | 2020-02-28 | 浙江每日互动网络科技股份有限公司 | A kind of buried point method, data acquisition method and device |
Also Published As
Publication number | Publication date |
---|---|
CN114741251A (en) | 2022-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230325177A1 (en) | Systems and methods for application program and application program update deployment to a mobile device | |
US12108310B2 (en) | Message extension app store | |
US10033533B2 (en) | Mobile solution for signing and retaining third-party documents | |
CN103092608B (en) | The generation of the client of collecting device information and operation method, server and equipment | |
US20110113090A1 (en) | Dynamic mobile client | |
US9009740B2 (en) | Invocation of additional processing using remote procedure calls | |
KR20120077000A (en) | Online application system, apparatus by use of extended fields and method thereof | |
US9307010B2 (en) | Data upload method using shortcut | |
JP2014519632A (en) | Customized launch of application | |
CN103177043A (en) | Method and electronic system used for transferring file across system platform | |
KR20210091327A (en) | Batch processing method, apparatus, electronic device and readable storage medium of applet | |
CN111949314A (en) | Method, device, server and storage medium for generating application installation package | |
US20100169457A1 (en) | Social user script service by service proxy | |
US7809837B2 (en) | User interface for configuring web services for remote portlets | |
CN103532941B (en) | The method and device that the graphical page is presented under a kind of CGS patterns | |
CN111177558B (en) | Channel service construction method and device | |
CN114741251B (en) | Method, device, electronic device and computer-readable storage medium for processing buried points | |
US8943517B2 (en) | Generalized application message generation service | |
CN107977277B (en) | Method and device for integrating third-party system in ERP system and computer equipment | |
CN114911954B (en) | A rich media resource interaction method, device, equipment and storage medium | |
CN101772196A (en) | Method and system for processing message sent by mobile terminal and acting server | |
CN114518925A (en) | Mobile application generation method, data processing method and related device | |
JPWO2013088534A1 (en) | Server, method, and program for causing a computer to function as a server for accessing a mobile terminal from a client via a network | |
JP2010288243A (en) | Content generation and distribution system for mobile information terminal | |
CN103701849A (en) | Method and equipment for operating mobile equipment through user equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |