CN114912048B - Page delivery method and device, storage medium and electronic equipment - Google Patents
Page delivery method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN114912048B CN114912048B CN202210520880.XA CN202210520880A CN114912048B CN 114912048 B CN114912048 B CN 114912048B CN 202210520880 A CN202210520880 A CN 202210520880A CN 114912048 B CN114912048 B CN 114912048B
- Authority
- CN
- China
- Prior art keywords
- target
- page
- link
- parameter
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000002716 delivery method Methods 0.000 title description 2
- 238000000034 method Methods 0.000 claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 14
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 11
- 238000011161 development Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 244000145841 kine Species 0.000 description 4
- 125000002496 methyl group Chemical group [H]C([H])([H])* 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details 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 Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a method, a device, a storage medium and electronic equipment for page delivery, wherein the method is applied to a delivery terminal and comprises the following steps: acquiring a preset name corresponding to each page parameter of a page to be launched and a target placeholder corresponding to each page parameter, wherein the preset name is a parameter name set according to a preset format, and the target placeholder is a preconfigured placeholder conforming to a platform rule to be launched; generating a release link according to the preset name and the target placeholder; the delivery link is sent to a server corresponding to the platform to be delivered; receiving a target link sent by the server, wherein the target link is a link obtained after the server modifies the put link according to the triggering operation of a user; and opening the page to be put according to the target link.
Description
Technical Field
The present invention relates to the field of information delivery, and in particular, to a method and apparatus for delivering pages, a storage medium, and an electronic device.
Background
When advertisement is put, a target advertisement is put on some third party platforms, and after clicking the advertisement on the third party platform, a user pulls up an APP corresponding to the target advertisement and opens a corresponding landing page to display the page.
Different page parameters corresponding to different landing pages of different advertisement delivery are different, different logics are needed to be embedded in the APP for different landing pages in the process of generating advertisement delivery links in the existing scheme, a third party platform acquires actual service data according to triggering operation of a user, an actual parameter value corresponding to the parameter name of the landing page in the actual service data is transmitted to the APP corresponding to the landing page, however, the parameters of the landing pages are different, the APP needs to develop iteration continuously for different landing pages to support new advertisement delivery, development cost is high, and code maintenance is complex.
Disclosure of Invention
The invention aims to provide a method and a device for page delivery, a storage medium and electronic equipment.
In a first aspect, the present invention provides a method for delivering a page, applied to a delivering terminal, where the method includes:
Acquiring a preset name corresponding to each page parameter of a page to be launched and a target placeholder corresponding to each page parameter, wherein the preset name is a parameter name set according to a preset format, and the target placeholder is a preconfigured placeholder conforming to a platform rule to be launched;
generating a release link according to the preset name and the target placeholder;
The delivery link is sent to a server corresponding to the platform to be delivered;
receiving a target link sent by the server, wherein the target link is a link obtained after the server modifies the put link according to the triggering operation of a user;
And opening the page to be put according to the target link.
Optionally, the generating a delivery link according to the preset name and the target placeholder includes:
and adding the target placeholder corresponding to the page parameter after the preset name corresponding to the page parameter aiming at each page parameter of the page to be placed, and generating the placing link.
Optionally, the opening the page to be launched according to the target link includes:
Analyzing the target links to obtain page identifiers of the pages to be launched and target parameter values corresponding to the preset names respectively;
Determining a target corresponding relation according to the page identifier for each preset name contained in the target link, and determining a target parameter corresponding to the preset name according to the target corresponding relation, wherein the target corresponding relation is the corresponding relation between the page parameter of the page to be put and the preset name, and the parameter value of the target parameter is the target parameter value;
And opening the page to be put according to the target parameter and the target parameter value.
Optionally, the analyzing the target link to obtain the page identifier of the page to be launched and the target parameter value corresponding to each preset name includes:
Acquiring a target character string corresponding to a preset page identification field from the target link, and taking the target character string as the page identification;
Performing field matching from the target link according to a preset field corresponding to the preset format, and taking a field with the same format as the preset field in the target link as the preset name obtained by matching;
and reading the target parameter value corresponding to each preset name from the target link.
Optionally, the drop link comprises a deep link.
In a second aspect, the present invention provides a method for delivering pages, applied to a server, where the method includes:
Receiving a delivery link sent by a delivery terminal, wherein the delivery link is a page link corresponding to a page to be delivered on the delivery terminal, the delivery link comprises at least one preset name, and the preset name is a parameter name set according to a preset format;
Modifying the put link according to the triggering operation of the user to obtain a target link;
and sending the target link to the delivery terminal so that the delivery terminal opens the page to be delivered according to the target link.
Optionally, the delivery link further includes a target placeholder corresponding to each preset name, where the target placeholder is a preconfigured placeholder that accords with a platform rule to be delivered corresponding to the server; the step of modifying the put link according to the triggering operation of the user to obtain the target link comprises the following steps:
acquiring target parameter values corresponding to each target placeholder according to triggering operation of a user;
And replacing the target placeholder corresponding to each preset name in the put link with the corresponding target parameter value to obtain the target link.
In a third aspect, the present invention provides a device for delivering pages, applied to a delivering terminal, where the device includes:
The acquisition module is used for acquiring preset names corresponding to each page parameter of the page to be launched and target placeholders corresponding to each page parameter, wherein the preset names are parameter names set according to a preset format, and the target placeholders are preconfigured placeholders conforming to the rules of the platform to be launched;
the generation module is used for generating a delivery link according to the preset name and the target placeholder;
The first sending module is used for sending the release link to a server corresponding to the platform to be released;
The first receiving module is used for receiving a target link sent by the server, wherein the target link is a link obtained after the server modifies the put link according to the triggering operation of a user;
and the page opening module is used for opening the page to be put according to the target link.
In a fourth aspect, the present invention provides a device for delivering pages, applied to a server, where the device includes:
The second receiving module is used for receiving a delivery link sent by a delivery terminal, wherein the delivery link is a page link corresponding to a page to be delivered on the delivery terminal, the delivery link comprises at least one preset name, and the preset name is a parameter name set according to a preset format;
the modification module is used for modifying the put link according to the triggering operation of the user to obtain a target link;
And the second sending module is used for sending the target link to the delivery terminal so that the delivery terminal opens the page to be delivered according to the target link.
In a fifth aspect, the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method according to the first aspect of the present invention or which when executed by a processor performs the steps of the method according to the second aspect of the present invention.
In a sixth aspect, the present invention provides an electronic device, comprising:
A memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method of the first aspect of the invention; or alternatively
A processor for executing said computer program in said memory for carrying out the steps of the method according to the second aspect of the invention.
Through the technical scheme, the preset names can be set according to the preset unified format, and the preset names are corresponding to each page parameter of the page to be put, so that the put terminal can generate the put link of the page to be put based on the preset names and the corresponding placeholders, the information related to the advertisement can be dynamically replaced to the parameter values of the landing page, the page parameters can be flexibly increased according to different pages to be put through the preset names of the specific format, and the multiple development cost of writing dead parameters is avoided.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the description serve to explain, without limitation, the invention. In the drawings:
FIG. 1 is a flow chart illustrating a method of first page placement according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of a second type of page placement, according to an example embodiment;
FIG. 3 is a flowchart illustrating a method of third page placement, according to an example embodiment;
FIG. 4 is a block diagram of an apparatus for a first type of page placement, shown in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an apparatus for a second type of page placement in accordance with an exemplary embodiment;
FIG. 6 is a block diagram of a first electronic device, shown in accordance with an exemplary embodiment;
Fig. 7 is a block diagram of a second electronic device, according to an example embodiment.
Detailed Description
The following describes specific embodiments of the present invention in detail with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
It should be noted that, all actions of acquiring signals, information or data in the present invention are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
The invention is mainly applied to a page delivery scene, the page can comprise an advertisement page, for example, advertisement delivery is taken as an example, and because the landing pages of different advertisement delivery have different corresponding page parameters, when the advertisement delivery link is generated in the prior art, different logic needs to be pre-embedded for different landing pages, each page parameter needs to be written in a code, when a new page parameter needs to be added, the new page parameter needs to be realized by modifying the code, the development cost is high, the code maintenance is difficult, and the sustainability is low.
In order to solve the problems, the invention provides a method, a device, a storage medium and an electronic device for page delivery, which can set a preset name according to a preset unified format and correspond the preset name to each page parameter of a page to be delivered, so that a terminal can generate a delivery link of the page to be delivered based on the preset name and a corresponding placeholder, information related to advertisements can be dynamically replaced on parameter values of a landing page, and page parameters can be flexibly increased according to different pages to be delivered through the preset name of a specific format, thereby avoiding multiple development cost of writing dead parameters.
The following describes specific embodiments of the present invention in detail with reference to the drawings.
Fig. 1 is a flowchart of a first method for delivering a page according to an exemplary embodiment, where the method may be applied to a delivering terminal, where a delivering terminal refers to a terminal where a page to be delivered is located, and taking advertisement delivery as an example, the delivering terminal may be a terminal where an APP corresponding to an advertisement to be delivered is located, as shown in fig. 1, where the method includes the following steps:
in step S101, a preset name corresponding to each page parameter of the page to be launched and a target placeholder corresponding to each page parameter are obtained, wherein the preset name is a parameter name set according to a preset format, and the target placeholder is a preconfigured placeholder conforming to the rule of the platform to be launched.
The page to be served may include, for example, a landing page of an APP to be served with an advertisement, and the page parameters may include, for example, parameters of keyword type kin, keyword, and the like.
Taking the example that the page to be put includes two page parameters of kine and keyword, a preset name may be defined for the page parameters in a unified manner according to a preset format, where the preset format may be, for example, "value+digit", so that the page parameters of the page to be put may be defined as "VALUE1, VALUE2", that is:
“kind”:“VALUE1”,
“keyword”:“VALUE2”
VALUE1 is a preset name corresponding to the page parameter kind, and VALUE2 is a preset name corresponding to the page parameter keyword.
The invention can also set placeholders conforming to the rules of the platform to be put for each page parameter, so that after the page to be put is clicked, a third party platform (namely the platform to be put) can automatically replace the placeholders with page related data according to the triggering operation of a user, for example, the target placeholders of the keyword types of the advertisement pages are AD_ KIND, the target placeholders of the keywords are AD_ KEYWORD, and after the user clicks an advertisement, the placeholders in the put advertisement links can be automatically replaced with real data.
In step S102, a drop link is generated from the preset name and the target placeholder.
The drop link may include a deep link, that is Deeplink, where Deeplink links are typically in URL format, and may support custom structures to implement specific logic to meet the actual business needs. Under the condition that the APP corresponding to the page to be launched is installed, the APP of the page to be launched (including other browsers or other APPs) can be directly opened through deeplink, and then after the APP in the launched terminal is analyzed Deeplink, page skip can be processed according to the acquired data.
In this step, for each page parameter of the page to be launched, the target placeholder corresponding to the page parameter is added after the preset name corresponding to the page parameter, and then the launched link is generated.
Illustratively, assuming that a landing page can accept two page parameters to reveal results of different types (kind), different keywords (keywords), the two page parameters can be first populated as placeholders, examples are as follows:
Based on the above-defined "VALUE1" and "VALUE2" of the two page parameters of the to-be-launched page "mypage", generating the Deeplink link to be launched after adding the corresponding target placeholders after the preset names of the two parameters respectively:
app://gotopageVALUE1=AD_KIND&VALUE2=AD_KEYWORD&page=pageInfo…
the above examples are illustrative only and the invention is not limited thereto.
In step S103, the delivery link is sent to the server corresponding to the platform to be delivered.
The platform to be put in may include, for example, various browsers and various application software, such as information platforms including microblogs, weChat, sms, and browsers.
In step S104, a target link sent by the server is received, where the target link is a link obtained after the server modifies the put link according to a trigger operation of the user.
In the process of obtaining the target link after modifying the put link, the server generally obtains a target parameter value corresponding to each target placeholder in the put link according to a trigger operation of a user, and then replaces the corresponding target placeholder with the target parameter value to obtain the target link.
For example, assuming that the user wants to search related information of a company a, the input keyword is "a", the keyword type is "company", the above links:
The target parameter VALUE corresponding to the target placeholder AD_ KIND in the app:// gotopageVALUE < 1 > = AD_ KIND & VALUE2 = AD_ KEYWORD & page = pageInfo is a company, the target parameter VALUE corresponding to the target placeholder AD_ KEYWORD is a first, and the target link obtained after the server modifies the put link according to the triggering operation of the user is:
The above examples are also illustrative only and the invention is not limited thereto, app:// gotopageVALUE1 = company & value2 = methyl & page = pageInfo.
In step S105, the page to be launched is opened according to the target link.
In this step, the target link is parsed to obtain the page identifier of the page to be launched and the target parameter value corresponding to each preset name, specifically, a target character string corresponding to a preset page identifier field may be obtained from the target link, and the target character string is used as the page identifier; performing field matching from the target link according to a preset field corresponding to the preset format, and taking a field with the same format as the preset field in the target link as the preset name obtained by matching; and reading the target parameter value corresponding to each preset name from the target link.
For example, continuing to take the target link in the example in step S104 as an example, analyzing the target link, obtaining the target character strings pageInfo and pageInfo corresponding to the preset page identification field page from the target link, that is, the page identification, and then performing field matching through the regular expression "value\d+", and then matching to all the character strings "VALUE1" and "VALUE2" in "value+number" format, so that after the target link is analyzed, the obtained page information is:
VALUE1 company
VALUE 2A
The page identification of the landing page is page pageInfo.
Then, for each preset name contained in the target link, determining a target corresponding relation according to the page identifier, and determining a target parameter corresponding to the preset name according to the target corresponding relation, wherein the target corresponding relation is a corresponding relation between the page parameter of the page to be put and the preset name, and the parameter value of the target parameter is the target parameter value; and opening the page to be launched according to the target parameter and the target parameter value.
For example, the target correspondence relationship of the page identified as page pageInfo is obtained as follows:
“kind”:“VALUE1”,
“keyword”:“VALUE2”
in this way, the character string (i.e., the preset field) "VALUE1" obtained by parsing the target link may be replaced with the corresponding target parameter VALUE "company", the character string "VALUE2" may be replaced with the corresponding target parameter VALUE "a", and the result after the replacement is as follows:
and then, jumping to a landing page according to the analysis result pageInfo, and displaying an information page of the "A" with the type of "company".
The above examples are illustrative only and the invention is not limited thereto.
By adopting the method, the delivery terminal can generate the delivery link of the page to be delivered based on the preset name and the corresponding placeholder, so that the information related to the page can be dynamically replaced on the parameter value of the landing page, and the page parameters can be flexibly increased according to different pages to be delivered by the preset name in the specific format, thereby avoiding the multiple development cost of the dead writing parameters.
Fig. 2 is a flowchart of a second method for delivering pages, which is applied to a server corresponding to a platform to be delivered, where the platform to be delivered may include, for example, various browsers, various application software, such as information platforms including microblog, micro-letter, short message, browser, and the like, as shown in fig. 2, and the method includes the following steps:
In step S201, a delivery link sent by a delivery terminal is received, where the delivery link is a page link corresponding to a page to be delivered on the delivery terminal, and the delivery link includes at least one preset name, where the preset name is a parameter name set according to a preset format.
The delivery terminal refers to a terminal where a page to be delivered is located, and taking advertisement delivery as an example, the delivery terminal may be a terminal where an APP corresponding to the advertisement to be delivered is located, the page to be delivered may include, for example, a landing page of the APP of the advertisement to be delivered, and the page parameters may include, for example, parameters such as keyword, keyword type kine, and the like.
Taking the example that the page to be put includes two page parameters of kined and keyword, a preset name may be unified according to a preset format, where the preset format may be, for example, "value+number", and the page parameters of the page to be put may be defined as "VALUE1, VALUE2", that is:
“kind”:“VALUE1”,
“keyword”:“VALUE2”
VALUE1 is a preset name corresponding to the page parameter kind, and VALUE2 is a preset name corresponding to the page parameter keyword.
The delivery link further comprises a target placeholder corresponding to each preset name, the target placeholders are preconfigured placeholders conforming to the rules of the platform to be delivered corresponding to the server, so that after the page to be delivered is clicked, the platform to be delivered can automatically replace the placeholders with data related to the page according to triggering operation of a user, for example, the target placeholders of keyword types of advertisement pages are AD_ KIND, the target placeholders of keywords are AD_ KEYWORD, and after the user clicks an advertisement, the placeholders in the delivered advertisement link can be automatically replaced with real data.
In step S202, the delivery link is modified according to the triggering operation of the user to obtain a target link.
In the step, the target parameter value corresponding to each target placeholder can be obtained according to the triggering operation of the user; and replacing the target placeholder corresponding to the preset name with the corresponding target parameter value for each preset name in the put link to obtain the target link.
For example, assuming that the user wants to search related information of a company a, the input keyword is "a", the keyword type is "company", the above links:
The target parameter VALUE corresponding to the target placeholder AD_ KIND in the app:// gotopageVALUE < 1 > = AD_ KIND & VALUE2 = AD_ KEYWORD & page = pageInfo is a company, the target parameter VALUE corresponding to the target placeholder AD_ KEYWORD is a first, and the target link obtained after the server modifies the put link according to the triggering operation of the user is:
The above examples are also illustrative only and the invention is not limited thereto, app:// gotopageVALUE1 = company & value2 = methyl & page = pageInfo.
In step S203, the target link is sent to the delivery terminal, so that the delivery terminal opens the page to be delivered according to the target link.
By adopting the method, the delivery link of the page to be delivered is generated based on the preset name and the corresponding placeholder which are set according to the uniform format, so that the information related to the page can be dynamically replaced on the parameter value of the landing page, and the page parameters can be flexibly increased according to different pages to be delivered through the preset name of the specific format, thereby avoiding the multiple development cost of the dead writing parameters.
FIG. 3 is a flowchart illustrating a method of third page placement, as shown in FIG. 3, according to an exemplary embodiment, including the steps of:
In step S301, the delivery terminal obtains a preset name corresponding to each page parameter of the page to be delivered and a target placeholder corresponding to each page parameter, where the preset name is a parameter name set according to a preset format, and the target placeholder is a preconfigured placeholder conforming to a rule of the platform to be delivered.
The delivery terminal refers to a terminal where a page to be delivered is located, and taking advertisement delivery as an example, the delivery terminal may be a terminal where an APP corresponding to the advertisement to be delivered is located, the page to be delivered may include, for example, a landing page of the APP of the advertisement to be delivered, and the page parameters may include, for example, parameters such as keyword, keyword type kine, and the like.
Taking the example that the page to be put includes two page parameters of kine and keyword, a preset name may be uniformly not defined by the page parameters according to a preset format, and the preset format may be, for example, "value+digit", so that the page parameters of the page to be put may be defined as "VALUE1, VALUE2", that is:
“kind”:“VALUE1”,
“keyword”:“VALUE2”
VALUE1 is a preset name corresponding to the page parameter kind, and VALUE2 is a preset name corresponding to the page parameter keyword.
The invention can also set placeholders conforming to the rules of the platform to be put for each page parameter, so that after the page to be put is clicked, a third party platform (namely the platform to be put) can automatically replace the placeholders with page related data according to the triggering operation of a user, for example, the target placeholders of the keyword types of the advertisement pages are AD_ KIND, the target placeholders of the keywords are AD_ KEYWORD, and after the user clicks an advertisement, the placeholders in the put advertisement links can be automatically replaced with real data.
In step S302, the delivery terminal generates a delivery link according to the preset name and the target placeholder.
The drop link may include a deep link Deeplink, where Deeplink links are typically in URL format, and may support custom structures to implement specific logic to meet the actual business needs. Under the condition that the APP corresponding to the page to be launched is installed, the platform to be launched (including other browsers or other APP) can directly open the APP of the page to be launched through deeplink, and then the launched terminal can process page skip according to the acquired data after analyzing Deeplink parameters.
In this step, for each page parameter of the page to be launched, the target placeholder corresponding to the page parameter is added after the preset name corresponding to the page parameter, and then the launched link is generated.
Illustratively, assuming that a landing page can accept two page parameters to reveal results of different types (kind), different keywords (keywords), the two page parameters can be first populated as placeholders, examples are as follows:
based on the two page parameters "VALUE1" and "VALUE2" of the defined page to be launched "mypage", generating Deeplink links to be launched after adding corresponding target placeholders after preset names of the two parameters respectively:
app://gotopageVALUE1=AD_KIND&VALUE2=AD_KEYWORD&page=pageInfo…
the above examples are illustrative only and the invention is not limited thereto.
In step S303, the delivery terminal sends the delivery link to the server corresponding to the platform to be delivered.
The platform to be put in may include, for example, various browsers and various application software, such as information platforms including microblogs, weChat, sms, and browsers.
In step S304, the server modifies the put link according to the trigger operation of the user to obtain the target link.
In the step, the target parameter value corresponding to each target placeholder can be obtained according to the triggering operation of the user; and replacing the target placeholder corresponding to the preset name with the corresponding target parameter value for each preset name in the put link to obtain the target link.
For example, assuming that the user wants to search related information of a company a, the input keyword is "a", the keyword type is "company", the above links:
The target parameter VALUE corresponding to the target placeholder AD_ KIND in the app:// gotopageVALUE < 1 > = AD_ KIND & VALUE2 = AD_ KEYWORD & page = pageInfo is a company, the target parameter VALUE corresponding to the target placeholder AD_ KEYWORD is a first, and the target link obtained after the server modifies the put link according to the triggering operation of the user is:
The above examples are also illustrative only and the invention is not limited thereto, app:// gotopageVALUE1 = company & value2 = methyl & page = pageInfo.
In step S305, the server transmits the target link to the delivery terminal.
In step S306, the delivery terminal parses the target link to obtain a target parameter value corresponding to each preset name and a target parameter corresponding to each preset name.
In this step, the delivery terminal may parse the target link to obtain a page identifier of the page to be delivered and a target parameter value corresponding to each preset name, and specifically, may obtain a target character string corresponding to a preset page identifier field from the target link, and use the target character string as the page identifier; performing field matching from the target link according to a preset field corresponding to the preset format, and taking a field with the same format as the preset field in the target link as the preset name obtained by matching; reading the target parameter value corresponding to each preset name from the target link; and then, determining a target corresponding relation according to the page identifier for each preset name contained in the target link, and determining a target parameter corresponding to the preset name according to the target corresponding relation, wherein the target corresponding relation is the corresponding relation between the page parameter of the page to be put and the preset name, and the parameter value of the target parameter is the target parameter value.
In step S307, the delivery terminal opens the page to be delivered according to the target parameter and the target parameter value.
Illustratively, assume that the target link is: the app:// gotopageVALUE1 = company & value2 = methyl & page = pageInfo,
The target character strings pageInfo and pageInfo corresponding to the preset page identification field page are obtained from the target link and are page identifications, then the character strings 'VALUE 1' and 'VALUE 2' in all 'value+digital' formats can be matched after field matching is carried out through the regular expression 'value\d+', and thus after the target link is analyzed, the obtained page information is:
VALUE1 company
VALUE 2A
The page identification of the landing page is page pageInfo.
Then, the target corresponding relation of the page with the page identifier of page pageInfo is obtained as follows:
“kind”:“VALUE1”,
“keyword”:“VALUE2”
In this way, the character string (i.e., the preset field) "VALUE1" acquired after parsing the target link may be replaced with the corresponding VALUE of the target parameter "company", the character string "VALUE2" may be replaced with the corresponding VALUE of the target parameter "a", and the result after replacement may be as follows:
and then, jumping to a landing page according to the analysis result pageInfo, and displaying an information page of the "A" with the type of "company".
The above examples are illustrative only and the invention is not limited thereto.
By adopting the method, the delivery terminal can generate the delivery link of the page to be delivered based on the preset name and the corresponding placeholder, so that the information related to the page can be dynamically replaced on the parameter value of the landing page, and the page parameters can be flexibly increased according to different pages to be delivered by the preset name in the specific format, thereby avoiding the multiple development cost of the dead writing parameters.
Fig. 4 is a block diagram of a first page delivery apparatus according to an exemplary embodiment, applied to a delivery terminal, as shown in fig. 4, the apparatus includes:
The obtaining module 401 is configured to obtain a preset name corresponding to each page parameter of the page to be launched and a target placeholder corresponding to each page parameter, where the preset name is a parameter name set according to a preset format, and the target placeholder is a preconfigured placeholder that accords with a rule of the platform to be launched;
A generating module 402, configured to generate a delivery link according to the preset name and the target placeholder;
a first sending module 403, configured to send the delivery link to a server corresponding to the platform to be delivered;
a first receiving module 404, configured to receive a target link sent by the server, where the target link is a link obtained after the server modifies the delivery link according to a trigger operation of a user;
and the page opening module 405 is configured to open the page to be launched according to the target link.
FIG. 5 is a block diagram of an apparatus for a second type of page delivery, applied to a server, according to an exemplary embodiment, as shown in FIG. 5, the apparatus comprising:
A second receiving module 501, configured to receive a delivery link sent by a delivery terminal, where the delivery link is a page link corresponding to a page to be delivered on the delivery terminal, and the delivery link includes at least one preset name, where the preset name is a parameter name set according to a preset format;
a modification module 502, configured to modify the delivery link according to a triggering operation of a user to obtain a target link;
and the second sending module 503 is configured to send the target link to the delivery terminal, so that the delivery terminal opens the page to be delivered according to the target link.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
By adopting the device, the throwing terminal can generate the throwing link of the page to be thrown based on the preset name and the corresponding placeholder, so that the information related to the page can be dynamically replaced on the parameter value of the landing page, and page parameters can be flexibly increased according to different pages to be thrown by the preset name in the specific format, thereby avoiding the multiple development cost of the dead writing parameters.
Fig. 6 is a block diagram of a first electronic device, according to an example embodiment. As shown in fig. 6, the electronic device 600 may include: a processor 601, a memory 602. The electronic device 600 may also include one or more of a multimedia component 603, an input/output (I/O) interface 604, and a communication component 605.
The processor 601 is configured to control the overall operation of the electronic device 600 to complete all or part of the steps in the above-mentioned page placement method. The memory 602 is used to store various types of data to support operations at the electronic device 600, which may include, for example, instructions for any application or method operating on the electronic device 600, as well as application-related data, such as contact data, transceived messages, pictures, audio, video, and the like. The Memory 602 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 603 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 602 or transmitted through the communication component 605. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 604 provides an interface between the processor 601 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 605 is used for wired or wireless communication between the electronic device 600 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, near Field Communication (NFC) for short, 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 605 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application-specific integrated circuits (ASIC), digital signal Processor (DIGITAL SIGNAL Processor, DSP), digital signal processing device (DIGITAL SIGNAL Processing Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field Programmable GATE ARRAY, FPGA), controller, microcontroller, microprocessor, or other electronic component for performing the above-described page placement method.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the page placement method described above. For example, the computer readable storage medium may be the memory 602 described above including program instructions executable by the processor 601 of the electronic device 600 to perform the page placement method described above.
Fig. 7 is a block diagram of a second electronic device, according to an example embodiment. For example, the electronic device 700 may be provided as a server. Referring to fig. 7, the electronic device 700 includes a processor 722, which may be one or more in number, and a memory 732 for storing computer programs executable by the processor 722. The computer program stored in memory 732 may include one or more modules each corresponding to a set of instructions. Further, the processor 722 may be configured to execute the computer program to perform the page placement method described above.
In addition, the electronic device 700 can further include a power component 726 and a communication component 750, the power component 726 can be configured to perform power management of the electronic device 700, and the communication component 750 can be configured to enable communication of the electronic device 700, e.g., wired or wireless communication. In addition, the electronic device 700 may also include an input/output (I/O) interface 758. The electronic device 700 may operate based on an operating system stored in memory 732, such as Windows Server TM,Mac OS XTM,UnixTM,LinuxTM or the like.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the page placement method described above. For example, the non-transitory computer readable storage medium may be the memory 732 described above that includes program instructions executable by the processor 722 of the electronic device 700 to perform the page placement method described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described page placement method when executed by the programmable apparatus.
The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to the specific details of the above embodiments, and various simple modifications can be made to the technical solution of the present invention within the scope of the technical concept of the present invention, and all the simple modifications belong to the protection scope of the present invention.
In addition, the specific features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various possible combinations are not described further.
Moreover, any combination of the various embodiments of the invention can be made without departing from the spirit of the invention, which should also be considered as disclosed herein.
Claims (8)
1. A method for delivering a page, which is applied to a delivering terminal, the method comprising:
Acquiring a preset name corresponding to each page parameter of a page to be launched and a target placeholder corresponding to each page parameter, wherein the preset name is a parameter name set according to a preset format, and the target placeholder is a preconfigured placeholder conforming to a platform rule to be launched;
generating a release link according to the preset name and the target placeholder;
The delivery link is sent to a server corresponding to the platform to be delivered;
Receiving a target link sent by the server, wherein the target link is a link obtained after the server modifies the put link according to the triggering operation of a user; the server modifying the put link according to the triggering operation of the user to obtain the target link comprises the following steps: acquiring target parameter values corresponding to each target placeholder according to the triggering operation; for each preset name in the put link, replacing a target placeholder corresponding to the preset name with the corresponding target parameter value to obtain the target link;
opening the page to be put according to the target link;
the generating a delivery link according to the preset name and the target placeholder comprises:
For each page parameter of the page to be put, adding the target placeholder corresponding to the page parameter after a preset name corresponding to the page parameter, and generating the put link;
The step of opening the page to be launched according to the target link comprises the following steps:
Analyzing the target links to obtain page identifiers of the pages to be launched and target parameter values corresponding to the preset names respectively; determining a target corresponding relation according to the page identifier for each preset name contained in the target link, and determining a target parameter corresponding to the preset name according to the target corresponding relation, wherein the target corresponding relation is the corresponding relation between the page parameter of the page to be put and the preset name, and the parameter value of the target parameter is the target parameter value; and opening the page to be put according to the target parameter and the target parameter value.
2. The method of claim 1, wherein the parsing the target link to obtain the page identifier of the page to be launched and the target parameter value corresponding to each preset name respectively includes:
Acquiring a target character string corresponding to a preset page identification field from the target link, and taking the target character string as the page identification;
Performing field matching from the target link according to a preset field corresponding to the preset format, and taking a field with the same format as the preset field in the target link as the preset name obtained by matching;
and reading the target parameter value corresponding to each preset name from the target link.
3. The method of claim 1 or 2, wherein the impression link comprises a deep link.
4. A method for delivering pages, characterized by being applied to a server, the method comprising:
Receiving a delivery link sent by a delivery terminal, wherein the delivery link is a page link corresponding to a page to be delivered on the delivery terminal, the delivery link comprises at least one preset name, and the preset name is a parameter name set according to a preset format;
Modifying the put link according to the triggering operation of the user to obtain a target link;
The target link is sent to the delivery terminal, so that the delivery terminal opens the page to be delivered according to the target link; the step of opening the page to be launched by the launching terminal according to the target link comprises the following steps: analyzing the target links to obtain page identifiers of the pages to be launched and target parameter values corresponding to the preset names respectively; determining a target corresponding relation according to the page identifier for each preset name contained in the target link, and determining a target parameter corresponding to the preset name according to the target corresponding relation, wherein the target corresponding relation is the corresponding relation between the page parameter of the page to be put and the preset name, and the parameter value of the target parameter is the target parameter value; opening the page to be put according to the target parameter and the target parameter value;
The delivery link further comprises a target placeholder corresponding to each preset name, wherein the target placeholder is a preconfigured placeholder conforming to a platform rule to be delivered corresponding to the server; the step of modifying the put link according to the triggering operation of the user to obtain the target link comprises the following steps:
acquiring target parameter values corresponding to each target placeholder according to triggering operation of a user;
For each preset name in the put link, replacing a target placeholder corresponding to the preset name with the corresponding target parameter value to obtain the target link;
The delivery link is generated by adding the target placeholder corresponding to the page parameter after a preset name corresponding to the page parameter aiming at each page parameter of the page to be delivered by the delivery terminal.
5. A device for delivering pages, which is applied to a delivering terminal, the device comprising:
The acquisition module is used for acquiring preset names corresponding to each page parameter of the page to be launched and target placeholders corresponding to each page parameter, wherein the preset names are parameter names set according to a preset format, and the target placeholders are preconfigured placeholders conforming to the rules of the platform to be launched;
the generation module is used for generating a delivery link according to the preset name and the target placeholder;
The first sending module is used for sending the release link to a server corresponding to the platform to be released;
The first receiving module is used for receiving a target link sent by the server, wherein the target link is a link obtained after the server modifies the put link according to the triggering operation of a user; the server modifying the put link according to the triggering operation of the user to obtain the target link comprises the following steps: acquiring target parameter values corresponding to each target placeholder according to triggering operation of a user; for each preset name in the put link, replacing a target placeholder corresponding to the preset name with the corresponding target parameter value to obtain the target link;
the page opening module is used for opening the page to be put according to the target link;
The generation module is used for generating the delivery link by adding the target placeholder corresponding to the page parameter after the preset name corresponding to the page parameter aiming at each page parameter of the page to be delivered;
The page opening module is used for analyzing the target links to obtain page identifiers of the pages to be put and target parameter values corresponding to the preset names respectively; determining a target corresponding relation according to the page identifier for each preset name contained in the target link, and determining a target parameter corresponding to the preset name according to the target corresponding relation, wherein the target corresponding relation is the corresponding relation between the page parameter of the page to be put and the preset name, and the parameter value of the target parameter is the target parameter value; and opening the page to be put according to the target parameter and the target parameter value.
6. A device for delivering pages, applied to a server, the device comprising:
The second receiving module is used for receiving a delivery link sent by a delivery terminal, wherein the delivery link is a page link corresponding to a page to be delivered on the delivery terminal, the delivery link comprises at least one preset name, and the preset name is a parameter name set according to a preset format;
the modification module is used for modifying the put link according to the triggering operation of the user to obtain a target link;
The second sending module is used for sending the target link to the delivery terminal so that the delivery terminal opens the page to be delivered according to the target link; the step of opening the page to be launched by the launching terminal according to the target link comprises the following steps: analyzing the target links to obtain page identifiers of the pages to be launched and target parameter values corresponding to the preset names respectively; determining a target corresponding relation according to the page identifier for each preset name contained in the target link, and determining a target parameter corresponding to the preset name according to the target corresponding relation, wherein the target corresponding relation is the corresponding relation between the page parameter of the page to be put and the preset name, and the parameter value of the target parameter is the target parameter value; opening the page to be put according to the target parameter and the target parameter value;
The delivery link further comprises a target placeholder corresponding to each preset name, wherein the target placeholder is a preconfigured placeholder conforming to a platform rule to be delivered corresponding to the server;
The modification module is used for acquiring target parameter values corresponding to each target placeholder respectively according to triggering operation of a user; for each preset name in the put link, replacing a target placeholder corresponding to the preset name with the corresponding target parameter value to obtain the target link;
The delivery link is generated by adding the target placeholder corresponding to the page parameter after a preset name corresponding to the page parameter aiming at each page parameter of the page to be delivered by the delivery terminal.
7. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor implements the steps of the method of any of claims 1-3 or the program when executed by a processor implements the steps of the method of claim 4.
8. An electronic device, comprising:
A memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-3; or alternatively
A processor for executing the computer program in the memory to implement the steps of the method of claim 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210520880.XA CN114912048B (en) | 2022-05-12 | 2022-05-12 | Page delivery method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210520880.XA CN114912048B (en) | 2022-05-12 | 2022-05-12 | Page delivery method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114912048A CN114912048A (en) | 2022-08-16 |
CN114912048B true CN114912048B (en) | 2024-05-14 |
Family
ID=82766570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210520880.XA Active CN114912048B (en) | 2022-05-12 | 2022-05-12 | Page delivery method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114912048B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108256888A (en) * | 2016-12-29 | 2018-07-06 | 北京国双科技有限公司 | Land acquisition methods, Website server and the Monitoring System of Web Ads of page |
CN110020237A (en) * | 2017-09-18 | 2019-07-16 | 北京国双科技有限公司 | Webpage jump method and device |
CN110858238A (en) * | 2018-08-08 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CA3152018A1 (en) * | 2019-08-22 | 2021-02-25 | 10353744 Canada Ltd. | Business parameter collecting method, device, computer equipment and storage medium |
CN112633945A (en) * | 2020-12-31 | 2021-04-09 | 北京达佳互联信息技术有限公司 | Landing page delivery method, delivery data processing method, device, equipment and medium |
CN113656721A (en) * | 2021-08-27 | 2021-11-16 | 北京奇艺世纪科技有限公司 | Page loading method, device and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8676868B2 (en) * | 2006-08-04 | 2014-03-18 | Chacha Search, Inc | Macro programming for resources |
US9582596B2 (en) * | 2008-10-29 | 2017-02-28 | International Business Machines Corporation | Preventing not found error (404) responses on dynamically loaded missing images |
US9251267B2 (en) * | 2010-09-30 | 2016-02-02 | Google Inc. | Generating behavior information for a link |
US9058401B2 (en) * | 2011-08-16 | 2015-06-16 | Fabebook, Inc. | Aggregating plug-in requests for improved client performance |
-
2022
- 2022-05-12 CN CN202210520880.XA patent/CN114912048B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108256888A (en) * | 2016-12-29 | 2018-07-06 | 北京国双科技有限公司 | Land acquisition methods, Website server and the Monitoring System of Web Ads of page |
CN110020237A (en) * | 2017-09-18 | 2019-07-16 | 北京国双科技有限公司 | Webpage jump method and device |
CN110858238A (en) * | 2018-08-08 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CA3152018A1 (en) * | 2019-08-22 | 2021-02-25 | 10353744 Canada Ltd. | Business parameter collecting method, device, computer equipment and storage medium |
CN112633945A (en) * | 2020-12-31 | 2021-04-09 | 北京达佳互联信息技术有限公司 | Landing page delivery method, delivery data processing method, device, equipment and medium |
CN113656721A (en) * | 2021-08-27 | 2021-11-16 | 北京奇艺世纪科技有限公司 | Page loading method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN114912048A (en) | 2022-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110688598B (en) | Service parameter acquisition method and device, computer equipment and storage medium | |
CN110659206B (en) | Simulation architecture establishment method and device based on micro-service, medium and electronic equipment | |
CN110795672B (en) | Method, device, equipment and medium for showing content of applet | |
CN107729014B (en) | Page jump method and structure based on Android | |
CN111090582A (en) | Error code positioning method and device, storage medium and electronic equipment | |
CN111708557B (en) | Method, device and storage medium for updating configuration file | |
CN1886976B (en) | Method and apparatus for performing actions on a wireless device using action lists and versioning | |
CN104754062A (en) | Internet based information popularization method, server and user terminal | |
CN107634947A (en) | Limitation malice logs in or the method and apparatus of registration | |
CN108519922A (en) | Information push method and device, terminal equipment, and computer-readable storage medium | |
CN112632009A (en) | Electronic file processing method and device, storage medium and electronic equipment | |
CN114416075A (en) | Service processing method and device | |
CN105515887B (en) | application testing method, server and system | |
CN108804120B (en) | Page construction method, device, equipment and storage medium | |
CN113703734A (en) | Applet generation method and device, electronic equipment and storage medium | |
CN112398809A (en) | Protocol rule conversion method, device, computer equipment and storage medium | |
CN111757282B (en) | Short message sending method and device | |
CN114912048B (en) | Page delivery method and device, storage medium and electronic equipment | |
AU2019222873B2 (en) | Method and system for providing content | |
CN112559293A (en) | Application package monitoring method and device | |
CN111026466A (en) | File processing method and device, computer readable storage medium and electronic equipment | |
CN111680032B (en) | Method and device for processing information sending task and electronic equipment | |
CN112148324B (en) | Method, apparatus and computer readable storage medium for upgrading electronic apparatus | |
CN114253441A (en) | Target function starting method and device, storage medium and electronic device | |
CN112528333A (en) | User privacy protection method, MEC server, terminal, device and 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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230728 Address after: 224008 Rooms 404-405 and 504, Building B-17-1, Big data Industrial Park, Kecheng Street, Yannan High tech Zone, Yancheng, Jiangsu Province Applicant after: Yancheng Tianyanchawei Technology Co.,Ltd. Address before: 224008 room 501-503, building b-17-1, Xuehai road big data Industrial Park, Kecheng street, Yannan high tech Zone, Yancheng City, Jiangsu Province (CNK) Applicant before: Yancheng Jindi Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |