CN112069429A - Method for controlling jump in app based on link - Google Patents

Method for controlling jump in app based on link Download PDF

Info

Publication number
CN112069429A
CN112069429A CN202010969398.5A CN202010969398A CN112069429A CN 112069429 A CN112069429 A CN 112069429A CN 202010969398 A CN202010969398 A CN 202010969398A CN 112069429 A CN112069429 A CN 112069429A
Authority
CN
China
Prior art keywords
link
url
jump
service
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010969398.5A
Other languages
Chinese (zh)
Inventor
刘阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhidemai Technology Co ltd
Original Assignee
Beijing Zhidemai Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhidemai Technology Co ltd filed Critical Beijing Zhidemai Technology Co ltd
Priority to CN202010969398.5A priority Critical patent/CN112069429A/en
Publication of CN112069429A publication Critical patent/CN112069429A/en
Pending legal-status Critical Current

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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Abstract

The invention discloses a method for controlling jump in app based on link, which comprises the following steps: the service end transmits the url to be jumped in the content to a general jump service; the universal skip service analyzes and matches the url of the service end, converts the url into a universal skip field and outputs the universal skip field to the service end; the service end replaces the url with a skip field and outputs the skip field to the client; the client analyzes the fields and maps the fields to a target page; when a user clicks, the client can find the corresponding target page and jump to the past; the invention has good compatibility: when the urls are modified, the urls can be compatible at the back end, and both the urls are analyzed into the same skip field without client version sending; the operation cost is low: when an operation background sends an article or other configurations, the compatibility of the app does not need to be considered, and a common http link is directly configured; and the link of the target page is analyzed and output to the client in advance, so that the smoothness of click skipping is better.

Description

Method for controlling jump in app based on link
Technical Field
The invention relates to the technical field of data processing, in particular to a method for controlling jump in an app based on a link.
Background
In APP, it is encountered that many native pages jump to wap pages, or wap pages jump to native pages, or URL (uniform resource locator (URL) is an address of a standard resource on the Internet) where a pc is configured should jump to a native scene.
According to the conventional implementation scheme, after a client acquires data from a back end, the client needs to identify a url type and map a url to be skipped to a target page.
CN104462183B discloses a web page jump processing method and device. The webpage jump processing method comprises the following steps: detecting a target webpage clicking behavior; acquiring identification information of a target webpage, wherein the identification information of the target webpage is used for identifying the address of the clicked target webpage; determining a jump page of a target webpage corresponding to the target webpage identification information; acquiring a network address of a jump page; determining a clicked webpage link address on a target webpage, wherein the webpage link address comprises target webpage identification information and a network address of a jump page; and executing webpage skipping through the webpage link address. By the method and the device, the network address of the jump page is added in the link of the target webpage, so that the effect that the target webpage can be successfully jumped is ensured.
CN108132800A relates to a method, a device and a user terminal for controlling page jump based on a user-defined URL. The method comprises the following steps: receiving a skip request; matching a corresponding page link and a corresponding operation function in a configuration file according to the label in the jump request; skipping to a corresponding page according to the page link; and executing corresponding functions according to the operation functions. The invention replaces the message content with the URL, and can accurately position the page and operation required to be carried out, including jumping to the designated page, message prompting, making a call, sending a short message, parameter transferring and the like.
In the above manner, when the domain name of the page url is changed or the path rule is modified, the client cannot be compatible with a new url, a new version of the solution is required, and the method is very inflexible.
Disclosure of Invention
The embodiment of the invention provides a method for controlling jump in an app based on a link. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
According to an embodiment of the present invention, there is provided a method for controlling intra-app jump based on a link, including,
s1: the service end transmits the url to be jumped in the content to a general jump service;
s2: the universal skip service analyzes and matches the url of the service end, converts the url into a universal skip field and outputs the universal skip field to the service end;
s3: the service end replaces the url with a skip field and outputs the skip field to the client;
s4: the client analyzes the fields and maps the fields to a target page;
s5: when the user clicks, the client can find the corresponding target page and jump to the past.
Preferably, the service terminal calls the general jump service, transmits the link in the content to the service, and supports a single link and a group of links.
Preferably, the logic of the general jump service is,
s21: receiving parameters and assigning default values to the parameters required by subsequent processing;
s22: replacing the domain name or the uri address aiming at the link, and performing link replacement;
s23: dividing the url into different types according to the link host or the type of the target page;
s24: different types of links are processed in different ways, and links are split by using regular matching to obtain a skip field;
s25: some links require an increase in the url parameter and off-site links require an increase in their cps revenue parameter.
Preferably, the jump field includes four main fields, i.e., link _ type, sub _ type, and link _ val.
Preferably, the url parameter is added, html is received, and the field needs to be placed in the a tag.
Preferably, the mapping is performed to the target page, the client performs the mapping locally, and the returned field value is mapped to the native page.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
according to the above-described embodiment, there are known advantageous effects,
(1) the compatibility is good: when there is a modification to the url, such as: https:// www.smzdm.com/p/10000001 is changed to https:// www.smzdm.com/detail/10000001, compatibility can be performed at the back end, both urls are analyzed into the same skip field, and client version sending is not needed.
(2) The operation cost is low: when the operation background sends articles or other configurations, the compatibility of the app does not need to be considered, and a common http link is directly configured.
(3) And the link of the target page is analyzed and output to the client in advance, instead of being processed when clicking, so that the smoothness of click skipping is better.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flowchart illustrating a method for controlling intra-app hopping based on links, according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating the logic of a generic jump service in accordance with one illustrative embodiment;
FIG. 3 is a block diagram illustrating a method for controlling intra-app hopping based on links, according to an exemplary embodiment;
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of embodiments of the invention encompasses the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to herein, individually or collectively, by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the structures, products and the like disclosed by the embodiments, the description is relatively simple because the structures, the products and the like correspond to the parts disclosed by the embodiments, and the relevant parts can be just described by referring to the method part.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
The invention is further described with reference to the following figures and examples:
a method for controlling intra-app hopping based on links, as shown in fig. 1 and 3, includes the steps of,
s1: the service end transmits the url to be jumped in the content to a general jump service;
s2: the universal skip service analyzes and matches the url of the service end, converts the url into a universal skip field and outputs the universal skip field to the service end;
s3: the service end replaces the url with a skip field and outputs the skip field to the client;
s4: the client analyzes the fields and maps the fields to a target page;
s5: when the user clicks, the client can find the corresponding target page and jump to the past.
According to the scheme, the service end calls the general jump service, transmits the links in the content to the service, and supports a single link and a group of links, such as [ { url ═ https:// basic. com }, { url ═ https:// smzdm.com } ], and html codes such as < html > < a href ═ https:// basic. com' > links.
According to the above solution, further, the logic of the general jump service is,
s21: receiving parameters and assigning default values to the parameters required by subsequent processing;
s22: for the link replacement domain name or uri address, the process of replacing the link, for example, fx.smzdm.com ═ fax.smzdm.com, or the process of jumping to 404 pages of some offline addresses, is put in this module;
s23: dividing the url into different types according to the types of the link host or the target page, such as a native page in a station, a live wap page in the station, an advertisement page, an off-station mall and the like;
s24: different types of links are processed differently, links are split using regular matching, the jump fields are obtained,
link target page address
Link _ type target Page type
sub _ type target Page type
Data required for link _ val jump to target page
Example (c): introducing: https:// www.smzdm.com/p/10000001, with the resolution:
"link":"https://www.smzdm.com/p/10000001",
"link_type":"faxian",
"sub_type":"detail",
"link_val":"10000001",
"link_title":"",;
s25: some links need to increase url parameters, off-site links need to increase their cps revenue parameters, if html is received, fields need to be placed in the a tag, such as < html > < a href ═ https:// smzdm.com' link ═ https:// smzdm.com "link _ type ═ smzdm" sub _ type ═ home "link _ val ═ and all the processing is completed and then output to the service end.
According to the above scheme, further, the mapping is performed to the target page, the client performs the mapping locally, and the returned field value is mapped to the native page, for example: the client corresponds to a found article detail page, and the article id is 10000001.
It is to be understood that the present invention is not limited to the procedures and structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (6)

1. A method for controlling intra-app hopping based on a link, comprising,
s1: the service end transmits the url to be jumped in the content to a general jump service;
s2: the universal skip service analyzes and matches the url of the service end, converts the url into a universal skip field and outputs the universal skip field to the service end;
s3: the service end replaces the url with a skip field and outputs the skip field to the client;
s4: the client analyzes the fields and maps the fields to a target page;
s5: when the user clicks, the client can find the corresponding target page and jump to the past.
2. The method for controlling the in-app jump based on the link according to claim 1, wherein the service terminal calls the general jump service to transmit the link in the content to the service, and a single link and a group of links are supported.
3. The method for controlling in-app hopping based on links according to claim 2, wherein logic of the general hopping service is,
s21: receiving parameters and assigning default values to the parameters required by subsequent processing;
s22: replacing the domain name or the uri address aiming at the link, and performing link replacement;
s23: dividing the url into different types according to the link host or the type of the target page;
s24: different types of links are processed in different ways, and links are split by using regular matching to obtain a skip field;
s25: some links require an increase in the url parameter and off-site links require an increase in their cps revenue parameter.
4. The method for controlling intra-app jump based on a link according to claim 3, wherein the jump field comprises four main fields, i.e. link, link _ type, sub _ type and link _ val.
5. The method for controlling intra-app jump based on a link according to claim 1, wherein the url parameter is added, html is received, and a field is required to be placed in the a tag.
6. The method for controlling intra-app jump based on a link according to claim 1, wherein the mapping is performed to a target page, the client performs the mapping locally, and the returned field value is mapped to a native page.
CN202010969398.5A 2020-09-15 2020-09-15 Method for controlling jump in app based on link Pending CN112069429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010969398.5A CN112069429A (en) 2020-09-15 2020-09-15 Method for controlling jump in app based on link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010969398.5A CN112069429A (en) 2020-09-15 2020-09-15 Method for controlling jump in app based on link

Publications (1)

Publication Number Publication Date
CN112069429A true CN112069429A (en) 2020-12-11

Family

ID=73696856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010969398.5A Pending CN112069429A (en) 2020-09-15 2020-09-15 Method for controlling jump in app based on link

Country Status (1)

Country Link
CN (1) CN112069429A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050021862A1 (en) * 2000-03-31 2005-01-27 Dickens Coal Llc Automatic selection of content-delivery provider using link mapping database
CN105512190A (en) * 2015-11-26 2016-04-20 网易(杭州)网络有限公司 Interface jumping method and device
CN107729014A (en) * 2017-09-06 2018-02-23 北京五八到家信息技术有限公司 A kind of method for page jump and structure based on Android
CN108132800A (en) * 2017-06-29 2018-06-08 广东网金云计算有限公司 A kind of method, apparatus and user terminal based on self-defined URL control page jumps
CN108153768A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Method for page jump, data processing method, device and page jump control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050021862A1 (en) * 2000-03-31 2005-01-27 Dickens Coal Llc Automatic selection of content-delivery provider using link mapping database
CN105512190A (en) * 2015-11-26 2016-04-20 网易(杭州)网络有限公司 Interface jumping method and device
CN108153768A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Method for page jump, data processing method, device and page jump control system
CN108132800A (en) * 2017-06-29 2018-06-08 广东网金云计算有限公司 A kind of method, apparatus and user terminal based on self-defined URL control page jumps
CN107729014A (en) * 2017-09-06 2018-02-23 北京五八到家信息技术有限公司 A kind of method for page jump and structure based on Android

Similar Documents

Publication Publication Date Title
CN102047242B (en) Content management
AU2008200613B2 (en) Tracking web server
US7120590B1 (en) Electronically distributing promotional and advertising material based upon consumer internet usage
AU2005241501B2 (en) Systems and methods for direction of communication traffic
CN101981572B (en) Request routing
US9009599B2 (en) Technique for handling URLs for different mobile devices that use different user interface platforms
CN101432771A (en) Dynamic proxy method and apparatus for an online marketing campaign
US20070038729A1 (en) Systems and methods for direction of communication traffic
US20080275982A1 (en) System and program product for tracking web user sessions
CN105530324A (en) Request routing based on class
CN104158919A (en) Webpage access implementation method, server and client
CN101674374A (en) Webpage content extraction forwarding system for mobile communication terminal and application method thereof
CN104915398A (en) Method and device for webpage point burying
JPH11126177A (en) Method and device for converting abstract resource address
CA2442190A1 (en) Dynamic web page referrer tracking and ranking
US20180165719A1 (en) Centralized Development of Advertising Code
WO2004074960A2 (en) Distributed fragment caching and assembly in distributed computing applications
US20070156890A1 (en) Method for tracking network transactions
US20190050891A1 (en) Method and apparatus for providing internet advertising
CN102510410A (en) On-line advertisement delivering method and system as well as advertisement control equipment
JP2011043924A (en) Web action history acquisition system, web action history acquisition method, gateway device and program
CN105556918A (en) Resource downloading method, electronic device, and apparatus
CN105354269B (en) Web applicational language Localization methodologies and system based on reverse proxy and information filtering
CN112069429A (en) Method for controlling jump in app based on link
CN112711725A (en) Method, device and system for skipping page based on delayed deep link

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