CN109491645A - Point methods, device, computer equipment and storage medium are buried based on interface element - Google Patents

Point methods, device, computer equipment and storage medium are buried based on interface element Download PDF

Info

Publication number
CN109491645A
CN109491645A CN201811208302.2A CN201811208302A CN109491645A CN 109491645 A CN109491645 A CN 109491645A CN 201811208302 A CN201811208302 A CN 201811208302A CN 109491645 A CN109491645 A CN 109491645A
Authority
CN
China
Prior art keywords
parameter
interface element
configurable
bury
information
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
Application number
CN201811208302.2A
Other languages
Chinese (zh)
Inventor
郭鸿程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811208302.2A priority Critical patent/CN109491645A/en
Publication of CN109491645A publication Critical patent/CN109491645A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of to bury point methods, device, computer equipment and storage medium based on interface element, which comprises scanning interface element obtains the element information in each interface element;Reception user chooses the parameter configuration instruction sent after element information, is transferred according to element information and buries a parameter with associated can configure of interface element, and configurable will buried a parameter and show in parameter configuration interface;It obtains the configurable of latest configuration in parameter configuration interface and buries a parameter, and the routing information with the configurable interface element for burying a parameter association;It receives and buries instruction comprising routing information, transfer and routing information is associated configurable bury a parameter and bury a little.The present invention can be achieved automatically scanning interface element and position and configure to a parameter is buried, while the corresponding relationship between routing information and the configurable parameter can be uniformly processed, and improve the flexibility of exploitation.

Description

Point methods, device, computer equipment and storage medium are buried based on interface element
Technical field
The present invention relates to bury a field, and in particular to a kind of to bury point methods, device, computer equipment based on interface element And storage medium.
Background technique
Currently, as small routine is using more and more extensive, it is also more and more bury demand a little to small routine, buries a little Including code bury point, entirely bury point, without burying a little;Wherein, code, which buries, a little refers to that point code is buried in the place increase for needing to pay close attention at us, It is recorded to server transmission respective request and buries information.The practice that a little refers to and will identify is buried entirely, all to clothes Business device sends corresponding request and records event information, and server reasons out corresponding business further according to event information and buries a letter Breath.Nothing buries the event for a little referring to and identifying on the basis of burying point entirely and meeting rule server, then fixed according to rule server The parameter of justice, records and buries information.So being a little that regular complete of a band buries a scheme without burying, addition rule therein is exactly Setting nothing buries a parameter.In the prior art for small routine carry out without bury a parameter configuration to bury a scheme less.Therefore, currently It is badly in need of a kind of may be implemented that quickly and easily small routine is carried out to bury a scheme without bury a parameter configuration.
Summary of the invention
The embodiment of the present invention provide it is a kind of point methods, device, computer equipment and storage medium are buried based on interface element, The present invention does not need to modify any service code, and automatically scanning interface element can be realized and carry out positioning and carry out to a parameter is buried Configuration, while the configurable parameter of latest configuration can be synchronized to all clients, allow server to routing information Corresponding relationship between the configurable parameter is uniformly processed, and the flexibility of exploitation is improved.
It is a kind of that point methods are buried based on interface element, comprising:
Interface element is scanned, the element information in each interface element is obtained;
Receive user and choose the parameter configuration instruction sent after the element information, according to the element information transfer with The interface element it is associated it is configurable bury a parameter, and configurable bury a parameter by described and show in parameter configuration interface;
It obtains described can configure of latest configuration in the parameter configuration interface and buries a parameter, and can configure with described Bury the routing information of the interface element of a parameter association;
It receives and buries an instruction comprising the routing information, transfer and buried a little with associated described can configure of the routing information Parameter bury a little.
It is a kind of that a device is buried based on interface element, comprising:
Scan module obtains the element information in each interface element for scanning interface element;
Module is transferred, the parameter configuration instruction sent after the element information is chosen for receiving user, according to described Element information transfer with the interface element it is associated it is configurable buries a parameter, and by it is described it is configurable bury a parameter and show joining In number configuration interface;
Module is obtained, buries a parameter for obtaining described can configure of latest configuration in the parameter configuration interface, with And the routing information with the configurable interface element for burying a parameter association;
Point module is buried, an instruction is buried comprising the routing information for receiving, transfers associated with the routing information It is described configurable to bury a parameter and bury a little.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize above-mentioned burying a little based on interface element when executing the computer program The step of method.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter Calculation machine program realized when being executed by processor it is above-mentioned based on interface element the step of burying point methods.
It is provided by the invention that point methods, device, computer equipment and storage medium are buried based on interface element, it can pass through What the element information (view element value and bindtap attribute value) of scanning interface element came in locating interface element configurable buries a little Parameter;And after burying a parameter to configurable in interface element and configuring, a ginseng is buried into the configuration of latest configuration Several routing information associated storages with the interface element, can described in latest configuration in order to be transferred by the routing information Configuration is buried a parameter and bury a little.The present invention does not need to modify any service code, can be realized automatically scanning interface element into Row is positioned and is configured to a parameter is buried, therefore the intrusion of its code is low;Meanwhile the present invention can be by the configurable of latest configuration Parameter synchronization to all clients, allow server to the corresponding relationship between routing information and the configurable parameter into Row is uniformly processed, and improves the flexibility of exploitation.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the application environment schematic diagram for burying point methods in one embodiment of the invention based on interface element;
Fig. 2 is the flow chart for burying point methods in one embodiment of the invention based on interface element;
Fig. 3 is the flow chart of the step S10 for burying point methods in one embodiment of the invention based on interface element;
Fig. 4 is the flow chart of the step S20 for burying point methods in one embodiment of the invention based on interface element;
Fig. 5 is the flow chart of the step S30 for burying point methods in one embodiment of the invention based on interface element;
Fig. 6 is the flow chart of the step S30 for burying point methods in another embodiment of the present invention based on interface element;
Fig. 7 is the flow chart of the step S30 for burying point methods in further embodiment of this invention based on interface element;
Fig. 8 is the functional block diagram for burying a device in one embodiment of the invention based on interface element;
Fig. 9 is the block diagram of the scan module for burying a device in one embodiment of the invention based on interface element;
Figure 10 is the schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It is provided by the invention that point methods are buried based on interface element, it can be applicable in the application environment such as Fig. 1, wherein visitor Family end (computer equipment) is communicated by network with server.Wherein, client (computer equipment) includes but is not limited to For various personal computers, laptop, smart phone, tablet computer, camera and portable wearable device.Server It can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, provide it is a kind of point methods are buried based on interface element, apply in this way It is illustrated for server in Fig. 1, comprising the following steps:
S10, scanning interface element, obtain the element information in each interface element.
Wherein, the interface element includes any combination etc. between text box, button, picture or above-mentioned interface element. The element information includes the view element value (that is, view element value) and bindtap (indicating click function) of interface element Attribute value.
The view element value required element used when being creation interface element, when view element value is created It waits it is considered that the interface element is exposed to user, therefore when view element value is arrived in scanning, illustrates to deposit in the interface element A configurable exposure parameter (belong to mention in step S20 configurable and bury one of parameter, the exposure parameter pair Ying Yuyi exposure event).And the bindtap attribute value refers to the functional value executed when interface element is clicked, The bindtap attribute value thinks that the interface element is clicked when being performed, therefore arrives bindtap attribute in scanning When value, illustrate that click parameter configurable there are one in the interface element (belongs to mention in step S20 configurable and buries a ginseng One of number, the click parameter correspond to a click event).It just can determine that the position, only of interface element by scanning The information such as one identifier.Therefore, in the present embodiment, pass through the view element value and bindtap attribute value of scanning interface element It may be implemented for exposure parameter and click the monitoring of parameter.
After obtaining element information, by the unique identification of interface element belonging to the element information and the element information (content that can identify the interface element with uniqueness for title, position or unique number of interface element etc.) is closed Connection is stored in the background data base of server, according to the unique identification, can determine boundary corresponding with the unique identification Surface element.
In one embodiment, as shown in figure 3, the step S10, namely scanning interface element, obtain each Interface Element Element information in element, comprising:
S101 receives the logging request comprising user information that user sends in client, is tested according to the user information Demonstrate,prove whether the user has parameter configuration permission.
That is, in the present embodiment, in step S10 when client is scanned, due to scanning interface element be in order to Subsequent to bury a parameter according to scanning result configuration, therefore, first choice needs to verify whether have ginseng in the user that the client logs in Number configuration permission (can be to the configurable permission burying a parameter and being configured).Match verifying the user without parameter When setting permission, prompt user right insufficient.
S102 scans interface element when verifying the user has parameter configuration permission, obtains each interface element In element information.That is, can be scanned to interface element only when with parameter configuration permission.
S20, the parameter configuration instruction that user chooses transmission after the element information is received, according to the element information tune Take with the interface element it is associated it is configurable bury a parameter, and configurable bury a parameter by described and show in parameter configuration interface In.
It in the present embodiment, can be by each Interface Element when scanning is to element information in each interface element The element information of element is shown in the current display interface of client, and user can pass through current display circle in client at this time The mode that element information is clicked on face, chooses one of element information, refers at this point, user end to server sends parameter configuration It enables, and after server receives the instruction of the parameter configuration comprising the element information, into associated with the element information In the parameter configuration interface of interface element, what is shown on the parameter configuration interface will be match corresponding with the element information Set and bury a parameter, and user can described in the parameter configuration interface pair configurable bury a parameter and configure.
In one embodiment, as shown in figure 4, the step S20, namely reception user choose hair after the element information The parameter configuration instruction sent is transferred according to the element information and buries a parameter with associated can configure of the interface element, and will It is described configurable to bury a parameter and be shown in parameter configuration interface, comprising:
S201 receives user and chooses the parameter configuration instruction sent after the element information in current display interface, Obtain the unique identification with the associated interface element of the element information.
That is, the unique identification associated storage of interface element belonging to element information and element information number of units after described According in library.Understandably, the element information is equally with the unique identification associated storage in the local data base of client; According to the unique identification, can look in the local database and the associated interface element of the unique identification and its related Information.
S202 is transferred configurable in the interface element corresponding with the element information according to the unique identification Bury a parameter.
Further, when the element information is view element value, the interface corresponding with the view element value A configurable parameter of burying in element is exposure parameter;It is and described when the element information is bindtap attribute value A configurable parameter of burying in the corresponding interface element of bindtap attribute value is click parameter.
Understandably, the configurable parameter and corresponding element information associated storage of burying of interface element is in client Local data base in, and each unique identification both corresponds to an interface element, can after server obtains unique identification To look for the interface element according to the unique identification, and inquired and the interface element from the local data base The element information associated configurable bury a parameter.
S203 described configurable bury what is transferred a parameter and shows in parameter configuration interface.
Server inquired from local data base with the element information it is associated it is configurable bury a parameter after, will It is described it is configurable bury a parameter and be shown in parameter configuration interface, at this point, configurable a parameter can be buried to described in step s 30 It is configured.
S30, obtain in parameter configuration interface latest configuration it is described it is configurable bury a parameter, and with it is described can The routing information of the interface element of a parameter association is buried in configuration;
It wherein, include the exclusive path for finding interface element in the routing information.Described can configure buries a parameter and institute Routing information one-to-one correspondence is stated, when receiving the routing information, the interface can be looked for according to the routing information The relevant information of element is stored in the specific location in the local data base, therefore, can be according to the routing information from institute It states and transfers the described of latest configuration in local data base and configurable bury a parameter.
In the present embodiment, a configurable parameter of burying can be carried out in the parameter configuration interface of client Configuration, that is, user couple and associated can configure of the element information bury a parameter and increase newly, be deleted or modified.For example, if The corresponding parameter (clicking parameter) of burying of original register (clicking the click event for logging in key) is set as " user's login Key is clicked ", at this point, if this can be stepped in parameter configuration interface when thering are more login options to cause to be easy to obscure The corresponding parameter of burying of record operation is revised as " the general family of an account logs in key and is clicked ", so that this buries a parameter corresponding to one The click event that the general family of account (rather than other users) logs in.To it is described it is configurable bury after a parameter configures, will most What is newly configured buries a parameter and the interface element routing information associated storage into the background data base.
In one embodiment, as shown in figure 5, the step S30, namely newest in the parameter configuration interface match is obtained Described can configure set buries a parameter, and the routing information with the configurable interface element for burying a parameter association, Include:
S301 obtains described can configure of latest configuration in the parameter configuration interface and buries a parameter, and can for described in Configuration buries a parameter tags and updates label;That is, client parameter configuration interface configuration it is described it is configurable bury a parameter it Afterwards, one update label of label in a parameter is buried in described can configure, to confirm that it is updated in subsequent according to its progress Bury operation.
S302 obtains the configurable routing information for burying the interface element belonging to a parameter with latest configuration, And it by the routing information and described configurable bury a parameter association and is stored in the background data base.
Understandably, by the configurable parameter and the routing information associated storage of burying in the background data base In, it is that described can configure of latest configuration is buried into a parameter synchronization when sending synchronization request to the server for client The client requested to transmission, and after the synchronization completes, it can be from the local data base of the client according to the path Information transfers the described of latest configuration and configurable bury a parameter and bury a little.
In one embodiment, as shown in fig. 6, the step S302, namely acquisition and described can configure of latest configuration are buried The routing information of the interface element belonging to point parameter, and the routing information and described can configure are buried a parameter association and deposit After storage is in the background data base, comprising:
S303 receives the synchronization request that client is sent, and all described can configure of latest configuration are buried a parameter synchronization It stores to the local data base of the client.
In the present embodiment, client to it is described it is configurable bury after a parameter reconfigures, since user is in visitor It is to transfer described configurable to bury a parameter from local data base when carrying out burying in the application program (such as small routine) at family end Bury a little, therefore, before bury a little, described can configure in Ying Xiancong server after synchronous latest configuration buries a ginseng Number, to guarantee to bury going on smoothly a little.
In the one side of the present embodiment, client setting sends synchronization request to server every preset duration timing, from All described can configure of latest configuration are buried into parameter synchronization into local data base in server;And in the another of the present embodiment On the one hand, to the click event in application program (such as small routine) or before exposure event bury a little, immediately to service Device sends a synchronization request, and all described can configure of latest configuration are buried a parameter synchronization to local data from server In library.
In one embodiment, as shown in fig. 7, the step S303, namely the synchronization request that client is sent is received, it will most What is newly configured all described configurable bury a parameter synchronization and stores to the local data base of the client, comprising:
S304 detects described can configure in the local data base and buries whether parameter is updated, described detecting Configurable when burying a parameter and being updated, an instruction is buried in generation;It is described to bury in an instruction comprising being buried with described can configure being updated The routing information of the interface element of point parameter association.
Preferably, described detect in the local data base described configurable buries whether parameter is updated specifically Are as follows: described can configure is detected in the local data base buries whether parameter is labeled with update label.That is, in the step In, if desired it is confirmed whether to carry out burying a little, it is necessary first to which described can configure for determining whether there is latest configuration buries a ginseng Number, described can configure of latest configuration buries a parameter if it exists, that is, detecting in the local data base described configurable Bury a parameter to be labeled with when updating label, then generate and bury instruction, it is described bury in an instruction comprising be updated described in can The routing information of the corresponding interface element of a parameter is buried in configuration.Described can configure of latest configuration buries a parameter if it does not exist, That is, detecting that a configurable parameter of burying is not labeled with when updating label in the local data base, described in explanation It is configurable to bury a parameter and be not updated, at the same represent before this according to it is described it is configurable bury a parameter and bury a little, nothing It need to carry out burying a little again.
Understandably, in one embodiment, the client can be periodically (regardless of whether receive the click of interface element Event or exposure event execute instruction) detection state in local data base described configurable bury whether parameter is updated.? In another embodiment, can in the click event or when executing instruction of exposure event for receiving interface element, detect with it is described Click event or corresponding described can configure of exposure event bury whether parameter is updated, at this point, if detecting described configurable It buries a parameter to be updated, transfers described can configure being updated according to the routing information first and bury a parameter to the Interface Element The click event or exposure event of element bury a little;And according to it is described it is configurable bury after a parameter bury a little, will be local The configurable update label marked in a parameter that buries stored in database is eliminated, and can be matched with confirming the client according to this It sets and buries a parameter and bury an operation.
S40, it receives and buries an instruction comprising the routing information, transfer associated described configurable with the routing information A parameter is buried bury a little.
In the present embodiment, described can configure of latest configuration buries a parameter if it exists, and user is in the application of client In program (such as small routine) to the configurable click event for burying the corresponding interface element of a parameter or exposure event into When row buries, the routing information of the interface element can be sent to the server with burying an instruction together;Server at this time Described can configure associated with it can be transferred in the local data base of the client according to the routing information and buries a ginseng Number bury a little.
It is provided by the invention that point methods are buried based on interface element, can by scan interface element element information (depending on Figure element value and bindtap attribute value) come in locating interface element configurable bury a parameter;And in interface element can Configuration is buried after a parameter configured, and the configuration of latest configuration is buried to the routing information of parameter Yu the interface element Associated storage configurable buried a parameter and bury a little in order to transfer the described of latest configuration by the routing information.This hair It is bright not need to modify any service code, automatically scanning interface element can be realized and position and match to a parameter is buried It sets, therefore the intrusion of its code is low;Meanwhile the configurable parameter of latest configuration can be synchronized to all clients by the present invention, be made The corresponding relationship between routing information and the configurable parameter can be uniformly processed by obtaining server, improve exploitation Flexibility.
In one embodiment, as shown in figure 8, provide it is a kind of a device is buried based on interface element, should be based on interface element Bury in a device and above-described embodiment point methods one-to-one correspondence buried based on interface element.The burying a little based on interface element Device includes:
Scan module 110 obtains the element information in each interface element for scanning interface element;
Module 120 is transferred, the parameter configuration instruction sent after the element information is chosen for receiving user, according to institute State element information transfer with the interface element it is associated it is configurable bury a parameter, and configurable bury a parameter by described and show In parameter configuration interface;
Module 130 is obtained, buries a parameter for obtaining described can configure of latest configuration in the parameter configuration interface, And the routing information with the configurable interface element for burying a parameter association;
Point module 140 is buried, an instruction is buried comprising the routing information for receiving, transfers and be associated with the routing information Described configurable bury a parameter and bury a little.
It is provided by the invention that a device is buried based on interface element, can by scan interface element element information (depending on Figure element value and bindtap attribute value) come in locating interface element configurable bury a parameter;And in interface element can Configuration is buried after a parameter configured, and the configuration of latest configuration is buried to the routing information of parameter Yu the interface element Associated storage configurable buried a parameter and bury a little in order to transfer the described of latest configuration by the routing information.This hair It is bright not need to modify any service code, automatically scanning interface element can be realized and position and match to a parameter is buried It sets, therefore the intrusion of its code is low;Meanwhile the configurable parameter of latest configuration can be synchronized to all clients by the present invention, be made The corresponding relationship between routing information and the configurable parameter can be uniformly processed by obtaining server, improve exploitation Flexibility.
In one embodiment, as shown in figure 9, the scan module 110 includes:
Authentication unit 111, the logging request comprising user information sent for receiving user in client, according to described User information verifies whether the user has parameter configuration permission;
Acquiring unit 112 obtains each for scanning interface element when verifying the user has parameter configuration permission Element information in the interface element.
In one embodiment, the module 120 of transferring includes:
Receiving unit is chosen the parameter sent after the element information for receiving user in current display interface and is matched Instruction is set, the unique identification with the associated interface element of the element information is obtained;
Unit is transferred, for transferring in the interface element corresponding with the element information according to the unique identification Configurable bury a parameter;
Display unit, for described configurable burying a parameter by what is transferred and showing in parameter configuration interface.
In one embodiment, the acquisition module includes:
Marking unit buries a parameter for obtaining described can configure of latest configuration in the parameter configuration interface, and Label is updated for a configurable parameter tags of burying;
Storage unit, for obtaining the configurable road for burying the interface element belonging to a parameter with latest configuration Diameter information, and by the routing information and described configurable bury a parameter association and be stored in the background data base.
In one embodiment, the acquisition module further include:
Synchronization unit buries all described can configure of latest configuration a little for receiving the synchronization request of client transmission Parameter synchronization is stored to the local data base of the client.
In one embodiment, the acquisition module further include:
Generation unit is buried whether parameter is updated for detecting described can configure in the local data base, is being examined Measure described configurable when burying a parameter and being updated, an instruction is buried in generation;It is described bury in instruction comprising be updated described in The routing information of the configurable interface element for burying a parameter association.
It may refer to about the specific restriction for burying a device based on interface element above for based on interface element The restriction of point methods is buried, details are not described herein.The above-mentioned modules buried in a device based on interface element can whole or portion Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of computer equipment In processor in, can also be stored in a software form in the memory in computer equipment, in order to processor calling hold The corresponding operation of the above modules of row.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating A kind of point methods are buried based on interface element to realize when machine program is executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Interface element is scanned, the element information in each interface element is obtained;It receives user and chooses the element information The parameter configuration instruction sent later is transferred according to the element information and buries a ginseng with associated can configure of the interface element Number, and configurable bury a parameter by described and show in parameter configuration interface;Obtain newest in the parameter configuration interface match Described can configure set buries a parameter, and the routing information with the configurable interface element for burying a parameter association; It receives and buries an instruction comprising the routing information, transfer and carried out with the associated configurable parameter of burying of the routing information It buries a little.
Computer equipment provided by the invention, can by scan interface element element information (view element value and Bindtap attribute value) come in locating interface element configurable bury a parameter;And a ginseng is being buried to configurable in interface element After number is configured, the configuration of latest configuration is buried to the routing information associated storage of parameter Yu the interface element, It configurable bury a parameter in order to transfer the described of latest configuration by the routing information and bury a little.The present invention does not need to repair It changes to what service code, automatically scanning interface element can be realized and position and configured to a parameter is buried, therefore its generation Code intrusion is low;Meanwhile the configurable parameter of latest configuration can be synchronized to all clients by the present invention, so that server can be with Corresponding relationship between routing information and the configurable parameter is uniformly processed, the flexibility of exploitation is improved.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Interface element is scanned, the element information in each interface element is obtained;It receives user and chooses the element information The parameter configuration instruction sent later is transferred according to the element information and buries a ginseng with associated can configure of the interface element Number, and configurable bury a parameter by described and show in parameter configuration interface;Obtain newest in the parameter configuration interface match Described can configure set buries a parameter, and the routing information with the configurable interface element for burying a parameter association; It receives and buries an instruction comprising the routing information, transfer and carried out with the associated configurable parameter of burying of the routing information It buries a little.
Storage medium provided by the invention, can by scan interface element element information (view element value and Bindtap attribute value) come in locating interface element configurable bury a parameter;And a ginseng is being buried to configurable in interface element After number is configured, the configuration of latest configuration is buried to the routing information associated storage of parameter Yu the interface element, It configurable bury a parameter in order to transfer the described of latest configuration by the routing information and bury a little.The present invention does not need to repair It changes to what service code, automatically scanning interface element can be realized and position and configured to a parameter is buried, therefore its generation Code intrusion is low;Meanwhile the configurable parameter of latest configuration can be synchronized to all clients by the present invention, so that server can be with Corresponding relationship between routing information and the configurable parameter is uniformly processed, the flexibility of exploitation is improved.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided by the present invention, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link DRAM (SLDRAM), the direct RAM of memory bus (RDRAM), direct memory bus Dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit or module division progress for example, in practical application, can according to need and by above-mentioned function distribution by difference Functional unit or module complete, i.e., the internal structure of described device is divided into different functional unit or module, with complete All or part of function described above.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of bury point methods based on interface element characterized by comprising
Interface element is scanned, the element information in each interface element is obtained;
Receive user and choose the parameter configuration instruction sent after the element information, according to the element information transfer with it is described Interface element it is associated it is configurable bury a parameter, and configurable bury a parameter by described and show in parameter configuration interface;
It obtains described can configure of latest configuration in the parameter configuration interface and buries a parameter, and buried a little with described can configure The routing information of the interface element of parameter association;
It receives and buries an instruction comprising the routing information, transfer and bury a parameter with associated described can configure of the routing information Bury a little.
2. burying point methods based on interface element as described in claim 1, which is characterized in that the scanning interface element obtains Take the element information in each interface element, comprising:
The logging request comprising user information that user sends in client is received, the user is verified according to the user information Whether there is parameter configuration permission;
When verifying the user has parameter configuration permission, interface element is scanned, obtains the element in each interface element Information.
3. the method buried a little based on interface element as described in claim 1, which is characterized in that described in the reception user chooses The parameter configuration instruction sent after element information is transferred associated configurable with the interface element according to the element information It buries a parameter, and configurable bury a parameter by described and show in parameter configuration interface, comprising:
Receive user chosen in current display interface sent after the element information parameter configuration instruction, obtain with it is described The unique identification of the associated interface element of element information;
According to the unique identification, that transfers in the interface element corresponding with the element information configurable buries a parameter;
It described configurable bury a parameter by what is transferred and shows in parameter configuration interface.
4. burying point methods based on interface element as claimed in claim 3, which is characterized in that the acquisition is matched in the parameter Set latest configuration in interface it is described it is configurable bury a parameter, and with the configurable Interface Element for burying a parameter association The routing information of element, comprising:
It obtains described can configure of latest configuration in the parameter configuration interface and buries a parameter, and bury a ginseng for described can configure Number flag update label;
Obtain the configurable routing information for burying the interface element belonging to a parameter with latest configuration, and by the road It diameter information and described configurable bury a parameter association and is stored in the background data base.
5. burying point methods based on interface element as claimed in claim 4, which is characterized in that the acquisition and latest configuration The configurable routing information for burying the interface element belonging to a parameter, and the routing information and described can configure are buried After point parameter association is stored in the background data base, comprising:
The synchronization request that client is sent is received, all by latest configuration described configurable bury a parameter synchronization and store to described The local data base of client.
6. burying point methods based on interface element as claimed in claim 5, which is characterized in that described to receive what client was sent Synchronization request, by latest configuration it is all it is described it is configurable bury a parameter synchronization store to the client local data base it Afterwards, comprising:
Detected in the local data base it is described it is configurable bury whether parameter is updated, detecting described configurable bury a little When parameter is updated, an instruction is buried in generation;It is described to bury in an instruction comprising burying a parameter association with described can configure being updated The interface element routing information.
7. a kind of bury a device based on interface element characterized by comprising
Scan module obtains the element information in each interface element for scanning interface element;
Module is transferred, the parameter configuration instruction sent after the element information is chosen for receiving user, according to the element Information transfer with the interface element it is associated it is configurable buries a parameter, and by it is described it is configurable bury a parameter and show match in parameter It sets in interface;
Module is obtained, buries a parameter, Yi Jiyu for obtaining described can configure of latest configuration in the parameter configuration interface The routing information of the configurable interface element for burying a parameter association;
Point module is buried, buries an instruction comprising the routing information for receiving, is transferred associated described with the routing information It is configurable to bury a parameter and bury a little.
8. burying a device based on interface element as claimed in claim 7, which is characterized in that the scan module includes:
Authentication unit, the logging request comprising user information sent for receiving user in client are believed according to the user Breath verifies whether the user has parameter configuration permission;
Acquiring unit obtains each interface for scanning interface element when verifying the user has parameter configuration permission Element information in element.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to Described in 6 any one based on interface element the step of burying point methods.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization burying a little based on interface element as described in any one of claim 1 to 6 when the computer program is executed by processor The step of method.
CN201811208302.2A 2018-10-17 2018-10-17 Point methods, device, computer equipment and storage medium are buried based on interface element Pending CN109491645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811208302.2A CN109491645A (en) 2018-10-17 2018-10-17 Point methods, device, computer equipment and storage medium are buried based on interface element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811208302.2A CN109491645A (en) 2018-10-17 2018-10-17 Point methods, device, computer equipment and storage medium are buried based on interface element

Publications (1)

Publication Number Publication Date
CN109491645A true CN109491645A (en) 2019-03-19

Family

ID=65691353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811208302.2A Pending CN109491645A (en) 2018-10-17 2018-10-17 Point methods, device, computer equipment and storage medium are buried based on interface element

Country Status (1)

Country Link
CN (1) CN109491645A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688275A (en) * 2019-08-30 2020-01-14 贝壳技术有限公司 Buried point management method, buried point updating method and buried point management system
CN111338937A (en) * 2020-02-19 2020-06-26 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for off-line intervention of applet
CN111339471A (en) * 2020-03-13 2020-06-26 苏宁金融科技(南京)有限公司 Method and device for dynamically loading page buried point data
CN112115041A (en) * 2020-08-06 2020-12-22 北京健康之家科技有限公司 Dynamic point burying method and device for application program, storage medium and computer equipment
CN112650659A (en) * 2020-12-22 2021-04-13 平安普惠企业管理有限公司 Buried point setting method and device, computer equipment and storage medium
CN113626028A (en) * 2020-05-07 2021-11-09 腾讯科技(深圳)有限公司 Page element mapping method and device
CN115510352A (en) * 2022-11-15 2022-12-23 中国外运股份有限公司 User behavior acquisition method and device, electronic equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688275A (en) * 2019-08-30 2020-01-14 贝壳技术有限公司 Buried point management method, buried point updating method and buried point management system
CN111338937A (en) * 2020-02-19 2020-06-26 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for off-line intervention of applet
CN111339471A (en) * 2020-03-13 2020-06-26 苏宁金融科技(南京)有限公司 Method and device for dynamically loading page buried point data
CN111339471B (en) * 2020-03-13 2023-01-13 苏宁金融科技(南京)有限公司 Method and device for dynamically loading page buried point data
CN113626028A (en) * 2020-05-07 2021-11-09 腾讯科技(深圳)有限公司 Page element mapping method and device
CN112115041A (en) * 2020-08-06 2020-12-22 北京健康之家科技有限公司 Dynamic point burying method and device for application program, storage medium and computer equipment
CN112115041B (en) * 2020-08-06 2023-08-22 北京水滴科技集团有限公司 Dynamic point embedding method and device for application program, storage medium and computer equipment
CN112650659A (en) * 2020-12-22 2021-04-13 平安普惠企业管理有限公司 Buried point setting method and device, computer equipment and storage medium
CN115510352A (en) * 2022-11-15 2022-12-23 中国外运股份有限公司 User behavior acquisition method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109491645A (en) Point methods, device, computer equipment and storage medium are buried based on interface element
US11088903B2 (en) Hybrid cloud network configuration management
US11887176B2 (en) Method for registering customized device, server, and terminal
CN108305072B (en) Method, apparatus, and computer storage medium for deploying a blockchain network
US20210243262A1 (en) System for controlling user interaction via an application with remote servers
CN109542529B (en) Function name-based point burying method and device, computer equipment and storage medium
US8566838B2 (en) Techniques for workload coordination
CN111259545B (en) Intelligent driving virtual simulation cloud platform
CN111475376B (en) Method, apparatus, computer device and storage medium for processing test data
CN105827683A (en) Data synchronization method, server and electronic device
CN111740966B (en) Data processing method based on block chain network and related equipment
CN107580032B (en) Data processing method, device and equipment
CN106302609B (en) Access method and device
US9471896B2 (en) Memo synchronization system, mobile system, and method for synchronizing memo data
CN103455599A (en) Method, equipment and system for data synchronism
CN103327036B (en) The identification method of internet browsing equipment and Cookie server
CN104426975A (en) Method, equipment and system for data synchronization
CN108965991B (en) Program ordering state verification method and system, terminal device and storage medium
CN111327680B (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN104346165A (en) Information processing apparatus, information processing method, program, storage medium, and information processing system
CN115004666A (en) Registration method, device, equipment and storage medium of Internet of things equipment
CN114443294B (en) Big data service component deployment method, system, terminal and storage medium
CN107229650B (en) Test method and device
CN109299126A (en) Method of data synchronization, device, computer equipment and storage medium
CN109474591A (en) Account's sharing method, device, electronic equipment and storage medium between multisystem

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