CN110688598A - Service parameter acquisition method and device, computer equipment and storage medium - Google Patents

Service parameter acquisition method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110688598A
CN110688598A CN201910779188.7A CN201910779188A CN110688598A CN 110688598 A CN110688598 A CN 110688598A CN 201910779188 A CN201910779188 A CN 201910779188A CN 110688598 A CN110688598 A CN 110688598A
Authority
CN
China
Prior art keywords
link
jump
matching rule
target
link matching
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.)
Granted
Application number
CN201910779188.7A
Other languages
Chinese (zh)
Other versions
CN110688598B (en
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.)
Jiangsu Suning Cloud Computing Co ltd
SuningCom Co ltd
Original Assignee
Suning Cloud Computing 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 Suning Cloud Computing Co Ltd filed Critical Suning Cloud Computing Co Ltd
Priority to CN201910779188.7A priority Critical patent/CN110688598B/en
Publication of CN110688598A publication Critical patent/CN110688598A/en
Priority to CA3152018A priority patent/CA3152018A1/en
Priority to PCT/CN2020/097831 priority patent/WO2021031688A1/en
Application granted granted Critical
Publication of CN110688598B publication Critical patent/CN110688598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a service parameter acquisition method, a service parameter acquisition device, computer equipment and a storage medium. The method comprises the following steps: acquiring a jump link of a page element; acquiring a target link matching rule matched with the jump link according to the jump link; and resolving the service parameters of the page elements from the jump links according to the parameter resolution rules corresponding to the target link matching rules. By adopting the method, the acquisition of the page element service parameters can be realized without burying points or few burying points, and the service parameters of the service logic of the peripheral system do not need to be known.

Description

Service parameter acquisition method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a method and an apparatus for acquiring service parameters, a computer device, and a storage medium.
Background
With the development of network technology, there is an increasing demand for collecting user operation behaviors on application pages or browser pages to clarify the service scenarios required by users. For example, product analysis, product optimization and the like can be performed based on the collected statistical analysis result of the user operation behavior data, so that better data service is provided for the user.
The traditional method for collecting the user operation behavior data is mainly a manual point burying method. Because a large number of elements capable of being exposed and clicked exist in the page, the manual point burying mode has great workload and the point burying needs to be continuously carried out on the newly added page elements.
In addition, the traditional non-buried point acquisition for acquiring the user operation behavior data is limited to the acquisition of the position parameters of the exposed elements or the clicked elements of the page, and the service parameters corresponding to the elements are indispensable in the actual data analysis and data application, and various scenes such as personalized recommendation effect optimization, advertisement putting effect optimization, order conversion effect analysis generated by page guidance and the like all depend on the acquisition of the service parameters of the page elements. If the service parameters of the exposed elements or the clicked elements need to be acquired, a manual point embedding mode is mostly used, namely, a front-end or client developer carries out code embedding in advance on the page elements needing to acquire the exposure logs or the clicked logs, and when the page elements are exposed or clicked, the service parameters needing to be counted are obtained from various peripheral interfaces. In this way, elements displayed on the page may be from various peripheral systems, such as a personalized recommendation System, a Content Management System (CMS) System, an advertisement delivery System, and the like, when a page developer performs a site embedding on different page elements, a page developer needs to obtain parameters from different peripheral systems, and service logics of the page developer are not uniform, and thus errors are very likely to occur.
Disclosure of Invention
In view of the above, there is a need to provide a service parameter collecting method, device, computer device and storage medium that can eliminate the need for a buried point or a few buried points and eliminate the need for knowing the service logic of a peripheral system.
A method for acquiring service parameters comprises the following steps:
acquiring a jump link of a page element;
acquiring a target link matching rule matched with the jump link according to the jump link;
and resolving the service parameters of the page elements from the jump links according to the parameter resolution rules corresponding to the target link matching rules.
In an embodiment, the obtaining of the target link matching rule matching the jumped link according to the jumped link includes: and screening out a target link matching rule matched with the jump link from the locally stored link matching rule set according to the jump link.
In an embodiment, the obtaining of the target link matching rule matching the jumped link according to the jumped link includes: and requesting the server to acquire a target link matching rule matched with the jump link according to the jump link, and receiving the target link matching rule returned by the server.
In an embodiment, the obtaining of the jump link of the page element includes: and acquiring the jump link of the page element when the exposure of the page element is monitored or the page element is monitored to be clicked.
In one embodiment, the method further comprises: acquiring a link matching rule set and a parameter analysis rule corresponding to each link matching rule in the link matching rule set from a server side; and storing the acquired link matching rule set and each parameter analysis rule.
In one embodiment, when a collection plug-in is loaded or a software development kit is initialized, a link matching rule set and parameter analysis rules corresponding to the link matching rules are obtained from a server side.
In one embodiment, the method further comprises: and binding the service parameters with the element data of the page elements, and adding the bound service parameters into a target log of the page elements.
In one embodiment, the target log includes an exposure log or a click log.
In one embodiment, the method further comprises: when the link matching rule is concentrated and no link matching rule matched with the jump link exists, prompt information is generated; and sending the prompt information to a server or a target terminal.
In one embodiment, the prompt message is recorded with a jump link or associated information of the jump link.
In one embodiment, the method is applied to a terminal, a network application is installed on the terminal, the network application includes a web application, a client application or/and an applet application, and a page element is an element in the web application, the client application or the applet application.
In an embodiment, the target link matching rule is a regular expression, and when the jump link conforms to the filtering rule of the regular expression, it is determined that the regular expression matches the jump link.
A service parameter acquisition device comprises:
the link acquisition module is used for acquiring a jump link of a page element;
the rule matching module is used for acquiring a target link matching rule matched with the jump link according to the jump link;
and the parameter acquisition module is used for analyzing the service parameters of the page elements from the jump links according to the parameter analysis rule corresponding to the target link matching rule.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a jump link of a page element;
acquiring a target link matching rule matched with the jump link according to the jump link;
and resolving the service parameters of the page elements from the jump links according to the parameter resolution rules corresponding to the target link matching rules.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a jump link of a page element;
acquiring a target link matching rule matched with the jump link according to the jump link;
and resolving the service parameters of the page elements from the jump links according to the parameter resolution rules corresponding to the target link matching rules.
The business parameter acquisition method, the business parameter acquisition device, the computer equipment and the storage medium are used for acquiring the jump link of the page element, acquiring the target link matching rule matched with the jump link according to the jump link, and analyzing the business parameters of the page element from the jump link according to the parameter analysis rule corresponding to the target link matching rule. According to the scheme of the embodiment of the application, the page element service parameters can be obtained without embedding points or embedding points less, and without knowing the service parameters of the service logic of the peripheral system.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a business parameter collection method;
FIG. 2 is a flow chart illustrating a method for collecting service parameters in an embodiment;
FIG. 3 is a schematic flow chart of a service parameter acquisition method in another embodiment;
FIG. 4 is a schematic flow chart illustrating a method for collecting service parameters in another embodiment;
FIG. 5 is a block diagram of a service parameter acquisition device according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It is understood that the term "or/and" as used herein, describing an association relationship of associated objects, means that there may be three relationships, e.g., a or/and B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The data object identification generation method provided by the application can be applied to the application environment shown in fig. 1-1. The application environment includes a terminal 102, a network 104, and a server 106, and the terminal 102 and the server 106 can be communicatively connected via the network 104. The network system formed by the terminal 102, the network 104 and the server 106 may be based on the internet, may also be based on a local area network, and may also be based on a combination network of the internet and the local area network, which is not described herein again.
The terminal 102 may be, but is not limited to, a cellular phone 1022, a laptop 1024, a desktop 1026, etc.; in fact, it is obvious that the user can also use electronic devices of the type such as: tablet computers, laptop computers, Personal Digital Assistants (PDAs), wearable devices (e.g., smart glasses, smart watches, etc.), etc., which are not limited in this application.
The operating system layer of the terminal 102 is installed with a web application, which may be a web application, a client application, an applet application, or the like. The web application may be a web browser; the client Application may refer to various APPs (applications), such as a computer Application or a mobile Application, for example, a social platform program, a shopping platform program, or an instant messaging program; the applet refers to an application that can be used without downloading and installing, for example, a wechat applet that runs in a wechat environment, and a hundred applet that runs in a hundred environment.
The server 106 may be a device that stores code data required for the network application on the terminal 102 to run. For example, for a web browser, the server 106 may store business codes for all constituent web pages within the associated web site.
The network 104 is used to enable network connectivity between the terminal 102 and the server 106 and may include various types of wired or wireless networks. The network 104 may include the internet, a local area network ("LAN"), a wide area network ("WAN"), an intranet, a mobile phone network, a Virtual Private Network (VPN), a cellular or other mobile communication network, bluetooth, NFC, or any combination thereof. The network 104 may also be based on a corresponding communication protocol when performing data transmission, for example, the web browser may be based on an HTTP communication protocol when receiving a service code corresponding to a web page, and the mobile application may be based on a Websocket communication protocol when receiving a service code.
In an embodiment, as shown in fig. 2, a service parameter collecting method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, obtaining a jump link of a page element.
Here, a page element generally refers to an element presented in a web application page, and the page element may include text, pictures, audio, animation, video, and the like.
Here, the jump link generally refers to a URL (Uniform Resource Locator) of a target page to which a page element is jumped after being triggered (e.g., exposed or clicked).
Whether web applications, client applications, applet applications, etc., or other types of applications. When a page element is operated by a user, a data access request is generally sent to a server, and the data access request carries a jump link of the page element.
Specifically, the terminal may acquire the jump link of the page element when monitoring that the page element is exposed or when monitoring that the page element is clicked.
Step 204, acquiring a target link matching rule matched with the jump link according to the jump link;
here, the target link matching rule is a link matching rule that matches the jump link, which is screened from the plurality of link matching rules. The link matching rule is generally a regular expression, and links (or routing addresses) of various web applications, client applications, or applet applications can be efficiently matched using the regular expression. The regular expression is a logical formula for operating on character strings, namely, a 'regular character string' is formed by using specific characters defined in advance and a combination of the specific characters. Because the jump link is a character string, if the character string of the jump link is matched with the character string according to the rule of the regular expression, the jump link is matched with the corresponding link matching rule, namely the jump link is in accordance with the filtering logic of the regular expression. The link matching rule may also be other specific rules, as desired.
Specifically, the terminal may screen out a target link matching rule matching the jump link from the plurality of link matching rules.
And step 206, analyzing the service parameters of the page elements from the jump links according to the parameter analysis rules corresponding to the target link matching rules.
In the embodiment of the application, it is considered that the jump link often includes information related to the service attribute of the page element, for example, after a commodity picture in the shopping platform is clicked, the jump link includes commodity information of a corresponding commodity, and the commodity information is a service parameter.
Specifically, after determining the target link matching rule, the terminal may search for a parameter of a corresponding position according to an analysis rule corresponding to the target link matching rule; and assigning the searched parameters to corresponding fields.
The parsing rules mainly include two types, one is for the URL, and the parameter at the corresponding position is intercepted and assigned to the corresponding field after being divided, and the other is for the URL? And analyzing the parameter value corresponding to the key according to the value format parameter, and assigning the value to the corresponding field. These two parameter resolution rules can effectively cover links (or routing addresses) of various websites, applications, and applets.
The business parameter acquisition method comprises the steps of acquiring a jump link of a page element, acquiring a target link matching rule matched with the jump link according to the jump link, and analyzing business parameters of the page element from the jump link according to a parameter analysis rule corresponding to the target link matching rule. By adopting the scheme of the embodiment, the page element service parameters can be acquired without burying points or few burying points and knowing the service parameters of the service logic of the peripheral system.
For the webpage application, as the webpage code of the webpage application is provided with the jump link, the jump link of the page element can be obtained from the webpage code without burying points. For small program application, the jump link of the page element needs to be written into the page code of the small program application through a small amount of embedded points, and for client application, the jump link needs to be transmitted to a collection plug-in or a software development toolkit through a parameter transmission mode. Although a small amount of buried points are needed for obtaining the jump link of the page element for the client application and the applet application, the number of buried points is much smaller than that needed for obtaining the service parameter by the traditional manual buried points, and the workload of buried points can be reduced.
Meanwhile, in the traditional service parameter acquisition mode, the service logic of the page to which the parameters belong is acquired from the peripheral system, and in order to acquire the service parameters in the click exposure log, the service codes are coupled with the statistical codes, which is not beneficial to code management of the front end and the client. In the scheme of the embodiment of the application, the acquisition of the service parameters does not need to depend on a peripheral system, and the condition that the statistical codes are coupled with the service codes can be avoided. In addition, the collection of the service parameters can be completed at the front end/client end, and no resource pressure is generated on a data cleaning layer.
In one embodiment, the obtaining of the target link matching rule matching the jumped link according to the jumped link may include: and screening out a target link matching rule matched with the jump link from the locally stored link matching rule set according to the jump link.
Here, the link matching rule set generally stores a plurality of link matching rules, and the link matching rule set may be configured locally, or may be obtained from the server after the server configures. In a generally preferred mode, after the server configures the link matching rule set, the terminal acquires the link matching rule set from the server, so that each terminal does not need to configure the link matching rule set independently, the configuration times can be obviously reduced when the number of the terminals is large, and the universal applicability of the scheme can be improved, namely, the service of different companies and the types of different terminals are all applicable. Here, local storage may also refer to caching.
In the embodiment, the target link matching rules are selected from the locally stored link matching rules in a centralized manner, and the target link matching rules do not need to be queried by a service when a page element click event (page element is clicked) or an exposure event (page element exposure) is monitored every time, so that the number of interaction with a server can be reduced, and the matching efficiency of the link matching rules is improved.
In one embodiment, the obtaining of the target link matching rule matching the jumped link according to the jumped link may include: and requesting the server to acquire a target link matching rule matched with the jump link according to the jump link, and receiving the target link matching rule returned by the server.
And the server screens out a target link matching rule matched with the jump link from the link matching rule set according to the jump link. The set of link matching rules typically stores a plurality of link matching rules.
In the embodiment, the link matching rule set does not need to be stored locally in the terminal, so that the data storage space can be saved.
The above-mentioned method for obtaining the target link matching rule according to the jump link can be selected based on the needs of multiple aspects such as matching efficiency and storage space.
In an embodiment, the obtaining the jump link of the page element may include: and acquiring the jump link of the page element when the exposure of the page element is monitored or the page element is monitored to be clicked.
Here, the page element exposure means that the page element enters a screen and is presented to a user. As will be understood by those skilled in the art, when a page element is exposed, the jump link of the page element refers to a link path of a page to which the page element jumps after being clicked, and when the page element is clicked, the jump link of the page element also refers to a link path of a page to which the page element jumps after being clicked.
In an embodiment, as shown in fig. 3, a service parameter collecting method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 302, acquiring a link matching rule set from a server side and a parameter analysis rule corresponding to each link matching rule in the link matching rule set;
specifically, the terminal may obtain the link matching rule set and the parameter parsing rule corresponding to each link matching rule from the server side when the collection plug-in is loaded or when a Software Development Kit (SDK) is initialized.
Step 304, storing the acquired link matching rule set and each parameter analysis rule;
specifically, the terminal may write the obtained link matching rule set and each parameter parsing rule into a memory or locally for caching the link matching rule set and each parameter parsing rule.
Step 306, acquiring a jump link of the page element;
specifically, the terminal may acquire the jump link of the page element when monitoring that the page element is exposed or when monitoring that the page element is clicked.
308, screening out a target link matching rule matched with the jump link from the locally stored link matching rule set according to the jump link;
and 310, analyzing the service parameters of the page elements from the jump links according to the parameter analysis rule corresponding to the target link matching rule.
With respect to step 308 and step 310, reference may be made to the description of step 204 and step 206, which is not repeated herein.
In this embodiment, the acquisition of the service parameters can be realized without embedding points or only embedding a small number of points and without knowing the service logic of the peripheral system. Meanwhile, only the server side is required to obtain the link matching rule set, and each terminal is not required to be respectively configured with the link matching rule set, so that the universal applicability of the scheme is improved, namely the service of different companies and the types of different terminals are applicable. And because the acquired link matching rule set and each parameter analysis rule are stored, and the target link matching rule matched with the jump link is screened out from the locally stored link matching rule set according to the jump link, the interaction times and the interaction time with the server can be reduced, and the acquisition efficiency of the service parameters is improved.
In an embodiment, the service parameter collecting method of the present application may further include the steps of: and binding the service parameters with the element data of the page elements, and adding the bound service parameters into a target log of the page elements. Generally, the terminal reports a target log, the reporting object is generally a server, and the reporting object corresponding to the target log and the server configured with the link matching rule and the parameter parsing rule may be the same server or different servers.
Here, the target log generally includes an exposure log or a click log. Here, the element data of the page element may be identification information of the page element, or other data capable of distinguishing different page elements.
Specifically, the terminal may bind the analyzed service parameter with element data of a corresponding page element, and join the service parameter into an exposure log or a click log of the page element to complete reporting. Generally, the service parameters collected by the exposure of the corresponding page elements are added into the exposure log, and the service parameters collected by clicking the corresponding page elements are added into the click log.
In an embodiment, the service parameter collecting method of the present application may further include the steps of: when the link matching rule set has no link matching rule matched with the jump link of the page element, prompt information is generated; and sending the prompt information to a server or a target terminal.
Here, the target terminal may be a manager terminal. The prompt information may be generated by filling the jump link or the related information of the jump link into a preset information template to obtain the prompt information. The information template can be set according to actual needs.
Specifically, the prompt information may be sent to the target terminal so that the administrator can obtain the prompt information in time, or the prompt information may be sent to the server so that the server can manage and process the prompt information in a unified manner.
Here, the presentation information may be recorded with a jump link or related information of the jump link. The jump link can be obtained through the associated information, or the associated information includes a partial character string of the jump link. The prompt information is used for prompting a manager that a new service scene, namely a new page jump link appears, and for the new page jump link, no matched link matching rule exists in the link matching rule set, and a link matching rule and a parameter analysis rule are configured for the new page jump link.
In the scheme of the embodiment of the application, when a new service scene, namely a new page jump link, appears, the link matching rule and the parameter analysis rule configured in the background are updated, and the front-end version sending is not relied on. Meanwhile, when the link matching rule is concentrated and no link matching rule matched with the jump link exists, prompt information is generated and sent, and a manager can be reminded of updating the configuration in time.
In one embodiment, the terminal is installed with a web application, the web application includes a web application, a client application or/and an applet application, and the page element is an element in the web application, the client application or the applet application.
As can be seen from the above, for network applications, the service parameter acquisition of exposed elements or clicked elements of a page can be realized without front-end point burying, and the condition that a statistical code is coupled with a service code is avoided; for client application or applet application, only a very small amount of buried point work needs to be done by developers, and specific business logic of a peripheral system does not need to be concerned.
In an embodiment, the target link matching rule is a regular expression, and when the jump link matches the filter rule of the regular expression, the regular expression is determined to match the jump link. Links (or routing addresses) of various types of web applications, client applications, or applet applications may be efficiently matched using regular expressions.
In an embodiment, as shown in fig. 4, a service parameter collecting method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 402, acquiring a link matching rule set from a server side and a parameter analysis rule corresponding to each link matching rule in the link matching rule set;
step 404, storing the acquired link matching rule set and each parameter analysis rule;
step 406, acquiring a jump link of the page element;
step 402, step 404, and step 406 in this embodiment may refer to the descriptions in step 302, step 304, and step 306, respectively, and are not repeated herein.
Step 408, screening a link matching rule from a locally stored link matching rule set according to the jump link;
specifically, the link matching rules in the link matching rule set are regular expressions, whether the jump links meet the filtering rules of one or more regular expressions in the link matching rule set is detected, and if yes, the corresponding link matching rules are screened out as target link matching rules.
Step 410, detecting whether a target link matching rule matched with the jump link is screened, if so, entering step 412, and if not, entering step 416;
and when the target link matching rule matched with the jump link is not screened, the service parameter is not analyzed.
Step 412, resolving the service parameters of the page elements from the jump links according to the parameter resolution rules corresponding to the target link matching rules;
table 1 below is a schematic correspondence relationship between a link matching rule (regular expression) and a parameter parsing rule (parameter configuration rule). The specific form of each regular expression can be set according to the requirement, and the specific form of the regular expression does not form the limitation of the scheme of the invention. The parameter configuration rules are also not limited to the ones listed in table 1.
TABLE 1
Serial number Regular expression Electronic commerce collaboration (eletp) type Rules for parameter configuration
1 Regular expression 1 Shop Position one + shop mark
2 Regular expression 2 Shop Position one + shop mark
3 Regular expression 3 Coupon Label + Activity identification
4 Regular expression 4 Coupon Activity ID + Activity ID
The terminal can analyze the service parameters of the page elements from the jump links according to the parameter analysis rules corresponding to the target link matching rules, for example, if the parameter configuration rule of the jump links is "tag + active identifier", the corresponding "tag" and "active identifier" can be analyzed as the service parameters of the page elements.
Step 414, after the service parameters are bound with the element data of the page elements, adding the bound service parameters into the target logs of the page elements.
Specifically, the terminal may bind the analyzed service parameter with element data of a corresponding page element, and join the service parameter into an exposure log or a click log of the page element to complete reporting.
Step 416, generating and sending a prompt message, in which the jump link or the related information of the jump link is recorded.
Here, the prompt information is used to prompt the user to modify the configuration.
Specifically, the terminal may generate the prompt information in which the jump link or the associated information of the jump link is recorded, and transmit the prompt information to the server or another terminal (e.g., a target terminal).
According to the scheme, the service parameter collection without the embedded points can be achieved, meanwhile, due to the fact that parameter analysis rules are managed at the rear end, the method has universal applicability, namely, services of different companies and different terminal types are applicable, when a new scene is added, configuration can be modified to be effective immediately, and the method does not depend on front-end edition sending. It should be noted that fig. 4 is a schematic flow chart of a preferred embodiment of the service parameter collection method according to the present invention. According to different considerations, when the service parameter collection method of the present invention is implemented, all of the steps shown in fig. 4 may be included, or only a part of the steps shown in fig. 4 may be included.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a service parameter collecting apparatus, including: a link acquisition module 502, a rule matching module 504, and a parameter acquisition module 506, wherein:
a link obtaining module 502, which obtains a jump link of a page element;
a rule matching module 504, configured to obtain a target link matching rule matching the jump link according to the jump link;
and the parameter acquisition module 506 is configured to analyze the service parameters of the page elements from the jump links according to the parameter analysis rule corresponding to the target link matching rule.
In one embodiment, rule matching module 504 may filter out target link matching rules that match the jumped link from a locally stored set of link matching rules based on the jumped link.
In one embodiment, the rule matching module 504 may request the server for a target link matching rule matching the jumped link according to the jumped link, and receive the target link matching rule returned by the server.
In one embodiment, the link obtaining module 502 may obtain the jump link of the page element when it is monitored that the page element is exposed or when it is monitored that the page element is clicked.
In an embodiment, the service parameter collecting apparatus may further include a rule obtaining module (not shown in the figure), where the rule obtaining module is configured to obtain, from the server side, a link matching rule set and a parameter parsing rule corresponding to each link matching rule in the link matching rule set; and storing the acquired link matching rule set and each parameter analysis rule.
In one embodiment, the rule obtaining module may obtain the link matching rule set and the parameter parsing rule corresponding to each link matching rule from the server side when the collection plug-in is loaded or when the software development kit is initialized.
In an embodiment, the service parameter collecting apparatus may further include a log processing module (not shown in the figure), and the log processing module is configured to bind the service parameter with the element data of the page element, and add the bound service parameter to a target log of the page element. Here, the target log may include an exposure log or a click log. In one embodiment, the log processing module may be further configured to report the target log.
In an embodiment, the service parameter collecting apparatus may further include a prompt module (not shown in the figure), where the prompt module is configured to generate a prompt message when there is no link matching rule matching the jump link in the link matching rule set; and sending the prompt information to a server or a target terminal. Generally, the hint information describes a jump link or information related to a jump link.
In one embodiment, the service parameter collecting device is applied to a terminal, a network application is installed on the terminal, the network application includes a web application, a client application or/and an applet application, and a page element is an element in the web application, the client application or the applet application.
In an embodiment, the target link matching rule is a regular expression, and when the jump link conforms to the filtering rule of the regular expression, it is determined that the regular expression matches the jump link.
For the specific definition of the service parameter collecting device, reference may be made to the above definition of the service parameter collecting method, which is not described herein again. The modules in the service parameter acquiring device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a business parameter acquisition method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a jump link of a page element;
acquiring a target link matching rule matched with the jump link according to the jump link;
and resolving the service parameters of the page elements from the jump links according to the parameter resolution rules corresponding to the target link matching rules.
In one embodiment, when the processor executes the computer program to implement the above step of obtaining the target link matching rule matching with the jump link according to the jump link, the following steps are specifically implemented: and screening out a target link matching rule matched with the jump link from the locally stored link matching rule set according to the jump link.
In one embodiment, when the processor executes the computer program to implement the above step of obtaining the target link matching rule matching with the jump link according to the jump link, the following steps are specifically implemented: and requesting the server to acquire a target link matching rule matched with the jump link according to the jump link, and receiving the target link matching rule returned by the server.
In an embodiment, when the processor executes the computer program to implement the step of obtaining the jump link of the page element, the following steps are specifically implemented: and acquiring the jump link of the page element when the exposure of the page element is monitored or the page element is monitored to be clicked.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a link matching rule set and a parameter analysis rule corresponding to each link matching rule in the link matching rule set from a server side; and storing the acquired link matching rule set and each parameter analysis rule.
In one embodiment, when a collection plug-in is loaded or a software development kit is initialized, a link matching rule set and parameter analysis rules corresponding to the link matching rules are obtained from a server side.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and binding the service parameters with the element data of the page elements, and adding the bound service parameters into a target log of the page elements. Typically, the target log comprises an exposure log or a click log.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the link matching rule is concentrated and no link matching rule matched with the jump link exists, prompt information is generated; and sending the prompt information to a server or a target terminal. Generally, the hint information describes a jump link or information related to a jump link.
In one embodiment, the computer device is a terminal, a web application is installed on the terminal, the web application includes a web application, a client application or/and an applet application, and the page element is an element in the web application, the client application or the applet application.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a jump link of a page element;
acquiring a target link matching rule matched with the jump link according to the jump link;
and resolving the service parameters of the page elements from the jump links according to the parameter resolution rules corresponding to the target link matching rules.
In one embodiment, when the computer program is executed by the processor to implement the above step of obtaining the target link matching rule matching with the jump link according to the jump link, the following steps are specifically implemented: and screening out a target link matching rule matched with the jump link from the locally stored link matching rule set according to the jump link.
In one embodiment, when the computer program is executed by the processor to implement the above step of obtaining the target link matching rule matching with the jump link according to the jump link, the following steps are specifically implemented: and requesting the server to acquire a target link matching rule matched with the jump link according to the jump link, and receiving the target link matching rule returned by the server.
In one embodiment, when the computer program is executed by the processor to implement the step of obtaining the jump link of the page element, the following steps are specifically implemented: and acquiring the jump link of the page element when the exposure of the page element is monitored or the page element is monitored to be clicked.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a link matching rule set and a parameter analysis rule corresponding to each link matching rule in the link matching rule set from a server side; and storing the acquired link matching rule set and each parameter analysis rule.
In one embodiment, when a collection plug-in is loaded or a software development kit is initialized, a link matching rule set and parameter analysis rules corresponding to the link matching rules are obtained from a server side.
In one embodiment, the computer program when executed by the processor further performs the steps of: and binding the service parameters with the element data of the page elements, and adding the bound service parameters into a target log of the page elements. Typically, the target log comprises an exposure log or a click log.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the link matching rule is concentrated and no link matching rule matched with the jump link exists, prompt information is generated; and sending the prompt information to a server or a target terminal. Generally, the hint information describes a jump link or information related to a jump link.
In one embodiment, the computer device is a terminal, a web application is installed on the terminal, the web application includes a web application, a client application or/and an applet application, and the page element is an element in the web application, the client application or the applet application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for acquiring service parameters, the method comprising:
acquiring a jump link of a page element;
acquiring a target link matching rule matched with the jump link according to the jump link;
and analyzing the service parameters of the page elements from the jump links according to the parameter analysis rule corresponding to the target link matching rule.
2. The method of claim 1, wherein the obtaining a target link matching rule matching the jumped link according to the jumped link comprises:
screening out a target link matching rule matched with the jump link from a locally stored link matching rule set according to the jump link;
or requesting a server to acquire a target link matching rule matched with the jump link according to the jump link, and receiving the target link matching rule returned by the server.
3. The method according to claim 1 or 2, wherein the obtaining of the jump link of the page element comprises:
and acquiring the jump link of the page element when monitoring the exposure of the page element or monitoring the click of the page element.
4. The method of claim 2, further comprising:
acquiring a link matching rule set and a parameter analysis rule corresponding to each link matching rule in the link matching rule set from the server, preferably, acquiring the link matching rule set and the parameter analysis rule corresponding to each link matching rule from the server when a plug-in is collected and loaded or when a software development kit is initialized;
and storing the acquired link matching rule set and each parameter analysis rule.
5. The method of claim 1 or 4, further comprising:
and after the service parameters are bound with the element data of the page elements, adding the bound service parameters into a target log of the page elements, wherein the target log preferably comprises an exposure log or a click log.
6. The method of claim 1 or 4, further comprising:
when the link matching rule set does not have a link matching rule matched with the jump link, prompt information is generated;
and sending the prompt information to a server or a target terminal, wherein preferably, the prompt information is recorded with the jump link or the associated information of the jump link.
7. The method according to claim 1 or 4, wherein the method is applied to a terminal, a network application is installed on the terminal, the network application comprises a web application, a client application or/and an applet application, and the page element is an element in the web application, the client application or the applet application;
or/and the target link matching rule is a regular expression, and when the jump link conforms to the filtering rule of the regular expression, the regular expression is judged to be matched with the jump link.
8. A service parameter acquisition device, the device comprising:
the link acquisition module is used for acquiring a jump link of a page element;
the rule matching module is used for acquiring a target link matching rule matched with the jump link according to the jump link;
and the parameter acquisition module is used for analyzing the service parameters of the page elements from the jump links according to the parameter analysis rules corresponding to the target link matching rules.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910779188.7A 2019-08-22 2019-08-22 Service parameter acquisition method and device, computer equipment and storage medium Active CN110688598B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910779188.7A CN110688598B (en) 2019-08-22 2019-08-22 Service parameter acquisition method and device, computer equipment and storage medium
CA3152018A CA3152018A1 (en) 2019-08-22 2020-06-24 Business parameter collecting method, device, computer equipment and storage medium
PCT/CN2020/097831 WO2021031688A1 (en) 2019-08-22 2020-06-24 Service parameter acquisition method and apparatus, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910779188.7A CN110688598B (en) 2019-08-22 2019-08-22 Service parameter acquisition method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110688598A true CN110688598A (en) 2020-01-14
CN110688598B CN110688598B (en) 2023-01-06

Family

ID=69108345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910779188.7A Active CN110688598B (en) 2019-08-22 2019-08-22 Service parameter acquisition method and device, computer equipment and storage medium

Country Status (3)

Country Link
CN (1) CN110688598B (en)
CA (1) CA3152018A1 (en)
WO (1) WO2021031688A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338714A (en) * 2020-02-19 2020-06-26 北京百度网讯科技有限公司 Applet material processing method, device, electronic equipment and medium
CN111405033A (en) * 2020-03-13 2020-07-10 深圳前海环融联易信息科技服务有限公司 Data acquisition method and device, computer equipment and storage medium
CN111400627A (en) * 2020-03-09 2020-07-10 政采云有限公司 Information acquisition method and device, electronic equipment and readable storage medium
WO2021031688A1 (en) * 2019-08-22 2021-02-25 苏宁云计算有限公司 Service parameter acquisition method and apparatus, computer device and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094248B (en) * 2021-04-28 2023-04-25 深圳市网旭科技有限公司 User behavior data analysis method and device, electronic equipment and medium
CN114285815B (en) * 2021-12-21 2024-05-14 中国农业银行股份有限公司 Application jump method and application jump device
CN114422586B (en) * 2022-01-19 2023-10-27 平安付科技服务有限公司 Event notification method, event notification device, computer equipment and storage medium
CN114912048B (en) * 2022-05-12 2024-05-14 盐城天眼察微科技有限公司 Page delivery method and device, storage medium and electronic equipment
CN116627544B (en) * 2023-07-24 2023-10-31 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340529A (en) * 2010-07-21 2012-02-01 中国移动通信集团福建有限公司 Page generating system and page generating method based on WAP (Wireless Application Protocol) platform
CN102902780A (en) * 2012-09-28 2013-01-30 五八有限公司 Dynamic matching method and dynamic matching device of uniform resource locator (URL)
CN103605849A (en) * 2013-11-21 2014-02-26 同济大学 Implementation method for linkage computing in product design analysis and development environment
CN108052334A (en) * 2017-12-22 2018-05-18 平安养老保险股份有限公司 Method for page jump, device, computer equipment and storage medium
CN108829477A (en) * 2018-05-31 2018-11-16 康键信息技术(深圳)有限公司 Interface jump method, device, computer equipment and storage medium
US10360238B1 (en) * 2016-12-22 2019-07-23 Palantir Technologies Inc. Database systems and user interfaces for interactive data association, analysis, and presentation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793461B (en) * 2013-12-02 2017-05-31 北京奇虎科技有限公司 The analysis method and device of info web
CN110688598B (en) * 2019-08-22 2023-01-06 苏宁云计算有限公司 Service parameter acquisition method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340529A (en) * 2010-07-21 2012-02-01 中国移动通信集团福建有限公司 Page generating system and page generating method based on WAP (Wireless Application Protocol) platform
CN102902780A (en) * 2012-09-28 2013-01-30 五八有限公司 Dynamic matching method and dynamic matching device of uniform resource locator (URL)
CN103605849A (en) * 2013-11-21 2014-02-26 同济大学 Implementation method for linkage computing in product design analysis and development environment
US10360238B1 (en) * 2016-12-22 2019-07-23 Palantir Technologies Inc. Database systems and user interfaces for interactive data association, analysis, and presentation
CN108052334A (en) * 2017-12-22 2018-05-18 平安养老保险股份有限公司 Method for page jump, device, computer equipment and storage medium
CN108829477A (en) * 2018-05-31 2018-11-16 康键信息技术(深圳)有限公司 Interface jump method, device, computer equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031688A1 (en) * 2019-08-22 2021-02-25 苏宁云计算有限公司 Service parameter acquisition method and apparatus, computer device and storage medium
CN111338714A (en) * 2020-02-19 2020-06-26 北京百度网讯科技有限公司 Applet material processing method, device, electronic equipment and medium
CN111338714B (en) * 2020-02-19 2024-05-17 北京百度网讯科技有限公司 Method and device for processing small program material, electronic equipment and medium
CN111400627A (en) * 2020-03-09 2020-07-10 政采云有限公司 Information acquisition method and device, electronic equipment and readable storage medium
CN111400627B (en) * 2020-03-09 2023-07-07 政采云有限公司 Information acquisition method and device, electronic equipment and readable storage medium
CN111405033A (en) * 2020-03-13 2020-07-10 深圳前海环融联易信息科技服务有限公司 Data acquisition method and device, computer equipment and storage medium
CN111405033B (en) * 2020-03-13 2023-02-10 深圳前海环融联易信息科技服务有限公司 Data acquisition method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CA3152018A1 (en) 2021-02-25
CN110688598B (en) 2023-01-06
WO2021031688A1 (en) 2021-02-25

Similar Documents

Publication Publication Date Title
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
KR102317535B1 (en) Methods and systems for implementing data tracking with software development kits
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN108255847B (en) Page generation method and device
CN108804618B (en) Database configuration method, device, computer equipment and storage medium
JP6294307B2 (en) Method and system for monitoring and tracking browsing activity on portable devices
CN110771126B (en) System for matching and attributing user equipment events
US11310327B2 (en) Configuration of content site user interaction monitoring in data networks
CN111310427A (en) Service data configuration processing method and device, computer equipment and storage medium
CN111866158B (en) Routing method, routing device, computer equipment and storage medium
US20180159724A1 (en) Automatic task tracking
CN112017007A (en) User behavior data processing method and device, computer equipment and storage medium
US10291492B2 (en) Systems and methods for discovering sources of online content
CN111177481B (en) User identifier mapping method and device
CN112087335A (en) Flow experiment method, device and storage medium
CN105094857B (en) Method and system for application load
CN111221711A (en) User behavior data processing method, server and storage medium
CN112905936A (en) Page recording animation generation method, page operation log query method and computer equipment
CN113900907A (en) Mapping construction method and system
CN113296752A (en) Method, system, device and storage medium for generating API document
CN111901383A (en) Data request processing method and device, computer equipment and storage medium
CN112016027A (en) Method and device for monitoring access data operation platform
US20140006601A1 (en) Services management application integrating social media and automated infrastructure monitoring
CN113722589B (en) Information generation method, device, server and storage medium
CN112817816B (en) Embedded point processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: No.1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing, Jiangsu Province, 210000

Patentee after: Jiangsu Suning cloud computing Co.,Ltd.

Address before: No.1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing, Jiangsu Province, 210000

Patentee before: Suning Cloud Computing Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20240112

Address after: 210000, 1-5 story, Jinshan building, 8 Shanxi Road, Nanjing, Jiangsu.

Patentee after: SUNING.COM Co.,Ltd.

Address before: No.1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing, Jiangsu Province, 210000

Patentee before: Jiangsu Suning cloud computing Co.,Ltd.

TR01 Transfer of patent right