CN108733548A - One kind burying a setting method, device, equipment and computer readable storage medium - Google Patents
One kind burying a setting method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN108733548A CN108733548A CN201810503872.8A CN201810503872A CN108733548A CN 108733548 A CN108733548 A CN 108733548A CN 201810503872 A CN201810503872 A CN 201810503872A CN 108733548 A CN108733548 A CN 108733548A
- Authority
- CN
- China
- Prior art keywords
- function
- logic
- buried
- configuration information
- data
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Library & Information Science (AREA)
- Stored Programmes (AREA)
Abstract
The present invention proposes one kind and burying a setting method, including:Obtain the configuration information buried a little;The configuration information includes:The index mark of objective function function and the preset data of monitoring function function data bury the index mark of a logic;Based on the configuration information, the preset data is buried into a logic and is added in the corresponding function logic of the power function;When calling the power function, the function logic is executed, and a logic is buried to setting server feedback monitoring data by executing the preset data.The invention also discloses one kind burying setting device, equipment and a computer readable storage medium, by implementing said program, it can be buried a little according to burying a configuration information and dynamically being added to the power function in application program, the drawbacks of greatly improving the data acquisition efficiency and convenience to application program, effectively preventing burying by issuing new version addition by application program.
Description
Technical field
The present invention relates to field of computer technology more particularly to one kind burying a setting method, device, equipment and computer can
Read storage medium.
Background technology
With the fast development of terminal technology, various application programs have obtained quickly universal.Existing application program is being sent out
Before cloth, it will usually data are set in the application and buried a little, patrolled with burying a set-up function for monitoring application program by data
The operation flow data collected.But when application development engineer thinks to increase in the application new data and buries, usually
It needs to download for user by the new installation version of release application program and install, to realize that new data bury addition a little.And lead to
It crosses the new installation version of release application program and downloads installation for user, it usually needs version of the terminal system provider to application program
After this is audited, the publication of new version could be carried out, version release cycle is long;And the new installation version hair of application program
After cloth, user can't usually download new version and is updated to application program in time, cause new data to be buried and a little can not
It is added in time.
Invention content
The present invention proposes one kind and burying a setting method, device, equipment and computer readable storage medium, existing to solve
The problem of having the data of application program in technology to bury cannot a little be set dynamically.
The technical solution adopted by the present invention is to provide one kind and burying a setting method, including:
Obtain the configuration information buried a little;The configuration information includes:The index of objective function function identifies and monitoring function
The preset data of function data buries the index mark of a logic;
Based on the configuration information, the preset data is buried into a logic and is added to the corresponding work(of the objective function function
In energy logic;
When calling the objective function function, the function logic is executed, and bury a little by executing the preset data
Logic to setting server feedback monitoring data.
Optionally, the configuration information further includes:Monitoring data type;
A logic is buried to before setting server feedback monitoring data by executing the preset data described, the side
Method further includes:
According to the configuration information, the preset data is buried into logic and is arranged to the monitoring data of setting server feedback
For the monitoring data type.
Optionally, the mode for burying configuration information a little is obtained, including:
When detecting in the setting server configured with configuration file is buried, a configuration file is buried described in download;
By burying a configuration file described in parsing, the configuration information buried a little is obtained.
Optionally, the configuration information further includes:It updates the data and buries a logic;
It the preset data is buried into a logic is added to it in the corresponding function logic of the objective function function described
Before, the method further includes:
Based on the configuration information, by it is described update the data to bury a logic and replace with the preset data bury a logic.
Optionally, the method further includes:
In the case of logic being buried in the corresponding function logic of the objective function function comprising the preset data, base
In the configuration information, the preset data in the corresponding function logic of the power function is buried into logic and is deleted.
The present invention also provides one kind burying a setting device, including:
Acquisition module, for obtaining the configuration information buried a little;The configuration information includes:The index mark of objective function function
The preset data of knowledge and monitoring function function data buries the index mark of a logic;
The preset data is buried a logic and is added to the target work(by setup module for being based on the configuration information
In the corresponding function logic of energy function;
Execution module, for when calling the objective function function, executing the function logic, and by described in execution
Preset data buries a logic to setting server feedback monitoring data.
Optionally, the configuration information further includes:Monitoring data type;Described device further includes:
Data setup module, for burying a logic to setting server feedback prison by executing the preset data described
Before measured data, according to the configuration information, the preset data is buried into monitoring data of the logic to setting server feedback
It is set as the monitoring data type.
Optionally, the acquisition module, is specifically used for:
When detecting in the setting server configured with configuration file is buried, a configuration file is buried described in download;
By burying a configuration file described in parsing, the configuration information buried a little is obtained.
Optionally, the configuration information further includes:It updates the data and buries a logic;Described device further includes:
Update module, for the preset data being buried a logic described to be added to the objective function function corresponding
Before in function logic, be based on the configuration information, by it is described update the data to bury a logic and replace with the preset data bury a little
Logic.
Optionally, described device further includes:
Removing module is a little patrolled for being buried comprising the preset data in the corresponding function logic of the objective function function
In the case of volume, it is based on the configuration information, the preset data in the corresponding function logic of the power function is buried a little
Logic is deleted.
The present invention also provides one kind burying setting equipment, and the setting equipment of burying includes processor and memory;
The processor is used to execute the program for burying setting stored in memory, and above-mentioned a setting side is buried to realize
The step of method.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage there are one or
The multiple programs of person, one or more of programs can be executed by one or more processor, to realize that above-mentioned burying a little is set
The step of setting method.
Using above-mentioned technical proposal, the present invention at least has following advantages:
One kind of the present invention buries a setting method, device, equipment and computer readable storage medium, can be according to burying a little
Configuration information dynamically adds the power function in application program the data acquisition buried and a little greatly improved to application program
Efficiency and a convenience, the drawbacks of effectively preventing burying by issuing new version addition by application program.
Description of the drawings
Fig. 1 buries a setting method flow chart for first embodiment of the invention;
Fig. 2 buries a setting method flow chart for second embodiment of the invention;
Fig. 3 buries a setting method flow chart for third embodiment of the invention;
Fig. 4 buries a setting method flow chart for fourth embodiment of the invention;
Fig. 5 buries a setting method flow chart for fifth embodiment of the invention;
Fig. 6 buries a setting device composed structure schematic diagram for the 6th and the 8th embodiment of the invention;
Fig. 7 buries a setting device composed structure schematic diagram for seventh embodiment of the invention;
Fig. 8 buries a setting device composed structure schematic diagram for ninth embodiment of the invention;
Fig. 9 buries a setting device composed structure schematic diagram for tenth embodiment of the invention;
Figure 10 is that the setting equipment of burying of eleventh embodiment of the invention forms structural schematic diagram.
Specific implementation mode
Further to illustrate the present invention to reach the technological means and effect that predetermined purpose is taken, below in conjunction with attached drawing
And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, one kind burying a setting method, as shown in Figure 1, including step in detail below:
Step S101 obtains the configuration information buried a little.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Preset data is buried a logic and is added to objective function function pair and answered by step S102 based on the configuration information buried a little
Function logic in.
Optionally, step S102, including:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Step S103 executes the function logic, and bury a little by executing preset data when calling the objective function function
Logic to setting server feedback monitoring data.
Such as:When the target keypress function function in invoking web page, the corresponding presentation of performance objective keypress function function
The function logic of next stage subpage frame, and a logic is buried to setting server feedback target keypress function by executing preset data
The monitoring data of function;Wherein, monitoring data are the call number of target keypress function function.
A setting method is buried described in first embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add the data acquisition efficiency and convenience buried and a little greatly improved to application program, effectively keep away
The drawbacks of having exempted to bury by issuing new version addition by application program.
Second embodiment of the invention, one kind burying a setting method, as shown in Fig. 2, including step in detail below:
Step S201 obtains the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Preset data is buried a logic and is added to objective function function pair and answered by step S202 based on the configuration information buried a little
Function logic in.
Optionally, step S202, including:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Preset data is buried monitoring of the logic to setting server feedback by step S203 according to the configuration information buried a little
Data are set as monitoring data type.
Wherein, the configuration information buried a little further includes:Monitoring data type.
Such as:Preset data is buried a logic and is taken to setting by the monitoring data type for including according to the configuration information buried a little
The monitoring data of business device feedback are set as integer monitoring data type.
Data type of the logic to the monitoring data of setting server feedback is buried by the way that preset data is arranged, it being capable of dynamic
A type for feedback monitoring data is buried in adjustment, realizes the data monitoring to objective function function various dimensions.
Step S204 executes the function logic, and bury a little by executing preset data when calling the objective function function
Logic to setting server feedback monitoring data.
Such as:When the target keypress function function in invoking web page, the corresponding presentation of performance objective keypress function function
The function logic of next stage subpage frame, and a logic is buried to setting server feedback target keypress function by executing preset data
The monitoring data of function;Wherein, monitoring data are the call number of target keypress function function.
A setting method is buried described in second embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add the data acquisition efficiency and convenience buried and a little greatly improved to application program, effectively keep away
The drawbacks of having exempted to bury by issuing new version addition by application program.
Third embodiment of the invention, one kind burying a setting method, as shown in figure 3, including step in detail below:
Step S301 obtains the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, it obtains and buries the mode of configuration information a little and include but not limited to:
When detecting in setting server configured with configuration file is buried, a configuration file is buried in download;
A configuration file is buried by parsing, obtains the configuration information buried a little.
Preset data is buried a logic and is added to objective function function pair and answered by step S302 based on the configuration information buried a little
Function logic in.
Optionally, step S302, including:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Step S303 executes the function logic, and bury a little by executing preset data when calling the objective function function
Logic to setting server feedback monitoring data.
Such as:When the target keypress function function in invoking web page, the corresponding presentation of performance objective keypress function function
The function logic of next stage subpage frame, and a logic is buried to setting server feedback target keypress function by executing preset data
The monitoring data of function;Wherein, monitoring data are the call number of target keypress function function.
A setting method is buried described in third embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add the data acquisition efficiency and convenience buried and a little greatly improved to application program, effectively keep away
The drawbacks of having exempted to bury by issuing new version addition by application program.
Fourth embodiment of the invention, one kind burying a setting method, as shown in figure 4, including step in detail below:
Step S401 obtains the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Step S402 will be updated the data to bury a logic and replace with preset data and buried a logic based on the configuration information buried a little.
Wherein, the configuration information buried a little further includes:It updates the data and buries a logic.
A logic is buried by updating the data of burying that configuration information a little includes to bury existing preset data in application program
Point logic is updated, and realizes the dynamic update that data bury a logic.
Preset data is buried a logic and is added to objective function function pair and answered by step S403 based on the configuration information buried a little
Function logic in.
Optionally, step S403, including:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
Step S404 executes the function logic, and bury a little by executing preset data when calling the objective function function
Logic to setting server feedback monitoring data.
Such as:When the target keypress function function in invoking web page, the corresponding presentation of performance objective keypress function function
The function logic of next stage subpage frame, and a logic is buried to setting server feedback target keypress function by executing preset data
The monitoring data of function;Wherein, monitoring data are the call number of target keypress function function.
A setting method is buried described in fourth embodiment of the invention, a logic can be buried to the preset data in application program
Dynamic updates, and is dynamically added and buried a little to the power function in application program according to the configuration information buried a little, greatlys improve
To the data acquisition efficiency and convenience of application program, effectively prevents passing through by application program and issue new version addition
The drawbacks of burying.
Fifth embodiment of the invention, one kind burying a setting method, as shown in figure 5, including step in detail below:
Step S501 obtains the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Step S502, the case where burying logic not comprising preset data in the corresponding function logic of objective function function
Under, based on the configuration information buried a little, preset data is buried into a logic and is added in the corresponding function logic of objective function function.
Optionally, step S502, including:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Step S503 executes the function logic, and bury a little by executing preset data when calling the objective function function
Logic to setting server feedback monitoring data.
Such as:When the target keypress function function in invoking web page, the corresponding presentation of performance objective keypress function function
The function logic of next stage subpage frame, and a logic is buried to setting server feedback target keypress function by executing preset data
The monitoring data of function;Wherein, monitoring data are the call number of target keypress function function.
Step S504, in the case of burying logic comprising preset data in the corresponding function logic of objective function function,
Based on the configuration information buried a little, the preset data in the corresponding function logic of power function is buried into logic and is deleted.
By burying configuration information a little, Mobile state deletion is clicked through to existing bury in power function.
A setting method is buried described in fifth embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add and/or delete the data acquisition efficiency and facility buried and a little greatly improved to application program
Property, effectively prevent adding and/or delete by issuing new version by application program the drawbacks of burying.
Sixth embodiment of the invention, one kind burying a setting device, as shown in fig. 6, including consisting of part:
Acquisition module 100, for obtaining the configuration information buried a little.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Setup module 200, for based on the configuration information buried a little, preset data being buried a logic and is added to objective function letter
In the corresponding function logic of number.
Optionally, setup module 200 are specifically used for:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Execution module 300, for when calling the objective function function, executing the function logic, and it is preset by executing
Data bury a logic to setting server feedback monitoring data.
Such as:Execution module 300 is used for when the target keypress function function in invoking web page, performance objective button work(
The corresponding function logic that next stage subpage frame is presented of energy function, and a logic is buried to setting server by executing preset data
The monitoring data of feedback target keypress function function;Wherein, monitoring data are the call number of target keypress function function.
A setting device is buried described in sixth embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add the data acquisition efficiency and convenience buried and a little greatly improved to application program, effectively keep away
The drawbacks of having exempted to bury by issuing new version addition by application program.
Seventh embodiment of the invention, one kind burying a setting device, as shown in fig. 7, comprises consisting of part:
Acquisition module 100, for obtaining the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Setup module 200, for based on the configuration information buried a little, preset data being buried a logic and is added to objective function letter
In the corresponding function logic of number.
Optionally, setup module 200 are specifically used for:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Data setup module 400, for according to the configuration information buried a little, preset data to be buried a logic to setting server
The monitoring data of feedback are set as monitoring data type.
Wherein, the configuration information buried a little further includes:Monitoring data type.
Such as:Data setup module 400, the monitoring data type for including according to configuration information a little is buried, will be preset
Data bury a logic and are set as integer monitoring data type to the monitoring data of setting server feedback.
Data type of the logic to the monitoring data of setting server feedback is buried by the way that preset data is arranged, it being capable of dynamic
A type for feedback monitoring data is buried in adjustment, realizes the data monitoring to objective function function various dimensions.
Execution module 300, for when calling the objective function function, executing the function logic, and it is preset by executing
Data bury a logic to setting server feedback monitoring data.
Such as:Execution module 300 is used for when the target keypress function function in invoking web page, performance objective button work(
The corresponding function logic that next stage subpage frame is presented of energy function, and a logic is buried to setting server by executing preset data
The monitoring data of feedback target keypress function function;Wherein, monitoring data are the call number of target keypress function function.
A setting device is buried described in seventh embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add the data acquisition efficiency and convenience buried and a little greatly improved to application program, effectively keep away
The drawbacks of having exempted to bury by issuing new version addition by application program.
Eighth embodiment of the invention, one kind burying a setting device, as shown in fig. 6, including consisting of part:
Acquisition module 100, for obtaining the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, it obtains and buries the mode of configuration information a little and include but not limited to:
When detecting in setting server configured with configuration file is buried, a configuration file is buried in download;
A configuration file is buried by parsing, obtains the configuration information buried a little.
Preset data is buried a logic and is added to objective function function pair by setup module 200 for burying configuration information a little
In the function logic answered.
Optionally, setup module 200 are specifically used for:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Execution module 300, for when calling the objective function function, executing the function logic, and it is preset by executing
Data bury a logic to setting server feedback monitoring data.
Such as:Execution module 300 is used for when the target keypress function function in invoking web page, performance objective button work(
The corresponding function logic that next stage subpage frame is presented of energy function, and a logic is buried to setting server by executing preset data
The monitoring data of feedback target keypress function function;Wherein, monitoring data are the call number of target keypress function function.
A setting device is buried described in eighth embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add the data acquisition efficiency and convenience buried and a little greatly improved to application program, effectively keep away
The drawbacks of having exempted to bury by issuing new version addition by application program.
Ninth embodiment of the invention, one kind burying a setting method, as shown in figure 8, including consisting of part:
Acquisition module 100, for obtaining the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Update module 500 is buried for based on the configuration information buried a little, will update the data to bury a logic and replace with preset data
Point logic.
Wherein, the configuration information buried a little further includes:It updates the data and buries a logic.
A logic is buried by updating the data of burying that configuration information a little includes to bury existing preset data in application program
Point logic is updated, and realizes the dynamic update that data bury a logic.
Setup module 200, for based on the configuration information buried a little, preset data being buried a logic and is added to objective function letter
In the corresponding function logic of number.
Optionally, setup module 200 are specifically used for:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
Execution module 300, for when calling the objective function function, executing the function logic, and it is preset by executing
Data bury a logic to setting server feedback monitoring data.
Such as:Execution module 300 is used for when the target keypress function function in invoking web page, performance objective button work(
The corresponding function logic that next stage subpage frame is presented of energy function, and a logic is buried to setting server by executing preset data
The monitoring data of feedback target keypress function function;Wherein, monitoring data are the call number of target keypress function function.
A setting device is buried described in ninth embodiment of the invention, a logic can be buried to the preset data in application program
Dynamic updates, and is dynamically added and buried a little to the power function in application program according to the configuration information buried a little, greatlys improve
To the data acquisition efficiency and convenience of application program, effectively prevents passing through by application program and issue new version addition
The drawbacks of burying.
Tenth embodiment of the invention, one kind burying a setting device, as shown in figure 9, including consisting of part:
Acquisition module 100, for obtaining the configuration information buried a little.
In the present embodiment, the quantity of objective function function is one or more.
In the present embodiment, the configuration information buried a little includes but not limited to:The index of objective function function identifies, and monitoring
The preset data of power function data buries index mark of a logic etc..
In the present embodiment, the mode for burying configuration information a little is obtained including at least one of following manner:
Mode one obtains the configuration information buried a little based on being parsed to the configuration file that buries for setting server push;
Mode two obtains the configuration buried a little based on being parsed to the configuration file that buries downloaded to from setting server
Information.
In such a way that configuration information a little is buried in above-mentioned acquisition can dynamic access setting server in the configuration buried a little
Information realizes the dynamic addition buried a little.
Setup module 200 is a little patrolled for being buried not comprising preset data in the corresponding function logic of objective function function
In the case of volume, based on the configuration information buried a little, preset data is buried into a logic and is added to the corresponding function of objective function function
In logic.
Optionally, setup module 200 are specifically used for:
Based on the objective function function in the configuration information buried a little index mark and monitoring function function data it is preset
Data bury the index mark of a logic, search the objective function function respectively and the preset data buries a logic;
Preset data is buried a logic to be added in the corresponding function logic of objective function function.
It is added to objective function function by the way that existing preset data in application is buried a logic, avoids and is burying a little
Configuration file configuration preset data buries a logic, caused to bury the excessive defect of a configuration file.
Execution module 300, for when calling the objective function function, executing the function logic, and it is preset by executing
Data bury a logic to setting server feedback monitoring data.
Such as:Execution module 300 is used for when the target keypress function function in invoking web page, performance objective button work(
The corresponding function logic that next stage subpage frame is presented of energy function, and a logic is buried to setting server by executing preset data
The monitoring data of feedback target keypress function function;Wherein, monitoring data are the call number of target keypress function function.
Removing module 600, for burying a logic comprising preset data in the corresponding function logic of objective function function
In the case of, based on the configuration information buried a little, the preset data in the corresponding function logic of power function is buried into logic and is deleted.
By burying configuration information a little, Mobile state deletion is clicked through to existing bury in power function.
A setting device is buried described in tenth embodiment of the invention, it can be according to the configuration information buried a little in application program
Power function dynamically add and/or delete the data acquisition efficiency and facility buried and a little greatly improved to application program
Property, effectively prevent adding and/or delete by issuing new version by application program the drawbacks of burying.
Eleventh embodiment of the invention, one kind burying setting equipment, as shown in Figure 10, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to
Cross bus or other manner connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit,
CPU), it can also be digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (English:
Application Specific Integrated Circuit, ASIC), or be arranged to implement the embodiment of the present invention
One or more integrated circuits.Wherein, memory 502 is used to store the executable instruction of processor 501;
Memory 502 is transferred to processor 501 for storing program code, and by the program code.Memory 502 can
To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory,
RAM);Memory 502 can also include nonvolatile memory (Non-Volatile Memory), such as read-only memory
(Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid
State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, the program code management code that processor 501 is used to that memory 502 to be called to store executes the present invention first
In embodiment to fifth embodiment of the invention in any embodiment part or Overall Steps.
Setting equipment is buried described in eleventh embodiment of the invention, the preset data in application program can be buried and a little be patrolled
It collects dynamic to update, the power function in application program is dynamically added and/or deleted according to the configuration information buried a little and is buried a little, pole
The earth improves data acquisition efficiency and convenience to application program, effectively prevents through application program by issuing newly
Version adds and/or deletes the drawbacks of burying.
Sixth embodiment of the invention, a kind of computer readable storage medium.
Computer storage media can be RAM memory, flash memory, ROM memory, eprom memory, EEPROM storages
The storage medium of device, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art.
Computer-readable recording medium storage there are one or multiple programs, one or more program can by one or
The multiple processors of person execute, with realize in first embodiment of the invention to fifth embodiment of the invention in any embodiment part or
Overall Steps.
Computer readable storage medium described in twelveth embodiment of the invention is stored with one or more program, should
One or more program can be executed by one or more processor, can bury a logic to the preset data in application program
Dynamic updates, and the power function in application program is dynamically added and/or deleted according to the configuration information buried a little and is buried a little, greatly
Ground improves the data acquisition efficiency and convenience to application program, effectively prevents through application program by issuing new version
The drawbacks of this addition and/or deletion are buried.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (12)
1. one kind burying a setting method, which is characterized in that including:
Obtain the configuration information buried a little;The configuration information includes:The index of objective function function identifies and monitoring function function
The preset data of data buries the index mark of a logic;
Based on the configuration information, the preset data is buried into a logic it is added to the corresponding function of the objective function function and patrol
In volume;
When calling the objective function function, the function logic is executed, and a logic is buried by executing the preset data
To setting server feedback monitoring data.
2. according to the method described in claim 1, it is characterized in that, the configuration information further includes:Monitoring data type;
A logic is buried to before setting server feedback monitoring data by executing the preset data described, and the method is also
Including:
According to the configuration information, the preset data is buried into logic and is set as institute to the monitoring data of setting server feedback
State monitoring data type.
3. according to the method described in claim 1, it is characterized in that, obtain the mode for burying configuration information a little, including:
When detecting in the setting server configured with configuration file is buried, a configuration file is buried described in download;
By burying a configuration file described in parsing, the configuration information buried a little is obtained.
4. according to the method in any one of claims 1 to 3, which is characterized in that the configuration information further includes:Update number
According to burying a logic;
The preset data buried before a logic is added in the corresponding function logic of the objective function function described, institute
The method of stating further includes:
Based on the configuration information, by it is described update the data to bury a logic and replace with the preset data bury a logic.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
In the case of burying logic comprising the preset data in the corresponding function logic of the objective function function, it is based on institute
Configuration information is stated, the preset data in the corresponding function logic of the power function is buried into logic and is deleted.
6. one kind burying a setting device, which is characterized in that including:
Acquisition module, for obtaining the configuration information buried a little;The configuration information includes:The index of objective function function identifies,
And the preset data of monitoring function function data buries the index mark of a logic;
The preset data is buried a logic and is added to the objective function letter by setup module for being based on the configuration information
In the corresponding function logic of number;
Execution module, for when calling the objective function function, executing the function logic, and it is described preset by executing
Data bury a logic to setting server feedback monitoring data.
7. device according to claim 6, which is characterized in that the configuration information further includes:Monitoring data type;It is described
Device further includes:
Data setup module, for burying a logic to setting server feedback monitoring number by executing the preset data described
According to before, according to the configuration information, the preset data is buried into logic and is arranged to the monitoring data of setting server feedback
For the monitoring data type.
8. device according to claim 6, which is characterized in that the acquisition module is specifically used for:
When detecting in the setting server configured with configuration file is buried, a configuration file is buried described in download;
By burying a configuration file described in parsing, the configuration information buried a little is obtained.
9. the device according to any one of claim 6 to 8, which is characterized in that the configuration information further includes:Update number
According to burying a logic;Described device further includes:
Update module, for the preset data being buried a logic being added to the corresponding function of the objective function function described
Before in logic, be based on the configuration information, by it is described update the data to bury a logic and replace with the preset data bury a logic.
10. device according to claim 6, which is characterized in that described device further includes:
Removing module, for burying a logic comprising the preset data in the corresponding function logic of the objective function function
In the case of, it is based on the configuration information, the preset data in the corresponding function logic of the power function is buried into a logic
It deletes.
11. one kind burying setting equipment, which is characterized in that the setting equipment of burying includes processor and memory;
The processor is used to execute the program for burying setting stored in memory, is appointed according in Claims 1 to 5 with realizing
Described in one the step of burying setting method.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or
Multiple programs, one or more of programs can be executed by one or more processor, with realize according to claim 1~
Described in any one of 5 the step of burying setting method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810503872.8A CN108733548A (en) | 2018-05-23 | 2018-05-23 | One kind burying a setting method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810503872.8A CN108733548A (en) | 2018-05-23 | 2018-05-23 | One kind burying a setting method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108733548A true CN108733548A (en) | 2018-11-02 |
Family
ID=63934988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810503872.8A Pending CN108733548A (en) | 2018-05-23 | 2018-05-23 | One kind burying a setting method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108733548A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209386A (en) * | 2019-05-17 | 2019-09-06 | 北京奇艺世纪科技有限公司 | The acquisition methods and device that data bury setting method a little, bury point data |
CN111930422A (en) * | 2020-09-02 | 2020-11-13 | 上海优扬新媒信息技术有限公司 | Information acquisition method, device, server and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106844217A (en) * | 2017-01-26 | 2017-06-13 | 网易(杭州)网络有限公司 | Control to applying bury method and device, readable storage medium storing program for executing a little |
CN107832218A (en) * | 2017-11-10 | 2018-03-23 | 平安科技(深圳)有限公司 | A processing method, device and computer equipment are buried in dynamic page |
CN107894945A (en) * | 2017-11-17 | 2018-04-10 | 深圳市泉眼网络科技有限公司 | Bury an adding method, mobile terminal and computer-readable recording medium |
-
2018
- 2018-05-23 CN CN201810503872.8A patent/CN108733548A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106844217A (en) * | 2017-01-26 | 2017-06-13 | 网易(杭州)网络有限公司 | Control to applying bury method and device, readable storage medium storing program for executing a little |
CN107832218A (en) * | 2017-11-10 | 2018-03-23 | 平安科技(深圳)有限公司 | A processing method, device and computer equipment are buried in dynamic page |
CN107894945A (en) * | 2017-11-17 | 2018-04-10 | 深圳市泉眼网络科技有限公司 | Bury an adding method, mobile terminal and computer-readable recording medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209386A (en) * | 2019-05-17 | 2019-09-06 | 北京奇艺世纪科技有限公司 | The acquisition methods and device that data bury setting method a little, bury point data |
CN110209386B (en) * | 2019-05-17 | 2023-07-21 | 北京奇艺世纪科技有限公司 | Method for setting buried point of data, method and device for acquiring buried point data |
CN111930422A (en) * | 2020-09-02 | 2020-11-13 | 上海优扬新媒信息技术有限公司 | Information acquisition method, device, server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105760199B (en) | A kind of application resource loading method and its equipment | |
US9449113B2 (en) | Browser storage management | |
US10534425B2 (en) | Processing method and device for saving power, mobile terminal and cloud server | |
CN108733548A (en) | One kind burying a setting method, device, equipment and computer readable storage medium | |
WO2017107831A1 (en) | Application based broadcasting method, device and electronic device | |
CN108984339B (en) | Data recovery method and related product | |
CN111367922A (en) | Data updating method and related equipment | |
US20180199175A1 (en) | M2m node management method and apparatus, and computer storage medium | |
CN108446110B (en) | Lua script generation method, Lua script generation device, Lua script generation terminal and computer readable medium | |
CN114064668A (en) | Method, electronic device and computer program product for storage management | |
CN108804177A (en) | Update method, apparatus, computer equipment and the storage medium of interface view | |
CN104461612B (en) | A kind of data processing method and device | |
CN109753367A (en) | Communication means, device, computer equipment and computer readable storage medium | |
US20180052862A1 (en) | Log collection system and log collection method | |
US20120151005A1 (en) | Image file download method | |
CN109271194A (en) | Branch's access method and device based on distributed version control system | |
EP3260981A1 (en) | Information processing apparatus, information processing system, and information processing method for updating firmware | |
CN104732148A (en) | Distributed searching and killing method and system | |
CN104507067A (en) | Method for determining registration area and mobile management entity | |
US10291418B2 (en) | File size-based toll-free data service | |
CN108197255B (en) | Method and equipment for setting query tree and computer readable storage medium | |
CN106156210B (en) | Method and device for determining application identifier matching list | |
US20200242092A1 (en) | Method, electronic device and computer-readable medium for managing metadata | |
CN113132241B (en) | ACL template dynamic configuration method and device | |
CN113377430B (en) | Configuration system of industrial plug-in |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181102 |