CN113297518B - Page switching method and device, electronic equipment and readable storage medium - Google Patents

Page switching method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113297518B
CN113297518B CN202010723977.1A CN202010723977A CN113297518B CN 113297518 B CN113297518 B CN 113297518B CN 202010723977 A CN202010723977 A CN 202010723977A CN 113297518 B CN113297518 B CN 113297518B
Authority
CN
China
Prior art keywords
page
application
address
user
application program
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
Application number
CN202010723977.1A
Other languages
Chinese (zh)
Other versions
CN113297518A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010723977.1A priority Critical patent/CN113297518B/en
Publication of CN113297518A publication Critical patent/CN113297518A/en
Application granted granted Critical
Publication of CN113297518B publication Critical patent/CN113297518B/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
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

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)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure discloses a page switching method, a page switching device, an electronic device and a readable storage medium, wherein the method comprises the following steps: switching from a first page of a first application to a second page of a second application in response to receiving a first input operation at the first page; switching from the second page to a third page of the second application in response to receiving a second input operation at the second page, the second input operation comprising a return operation. According to the embodiment of the disclosure, the technical scheme leaves the user in the second application program when the user performs the return operation, so that a large amount of user traffic is ensured not to be directly lost from the second application program, rich content or service in the second application program is displayed to the user, and a service provider is facilitated to realize efficient operation.

Description

Page switching method and device, electronic equipment and readable storage medium
Technical Field
The disclosure relates to the technical field of computer application, in particular to a page switching method and device, electronic equipment and a readable storage medium.
Background
With the development of internet technology, when a user browses a page on a device such as a client, the user can jump from an application program currently being browsed to another application program by clicking a link or a picture containing the link, so as to browse a corresponding page in the other application program. However, after the user browses the corresponding page of another application program, if a return operation is performed, the user usually returns to the previously browsed application program directly, which causes a large amount of user traffic to be lost from the another application program directly, which is not beneficial to implementing richer content or service display, and prevents the service provider from implementing efficient operation.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present disclosure provide a page switching method and apparatus, an electronic device, and a readable storage medium.
In a first aspect, a page switching method is provided in an embodiment of the present disclosure.
Specifically, the page switching method includes: in response to receiving a first input operation on a first page of a first application, switching from the first page to a second page of a second application; switching from the second page to a third page of the second application in response to receiving a second input operation at the second page, the second input operation comprising a return operation.
With reference to the first aspect, in a first implementation manner of the first aspect, the method further includes: acquiring at least one or more of the following information: the address of the second page, the address of the third page, and indication information, wherein: the indication information indicates that the user needs to be left in the second application; the switching from the first page to a second page of a second application comprises switching from the first page to a second page of a second application according to an address of the second page; the switching from the second page to the third page of the second application program includes switching from the second page to the third page of the second application program according to the address of the third page and/or the indication information.
With reference to the first implementation manner of the first aspect, the present disclosure provides in a second implementation manner of the first aspect, where the at least one or more items of information are determined according to operation information corresponding to the first input operation, or according to the operation information and at least one or more of the following data: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program.
With reference to the first aspect, in a third implementation manner of the first aspect, the switching from the second page to a third page of the second application in response to receiving a second input operation on the second page includes: for the second page meeting preset conditions, responding to the second input operation received on the second page, and calling preset processing, wherein the preset processing is used for returning to the first application program from the second application program; when the preset processing is called, the preset processing is not executed and the second page is switched to the third page.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the preset processing includes a page destruction method of a specified base class or a return processing logic in a software development toolkit called by the second page, and the specified base class is a base class inherited by the second page.
With reference to the third implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the method further includes: when the preset processing is called, determining whether the address of the second page is associated with the address of the third page and/or indicating information, wherein the indicating information indicates that a user needs to be left in the second application program; wherein the not executing the preset processing and switching to the third page when the preset processing is invoked includes: if the address of the second page is associated with the address of the third page, or the address of the second page is not associated with the address of the third page but is associated with the indication information, or the address of the second page is associated with the address of the third page and the indication information, the preset processing is not performed and the second page is switched to the third page.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the method further includes: and returning the first application program from the second application program if the address of the second page is not associated with the address of the third page and is not associated with the indication information.
With reference to the third implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the method further includes: for the second page which does not meet the preset condition, in response to receiving the second input operation on the second page, determining whether the second application program is in a started state when the first input operation is received; and if the second application program is determined to be in the started state when the first input operation is received, switching from the second page to a fourth page of the second application program.
With reference to the third implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the preset condition includes that the second page inherits a base class of the second application program or that the second page calls a return processing logic in a software development kit.
With reference to the first aspect, in a ninth implementation manner of the first aspect, the method further includes: switching from the third page to a fourth page of the second application in response to receiving a third input operation at the third page, the third input operation comprising a return operation.
In a second aspect, a page switching method is provided in an embodiment of the present disclosure.
Specifically, the page switching method includes:
receiving operation information from a client, the operation information corresponding to a first input operation received at a first page of a first application program of the client;
determining the address of a second page of a second application program and determining the address of a third page of the second application program and/or indicating information according to the operation information, wherein the indicating information indicates that a user needs to be left in the second application program;
sending an address of a second page of a second application to the client, and sending an address of a third page of the second application and/or the indication information to the client, wherein the client switches from the first page to the second page of the second application in response to the first input operation according to the address of the second page, and the client switches from the second page to the third page in response to receiving a second input operation at the second page according to the address of the third page of the second application and/or the indication information, and the second input operation comprises a return operation.
With reference to the second aspect, in a first implementation manner of the second aspect, the method further includes: acquiring at least one or more of the following data: a start state of the second application upon receiving the first input operation, whether a user is logged in to the second application upon receiving the first input operation, behavior data of the user, a value parameter of the user, a source of the user, wherein the value parameter of the user represents a contribution of the user to a revenue of a service provider of the second application, and the source of the user represents a channel guiding the user to the second application, wherein the determining the address of the second page of the second application and the determining the address of the third page of the second application and/or the indicating information at least according to the operation information comprises determining the address of the second page of the second application according to the operation information and the at least one or more items of data, and determining an address of a third page of the second application and/or the indication information.
In a third aspect, an embodiment of the present disclosure provides a page switching apparatus.
Specifically, the page switching apparatus includes:
a first switching module configured to switch from a first page of a first application to a second page of a second application in response to receiving a first input operation at the first page;
a second switching module configured to switch from the second page to a third page of the second application in response to receiving a second input operation at the second page, the second input operation comprising a return operation.
With reference to the third aspect, in a first implementation manner of the third aspect, the apparatus further includes: a first obtaining module configured to obtain at least one or more of the following information: the address of the second page, the address of the third page, and indication information, wherein: the indication information indicates that the user needs to be left in the second application; the switching from the first page to a second page of a second application comprises switching from the first page to a second page of a second application according to an address of the second page; the switching from the second page to the third page of the second application program includes switching from the second page to the third page of the second application program according to the address of the third page and/or the indication information.
With reference to the first implementation manner of the third aspect, the present disclosure provides in a second implementation manner of the third aspect, where the at least one or more items of information are determined according to operation information corresponding to the first input operation, or according to the operation information and at least one or more items of data of: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program.
With reference to the third aspect, in a third implementation manner of the third aspect, the switching from the second page to a third page of the second application in response to receiving a second input operation on the second page includes: for the second page meeting preset conditions, responding to the second input operation received on the second page, and calling preset processing, wherein the preset processing is used for returning to the first application program from the second application program; when the preset processing is called, the preset processing is not executed and the second page is switched to the third page.
With reference to the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect, the preset processing includes a page destruction method of a specified base class or a return processing logic in a software development toolkit called by the second page, and the specified base class is a base class inherited by the second page.
With reference to the third implementation manner of the third aspect, in a fifth implementation manner of the third aspect, the apparatus further includes: a first determining module configured to determine whether the address of the second page is associated with the address and/or the indication information of the third page when the preset processing is called; wherein the not executing the preset processing and switching to the third page when the preset processing is invoked includes: if the address of the second page is associated with the address of the third page, or the address of the second page is not associated with the address of the third page but is associated with the indication information, or the address of the second page is associated with the address of the third page and the indication information, the preset process is not performed and the second page is switched to the third page.
With reference to the fifth implementation manner of the third aspect, in a sixth implementation manner of the third aspect, the apparatus further includes: a return module configured to return the first application from the second application if the address of the second page is not associated with the address of the third page nor with the indication information.
With reference to the third implementation manner of the third aspect, in a seventh implementation manner of the third aspect, the apparatus further includes: a second determination module configured to determine, for the second page that does not satisfy the preset condition, whether the second application is in a started state when the first input operation is received, in response to receiving the second input operation at the second page; a third switching module configured to switch from the second page to a fourth page of the second application if it is determined that the second application is in a started state when the first input operation is received.
With reference to the third implementation manner of the third aspect, in an eighth implementation manner of the third aspect, the preset condition includes that the second page inherits a base class of the second application program or that the second page calls a return processing logic in a software development kit.
With reference to the third aspect, in a ninth implementation manner of the third aspect, the apparatus further includes: a fourth switching module configured to switch from the third page to a fourth page of the second application in response to receiving a third input operation at the third page, the third input operation comprising a return operation.
In a fourth aspect, a page switching apparatus is provided in the embodiments of the present disclosure.
Specifically, the page switching apparatus includes:
a receiving module configured to receive operation information from a client, the operation information corresponding to a first input operation received at a first page of a first application program of the client;
a third determining module, configured to determine, according to at least the operation information, an address of a second page of a second application program, and determine an address and/or indication information of a third page of the second application program, the indication information indicating that a user needs to be left in the second application program;
a sending module configured to send an address of a second page of a second application to the client, and send an address of a third page of the second application and/or the indication information to the client, wherein the client switches from the first page to the second page of the second application in response to the first input operation according to the address of the second page, and the client switches from the second page to the third page in response to receiving a second input operation at the second page according to the address of the third page of the second application and/or the indication information, and the second input operation includes a return operation.
With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the apparatus further includes:
a second acquisition module configured to acquire at least one or more of: a start state of the second application when the first input operation is received, whether a user is logged in to the second application when the first input operation is received, behavior data of the user, a value parameter of the user, and a source of the user, wherein the value parameter of the user represents a contribution of the user to a revenue of a service provider of the second application, and the source of the user represents the channel guiding the user to the second application,
wherein the determining the address of the second page of the second application and the determining the address of the third page of the second application and/or the indicating information at least according to the operation information comprises determining the address of the second page of the second application and determining the address of the third page of the second application and/or the indicating information according to the operation information and the at least one item of data.
In a fifth aspect, the present disclosure provides an electronic device, including a memory and a processor, where the memory is configured to store one or more computer instructions, where the one or more computer instructions are executed by the processor to implement the method according to any one of the first aspect, the first implementation manner of the first aspect, to the ninth implementation manner, the second aspect, and the first implementation manner of the second aspect.
In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, implement the method according to any one of the first aspect, the first implementation manner of the first aspect to the ninth implementation manner, the second aspect, and the first implementation manner of the second aspect.
According to the technical scheme provided by the embodiment of the disclosure, when the user performs the return operation, the second page of the second application program is switched to the third page of the second application program instead of being switched back to the first application program, so that the user is left in the second application program, a large amount of user traffic is ensured not to be directly lost from the second application program, rich content or service in the second application program is conveniently displayed to the user, and the service provider is facilitated to realize efficient operation.
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 disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
fig. 1 shows a client-side flow diagram of a page switching method according to an embodiment of the present disclosure;
FIG. 2A shows a first page schematic of a page switching method according to an embodiment of the disclosure;
FIG. 2B illustrates a second page schematic of a page switching method according to an embodiment of the disclosure;
FIG. 2C illustrates a third page schematic of a page switching method according to an embodiment of the disclosure;
FIG. 2D illustrates a fourth page schematic of a page switching method according to an embodiment of the disclosure;
FIG. 3 shows a flow diagram of a page switching method according to an embodiment of the present disclosure;
FIG. 4 shows a flow diagram of another page switching method according to an embodiment of the present disclosure;
fig. 5 shows a block diagram of a page switching apparatus according to an embodiment of the present disclosure;
FIG. 6 shows a flow diagram of another page switching apparatus according to an embodiment of the present disclosure;
FIG. 7 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 8 shows a schematic block diagram of a computer system suitable for use in implementing a page switching method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In the present disclosure, if an operation of acquiring user information or user data or an operation of presenting user information or user data to others is involved, the operations are all operations authorized, confirmed by a user, or actively selected by the user.
As mentioned above, with the development of internet technology, when a user browses a page on a device such as a client, the user can jump from an application currently browsed to another application by clicking a link or a picture containing the link, so as to browse a corresponding page in the another application. However, after the user finishes browsing on the corresponding page of another application, if a return operation is performed, the user usually returns to the previously browsed application directly, which causes a large amount of user traffic to be lost directly from the another application, which is not beneficial to implementing richer content or service display, and prevents the service provider from implementing efficient operation.
In view of the foregoing drawbacks, embodiments of the present disclosure provide a solution that can switch from a first page of a first application to a second page of a second application in response to receiving a first input operation on the first page; switching from the second page to a third page of the second application in response to receiving a second input operation at the second page, the second input operation comprising a return operation.
According to the technical scheme, when the user performs the return operation, the second page of the second application program is switched to the third page of the second application program instead of being switched back to the first application program, so that the user is left in the second application program, a large amount of user traffic is ensured not to be directly lost from the second application program, rich content or service in the second application program is conveniently displayed to the user, and the service provider is facilitated to realize efficient operation.
Fig. 1 shows a client-side flow diagram of a page switching method according to an embodiment of the present disclosure.
As shown in fig. 1, when browsing a first page of a first application, a user first calls up a second application by clicking a link or a picture containing the link on the first page, where the link points to a page in the second application, then uploads a URL (Uniform Resource Locator) of the link and a cold start identifier or a hot start identifier of the second application to a server through an SDK (Software Development Kit) in the second application, receives an address of a second page (also called "landing page") of the second application from the server, and switches to the second page according to the address of the second page through a jump component of the second application.
According to an embodiment of the present disclosure, a warm-boot indicates that the second application is in a launched state when it is invoked, e.g., the user is previously using the second application, switching to use the first application in a state where the second application is not closed, in which case the second application is a warm-boot when the user switches to the second application by clicking a link in the first application. A cold start indicates that the second application is in an un-started state when it was invoked, e.g., the user was previously using the second application, using the first application after closing the second application, in which case the second application is a cold start when the user switches to the second application by clicking on a link in the first application.
And when the user clicks the return key or the return icon on the client side for the second page, jumping to a custom page in the second application program for the second page with the return redirection function, and when the user clicks the return key or the return icon for the custom page, returning to the home page of the second application program. And further judging whether the second application program is cold-started or hot-started for the second page without the return redirection function, if the second application program is hot-started, switching to the home page of the second application program, and if the second application program is cold-started, returning to the first application program.
Fig. 2A illustrates a first page schematic diagram of a page switching method according to an embodiment of the present disclosure.
Fig. 2B illustrates a second page schematic diagram of a page switching method according to an embodiment of the present disclosure.
Fig. 2C illustrates a third page schematic diagram of a page switching method according to an embodiment of the present disclosure.
Fig. 2D illustrates a fourth page schematic diagram of a page switching method according to an embodiment of the disclosure.
As shown in FIG. 2A, when the user clicks on a link or a picture containing a link (e.g., "XXX flagship store") placed in the first application by the service provider of the second application, the page switches to a second page of the second application shown in FIG. 2B, e.g., a landing page in the second application to which the link points.
As shown in fig. 2B, the page may be switched to the third page by clicking a return key or a return icon on the second page in the second application. According to an embodiment of the disclosure, the third page may be a custom page in the second application shown in fig. 2C, or may be a default page in the second application, such as a page of a currently ongoing promotional activity. According to the embodiment of the disclosure, the custom page may be a page determined according to a link in the first application program clicked by the user or a link in the picture containing the link, or may be a page determined according to the link and at least one or more of the following data: the starting state of the second application program when the first input operation is received, whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and the source of the user, wherein the value parameters of the user represent the contribution of the user to revenue of a service provider of the second application program, and the source of the user represents the channel for guiding the user to the second application program.
The page may then be switched to a fourth page in the second application, such as the first page of the second application, by clicking on the back icon in fig. 2C.
Fig. 3 shows a flow chart of a page switching method according to an embodiment of the present disclosure. The page switching method is suitable for the client. As shown in fig. 3, the page switching method includes the following steps S301 to S302:
in step S301, in response to receiving a first input operation on a first page of a first application, switching from the first page to a second page of a second application;
in step S302, in response to receiving a second input operation at the second page, switching from the second page to a third page of the second application, the second input operation including a return operation.
According to an embodiment of the present disclosure, the first input operation may be, for example, an operation of clicking a link or a picture containing the link, which is placed in the first application by a service provider of the second application. For example, when a user browses a first page of a first application program, the user can call a second application program by clicking a picture or a link containing the link, then process the link through an SDK in the second application program, for example, send the link to a server, receive an address of a second page of the second application program from the server, and further switch to the second page of the second application program through a jump component of the second application program according to the address of the second page.
For example, as shown in fig. 2A and 2B, by clicking on the "XXX flagship store" link in fig. 2A, the page may be switched to a second page of the second application shown in fig. 2B.
According to an embodiment of the present disclosure, the second input operation includes a return operation. For example, as shown in FIG. 2B, the return operation may be performed by clicking on the return key of the client or clicking on a "back" icon in the second application.
According to an embodiment of the present disclosure, the third page of the second application may be a default page in the second application, for example, the third page may be a top page of the second application or a page of a currently ongoing promotional activity. Or the third page may also be a custom page in the second application, such as a recommended goods page related to the second page.
According to the technical scheme provided by the embodiment of the disclosure, the user does not return to the first application program when performing the return operation, but switches to the third page of the second application program, so that the user traffic which is lost due to direct exit is reserved in the second application program, and rich content or service in the second application program is displayed to the user, thereby being beneficial to realizing efficient operation of the service provider of the second application program.
According to an embodiment of the present disclosure, the method further comprises: acquiring at least one or more of the following information: the address of the second page, the address of the third page, and indication information, wherein: the indication information indicates that the user needs to be left in the second application; the switching from the first page to a second page of a second application comprises switching from the first page to a second page of a second application according to an address of the second page; the switching from the second page to the third page of the second application program includes switching from the second page to the third page of the second application program according to the address of the third page and/or the indication information.
According to the embodiment of the disclosure, the second application jumps to the second page according to the address of the second page, and if the second page is associated with indication information (the indication information indicates that the user needs to be left in the second application), when the user clicks a return key or returns an icon on the second page, the third page of the second application is switched to.
According to an embodiment of the present disclosure, the at least one or more items of information are determined according to operation information corresponding to the first input operation, or according to the operation information and at least one or more items of data of: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program.
According to an embodiment of the present disclosure, the first input operation may be, for example, an operation of clicking a link dropped in the first application by a service provider of the second application or a picture containing the link, and the operation information may include the clicked link or a link included in the clicked picture.
According to an embodiment of the present disclosure, the start state of the second application may include: the second application may or may not be launched. And if the starting state of the second application program is started when the first input operation is received, the second application program is called from the first application program to be hot-started, and if the starting state of the second application program is not started when the first input operation is received, the second application program is called from the first application program to be cold-started.
According to an embodiment of the present disclosure, the behavior data of the user may include, for example, any one or more of: a duration, a frequency of using the second application, a time spent on a different page, information of goods added to the shopping cart, information of goods collected, search keywords, etc.
According to an embodiment of the present disclosure, the value parameter of the user may represent, for example, a contribution of the user to a revenue of the service provider of the second application, for example, a value representing a value of the user determined by one or more of a consumption frequency of the user, a consumption amount, a last consumption time, a frequency of forwarding pages, and a time of last forwarding pages.
According to an embodiment of the present disclosure, the source of the user represents a channel guiding the user to the second application, and the channel may be, for example, a first application or a first page of the first application or content associated with operation information (for example, a link clicked by the user or a link included in a clicked picture) corresponding to a first input operation performed by the user in the first page of the first application. For example, assuming that the channel guiding the user to the second application is a makeup application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to makeup. For example, assuming that the channel guiding the user to the second application is a fitness news page in a news-like application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to a fitness product. For example, assuming that the channel guiding the user to the second application is a rabbit video in a pet video page in a short video application, one or more of an address of the second page, an address of the third page, and indication information may be determined as information of a page related to rabbit food.
According to the embodiment of the disclosure, at least one or more of the following information may be determined according to operation information (for example, a link clicked by a user or a link included in a clicked picture) corresponding to the first input operation: the address of the second page, the address of the third page and the indication information.
According to the embodiment of the disclosure, the client sends the operation information to the server, and the server determines the address of the second page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the address of the second page to the client, so that the client can switch to the corresponding second page when the user clicks the link or the picture containing the link released by the service provider of the second application in the first application. The address of the second page is determined according to the operation information and the one or more items of data, so that the second page can be determined more flexibly and pertinently, the matching degree of the second page and the user requirements or interests is improved, and the probability that the user continues to remain in the second application program and/or contributes revenue to the service provider of the second application program is increased.
According to the embodiment of the disclosure, the client sends the operation information to the server, and the server determines the address of the third page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the address of the third page to the client, so that the client can switch to the corresponding third page when the user clicks a return key or returns an icon to the second page. The address of the third page is determined according to the operation information and the one or more items of data, so that the third page can be determined more flexibly and pertinently, the matching degree of the third page and the user requirements or interests is improved, and the probability that the user stays in the second application program continuously and/or contributes revenue to the service provider of the second application program is increased.
According to the embodiment of the disclosure, a client sends operation information to a server, and the server determines the indication information according to the operation information or according to the operation information and at least one or more of the following items of data, wherein the data includes: the starting state of the second application program when the first input operation is received, whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and the source of the user, wherein the value parameters of the user represent the contribution of the user to revenue of a service provider of the second application program, and the source of the user represents the channel for guiding the user to the second application program. Then, the server returns the indication information to the client, so that the client can determine whether to switch to a corresponding third page when the user clicks a return key or a return icon on the second page. By determining the indication information based on the operation information and the one or more items of data, it is possible to more flexibly and pointedly determine whether the user needs to be left in the second application, to leave the user who is more interested in the second application or is more likely to contribute revenue to the service provider of the second application in the second application, to reduce the traffic load of the service provider of the second application, and to optimize the conversion rate from traffic to revenue.
According to an embodiment of the present disclosure, said switching from the second page to a third page of the second application in response to receiving a second input operation at the second page comprises: for the second page meeting preset conditions, responding to the second input operation received on the second page, and calling preset processing, wherein the preset processing is used for returning to the first application program from the second application program; when the preset processing is called, the preset processing is not executed and the second page is switched to the third page.
According to an embodiment of the present disclosure, the preset condition includes that the second page inherits a base class of the second application program or that the second page calls a return processing logic in a software development kit.
The second page satisfying the preset condition includes: pages that inherit a base class (BaseActivity); or a page in a Software Development Kit (SDK) that calls return processing logic while not inheriting the base class.
According to the embodiment of the disclosure, the preset processing includes a page destruction method of a designated base class or a return processing logic in a software development toolkit called by the second page, and the designated base class is a base class inherited by the second page.
When the client calls and executes the preset processing, the user exits the second application program, for example, directly switches back to the first page of the first application program, or switches to the desktop of the client.
When the second page meeting the preset condition is a page inheriting BaseActivity, the preset process called by the client may be a page destruction method (OnDestroy) for triggering the inherited BaseActivity page; when the second page meeting the preset condition is a page calling the return processing logic of the SDK, the preset processing called by the client may be the return processing logic in the software development kit. If the user terminal calls and executes the preset processing, the user can directly quit the second application program.
According to the embodiment of the disclosure, for the second page inheriting the BaseActivity, the condition that the page destroying method of the BaseActivity is called can be monitored, and when the page destroying method of the BaseActivity is called, the page destroying method is not executed, but is switched to the third page. For the second page calling the return processing logic of the SDK, the condition that the return processing logic of the SDK is called can be monitored, and when the return processing logic of the SDK is called, the return processing logic is not executed, and the return processing logic is switched to a third page.
According to the embodiment of the disclosure, return redirection can be conveniently realized by monitoring the condition that the page destruction method of the BaseActivity inherited by the second page or the return processing logic of the SDK called by the second page is called, and corresponding return redirection codes do not need to be developed respectively for different second pages, so that the program complexity and the development and test difficulty are remarkably reduced, and the development and test efficiency is improved.
According to the embodiment of the disclosure, a corresponding page code may also be developed for a second page that needs to be switched to a third page when the user performs a return operation, so that a second page that does not inherit BaseActivity and does not call the return processing logic of the SDK can also be switched to the third page when the user performs a return operation.
According to an embodiment of the present disclosure, the method further comprises: when the preset processing is called, determining whether the address of the second page is associated with the address of the third page and/or the indication information; wherein the performing the preset processing and switching to the third page when the preset processing is called comprises: if the address of the second page is associated with the address of the third page, or the address of the second page is not associated with the address of the third page but is associated with the indication information, or the address of the second page is associated with the address of the third page and the indication information, the preset processing is not performed and the second page is switched to the third page.
According to the embodiment of the present disclosure, when the address of the second page is associated with the address of the third page, for example, after the client transmits the operation information to the server, if the address of the second page and the address of the third page (for example, the address afcBackURL of the third page) are included in the returned URL received from the server, it is considered that the address of the second page is associated with the address of the third page, and at this time, it is considered that the third page is to be switched to when the return key or the return icon is clicked on the second page, and then when the preset process is called, the preset process is not executed, but the third page is directly switched according to the address of the returned third page, thereby leaving the user in the second application.
According to the embodiment of the present disclosure, if the address of the second page is not associated with the address of the third page but is associated with the indication information, for example, after the client sends the operation information to the server, if the returned URL received from the server includes the address of the second page and the indication information (for example, the parameter isneedledhome is 0) but does not include the address of the third page, at this time, it is considered that the third page is to be switched to when the return key is clicked on the second page or the icon is returned, so that the user is left in the second application, and the third page may be a default page set in advance.
According to the embodiment of the present disclosure, when the address of the second page is associated with the address of the third page and the indication information, for example, after the client transmits the operation information to the server, if the returned URL received from the server includes the address of the second page and the address of the third page (for example, the address afcBackURL of the third page) and the indication information (for example, a parameter isNeedHome ═ 0) indicating that the user needs to be left in the second application), at this time, it is considered that the third page is to be switched to when the return key or the icon is clicked on the second page, and then when the preset process is called, the preset process is not performed, but the third page is directly switched to according to the address of the returned third page, thereby leaving the user in the second application.
According to an embodiment of the present disclosure, the method further comprises: and if the address of the second page is not associated with the address of the third page and is not associated with the indication information, returning the first application program from the second application program.
According to the embodiment of the disclosure, if the address of the second page is not associated with the address of the third page and is not associated with the indication information, for example, after the client sends the operation information to the server, if the returned URL received from the server contains the address of the second page but does not contain the indication information and does not contain the address of the third page, the first application program is returned from the second application program.
According to an embodiment of the present disclosure, the method further comprises: for the second page which does not meet the preset condition, determining whether the second application program is in a started state when the first input operation is received in response to receiving the second input operation on the second page; and if the second application program is determined to be in the started state when the first input operation is received, switching from the second page to a fourth page of the second application program.
For example, as shown in fig. 1, for a second page that does not satisfy the preset condition, for example, a page that neither inherits a base class (BaseActivity) nor invokes a return processing logic in a Software Development Kit (SDK), it is determined whether the second application program is cold-started, and if the second application program is cold-started, the page is switched to the first page; on the contrary, if the second application is hot-started, it is indicated that the second application is always running in the background, and at this time, the page may be switched to a fourth page (for example, the home page of the second application), and the user is still left in the second application.
According to an embodiment of the present disclosure, the method further comprises: switching from the third page to a fourth page of the second application in response to receiving a third input operation at the third page, the third input operation comprising a return operation. For example, as shown in fig. 2C and 2D, by clicking on the return icon in fig. 2C, it is possible to return to the home page of the second application shown in fig. 2D.
Fig. 4 shows a flowchart of another page switching method according to an embodiment of the present disclosure. The page switching method is suitable for the server side. As shown in fig. 4, the page switching method includes the following steps S401 to S403:
receiving operation information from a client, the operation information corresponding to a first input operation received at a first page of a first application of the client, in step S401;
in step S402, determining an address of a second page of a second application program and determining an address and/or indication information of a third page of the second application program, the indication information indicating that a user needs to be left in the second application program, based on at least the operation information;
in step S403, an address of a second page of a second application is sent to the client, and an address of a third page of the second application and/or the indication information are sent to the client, where the client switches from the first page to the second page of the second application in response to the first input operation according to the address of the second page, and the client switches from the second page to the third page in response to receiving a second input operation at the second page according to the address of the third page of the second application and/or the indication information, where the second input operation includes a return operation.
According to an embodiment of the present disclosure, the first input operation may be, for example, an operation of clicking a link dropped in the first application by a service provider of the second application or a picture containing the link, and the operation information may include the clicked link or a link included in the clicked picture. For example, when browsing a first page of a first application, a user may invoke a second application by clicking a picture or a link containing the link, and then process the link through an SDK in the second application, for example, send the link to a server, where the server determines an address of a second page of the second application and determines an address and/or indication information of a third page of the second application at least according to the link.
Then, the server sends the address of the second page of the second application program to the client, and sends the address and/or the indication information of the third page of the second application program to the client. According to an embodiment of the present disclosure, the server may include the address of the second page in the URL returned to the client, and include the address and/or the indication information of the third page of the second application.
The client may jump to a second page of the second application according to the address of the second page and switch from the second page to a third page of the second application in response to receiving a second input operation at the second page when the URL contains an address and/or indication information of the third page.
According to the technical scheme provided by the embodiment of the disclosure, the user does not return to the first application program when performing the return operation, but switches to the third page of the second application program, so that the user traffic which is lost due to direct exit is reserved in the second application program, rich content or service in the second application program is displayed to the user, and the service provider of the second application program is facilitated to realize efficient operation.
According to an embodiment of the present disclosure, the method further comprises: acquiring at least one or more of the following data: a start state of the second application upon receiving the first input operation, whether a user is logged into the second application upon receiving the first input operation, behavior data of the user, a value parameter of the user, a source of the user, wherein the value parameter of the user represents a contribution of the user to a revenue of a service provider of the second application, and the source of the user represents a channel guiding the user to the second application, wherein the determining the address of the second page of the second application and the determining the address and/or the indication information of the third page of the second application at least according to the operation information comprises determining the address of the second page of the second application according to the operation information and the at least one or more items of data, and determining an address and/or indication information of a third page of the second application.
According to an embodiment of the present disclosure, the start state of the second application may include: the second application may or may not be launched. And if the starting state of the second application program is started when the first input operation is received, the second application program is called from the first application program to be hot-started, and if the starting state of the second application program is not started when the first input operation is received, the second application program is called from the first application program to be cold-started.
According to an embodiment of the present disclosure, the behavior data of the user may include, for example, any one or more of: a duration, a frequency of using the second application, a time spent on a different page, information of goods added to the shopping cart, information of goods collected, search keywords, etc.
According to an embodiment of the present disclosure, the value parameter of the user may represent, for example, a contribution of the user to a revenue of the service provider of the second application, for example, a value representing a value of the user determined by one or more of a consumption frequency of the user, a consumption amount, a last consumption time, a frequency of forwarding pages, and a time of last forwarding pages.
According to an embodiment of the present disclosure, the source of the user represents a channel guiding the user to the second application, and the channel may be, for example, a first application or a first page of the first application or content associated with operation information (for example, a link clicked by the user or a link included in a clicked picture) corresponding to a first input operation performed by the user in the first page of the first application. For example, assuming that the channel guiding the user to the second application is a makeup application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to makeup. For example, assuming that the channel guiding the user to the second application is a fitness news page in a news-like application, one or more of an address of the second page, an address of the third page, and indication information may be determined as information of a page related to fitness equipment. For example, assuming that the channel guiding the user to the second application is a rabbit video in a pet video page in a short video application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to rabbit food.
According to the embodiment of the disclosure, the client sends the operation information to the server, and the server determines the address of the second page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the starting state of the second application program when the first input operation is received, whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and the source of the user, wherein the value parameters of the user represent the contribution of the user to revenue of a service provider of the second application program, and the source of the user represents the channel for guiding the user to the second application program. Then, the server returns the address of the second page to the client, so that the client can switch to the corresponding second page when the user clicks the link or the picture containing the link released by the service provider of the second application in the first application. The address of the second page is determined according to the operation information and the one or more items of data, so that the second page can be determined more flexibly and pertinently, the matching degree of the second page and the user requirements or interests is improved, and the probability that the user continues to remain in the second application program and/or contributes revenue to the service provider of the second application program is increased.
According to the embodiment of the disclosure, the client sends the operation information to the server, and the server determines the address of the third page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the address of the third page to the client, so that the client can switch to the corresponding third page when the user clicks a return key or returns an icon to the second page. The address of the third page is determined according to the operation information and the one or more items of data, so that the third page can be determined more flexibly and pertinently, the matching degree of the third page and the user demand or interest is improved, and the probability that the user continues to remain in the second application program and/or contributes to revenue for the service provider of the second application program is increased.
According to the embodiment of the disclosure, a client sends operation information to a server, and the server determines indication information according to the operation information or according to the operation information and at least one or more of the following items of data, wherein the data includes: the starting state of the second application program when the first input operation is received, whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and the source of the user, wherein the value parameters of the user represent the contribution of the user to revenue of a service provider of the second application program, and the source of the user represents the channel for guiding the user to the second application program. Then, the server returns the indication information to the client, so that the client can determine whether to switch to the corresponding third page when the user clicks a return key or a return icon on the second page. By determining the indication information based on the operation information and the one or more items of data, it is possible to more flexibly and pointedly determine whether the user needs to be left in the second application, to leave the user who is more interested in the second application or is more likely to contribute revenue to the service provider of the second application in the second application, to reduce the traffic load of the service provider of the second application, and to optimize the conversion rate from traffic to revenue.
Fig. 5 shows a block diagram of a page switching apparatus according to an embodiment of the present disclosure. The page switching method may be implemented as a client. The apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of both.
As shown in fig. 5, the page switching apparatus 500 includes a first switching module 510 and a second switching module 520.
The first switching module 510 configured to switch from a first page of a first application to a second page of a second application in response to receiving a first input operation at the first page;
the second switching module 520 is configured to switch from the second page to a third page of the second application in response to receiving a second input operation at the second page, the second input operation including a return operation.
According to an embodiment of the present disclosure, the first input operation may be, for example, an operation of clicking a link or a picture containing the link, which is placed in the first application by a service provider of the second application. For example, when a user browses a first page of a first application program, the user can call a second application program by clicking a picture or a link containing the link, then process the link through an SDK in the second application program, for example, send the link to a server, receive an address of a second page of the second application program from the server, and further switch to the second page of the second application program through a jump component of the second application program according to the address of the second page.
For example, as shown in fig. 2A and 2B, by clicking on the "XXX flagship store" link in fig. 2A, the page may be switched to a second page of the second application shown in fig. 2B.
According to an embodiment of the present disclosure, the second input operation includes a return operation. For example, as shown in FIG. 2B, the return operation may be performed by clicking on the return key of the client or clicking on a "back" icon in the second application.
According to an embodiment of the present disclosure, the third page of the second application may be a default page in the second application. For example, the third page may be the first page of the second application or a page of a currently ongoing promotional activity. Alternatively, the third page may also be a custom page in the second application, such as a recommended goods page related to the second page.
According to the technical scheme provided by the embodiment of the disclosure, the user does not return to the first application program when performing the return operation, but switches to the third page of the second application program, so that the user traffic which is lost due to direct exit is reserved in the second application program, and rich content or service in the second application program is displayed to the user, thereby being beneficial to realizing efficient operation of the service provider of the second application program.
According to an embodiment of the present disclosure, as shown in fig. 5, the apparatus 500 further includes: a first obtaining module 530 configured to obtain at least one or more of the following information: the address of the second page, the address of the third page, and indication information, wherein: the indication information indicates that the user needs to be left in the second application; the switching from the first page to a second page of a second application comprises switching from the first page to a second page of a second application according to an address of the second page; the switching from the second page to the third page of the second application program includes switching from the second page to the third page of the second application program according to the address of the third page and/or the indication information.
According to the embodiment of the disclosure, the second application jumps to the second page according to the address of the second page, and if the second page is associated with the indication information, when the user clicks a return key or returns an icon to the second page, the third page of the second application is switched to.
According to an embodiment of the present disclosure, the at least one or more items of information are determined according to operation information corresponding to the first input operation, or according to the operation information and at least one or more items of data of: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program.
According to an embodiment of the present disclosure, the first input operation may be, for example, an operation of clicking a link dropped in the first application by a service provider of the second application or a picture containing the link, and the operation information may include the clicked link or a link included in the clicked picture.
According to an embodiment of the present disclosure, the start state of the second application may include: the second application may or may not be launched. And if the starting state of the second application program is started when the first input operation is received, the second application program is called from the first application program to be hot-started, and if the starting state of the second application program is not started when the first input operation is received, the second application program is called from the first application program to be cold-started.
According to an embodiment of the present disclosure, the behavior data of the user may include, for example, any one or more of: a duration, a frequency of using the second application, a time spent on a different page, information of goods added to the shopping cart, information of goods collected, search keywords, etc.
According to an embodiment of the present disclosure, the value parameter of the user may represent, for example, a contribution of the user to revenue of the service provider of the second application, and may be, for example, a numerical value representing a value of the user determined by one or more of a consumption frequency of the user, a consumption amount, a last consumption time, a frequency of forwarding pages, and a time of last forwarding pages.
According to an embodiment of the present disclosure, the source of the user represents a channel guiding the user to the second application, and the channel may be, for example, a first application or a first page of the first application or content associated with operation information (for example, a link clicked by the user or a link included in a clicked picture) corresponding to a first input operation performed by the user in the first page of the first application. For example, assuming that the channel guiding the user to the second application is a makeup application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to makeup. For example, assuming that the channel guiding the user to the second application is a fitness news page in a news-like application, one or more of an address of the second page, an address of the third page, and indication information may be determined as information of a page related to fitness equipment. For example, assuming that the channel guiding the user to the second application is a rabbit video in a pet video page in a short video application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to rabbit food.
According to the embodiment of the disclosure, at least one or more of the following information may be determined according to operation information (for example, a link clicked by a user or a link included in a clicked picture) corresponding to the first input operation: the address of the second page, the address of the third page and indication information.
According to an embodiment of the present disclosure, the client sends the operation information to the server, and the server determines the address of the second page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the address of the second page to the client, so that the client can switch to the corresponding second page when the user clicks the link or the picture containing the link released by the service provider of the second application in the first application. The address of the second page is determined according to the operation information and the one or more items of data, so that the second page can be determined more flexibly and pertinently, the matching degree of the second page and the user demand or interest is improved, and the probability that the user continues to remain in the second application program and/or contributes to revenue for the service provider of the second application program is increased.
According to another embodiment of the present disclosure, the client sends the operation information to the server, and the server determines an address of the third page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the address of the third page to the client, so that the client can switch to the corresponding third page when the user clicks a return key or returns an icon to the second page. The address of the third page is determined according to the operation information and the one or more items of data, so that the third page can be determined more flexibly and pertinently, the matching degree of the third page and the user demand or interest is improved, and the probability that the user continues to remain in the second application program and/or contributes to revenue for the service provider of the second application program is increased.
According to another embodiment of the present disclosure, the client sends the operation information to the server, and the server determines the indication information according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the indication information to the client, so that the client can determine whether to switch to a corresponding third page when the user clicks a return key or a return icon on the second page. By determining the indication information based on the operation information and the one or more items of data, it is possible to more flexibly and pointedly determine whether the user needs to be left in the second application, to leave the user who is more interested in the second application or is more likely to contribute revenue to the service provider of the second application in the second application, to reduce the traffic load of the service provider of the second application, and to optimize the conversion rate from traffic to revenue.
According to an embodiment of the present disclosure, said switching from the second page to a third page of the second application in response to receiving a second input operation at the second page comprises: for the second page meeting preset conditions, responding to the second input operation received on the second page, and calling preset processing, wherein the preset processing is used for returning to the first application program from the second application program; when the preset processing is called, the preset processing is not executed and the second page is switched to the third page.
According to an embodiment of the present disclosure, the preset condition includes that the second page inherits a base class of the second application program or that the second page calls a return processing logic in a software development kit.
The second page satisfying the preset condition includes: pages that inherit a base class (BaseActivity); or a page in a Software Development Kit (SDK) that calls return processing logic while not inheriting the base class.
According to the embodiment of the disclosure, the preset processing includes a page destruction method of a designated base class or a return processing logic in a software development toolkit called by the second page, and the designated base class is a base class inherited by the second page.
When the client calls and executes the preset processing, the user exits the second application program, for example, directly switches back to the first page of the first application program, or switches to the desktop of the client.
When the second page meeting the preset condition is a page inheriting the BaseActivity, the preset processing called by the client may be a page destruction method (OnDestroy) for triggering the page inheriting the BaseActivity; when the second page meeting the preset condition is a page calling the return processing logic of the SDK, the preset processing called by the client may be the return processing logic in the software development kit. If the user terminal calls and executes the preset processing, the user can directly quit the second application program.
According to the embodiment of the disclosure, for the second page inheriting the base activity, the condition that the page destruction method of the base activity is called can be monitored, and when the page destruction method of the base activity is called, the page destruction method is not executed, but is switched to the third page. For the second page calling the return processing logic of the SDK, the condition that the return processing logic of the SDK is called can be monitored, and when the return processing logic of the SDK is called, the return processing logic is not executed, and the return processing logic is switched to a third page.
According to the embodiment of the disclosure, return redirection can be conveniently realized by monitoring the condition that the page destruction method of the BaseActivity inherited by the second page or the return processing logic of the SDK called by the second page is called, and corresponding return redirection codes do not need to be developed respectively for different second pages, so that the program complexity and the development and test difficulty are remarkably reduced, and the development and test efficiency is improved.
According to the embodiment of the disclosure, a corresponding page code can also be developed for the second page which needs to be switched to the third page when the user performs the return operation, so that the second page which does not inherit the BaseActivity and does not call the return processing logic of the SDK can also be switched to the third page when the user performs the return operation.
According to an embodiment of the present disclosure, as shown in fig. 5, the apparatus 500 further includes: a first determining module 540 configured to determine whether the address of the second page is associated with the address and/or the indication information of the third page when the preset process is called; wherein the performing the preset processing and switching to the third page when the preset processing is called comprises: if the address of the second page is associated with the address of the third page, or the address of the second page is not associated with the address of the third page but is associated with the indication information, or the address of the second page is associated with the address of the third page and the indication information, the preset process is not performed and the second page is switched to the third page.
According to the embodiment of the present disclosure, when the address of the second page is associated with the address of the third page, for example, after the client transmits the operation information to the server, if the address of the second page and the address of the third page (for example, the address afcBackURL of the third page) are included in the returned URL received from the server, it is considered that the address of the second page is associated with the address of the third page, and at this time, it is considered that the third page is to be switched to when the return key or the return icon is clicked on the second page, and then when the preset process is called, the preset process is not executed, but the third page is directly switched according to the address of the returned third page, thereby leaving the user in the second application.
According to the embodiment of the present disclosure, if the address of the second page is not associated with the address of the third page but is associated with the indication information, for example, after the client sends the operation information to the server, if the returned URL received from the server includes the address of the second page and the indication information (for example, the parameter isneedledhome is 0) but does not include the address of the third page, at this time, it is considered that the third page is to be switched to when the return key or the icon is clicked on the second page, so that the user is left in the second application, and the third page may be a default page set in advance.
According to the embodiment of the present disclosure, when the address of the second page is associated with the address of the third page and the indication information, for example, after the client transmits the operation information to the server, if the URL returned from the server contains the address of the second page and the address of the third page (for example, the address afcBackURL of the third page) and the indication information (for example, the parameter isneedledhome ═ 0), at this time, it is considered that the third page is to be switched to when the return key or the return icon is clicked on the second page, and then when the preset process is called, the preset process is not executed, but the third page is directly switched to according to the address of the returned third page, thereby leaving the user in the second application.
According to an embodiment of the present disclosure, as shown in fig. 5, the apparatus 500 further includes: a return module 550 configured to return the first application from the second application if the address of the second page is not associated with the address of the third page and is not associated with the indication information.
According to the embodiment of the disclosure, if the address of the second page is not associated with the address of the third page and is not associated with the indication information, for example, after the client sends the operation information to the server, if the returned URL received from the server contains the address of the second page but does not contain the indication information and does not contain the address of the third page, the first application is returned from the second application.
According to an embodiment of the present disclosure, as shown in fig. 5, the apparatus 500 further includes: a second determining module 560 configured to determine, for the second page that does not satisfy the preset condition, whether the second application is in a started state when the first input operation is received, in response to receiving the second input operation at the second page; a third switching module 570 configured to switch from the second page to a fourth page of the second application if it is determined that the second application is in the started state when the first input operation is received.
For example, as shown in fig. 1, for a second page that does not satisfy the preset condition, for example, a page that neither inherits a base class (BaseActivity) nor invokes a return processing logic in a Software Development Kit (SDK), it is determined whether the second application program is cold-started, and if the second application program is cold-started, the page is switched to the first page; on the contrary, if the second application is hot-started, it is indicated that the second application is always running in the background, and at this time, the page may be switched to a fourth page (for example, the home page of the second application), and the user is still left in the second application.
According to an embodiment of the present disclosure, as shown in fig. 5, the apparatus 500 further includes: a fourth switching module 580 configured to switch from the third page to a fourth page of the second application in response to receiving a third input operation at the third page, the third input operation comprising a return operation. For example, as shown in fig. 2C and 2D, by clicking on the return icon in fig. 2C, it is possible to return to the home page of the second application shown in fig. 2D.
Fig. 6 shows a flowchart of another page switching apparatus according to an embodiment of the present disclosure. The page switching device can be realized as a server side. As shown in fig. 6, the page switching apparatus 600 includes a receiving module 610, a third determining module 620 and a transmitting module 630.
The receiving module 610 is configured to receive operation information from a client, wherein the operation information corresponds to a first input operation received at a first page of a first application program of the client;
the third determining module 620 is configured to determine, according to at least the operation information, an address of a second page of a second application program, and determine an address and/or indication information of a third page of the second application program, where the indication information indicates that a user needs to be left in the second application program;
the sending module 630 is configured to send an address of a second page of a second application to the client, and send an address of a third page of the second application and/or the indication information to the client, where the client switches from the first page to the second page of the second application in response to the first input operation according to the address of the second page, and the client switches from the second page to the third page in response to receiving a second input operation at the second page according to the address of the third page of the second application and/or the indication information, where the second input operation includes a return operation.
According to an embodiment of the present disclosure, the first input operation may be, for example, an operation of clicking a link dropped in the first application by a service provider of the second application or a picture containing the link, and the operation information may include the clicked link or a link included in the clicked picture. For example, when browsing a first page of a first application, a user may invoke a second application by clicking a picture or a link containing the link, and then process the link through an SDK in the second application, for example, send the link to a server, where the server determines an address of a second page of the second application and determines an address and/or indication information of a third page of the second application at least according to the link.
Then, the server sends the address of the second page of the second application program to the client, and sends the address of the third page of the second application program and/or the indication information to the client. According to an embodiment of the present disclosure, the server may include the address of the second page in the URL returned to the client, and include the address of the third page of the second application and/or the indication information.
The client may jump to a second page of the second application according to the address of the second page and switch from the second page to a third page of the second application in response to receiving a second input operation at the second page when the URL contains an address and/or indication information of the third page.
According to the technical scheme provided by the embodiment of the disclosure, the user does not return to the first application program when performing the return operation, but switches to the third page of the second application program, so that the user traffic which is lost due to direct exit is retained in the second application program, and rich content or service in the second application program is displayed to the user, thereby being beneficial to realizing efficient operation of the service provider of the second application program.
According to an embodiment of the present disclosure, as shown in fig. 6, the apparatus 600 further includes: a second obtaining module 640 configured to obtain at least one or more of the following data: a start state of the second application upon receiving the first input operation, whether a user is logged in to the second application upon receiving the first input operation, behavior data of the user, a value parameter of the user, a source of the user, wherein the value parameter of the user represents a contribution of the user to a revenue of a service provider of the second application, and the source of the user represents a channel guiding the user to the second application, wherein the determining the address of the second page of the second application and the determining the address of the third page of the second application and/or the indicating information at least according to the operation information comprises determining the address of the second page of the second application according to the operation information and the at least one or more items of data, and determining an address of a third page of the second application and/or the indication information.
According to an embodiment of the present disclosure, the start state of the second application may include: the second application may or may not be launched. And if the starting state of the second application program is started when the first input operation is received, the second application program is called from the first application program to be hot-started, and if the starting state of the second application program is not started when the first input operation is received, the second application program is called from the first application program to be cold-started.
According to an embodiment of the present disclosure, the behavior data of the user may include, for example, any one or more of: a duration, a frequency of using the second application, a time spent on a different page, information of goods added to the shopping cart, information of goods collected, search keywords, etc.
According to an embodiment of the present disclosure, the value parameter of the user may represent, for example, a contribution of the user to revenue of the service provider of the second application, and may be, for example, a numerical value representing a value of the user determined by one or more of a consumption frequency of the user, a consumption amount, a last consumption time, a frequency of forwarding pages, and a time of last forwarding pages.
According to an embodiment of the present disclosure, the source of the user represents a channel guiding the user to the second application, and the channel may be, for example, a first application or a first page of the first application or content associated with operation information (for example, a link clicked by the user or a link included in a clicked picture) corresponding to a first input operation performed by the user in the first page of the first application. For example, assuming that the channel guiding the user to the second application is a makeup application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to makeup. For example, assuming that the channel guiding the user to the second application is a fitness news page in a news-like application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to a fitness product. For example, assuming that the channel guiding the user to the second application is a rabbit video in a pet video page in a short video application, one or more of the address of the second page, the address of the third page, and the indication information may be determined as information of a page related to rabbit food.
According to the embodiment of the disclosure, the client sends the operation information to the server, and the server determines the address of the second page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the address of the second page to the client, so that the client can switch to the corresponding second page when the user clicks the link or the picture containing the link released by the service provider of the second application program in the first application program. The address of the second page is determined according to the operation information and the one or more items of data, so that the second page can be determined more flexibly and pertinently, the matching degree of the second page and the user demand or interest is improved, and the probability that the user continues to remain in the second application program and/or contributes to revenue for the service provider of the second application program is increased.
According to the embodiment of the disclosure, the client sends the operation information to the server, and the server determines the address of the third page according to the operation information or according to the operation information and at least one or more of the following data, where the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the address of the third page to the client, so that the client can switch to the corresponding third page when the user clicks a return key or returns an icon to the second page. The address of the third page is determined according to the operation information and the one or more items of data, so that the third page can be determined more flexibly and pertinently, the matching degree of the third page and the user requirements or interests is improved, and the probability that the user stays in the second application program continuously and/or contributes revenue to the service provider of the second application program is increased.
According to the embodiment of the disclosure, a client sends operation information to a server, and the server determines indication information according to the operation information or according to the operation information and at least one or more of the following items of data, wherein the data includes: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program. Then, the server returns the indication information to the client, so that the client can determine whether to switch to a corresponding third page when the user clicks a return key or a return icon on the second page. By determining the indication information based on the operation information and the one or more items of data, it is possible to more flexibly and pointedly determine whether the user needs to be left in the second application, to leave the user who is more interested in the second application or is more likely to contribute revenue to the service provider of the second application in the second application, to reduce the traffic load of the service provider of the second application, and to optimize the conversion rate from traffic to revenue.
The present disclosure also discloses an electronic device, and fig. 7 shows a block diagram of the electronic device according to an embodiment of the present disclosure.
As shown in fig. 7, the electronic device 700 comprises a memory 701 and a processor 702, wherein the memory 701 is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 702 to implement a method according to an embodiment of the present disclosure.
Switching from a first page of a first application to a second page of a second application in response to receiving a first input operation at the first page;
switching from the second page to a third page of the second application in response to receiving a second input operation at the second page, the second input operation comprising a return operation.
According to an embodiment of the present disclosure, the method further comprises: acquiring at least one or more of the following information: the address of the second page, the address of the third page, and indication information, wherein: the indication information indicates that the user needs to be left in the second application; the switching from the first page to a second page of a second application comprises switching from the first page to a second page of a second application according to an address of the second page; the switching from the second page to the third page of the second application program includes switching from the second page to the third page of the second application program according to the address of the third page and/or the indication information.
According to the embodiment of the disclosure, the at least one or more items of information are determined according to the operation information corresponding to the first input operation, or according to the operation information and at least one or more items of data of: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program.
According to an embodiment of the present disclosure, the switching from the second page to a third page of the second application in response to receiving a second input operation at the second page includes: for the second page meeting preset conditions, responding to the second input operation received on the second page, and calling preset processing, wherein the preset processing is used for returning to the first application program from the second application program; when the preset processing is called, the preset processing is not executed and the second page is switched to the third page.
According to the embodiment of the disclosure, the preset processing includes a page destruction method of a designated base class or a return processing logic in a software development toolkit called by the second page, and the designated base class is a base class inherited by the second page.
According to an embodiment of the present disclosure, the method further comprises: when the preset processing is called, determining whether the address of the second page is associated with the address of the third page and/or the indication information; wherein the not executing the preset processing and switching to the third page when the preset processing is invoked includes: if the address of the second page is associated with the address of the third page, or the address of the second page is not associated with the address of the third page but is associated with the indication information, or the address of the second page is associated with the address of the third page and the indication information, the preset processing is not performed and the second page is switched to the third page.
According to an embodiment of the present disclosure, the method further comprises: and returning the first application program from the second application program if the address of the second page is not associated with the address of the third page and is not associated with the indication information.
According to an embodiment of the present disclosure, the method further comprises: for the second page which does not meet the preset condition, in response to receiving the second input operation on the second page, determining whether the second application program is in a started state when the first input operation is received; and if the second application program is determined to be in the started state when the first input operation is received, switching from the second page to a fourth page of the second application program.
According to the embodiment of the present disclosure, the preset condition includes that the second page inherits a base class of the second application program or that the second page calls a return processing logic in the software development kit.
According to an embodiment of the present disclosure, the method further comprises: switching from the third page to a fourth page of the second application in response to receiving a third input operation at the third page, the third input operation comprising a return operation.
According to an embodiment of the present disclosure, the one or more computer instructions are executed by the processor 702 to implement a method according to an embodiment of the present disclosure:
receiving operation information from a client, the operation information corresponding to a first input operation received at a first page of a first application program of the client;
determining the address of a second page of a second application program and determining the address of a third page of the second application program and/or indicating information according to the operation information, wherein the indicating information indicates that a user needs to be left in the second application program;
sending an address of a second page of a second application to the client, and sending an address of a third page of the second application and/or the indication information to the client, wherein the client switches from the first page to the second page of the second application in response to the first input operation according to the address of the second page, and the client switches from the second page to the third page in response to receiving a second input operation at the second page according to the address of the third page of the second application and/or the indication information, and the second input operation comprises a return operation.
According to an embodiment of the present disclosure, the method further comprises: acquiring at least one or more of the following data: a start state of the second application when the first input operation is received, whether a user is logged into the second application when the first input operation is received, behavior data of the user, a value parameter of the user, and a source of the user, wherein the value parameter of the user represents a contribution of the user to revenue of a service provider of the second application, and the source of the user represents a channel for guiding the user to the second application, wherein the determining the address of the second page of the second application and the determining the address of the third page of the second application and/or the indication information at least according to the operation information comprises determining the address of the second page of the second application according to the operation information and the at least one or more data, and determining an address of a third page of the second application and/or the indication information.
FIG. 8 illustrates a block diagram of a computer system suitable for use to implement a page switching method according to an embodiment of the present disclosure.
As shown in fig. 8, the computer system 800 includes a processing unit 801 which can execute various methods in the above-described embodiments according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The processing unit 801, ROM802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs a communication process via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that the computer program read out therefrom is mounted on the storage section 808 as necessary. The processing unit 801 may be implemented as a CPU, a GPU, a TPU, an FPGA, an NPU, or other processing units.
In particular, the above described methods may be implemented as computer software programs according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the above-described method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or by programmable hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation on the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or the computer system in the above embodiments; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (20)

1. A page switching method comprises the following steps:
switching from a first page of a first application to a second page of a second application in response to receiving a first input operation at the first page;
obtaining at least one or more of the following information from a server based on the first input operation: the address of the third page and indicating information, wherein the indicating information indicates that the user needs to be left in the second application program;
in response to receiving a second input operation on the second page, switching from the second page to a third page of the second application program according to the address of the third page and/or the indication information, wherein the second input operation comprises a return operation;
wherein said switching from the second page to a third page of the second application in response to receiving a second input operation at the second page comprises:
for the second page meeting a preset condition, in response to receiving the second input operation at the second page, calling preset processing, wherein the preset processing is used for returning the first application program from the second application program, the preset processing comprises a page destruction method of a specified base class or return processing logic in a software development toolkit called by the second page, and the specified base class is a base class inherited by the second page;
when the preset processing is called, not executing the preset processing and switching from the second page to the third page;
wherein the not performing the preset processing and switching from the second page to the third page when the preset processing is invoked comprises:
when the second page is an inheritance base class page, triggering the destruction of the inheritance base class page when the preset processing is called; and when the second page is a return processing logic page for calling the SDK, calling a return processing logic in the software development kit when the preset processing is called.
2. The method of claim 1, further comprising:
acquiring the address of the second page;
the switching from the first page to a second page of a second application includes switching from the first page to a second page of a second application according to an address of the second page.
3. The method of claim 2, wherein the at least one or more items of information are determined from operation information corresponding to the first input operation, or from the operation information and at least one or more of the following: the method comprises the steps of starting a second application program when the first input operation is received, judging whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent contribution of the user to revenue of a service provider of the second application program, and the source of the user represents a channel for guiding the user to the second application program.
4. The method of claim 1, further comprising:
when the preset processing is called, determining whether the address of the second page is associated with the address of the third page and/or indicating information, wherein the indicating information indicates that a user needs to be left in the second application program;
wherein the not executing the preset processing and switching to the third page when the preset processing is invoked includes: if the address of the second page is associated with the address of the third page, or the address of the second page is not associated with the address of the third page but is associated with the indication information, or the address of the second page is associated with the address of the third page and the indication information, the preset processing is not performed and the second page is switched to the third page.
5. The method of claim 4, further comprising:
and if the address of the second page is not associated with the address of the third page and is not associated with the indication information, returning the first application program from the second application program.
6. The method of claim 1, further comprising:
for the second page which does not meet the preset condition, in response to receiving the second input operation on the second page, determining whether the second application program is in a started state when the first input operation is received;
and if the second application program is determined to be in the started state when the first input operation is received, switching from the second page to a fourth page of the second application program.
7. The method of claim 1, wherein the preset condition comprises the second page inheriting a base class of the second application or the second page invoking return processing logic in a software development kit.
8. The method of claim 1, further comprising:
switching from the third page to a fourth page of the second application in response to receiving a third input operation at the third page, the third input operation comprising a return operation.
9. A page switching method comprises the following steps:
receiving operation information from a client, the operation information corresponding to a first input operation received at a first page of a first application program of the client;
determining the address of a second page of a second application program and determining the address and/or indication information of a third page of the second application program according to at least the first input operation information, wherein the indication information indicates that a user needs to be left in the second application program;
sending an address of a second page of a second application to the client, and sending an address of a third page of the second application and/or the indication information to the client, wherein the client switches from the first page to the second page of the second application in response to the first input operation according to the address of the second page, and the client switches from the second page to the third page in response to receiving a second input operation at the second page according to the address of the third page of the second application and/or the indication information, and the second input operation comprises a return operation;
in response to receiving a second input operation at the second page, switching from the second page to the third page, including:
for the second page meeting a preset condition, in response to receiving the second input operation at the second page, calling preset processing, wherein the preset processing is used for returning the first application program from the second application program, the preset processing comprises a page destruction method of a specified base class or return processing logic in a software development toolkit called by the second page, and the specified base class is a base class inherited by the second page;
when the preset processing is called, not executing the preset processing and switching from the second page to the third page;
wherein the not performing the preset processing and switching from the second page to the third page when the preset processing is invoked comprises:
when the second page is an inheritance base class page, when the preset processing is called, the preset processing comprises destroying the inheritance base class page; when the second page is a return processing logic page for calling the SDK, the preset processing calls a return processing logic in the software development kit when the preset processing is called.
10. The method of claim 9, further comprising:
acquiring at least one or more of the following data: the starting state of the second application program when the first input operation is received, whether a user logs in the second application program when the first input operation is received, behavior data of the user, value parameters of the user and a source of the user, wherein the value parameters of the user represent the contribution of the user to the revenue of a service provider of the second application program, and the source of the user represents the channel for guiding the user to the second application program;
wherein the determining the address of the second page of the second application and the determining the address of the third page of the second application and/or the indicating information at least according to the operation information comprises determining the address of the second page of the second application and determining the address of the third page of the second application and/or the indicating information according to the operation information and the at least one item of data.
11. A page switching apparatus comprising:
a first switching module configured to switch from a first page of a first application to a second page of a second application in response to receiving a first input operation at the first page; obtaining, from a server, at least one or more of the following information based on the first input operation: the address of the third page and indicating information, wherein the indicating information indicates that the user needs to be left in the second application program;
a second switching module configured to switch from the second page to a third page of the second application according to an address of the third page and/or the indication information in response to receiving a second input operation at the second page, the second input operation including a return operation;
wherein said switching from the second page to a third page of the second application in response to receiving a second input operation at the second page comprises:
for the second page meeting preset conditions, responding to the second input operation received at the second page, and calling preset processing, wherein the preset processing is used for returning the first application program from the second application program, the preset processing comprises a page destruction method of a specified base class or return processing logic in a software development toolkit called by the second page, and the specified base class is the base class inherited by the second page;
when the preset processing is called, not executing the preset processing and switching from the second page to the third page;
wherein the not performing the preset processing and switching from the second page to the third page when the preset processing is invoked comprises:
when the second page is an inheritance base class page, triggering the destruction of the inheritance base class page when the preset processing is called; and when the second page is a return processing logic page for calling the SDK, calling a return processing logic in the software development kit when the preset processing is called.
12. The apparatus of claim 11, further comprising:
a first obtaining module configured to obtain an address of the second page;
the switching from the first page to a second page of a second application includes switching from the first page to a second page of a second application according to an address of the second page.
13. The apparatus of claim 11, further comprising:
a first determining module configured to determine whether the address of the second page is associated with the address of the third page and/or the indication information when the preset processing is called;
wherein the not executing the preset processing and switching to the third page when the preset processing is invoked includes: if the address of the second page is associated with the address of the third page, or the address of the second page is not associated with the address of the third page but is associated with the indication information, or the address of the second page is associated with the address of the third page and the indication information, the preset processing is not performed and the second page is switched to the third page.
14. The apparatus of claim 13, further comprising:
a return module configured to return the first application from the second application if the address of the second page is not associated with the address of the third page and is not associated with the indication information.
15. The apparatus of claim 11, further comprising:
a second determination module configured to determine, for the second page that does not satisfy the preset condition, whether the second application is in a started state when the first input operation is received, in response to receiving the second input operation at the second page;
a third switching module configured to switch from the second page to a fourth page of the second application if it is determined that the second application is in a started state when the first input operation is received.
16. The apparatus of claim 11, further comprising:
a fourth switching module configured to switch from the third page to a fourth page of the second application in response to receiving a third input operation at the third page, the third input operation comprising a return operation.
17. A page switching apparatus comprising:
a receiving module configured to receive operation information from a client, the operation information corresponding to a first input operation received at a first page of a first application program of the client;
a third determining module, configured to determine, according to at least the first input operation information, an address of a second page of a second application program, and determine an address of a third page of the second application program and/or indication information indicating that a user needs to be left in the second application program;
a sending module configured to send an address of a second page of a second application to the client, and send an address of a third page of the second application and/or the indication information to the client, wherein the client switches from the first page to the second page of the second application in response to the first input operation according to the address of the second page, and the client switches from the second page to the third page in response to receiving a second input operation at the second page according to the address of the third page of the second application and/or the indication information, and the second input operation includes a return operation;
wherein said switching from the second page to the third page in response to receiving a second input operation at the second page comprises:
for the second page meeting a preset condition, in response to receiving the second input operation at the second page, calling preset processing, wherein the preset processing is used for returning the first application program from the second application program, the preset processing comprises a page destruction method of a specified base class or return processing logic in a software development toolkit called by the second page, and the specified base class is a base class inherited by the second page;
when the preset processing is called, not executing the preset processing and switching from the second page to the third page;
wherein the not performing the preset processing and switching from the second page to the third page when the preset processing is invoked comprises:
when the second page is an inheritance base class page, when the preset processing is called, the preset processing comprises destroying the inheritance base class page; when the second page is a return processing logic page for calling the SDK, the preset processing calls a return processing logic in the software development kit when the preset processing is called.
18. The apparatus of claim 17, further comprising:
a second acquisition module configured to acquire at least one or more of: a start state of the second application when the first input operation is received, whether a user is logged in to the second application when the first input operation is received, behavior data of the user, a value parameter of the user, and a source of the user, wherein the value parameter of the user represents a contribution of the user to a revenue of a service provider of the second application, and the source of the user represents the channel guiding the user to the second application,
wherein the determining the address of the second page of the second application and the determining the address of the third page of the second application and/or the indicating information at least according to the operation information comprises determining the address of the second page of the second application and determining the address of the third page of the second application and/or the indicating information according to the operation information and the at least one item of data.
19. An electronic device comprising a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1-10.
20. A readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the method steps of any of claims 1-10.
CN202010723977.1A 2020-07-24 2020-07-24 Page switching method and device, electronic equipment and readable storage medium Active CN113297518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010723977.1A CN113297518B (en) 2020-07-24 2020-07-24 Page switching method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010723977.1A CN113297518B (en) 2020-07-24 2020-07-24 Page switching method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113297518A CN113297518A (en) 2021-08-24
CN113297518B true CN113297518B (en) 2022-09-23

Family

ID=77318197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010723977.1A Active CN113297518B (en) 2020-07-24 2020-07-24 Page switching method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113297518B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362761A (en) * 2019-06-27 2019-10-22 上海淇馥信息技术有限公司 A kind of webpage jump method, device and electronic equipment monitored based on web page address
CN111400625A (en) * 2020-03-25 2020-07-10 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844019A (en) * 2015-12-04 2017-06-13 阿里巴巴集团控股有限公司 Application control method, application program redirect associated configuration method and device
CN107229665B (en) * 2016-03-25 2021-04-13 阿里巴巴集团控股有限公司 Page skipping method and device
CN106484862B (en) * 2016-10-10 2020-01-31 聚好看科技股份有限公司 Page control method and device
CN107357644B (en) * 2017-06-30 2018-10-16 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN108121568B (en) * 2017-11-30 2021-11-09 五八有限公司 APP calling method and device, electronic equipment and readable storage medium
CN108319662A (en) * 2018-01-15 2018-07-24 五八有限公司 Page processing method, device, electronic equipment and readable storage medium storing program for executing
CN108804158A (en) * 2018-06-05 2018-11-13 珠海市魅族科技有限公司 Application call method, the control method of terminal device, terminal device and computer readable storage medium
CN110399576B (en) * 2019-07-19 2023-02-10 北京字节跳动网络技术有限公司 Page switching method and device, readable medium and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362761A (en) * 2019-06-27 2019-10-22 上海淇馥信息技术有限公司 A kind of webpage jump method, device and electronic equipment monitored based on web page address
CN111400625A (en) * 2020-03-25 2020-07-10 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113297518A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
US10339220B2 (en) Monitoring conversations to identify topics of interest
CN112492334B (en) Live video pushing method, device and equipment
CN106792242B (en) Method and device for pushing information
CN106469151B (en) Application service information correlation method, application correlation platform server and client
US8938465B2 (en) Method and system for utilizing packaged content sources to identify and provide information based on contextual information
US20100083098A1 (en) Streaming Information that Describes a Webpage
CN107426328B (en) Information pushing method and device
CN107800611B (en) Page switching method and page switching device
CN111913738B (en) Access request processing method, device, computing equipment and medium
CN109462632B (en) Page jump method, page jump device, computer equipment and computer readable storage medium
CN110110194A (en) A kind of resource acquiring method, server, client and electronic equipment
CN108334516B (en) Information pushing method and device
WO2011002989A1 (en) System and method for enhancing digital content
US10936602B2 (en) Prioritizing items based on user activity
CN108737486B (en) Information pushing method and device
CN113568699B (en) Content display method, device, equipment and storage medium
CN112115396A (en) Webpage rendering method, device, equipment and storage medium
CN107562847B (en) Information processing method and related product
CN112905928A (en) Webpage refreshing method and device, electronic equipment and storage medium
CN110688569A (en) Information search method, device, medium and equipment
CN110020108B (en) Network resource recommendation method, device, computer equipment and storage medium
CN113297518B (en) Page switching method and device, electronic equipment and readable storage medium
CN111046287B (en) User production content pushing method and server
CN116401034A (en) Task execution method, computer device and computer storage medium
CN108572985B (en) Page display method and device

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