CN109885781B - Mixed page unified browsing method, device, equipment and storage medium - Google Patents

Mixed page unified browsing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109885781B
CN109885781B CN201910144757.0A CN201910144757A CN109885781B CN 109885781 B CN109885781 B CN 109885781B CN 201910144757 A CN201910144757 A CN 201910144757A CN 109885781 B CN109885781 B CN 109885781B
Authority
CN
China
Prior art keywords
container
page
target
browsing
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910144757.0A
Other languages
Chinese (zh)
Other versions
CN109885781A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910144757.0A priority Critical patent/CN109885781B/en
Publication of CN109885781A publication Critical patent/CN109885781A/en
Application granted granted Critical
Publication of CN109885781B publication Critical patent/CN109885781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for uniformly browsing a mixed page. The method comprises the following steps: in the process of browsing the pages in the container through the container frame, acquiring page switching operation acting on the current page in the current container; determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing record; and browsing the target page in the target container according to the target page information and the target container attribute information. According to the embodiment of the invention, the Web page is displayed by multiplexing the webpage container, the interaction behaviors of the original page and the Web page are uniformly managed, and the fluency in the page switching process is improved.

Description

Mixed page unified browsing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of page browsing, in particular to a method, a device, equipment and a storage medium for uniformly browsing a mixed page.
Background
With the rapid development of the mobile internet technology, a large number of application programs are introduced in various fields of work and life, so that the convenience of users is greatly improved. In addition, in the process of browsing the page, a user often jumps from the original page to the Web page, or jumps from the Web page to the original page, that is, mixed browsing of the original page and the Web page exists.
Currently, a native page can be skipped through a control and a menu in the Web page, and a Web page can be skipped through a link in the native page. For example, the native page launches a Web page view and opens a Web page in the Web page view, or a jump between different types of pages is implemented by switching at the framework level.
However, in the current hybrid page browsing process, the defects of disordered page switching, poor fluency, large resource consumption and the like exist.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for uniformly browsing a mixed page.
In a first aspect, an embodiment of the present invention provides a method for uniformly browsing mixed pages, which is applied to a device, where the device includes a container frame, a webpage container and a native page container, where the webpage container is communicated with the container frame, the webpage container is reused for displaying a Web page, and the native page container is used for displaying a native page; the method comprises the following steps:
in the process of browsing the pages in the container through the container frame, acquiring page switching operation acting on the current page in the current container;
determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing record;
and browsing the target page in the target container according to the target page information and the target container attribute information.
In a second aspect, an embodiment of the present invention provides a unified hybrid page browsing apparatus, which is configured in a device, where the device includes a container frame, a Web page container and a native page container, where the Web page container and the native page container are in communication with the container frame, and the Web page container is reused for displaying a Web page, and the native page container is used for displaying a native page; the device comprises:
the page switching acquisition module is used for acquiring the page switching operation acting on the current page in the current container in the process of browsing the page in the container through the container frame;
the page container determining module is used for determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing record;
and the page browsing module is used for browsing the target page in the target container according to the target page information and the target container attribute information.
In a third aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for uniformly browsing mixed pages according to any one of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the hybrid page unified browsing method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, the interaction between the native page and the Web page is uniformly managed based on the uniform historical browsing records of the native page and the Web page, so that the fluency in the page switching process is improved, and the interaction and experience are consistent when a user browses in a mixed mode. When the native page and the Web page are browsed in a mixed mode, extra resource expenditure is avoided, and extra development and maintenance costs such as data sharing among different webpage containers are avoided due to the fact that the same webpage container is reused.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a unified hybrid page browsing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for uniformly browsing a mixed page according to a second embodiment of the present invention;
fig. 3a is a schematic view of a page sequence of a user's hybrid browsing provided in the third embodiment of the present invention;
FIG. 3b is a schematic diagram of a user history browsing record according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a hybrid page unified browsing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and that no limitation of the invention is intended. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
The browsing of the native page and the Web page is mixed and established on the basis of historical browsing record management. The mixed page unified browsing method provided by the embodiment of the invention is applied to equipment, and the equipment comprises a container frame, a webpage container and a native page container, wherein the webpage container and the native page container are communicated with the container frame, the webpage container is reused for displaying Web pages, and the native page container is used for displaying native pages. The page container refers to a container object capable of adding pages, the webpage container refers to a container capable of adding Web pages, and the native page container refers to a container capable of adding native pages.
That is, there is a multi-container design in embodiments of the present invention. The native page container is used for displaying a native page, the native page container is an independent container, only one native page can be displayed in one native page container, and at least two native pages with the same page template can also be displayed. The webpage container is a multiplexing container, and the webpage container is reused for displaying the Web pages, namely all the Web pages searched and browsed by the user are displayed in the webpage container.
The container framework also provides unified lifecycle management and a full set of user interaction means management. Intercepting the access behavior of the page through a unified container frame, determining whether a native page container or a webpage container is started, and uniformly managing the historical records and the interaction behavior of browsing the native page and the Web page by a user. Wherein the access interaction behavior includes but is not limited to user click, touch, long press, drag, voice, etc. The container framework intercepts these behaviors and performs unified interactions including, but not limited to, page transition animations, control slides in pages, page forward and backward, page jumps, exits, etc.
In the page access, a native container is opened in the modes of mobile terminal capability, Scheme interception and analysis and the like, and a Web page in a webpage container is opened in the modes of url interception and the like. The container frame can also firstly transmit part of the user touch events in the Web page to the webpage container, and when the webpage container is determined not to be needed, the container frame intercepts the touch events.
The embodiment of the invention ensures that the user has no perception in the whole process of mixed browsing of the original page and the Web page and has consistent interactive operation by uniformly managing the operation behaviors of the user.
Example one
Fig. 1 is a flowchart of a method for uniformly browsing a mixed page according to an embodiment of the present invention. The method can be executed by the mixed page unified browsing device provided by the embodiment of the invention, and specifically can include the following steps:
s101, in the process of browsing the page in the container through the container frame, acquiring the page switching operation acting on the current page in the current container.
Specifically, the container frame determines whether the user interaction is a page switch operation in response to the user interaction acting on the current page in the current container.
For example, if the user interaction operation is a sliding operation and the user sliding direction is the same as the page entering direction, it is determined that the user interaction operation is a page switching operation. And if the sliding direction of the user is different from the page entering direction, determining that the user interaction operation is not the page switching operation. The page entry direction may include horizontal entry or vertical entry, among others. Taking the case that the page entering direction is horizontal entering, if the user interaction operation is sliding along the horizontal direction, determining that the user interaction operation is page switching operation; and if the user interaction operation is sliding along the vertical direction, the user interaction operation does not belong to page switching operation.
For example, if the user interaction operation is a sliding operation and the sliding operation area is a page edge area, it is determined that the user interaction operation is a page switching operation. That is, a fixed page edge area (page switching area) is provided in the page, and if the user slides in the page edge area, it is determined that the page switching operation is monitored without considering the sliding direction of the user in the page edge area.
S102, determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing records.
The historical browsing records are generated according to the browsing sequence and the container attribute information of each container and the page information browsed in each container in the process of browsing the pages in the containers through the container frame. Therefore, the history browsing records include browsing records between containers and browsing records of different pages in the containers.
In order to facilitate the unified management of the interaction behaviors in different containers, the container framework can uniformly set the association relationship between the user interaction operation and the page response behavior, so that different pages in the same container and different pages in different containers respond to the same user interaction operation, and the executed page response behaviors are the same. Accordingly, after the page switching operation is obtained in S101, the container frame may further determine whether the page switching operation is a page forward operation or a page backward operation according to the information of the page switching operation, which is not described herein again.
Specifically, if the page switching operation is a page forwarding operation, the next page of the current page is used as a target page to be switched; and if the page switching operation is page backward operation, taking the previous page of the current page as a target page to be switched. And taking the container to which the target page belongs as a target container. And determining whether the target container and the current container are the same container or not according to the historical browsing record, and acquiring the information of the target page to be switched and the attribute information of the target container to which the target page belongs from the historical browsing record.
S103, browsing the target page in the target container according to the target page information and the target container attribute information.
Specifically, if the target container and the current container are the same container, determining the content of the target page according to the page browsing sequence in the current container, and displaying the content of the target page in the current container; if the target container and the current container are different containers, acquiring the survival state of the target container, and if the target container is in a holding state, directly browsing a target page by using the held target container; and if the target container is in a destroyed state, reconstructing the target container by using the attribute information of the target container and the target page information, and rendering the page in the target container.
According to the method and the device, the page switching of the native page and the Web page is uniformly managed through the uniform historical browsing records based on the native page and the Web page, the fluency in the page switching process is improved, and interaction and experience are consistent when a user browses in a mixed mode. When the native page and the Web page are browsed in a mixed mode, extra resource expenditure is avoided, and extra development and maintenance costs such as data sharing among different webpage containers are avoided due to the fact that the same webpage container is reused.
Example two
Fig. 2 is a flowchart of a method for uniformly browsing a mixed page according to a second embodiment of the present invention. The method may be executed by the mixed page unified browsing apparatus provided in the embodiment of the present invention, and referring to fig. 2, the method may specifically include the following steps:
s201, in the process of browsing the page in the container through the container frame, acquiring the page switching operation acting on the current page in the current container.
S202, acquiring the sub browsing records of the current container from the historical browsing records.
The historical browsing records comprise sub-browsing records of each container, and the sequence of the sub-browsing records of each container is the same as the browsing sequence of each container.
Illustratively, S202 may include: and acquiring the sub browsing record of the current container from the historical browsing record according to the type information and the identification information of the current container. Wherein the type information of the container includes a webpage container and a native page container. Since multiple native page containers are provided, the identification information of the containers can be used to further distinguish between different native page containers. If the type information and the identification information of the container are used as keywords in the sub browsing records, the sub browsing records of the current container can be quickly searched from the historical browsing records according to the keywords of the current container.
For example, S202 may further include: determining the record version information of the current container according to the page identification information in the current container; and acquiring the sub browsing record of the current container from the historical browsing record according to the type information and the identification information of the current container and the record version information.
Specifically, each page identification information in the current container and the browsing sequence of each page may be obtained, and the unique record version information of the current container is generated according to each page identification information and the browsing sequence of each page, so as to distinguish different sub-browsing records of the same container.
S203, determining whether the page switching operation is an in-container switching operation or an inter-container switching operation according to the sub browsing record of the current container.
Specifically, the number of pages in the current container can be determined according to the sub browsing records of the current container. If only one page is browsed through the current container, the page switching operation can be directly determined to be inter-container switching operation. And if the at least two pages are browsed through the current container, determining the browsing sequence of the at least two pages according to the sub-browsing records of the current container, and determining whether the current container supports the page switching operation according to the browsing sequence of the at least two pages. If the current container supports, the page switching operation is an in-container switching operation; otherwise, the page switch operation is an inter-container switch operation.
Illustratively, S203 may include: determining whether a page supporting the page switching operation exists in the current container or not according to the sub browsing record of the current container; if not, determining that the page switching operation is inter-container switching operation; otherwise, determining that the page switching operation is an in-container switching operation.
In the process of determining whether the current container supports page switching operation, if the page switching operation is backward operation, determining whether other pages exist before the current page in the current container, and if so, supporting the current container; otherwise, the current container does not support. Correspondingly, if the page switching operation is a forward operation, it is determined whether other pages exist behind the current page in the current container, and details are not repeated.
And S204, determining the information of the target page to be switched and the attribute information of the target container to which the target page belongs according to the determination result and the historical browsing record.
Specifically, if the page switching operation is an intra-container switching operation, that is, the target container is the current container, the survival state in the attribute information of the target container is generally a holding state, and the target container does not need to be reconstructed subsequently. The target page information is used to distinguish which page in the target container is to be switched, for example, the target page information is the second page in the target container.
Optionally, S204 may include:
s2041, if the page switching operation is inter-container switching operation, acquiring a sub browsing record of the target container from the historical browsing record.
And if the page switching operation is the switching operation among the containers, taking the previous sub browsing record or the next sub browsing record of the current container as the sub browsing record of the target container in the historical browsing records.
S2042, determining the target page information to be switched and the target container attribute information according to the sub browsing record of the target container.
Further optionally, S2042 includes: taking a container recording part in the sub browsing record of the target container as the attribute information of the target container; determining a target page to be switched according to the sequence of the page recording parts in the sub browsing record of the target container; and taking a page record part associated with the target page to be switched as the target page information.
S205, browsing the target page in the target container according to the target page information and the target container attribute information.
In this embodiment, the container frame specifically manages interaction between the containers and between the pages in the containers in a unified manner, so as to implement page switching between the unified management native pages and the Web pages.
Optionally, S204 may include: if the page switching operation is an in-container switching operation, acquiring target page information to be switched from the sub-browsing record of the current container; and taking the current container attribute information in the current container as the target container attribute information.
Optionally, in the inter-container switching process, S205 includes: and if the survival state of the sub browsing record of the target container is the destruction state, reconstructing the target container according to the target page information and the target container attribute information, and re-rendering the page in the target container.
In order to reduce the memory occupation of the device, a certain number (e.g. 3) of containers that have been opened recently are generally kept in a hold state, and other containers that have been opened previously are cleared, so that a part of the containers used in the browsing process of the user are kept in a hold state, and a part of the containers are destroyed. And if the historical page in the destroyed state needs to be switched, reconstructing the target container according to the target page information and the target container attribute information, and re-rendering the page in the target container.
EXAMPLE III
The present embodiment specifically provides a browsing record generation example based on the above embodiments. For convenience of description, in the present embodiment, only one native page in each native page container is taken as an example for explanation. Fig. 3a is a schematic diagram of a page sequence of a user hybrid browsing provided by a third embodiment of the present invention, and fig. 3b is a schematic diagram of a user history browsing record provided by the third embodiment of the present invention. With reference to fig. 3a and fig. 3b, in this embodiment, taking a user to browse a first Web page, a first native page, a second Web page, a third Web page, a fourth Web page in a mixed manner, and taking a second native page as an example, the process of browsing a mixed page in a unified manner may include the following steps:
s301, the container frame responds to click operation acting on the webpage url or the control, the webpage container is started to display a first Web page, and the first sub browsing record of the webpage container is controlled to be generated in the historical browsing record.
S302, the container frame responds to the click operation of a certain url or control acting in a first Web page in the webpage container, the native page container 1 is started to display the first native page, and the sub browsing record of the first native container is controlled to be inserted into the historical browsing record.
And S303, responding to the click operation of a certain url or control acting in the first native page, starting a webpage container, browsing a second Web page, a third Web page and a fourth Web page in sequence by using the webpage container, and controlling to generate a second sub browsing record of the webpage container in the historical browsing record.
S304, responding to the click operation of a certain url or control acting in the fourth Web page, starting the native page container 2 to display the second native page, and controlling the sub browsing record of the second native container to be inserted into the historical browsing record.
S305, if it is monitored that the page back operation is performed on the second native page in the native page container 2, opening a fourth Web page through the Web page container according to the historical browsing record.
Specifically, if the page switching operation on the second native page in the native page container 2 is monitored, the sub browsing record of the second native container is obtained from the historical browsing record, because only one page is recorded in the sub browsing record, the sub browsing record belongs to inter-container switching, and the second sub browsing record of the web page container before the sub browsing record of the second native container in the historical browsing record is used as the sub browsing record of the target container. And determining that the fourth Web page is the target page according to the browsing sequence of the Web pages in the second sub-browsing record of the Web page container.
S306, responding to the page switching operation, and backing to the second Web page from the fourth Web page.
And S307, if the page back operation on the second Web page is monitored, opening the first native page through the native page container 1 according to the historical browsing record.
Specifically, if the page back operation on the fourth Web page is monitored, and the page switching operation is determined to be inter-container switching due to the second sub browsing record of the Web page container, the sub browsing record of the first native container before the second sub browsing record of the Web page container is used as the sub browsing record of the target container. And determining the first native page as a target page according to the sub browsing record of the first native container.
And S308, if the page back operation on the first native page is monitored, opening the first Web page through the webpage container according to the historical browsing record.
S309, if the page back operation on the first Web page is monitored, rejecting the page back operation.
And according to the first sub browsing record of the webpage container, the first Web page is known to be the first page, and the backspacing operation is rejected because the first Web page has no browsing history before the first Web page.
The embodiment of the invention specifically introduces a unified interaction management process realized based on unified historical browsing records by specifically providing a unified browsing example of a mixed page.
Example four
Fig. 4 is a schematic structural diagram of a hybrid page unified browsing apparatus according to a fourth embodiment of the present invention, which is capable of executing the hybrid page unified browsing method according to any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method. The device is configured in equipment which comprises a container frame, a webpage container and a native page container, wherein the webpage container and the native page container are communicated with the container frame, the webpage container is reused for displaying Web pages, and the native page container is used for displaying native pages. Referring to fig. 4, the apparatus includes:
a page switching obtaining module 41, configured to obtain a page switching operation that acts on a current page in a current container during browsing the page in the container through a container frame;
the page container determining module 42 is configured to determine, according to the historical browsing record, information of a target page to be switched and attribute information of a target container to which the target page belongs;
and a page browsing module 43, configured to browse the target page in the target container according to the target page information and the target container attribute information.
Optionally, the page container determining module 42 includes:
the sub-record acquisition unit is used for acquiring the sub-browsing record of the current container from the historical browsing record;
a switching type unit, configured to determine whether the page switching operation is an intra-container switching operation or an inter-container switching operation according to the sub browsing record of the current container;
and the page container determining unit is used for determining the information of the target page to be switched and the attribute information of the target container to which the target page belongs according to the determination result and the historical browsing record.
Optionally, the sub-record obtaining unit is specifically configured to:
and acquiring the sub browsing record of the current container from the historical browsing record according to the type information and the identification information of the current container.
Optionally, the sub-record obtaining unit is specifically configured to:
determining the record version information of the current container according to the page identification information in the current container;
and acquiring the sub browsing record of the current container from the historical browsing record according to the type information and the identification information of the current container and the record version information.
Optionally, the handover type unit is specifically configured to:
determining whether a page supporting the page switching operation exists in the current container or not according to the sub browsing record of the current container;
if not, determining that the page switching operation is inter-container switching operation; otherwise, determining that the page switching operation is an in-container switching operation.
Optionally, the page container determining unit is specifically configured to:
if the page switching operation is inter-container switching operation, acquiring a sub-browsing record of a target container from the historical browsing record;
and determining the target page information to be switched and the target container attribute information according to the sub browsing record of the target container.
Optionally, the page container determining unit is specifically configured to:
taking a container recording part in the sub browsing record of the target container as the attribute information of the target container;
determining a target page to be switched according to the sequence of the page recording parts in the sub browsing record of the target container;
and taking a page record part associated with the target page to be switched as the target page information.
Optionally, the page browsing module 43 includes:
and if the survival state of the sub browsing record of the target container is the destruction state, reconstructing the target container according to the target page information and the target container attribute information, and re-rendering the page in the target container.
Optionally, the page container determining unit is specifically configured to:
if the page switching operation is an in-container switching operation, acquiring target page information to be switched from the sub-browsing record of the current container;
and taking the current container attribute information in the current container as the target container attribute information.
Optionally, the page switching operation is a sliding operation, and a user sliding direction is the same as a page entering direction; alternatively, the first and second electrodes may be,
the page switching operation is a sliding operation, and the sliding operation area is a page edge area.
The device for uniformly browsing the mixed pages, provided by the embodiment of the invention, can execute the method for uniformly browsing the mixed pages, provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details that are not described in detail in this embodiment, reference may be made to the hybrid page unified browsing method provided in any embodiment of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary device 500 suitable for use in implementing embodiments of the present invention. The device 500 shown in fig. 5 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 5, device 500 is in the form of a general purpose computing device. The components of device 500 may include, but are not limited to: one or more processors or processing units 501, a system memory 502, and a bus 503 that couples the various system components (including the system memory 502 and the processing unit 501).
Bus 503 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 500 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 500 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 502 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)505 and/or cache memory 505. The device 500 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 506 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 503 by one or more data media interfaces. Memory 502 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 508 having a set (at least one) of program modules 507 may be stored, for instance, in memory 502, such program modules 507 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 507 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The device 500 may also communicate with one or more external devices 509 (e.g., keyboard, pointing device, display 510, etc.), with one or more devices that enable a user to interact with the device 500, and/or with any devices (e.g., network card, modem, etc.) that enable the device 500 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 511. Also, device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via network adapter 512. As shown, the network adapter 512 communicates with the other modules of the device 500 over a bus 503. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 501 executes various functional applications and data processing by running the program stored in the system memory 502, for example, implementing the method for uniformly browsing mixed pages provided by the embodiment of the present invention, including:
in the process of browsing the pages in the container through the container frame, acquiring page switching operation acting on the current page in the current container;
determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing record;
and browsing the target page in the target container according to the target page information and the target container attribute information.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-executable instructions, when executed by a computer processor, are configured to perform a method for unified browsing of mixed pages, where the method includes:
in the process of browsing the pages in the container through the container frame, acquiring page switching operation acting on the current page in the current container;
determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing record;
and browsing the target page in the target container according to the target page information and the target container attribute information.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in a mixed page unified browsing method provided by any embodiment of the present invention. The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (17)

1. A unified browsing method for mixed pages is characterized by being applied to equipment, wherein the equipment comprises a container frame, a webpage container and a native page container, the webpage container is communicated with the container frame and is reused for displaying Web pages, and the native page container is used for displaying native pages; the method comprises the following steps:
in the process of browsing the pages in the container through the container frame, acquiring page switching operation acting on the current page in the current container;
determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing record; the historical browsing records are generated according to the browsing sequence and the container attribute information of each container and the page information browsed in each container in the process of browsing the pages in the containers through the container frame;
and browsing the target page in the target container according to the target page information and the target container attribute information.
2. The method according to claim 1, wherein determining the target page information to be switched and the target container attribute information to which the target page belongs according to the historical browsing records comprises:
acquiring a sub browsing record of the current container from the historical browsing record;
determining whether the page switching operation is an intra-container switching operation or an inter-container switching operation according to the sub browsing record of the current container;
and determining the information of the target page to be switched and the attribute information of the target container to which the target page belongs according to the determination result and the historical browsing record.
3. The method of claim 2, wherein obtaining the child browsing history of the current container from the historical browsing history comprises:
and acquiring the sub browsing record of the current container from the historical browsing record according to the type information and the identification information of the current container.
4. The method of claim 3, wherein obtaining the child browsing records of the current container from the historical browsing records comprises:
determining the record version information of the current container according to the page identification information in the current container;
and acquiring the sub browsing record of the current container from the historical browsing record according to the type information and the identification information of the current container and the record version information.
5. The method of claim 2, wherein determining whether the page switching operation is an intra-container switching operation or an inter-container switching operation according to the sub-browsing record of the current container comprises:
determining whether a page supporting the page switching operation exists in the current container or not according to the sub browsing record of the current container;
if not, determining that the page switching operation is inter-container switching operation; otherwise, determining that the page switching operation is an in-container switching operation.
6. The method according to claim 2, wherein determining the target page information to be switched and the target container attribute information to which the target page belongs according to the determination result and the historical browsing record comprises:
if the page switching operation is inter-container switching operation, acquiring a sub-browsing record of a target container from the historical browsing record;
and determining the target page information to be switched and the target container attribute information according to the sub browsing record of the target container.
7. The method according to claim 6, wherein determining the target page information and the target container attribute information to be switched according to the sub browsing record of the target container comprises:
taking a container recording part in the sub browsing record of the target container as the attribute information of the target container;
determining a target page to be switched according to the sequence of the page recording parts in the sub browsing record of the target container;
and taking a page record part associated with the target page to be switched as the target page information.
8. The method of claim 6, wherein browsing the target page in the target container according to the target page information and the target container attribute information comprises:
and if the survival state of the sub browsing record of the target container is the destruction state, reconstructing the target container according to the target page information and the target container attribute information, and re-rendering the page in the target container.
9. The method according to claim 2, wherein determining the target page information to be switched and the target container attribute information to which the target page belongs according to the determination result and the historical browsing record comprises:
if the page switching operation is an in-container switching operation, acquiring target page information to be switched from the sub-browsing record of the current container;
and taking the current container attribute information in the current container as the target container attribute information.
10. The method of claim 1, wherein the page switching operation is a sliding operation, and a user sliding direction is the same as a page entering direction; alternatively, the first and second electrodes may be,
the page switching operation is a sliding operation, and the sliding operation area is a page edge area.
11. A mixed page unified browsing device is characterized by being configured in equipment, wherein the equipment comprises a container frame, a webpage container and a native page container, the webpage container is communicated with the container frame and is reused for displaying Web pages, and the native page container is used for displaying native pages; the device comprises:
the page switching acquisition module is used for acquiring the page switching operation acting on the current page in the current container in the process of browsing the page in the container through the container frame;
the page container determining module is used for determining target page information to be switched and target container attribute information to which the target page belongs according to the historical browsing record; the historical browsing records are generated according to the browsing sequence and the container attribute information of each container and the page information browsed in each container in the process of browsing the pages in the containers through the container frame;
and the page browsing module is used for browsing the target page in the target container according to the target page information and the target container attribute information.
12. The apparatus of claim 11, wherein the page container determination module comprises:
the sub-record acquisition unit is used for acquiring the sub-browsing record of the current container from the historical browsing record;
a switching type unit, configured to determine whether the page switching operation is an intra-container switching operation or an inter-container switching operation according to the sub browsing record of the current container;
and the page container determining unit is used for determining the information of the target page to be switched and the attribute information of the target container to which the target page belongs according to the determination result and the historical browsing record.
13. The apparatus according to claim 12, wherein the page container determining unit is specifically configured to:
if the page switching operation is inter-container switching operation, acquiring a sub-browsing record of a target container from the historical browsing record;
and determining the target page information to be switched and the target container attribute information according to the sub browsing record of the target container.
14. The apparatus according to claim 12, wherein the page container determining unit is specifically configured to:
taking a container recording part in the sub browsing record of the target container as the attribute information of the target container;
determining a target page to be switched according to the sequence of the page recording parts in the sub browsing record of the target container;
and taking a page record part associated with the target page to be switched as the target page information.
15. The apparatus of claim 14, wherein the page view module comprises:
and if the survival state of the sub browsing record of the target container is the destruction state, reconstructing the target container according to the target page information and the target container attribute information, and re-rendering the page in the target container.
16. A mixed page uniform browsing device, characterized in that the mixed page uniform browsing device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the mixed page unified browsing method of any of claims 1-10.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the hybrid page unified browsing method according to any one of claims 1 to 10.
CN201910144757.0A 2019-02-27 2019-02-27 Mixed page unified browsing method, device, equipment and storage medium Active CN109885781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910144757.0A CN109885781B (en) 2019-02-27 2019-02-27 Mixed page unified browsing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910144757.0A CN109885781B (en) 2019-02-27 2019-02-27 Mixed page unified browsing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109885781A CN109885781A (en) 2019-06-14
CN109885781B true CN109885781B (en) 2021-05-18

Family

ID=66929588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910144757.0A Active CN109885781B (en) 2019-02-27 2019-02-27 Mixed page unified browsing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109885781B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338960A (en) * 2020-02-27 2020-06-26 中国平安人寿保险股份有限公司 Buried point data acquisition method and device
CN111625167B (en) * 2020-05-28 2021-08-24 上海哔哩哔哩科技有限公司 Page switching method and device and computer equipment
CN112199620A (en) * 2020-11-03 2021-01-08 百度时代网络技术(北京)有限公司 Page operation method and device, electronic equipment and storage medium
CN113468450A (en) * 2021-07-06 2021-10-01 北京有竹居网络技术有限公司 Page control method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN106951233A (en) * 2017-03-02 2017-07-14 广州天高软件科技有限公司 Mixed mode smart mobile phone application development framework
CN107526579A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 A kind of application program page development management method and device
CN107563736A (en) * 2017-09-20 2018-01-09 北京三快在线科技有限公司 The switching method and server of the primary page and Web page
CN108595234A (en) * 2018-03-13 2018-09-28 阿里巴巴集团控股有限公司 Five application page switching method, device and equipment
US20180349507A1 (en) * 2009-02-24 2018-12-06 Ebay Inc. Systems and Methods to Provide Visual Browsing
CN109391649A (en) * 2017-08-04 2019-02-26 阿里巴巴集团控股有限公司 The methods, devices and systems of page load

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310007B (en) * 2013-06-28 2017-03-01 小米科技有限责任公司 Webpage changing method, device and equipment
CN106294648B (en) * 2016-08-03 2021-07-27 腾讯科技(深圳)有限公司 Processing method and device for page access path

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180349507A1 (en) * 2009-02-24 2018-12-06 Ebay Inc. Systems and Methods to Provide Visual Browsing
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN107526579A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 A kind of application program page development management method and device
CN106951233A (en) * 2017-03-02 2017-07-14 广州天高软件科技有限公司 Mixed mode smart mobile phone application development framework
CN109391649A (en) * 2017-08-04 2019-02-26 阿里巴巴集团控股有限公司 The methods, devices and systems of page load
CN107563736A (en) * 2017-09-20 2018-01-09 北京三快在线科技有限公司 The switching method and server of the primary page and Web page
CN108595234A (en) * 2018-03-13 2018-09-28 阿里巴巴集团控股有限公司 Five application page switching method, device and equipment

Also Published As

Publication number Publication date
CN109885781A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109885781B (en) Mixed page unified browsing method, device, equipment and storage medium
US11314568B2 (en) Message processing method and apparatus, storage medium, and computer device
CN109902255B (en) Page mixed browsing record generation method, device, equipment and storage medium
CN107172454B (en) Video recommendation method, medium, device and computing equipment
CN107341016B (en) Focus state implementation method and device under split screen mechanism, terminal and storage medium
CN105512294B (en) Multimedia file update prompting method and device
CN106844181B (en) Method, system and mobile terminal for recording user behavior
CN110287146B (en) Method, device and computer storage medium for downloading application
WO2022002066A1 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
CN105955593B (en) Method and device for presenting discussion information
CN110062287B (en) Target object control method and device, storage medium and electronic equipment
CN112947813B (en) Resident display method, resident display device, resident display medium and electronic equipment for controlling floating window
CN108563469A (en) page loading method, device, storage medium and terminal device
CN112507259A (en) Webpage loading method and device, electronic equipment and storage medium
CN113312036B (en) Large screen display method, device and equipment of Web page and storage medium
CN114168220A (en) Data processing and interaction method, device, equipment and storage medium of application program
CN107515720B (en) Message processing method, medium, device and computing equipment
WO2022184077A1 (en) Document editing method and apparatus, and terminal and non-transitory storage medium
CN114036431A (en) Page cache skipping method and device, electronic equipment and storage medium
CN110221746B (en) Information interaction method, device, medium and computing equipment
CN113656041A (en) Data processing method, device, equipment and storage medium
CN113221097A (en) Code execution method and device, electronic terminal and storage medium
CN112612991A (en) Page display method and device, electronic equipment and storage medium
CN112613287A (en) Data list display method, device, equipment and storage medium
CN111880698A (en) Information processing method and device of intelligent terminal, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant