CN109902255B - Page mixed browsing record generation method, device, equipment and storage medium - Google Patents
Page mixed browsing record generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109902255B CN109902255B CN201910144741.XA CN201910144741A CN109902255B CN 109902255 B CN109902255 B CN 109902255B CN 201910144741 A CN201910144741 A CN 201910144741A CN 109902255 B CN109902255 B CN 109902255B
- Authority
- CN
- China
- Prior art keywords
- container
- page
- browsing
- record
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 230000008569 process Effects 0.000 claims abstract description 21
- 230000004083 survival effect Effects 0.000 claims description 12
- 238000009877 rendering Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 3
- 238000002156 mixing Methods 0.000 claims 2
- 230000006399 behavior Effects 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000000873 masking effect Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a page hybrid browsing record generation method, a page hybrid browsing record generation device, page hybrid browsing record generation equipment and a storage medium. The method is applied to 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 method comprises the following steps: in the process of browsing the pages in the containers through the container frame, acquiring the browsing sequence and the container attribute information of each container and the page information browsed in each container; and generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container. In the embodiment of the invention, the historical browsing records which comprise the container attribute information among different containers and the page information of different pages in the containers are generated uniformly, which is the basis for uniformly managing the user behaviors.
Description
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 generating a page hybrid browsing record.
Background
In the process of browsing the page, there is often a case that the native page of the mobile terminal application program is switched to the Web page, or the Web page is switched to the native page, that is, there is mixed browsing of the native page and the Web page.
At present, the mixed browsing of native pages and Web pages is generally solved by the following two schemes: (1) and normally opening a primary page by the Web page, and opening the Web page by the primary page in a mode of restarting a webpage view. (2) The native page opened by the Web page and the Web page opened by the native page are directly switched on the frame level, and no access history is recorded between the native page and the Web page.
The two schemes have different use scenes, and the problems and the defects brought by the two schemes are different: the scheme (1) has the disadvantages of high resource consumption, additional development cost and high cost if data is shared among a plurality of different webpage views. This scheme results in blocking the true access data and order of the Web page and also affects fluency. Scheme (2) framework layer switching enables previous access records and history of a user to disappear or change in current rollback or forward operation, and user experience is affected. And the operation habit of the user is not met. And can result in interaction patterns that are difficult to unify.
Disclosure of Invention
The embodiment of the invention provides a page hybrid browsing record generation method, a device, equipment and a storage medium, which realize unified management of historical records in the process of hybrid browsing of Web pages and native pages and are convenient for users to uniformly switch pages.
In a first aspect, an embodiment of the present invention provides a method for generating a page hybrid browsing record, 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 containers through the container frame, acquiring the browsing sequence and the container attribute information of each container and the page information browsed in each container;
and generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container.
In a second aspect, an embodiment of the present invention provides a page hybrid browsing record generating 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 is in communication with the container frame, 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 container page information acquisition module is used for acquiring 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 page in the container through the container frame;
and the browsing record generating module is used for generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container.
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 page hybrid browsing history generation method 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 page hybrid browsing record generating method according to any one of the embodiments of the present invention.
In the embodiment of the invention, in the process of browsing the pages in different containers in a mixed manner, the historical browsing records which comprise the container attribute information between different containers and the page information of different pages in the containers can be generated, so that the unified management of the historical browsing records of the webpage containers and the original page containers is realized, and the method and the device are the basis for uniformly managing the user behaviors.
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 method for generating a mixed browsing record of a page according to an embodiment of the present invention;
fig. 2a is a flowchart of a method for generating a mixed browsing record of a page according to a second embodiment of the present invention;
FIG. 2b is a schematic diagram of a user history browsing record 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. 3c 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 page hybrid browsing record generating device 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 page mixed browsing record generation 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 the Web page, and the native page container is used for displaying the native page. The page container refers to a container object to which a page can be added, the Web page container refers to a container to which a Web page can be added, for example, the Web page container may be a Web view (WebView), and the native page container refers to a container to which a native page can be added.
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 device intercepts the access behavior of the page through a uniform container frame, determines to start a native page container or a webpage container, and uniformly manages the history of browsing the native page and the Web page by the user.
Example one
Fig. 1 is a flowchart of a method for generating a page hybrid browsing record according to an embodiment of the present invention. The method can be executed by the page hybrid browsing record generation device provided by the embodiment of the invention, and specifically comprises the following steps:
s101, in the process of browsing the page in the container through the container frame, the browsing sequence and the container attribute information of each container and the page information browsed in each container are obtained.
In this embodiment, the container frame uniformly intercepts the access behavior of the page, determines to open the native page or open the Web page, and if the native page needs to be opened, the container frame communicates with the native page container to which the native page belongs, and opens the native page through the native page container; and if the Web page needs to be opened, the container frame is communicated with the webpage container, and the Web page is opened through the webpage container. For example, if the user operates a control in the native page, a new page is opened according to a URL or Scheme (page jump protocol) associated with the control; or, the user operates the URL in the Web page to open a new page.
The browsing sequence of the container refers to the sequence of starting the container and browsing the pages in the container. If the user accesses the first Web page sequentially through the webpage container, the first native page is accessed through the first native page container, the second native page is accessed through the second native page container, and the second Web page is accessed through the webpage container, the browsing sequence of the containers is sequentially the webpage container, the first native page container, the second native page container and the webpage container.
The container attribute information may include type information, identification information, container survival status information, and the like of the 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. 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. If the historical page in the retention state needs to be switched to, the container can be directly switched to, and if the historical page in the destruction state needs to be switched to, the container is reconstructed according to the historical browsing records of the container.
Since one container may be used to open multiple pages, e.g., a Web page container is reused to open all Web pages, a native page container may also be used to open multiple native pages that have the same page template. Therefore, in the process of browsing pages in the container through the container frame, the page information browsed in each container needs to be acquired.
The page information browsed in each container may include a browsing sequence of the pages in the container and attribute parameters of each page. The attribute parameters of the page can include identification, rendering parameters, gesture touch parameters, operation behavior data and the like of the page. The page identification is used for distinguishing different pages in the same container; the rendering parameters are used for re-rendering the page, and are mainly used for re-rendering the page in the destroyed container; the gesture touch parameter is used for matching the touch parameter acting on the page with the gesture touch parameter of the page, determining a page response behavior according to a matching result, and executing a corresponding behavior; the operation behavior data is mainly operation behavior data affecting page display information, for example, if a user selects a masking operation on a certain page, the masking operation of the page is recorded.
S102, generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container.
Specifically, in the process of browsing the webpage container and the original page container in a mixed manner, not only the browsing sequence among the containers, the whole attribute information of the containers, but also the page information in the containers exist, so that the generated history browsing record includes the browsing information among different containers and the browsing information in each container. That is, in the multi-container hybrid browsing process, the historical browsing records of the user are generated uniformly, so that the user behavior can be managed uniformly according to the uniform historical browsing records.
In the embodiment of the invention, all the native Web pages and the Web pages are in a certain container, and the container frame provides unified life cycle management and complete user interaction mode management. Intercepting the access behavior of the page through a uniform container frame, determining whether a native page container or a webpage container is started, and uniformly managing the history of browsing the native page and the Web page by a user. 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 container uniformly manages the switching of pages including, but not limited to, forward, backward, and the like.
The native page comparison is controllable. But the Web page needs to meet the criteria so the content inside the Web page can trigger the change of the history. In order to achieve good experience that a hybrid browsing user does not sense, the condition of historical change of a Web page is intercepted and processed, and a historical browsing record is updated in time. Specifically, interception of Web page change history is achieved through forward and backward of a Hook Web page and a Go method, and a history browsing record is updated when the Web page enters the Webview history.
According to the technical scheme provided by the embodiment, in the process of mixedly browsing the pages in different containers, the historical browsing records generated according to the acquired browsing sequence of each container, the container attribute information and the page information browsed in each container comprise the container attribute information between different containers and the page information of different pages in the containers, so that the unified management of the historical browsing records of the webpage container and the original page container is realized, and the method is a basis for uniformly managing user behaviors.
Example two
Fig. 2a is a flowchart of a method for generating a page hybrid browsing record according to a second embodiment of the present invention. The method may be executed by the page hybrid browsing record generating device provided in the embodiment of the present invention, and referring to fig. 2a, the method may specifically include the following steps:
s201, in the process of browsing the page in the container through the container frame, the browsing sequence and the container attribute information of each container and the page information browsed in each container are obtained.
S202, generating a sub browsing record of each container according to the container attribute information of the container and the page information browsed in the container.
S203, taking the browsing sequence of each container as the sequence among the sub browsing records of each container in the history browsing record.
In this embodiment, the historical browsing records may be stored in a linked list form, so as to directly reflect the browsing switching order of different containers. Specifically, a sub-browsing record of the container is used as a node in the history browsing record linked list, and the sub-browsing record is used as a data element of the node. And according to the browsing sequence of each container, pointing the pointer of the node to the node of the next container. The switching sequence among the containers can be directly reflected through the pointers of all the nodes in the linked list, and the data elements of all the nodes can reflect the container attribute information of each container and the page information browsed in the container.
In an optional real-time manner of this embodiment, S202 includes:
A. and generating a page record part in the sub browsing record of each container according to the page browsing sequence and the page attribute parameters in the container.
Because the Web page container is reused for displaying Web pages, a plurality of Web pages can be browsed in the Web page container, and different Web pages browsed in the Web page container need to be distinguished. Accordingly, if a native web page container can show at least two native pages, it is also necessary to distinguish between different native pages browsed within the native web page container. If a native web page container is used to show only one native page, no page differentiation is required.
In order to distinguish different pages browsed in a container, a page record part in a sub browsing record of the container is generated according to a page browsing sequence and page attribute parameters in the container. The page attribute parameters comprise page identification, rendering parameters, gesture touch parameters, operation behavior data and the like.
B. And generating a container record part in the sub browsing record of the container according to the type information, the identification information and the survival state of the container.
The type information of the container is a native webpage container or a webpage container, and the container can be uniquely distinguished by combining the type information and the identification information of the container. Specifically, the keyword key of the sub browsing record of the container may be generated according to the type information and the identification information of the container; taking a container record part in the sub browsing record as a first key value of the sub browsing record; and taking the page record part in the sub browsing record as a second key value of the sub browsing record.
Further optionally, generating a container record part in the sub browsing record of each container according to the type information, the identification information, and the survival status of the container, where the container record part includes: determining the recording version information of each container according to the page identification information in the container; and generating a container record part in the sub browsing record of each container according to the type information, the identification information, the survival state and the record version information of the container.
Because the same container may have a plurality of sub browsing records, the identification information of each page in the current container and the browsing sequence of each page can be obtained, and the unique record version information of the current container is generated according to the identification information of each page and the browsing sequence of each page, so as to distinguish different sub browsing records of the same container.
In order to generate a page record part in the sub browsing record of the container according to the page browsing order and the page attribute parameters in the container for different pages browsed in the container in one sub browsing record of the container, the method may include: generating the page record part according to the attribute parameters of each page browsed in the container; the page view order within the container is taken as the order between the page record parts of each page.
Optionally, generating the page record part according to the attribute parameter of each page browsed in the container, including: and generating the page record part according to at least one of the identification, the rendering parameter, the gesture touch parameter and the operation behavior data of each page browsed in the container.
In the embodiment of the invention, the containers are distinguished among the containers by generating the container record part in the sub browsing record of the container; the page distinguishing is carried out in the container by generating the page record part in the sub browsing record of the container, namely in the mixed browsing process, the distinguishing between the containers is realized according to the historical browsing record, and the distinguishing of the pages in the containers is also realized.
In this embodiment, after generating the sub browsing record of each container according to the container attribute information of each container and the page information browsed in the container, the method further includes: determining abstract information of a page record part in the sub browsing records of each container as a page record index; generating a sub browsing record index of the container according to a container record part and a page record index in the sub browsing record of the container; and taking the browsing sequence of each container as the sequence among the sub browsing record indexes of each container to obtain the historical browsing record index.
Because the total amount of historical browsing records is large in data volume and large in occupied space, in order to not influence the page browsing efficiency, the total amount of historical browsing records are generally stored in a storage space instead of a memory, so that the access efficiency of the historical browsing data is low. In order to improve the access efficiency of historical browsing data on the premise of not influencing the page browsing efficiency, the historical browsing records are reduced, and key information is extracted from the historical browsing records and used as the index of the historical browsing records.
Since the history browsing record index is a lightweight processing result of the history browsing record, the history browsing record index can be stored in the memory. If the container frame needs to use the historical browsing data, the historical browsing record index is accessed from the memory, for example, the browsing sequence among the containers, the browsing sequence of the pages in the containers, the survival status of the containers, the record version information of the containers, and the like are obtained through the index information. Because the historical browsing record index in the memory is not full data, if the historical browsing record index cannot meet the user requirement, for example, when the container needs to be restored again according to the historical browsing record of the container, especially when the page in the container is restored, the full recorded data in the storage space can be adopted, and then the container and the page are restored.
In an optional real-time manner of this embodiment, after generating the sub browsing record of the container, the method further includes: and taking the sub browsing record of the container as a forward sub browsing record of the previous container, and if other forward sub browsing records exist in the previous container in the historical browsing records, deleting other forward sub browsing records and the sub browsing records after the other forward sub browsing records from the historical browsing records.
In the history browsing record, if the page in the first container is switched to the page in the second container, the first container is used as a forward container of the second container, and correspondingly, the sub browsing record of the first container is used as a forward sub browsing record of the second container. If a plurality of forward sub browsing records exist in one container in the history browsing record, deleting the previous (namely, the previous acquired) forward sub browsing record. And, other sub browsing records linked to the deleted forward sub browsing record are also deleted.
Fig. 2b is a schematic diagram of a user history browsing record according to a second embodiment of the present invention. Referring to fig. 2b, taking the following situation as an example, the user browses pages in the first container, the second container and the third container in sequence, and the historical browsing records sequentially include sub browsing records of the three containers. Subsequently, the user sequentially backs to the pages in the first container and jumps from the pages in the first container to the pages in the fourth container. Accordingly, a sub browsing record of the fourth container is generated in the history browsing record, and then since the sub browsing record of the fourth container and the sub browsing record of the second container are both forward sub browsing records of the first container and the sub browsing record of the second container is generated previously, the sub browsing record of the second container is deleted, and the sub browsing record of the third container linked after the sub browsing record of the second container is deleted.
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 view of a page sequence of a user hybrid browsing provided by a third embodiment of the present invention, fig. 3b is a schematic view of a user history browsing record provided by the third embodiment of the present invention, and fig. 3c is a schematic view of a user history browsing record provided by the third embodiment of the present invention. Referring to fig. 3a to 3c, in this embodiment, taking an example that a user sequentially and mixedly browses a first Web page, a first native page, a second Web page, a third Web page, a fourth Web page, a second native page, a third native page, and a second native page, a construction process of a history browsing record may include the following steps:
s301, the container frame responds to the click operation acted on the webpage url, starts the webpage container to display a first Web page, and controls to generate a first sub browsing record of the webpage container in the historical browsing record (refer to FIG. 3a and FIG. 3 c).
S302, the container frame responds to a click operation of a certain url in a first Web page in the webpage container, starts the native page container 1 to display the first native page, and controls to insert a sub browsing record of the first native container into the history browsing record (refer to FIG. 3a and FIG. 3 c).
Since different Web pages can be browsed in the Web page container, after the browsing of the first native page is switched, the previous page start position start and end position end of the Web page container are also updated to 0 (refer to fig. 3b), and the first sub browsing record of the Web page container is updated accordingly.
S303, in response to a click operation applied to a url in the first native page, starting a Web page container, browsing a second Web page, a third Web page and a fourth Web page in sequence using the Web page container, and controlling to generate a second sub-browsing record of the Web page container in the history browsing record (refer to fig. 3a and fig. 3 c).
S304, responding to a click operation acted on a certain url in the fourth Web page, starting the native page container 2 to display a second native page, and controlling to insert a sub browsing record of the second native container into the historical browsing record.
Since different Web pages can be browsed in the Web page container, after the browsing of the first native page is switched, the previous page start position start is 1 and the previous page end position end is 3 of the Web page container are also updated (refer to fig. 3b), and the second sub browsing record of the Web page container is updated accordingly.
S305, responding to the click operation acted on a certain url in the second native page, starting the native page container 3 to display a third native page, and controlling to insert a sub browsing record of the third native container into the historical browsing record.
S306, in response to the page back operation acting in the third native page, re-presenting the second native page through the second native container (refer to fig. 3 a).
Since the previous sub browsing record of the third native container is the sub browsing record of the second native container, that is, the second native page belongs to the historical browsing page, it is not necessary to browse the second native page in the second native container directly according to the sub browsing record of the second native container, and it is not necessary to generate a new sub browsing record of the second native container (refer to fig. 3a and 3 c).
Further, in this embodiment, if it is detected that browsing the previous page in the container is switched to browsing the current page in the current container, and the current page belongs to a non-historical browsing page, a sub-browsing record of the current container is added to the historical browsing record.
That is, for each container, the number of sub browsing records of the container included in the history browsing record is equal to the number of times of starting the container by switching between the containers and browsing the non-history browsing pages in the container, the number of sub browsing records of one container may be at least two, and different sub browsing records of the same container may be distinguished by using the record version information of the container. In addition, if it is monitored that the browsing of the previous container page is switched to the browsing of the current container page, and the current page belongs to the historical browsing page, a new sub browsing record of the current container does not need to be added.
The embodiment of the invention specifically provides a browsing record example, specifically introduces a browsing record unified management process, and further defines the time for generating the sub-browsing records of the container.
Example four
Fig. 4 is a schematic structural diagram of a device for generating a page hybrid browsing record according to a fourth embodiment of the present invention, which is capable of executing a method for generating a page hybrid browsing record 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 container page information obtaining module 41, configured to obtain a browsing order and container attribute information of each container and page information browsed in each container in the process of browsing pages in the containers through a container frame;
and a browsing record generating module 42, configured to generate a historical browsing record according to the browsing order and the container attribute information of each container, and the page information browsed in each container.
Optionally, the browsing-record generating module 41 may be specifically configured to:
generating a sub browsing record of each container according to the container attribute information of each container and the page information browsed in the container;
and taking the browsing sequence of each container as the sequence among the sub browsing records of each container in the historical browsing record.
Optionally, the browsing-record generating module 41 may be specifically configured to:
generating a page record part in the sub browsing record of each container according to the page browsing sequence and the page attribute parameters in each container;
and generating a container record part in the sub browsing record of the container according to the type information, the identification information and the survival state of the container.
Optionally, the browsing-record generating module 41 may be specifically configured to:
determining the recording version information of each container according to the page identification information in the container;
and generating a container record part in the sub browsing record of each container according to the type information, the identification information, the survival state and the record version information of the container.
Optionally, the browsing-record generating module 41 may be specifically configured to:
generating the page record part according to the attribute parameters of each page browsed in the container;
the page view order within the container is taken as the order between the page record parts of each page.
Optionally, the browsing-record generating module 41 may be specifically configured to:
and generating the page record part according to at least one of the identification, the rendering parameter, the gesture touch parameter and the operation behavior data of each page browsed in the container.
Optionally, the browsing record generating module 41 is further specifically configured to:
determining abstract information of a page record part in the sub browsing records of each container as a page record index;
generating a sub browsing record index of the container according to a container record part and a page record index in the sub browsing record of the container;
and taking the browsing sequence of each container as the sequence among the sub browsing record indexes of each container to obtain the historical browsing record index.
Optionally, the browsing record generating module is further configured to: and after the sub browsing record of the container is generated, taking the sub browsing record of the container as a forward sub browsing record of the previous container, and if other forward sub browsing records exist in the previous container in the historical browsing records, deleting other forward sub browsing records from the historical browsing records and the sub browsing records after other forward sub browsing records.
The device for generating the page hybrid browsing record provided by the embodiment of the invention can execute the method for generating the page hybrid browsing record provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the page hybrid browsing record generation 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).
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 generating a page mixture browsing record provided by the embodiment of the present invention, including:
in the process of browsing the pages in the containers through the container frame, acquiring the browsing sequence and the container attribute information of each container and the page information browsed in each container;
and generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container.
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 generating a page hybrid browsing record, where the method includes:
in the process of browsing the pages in the containers through the container frame, acquiring the browsing sequence and the container attribute information of each container and the page information browsed in each container;
and generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container.
Of course, the storage medium provided by the embodiment of the present invention includes computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in a page mixture browsing record generation 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 (16)
1. The page mixed browsing record generation method is 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, the webpage container 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 containers through the container frame, acquiring the browsing sequence and the container attribute information of each container and the page information browsed in each container;
and generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container.
2. The method of claim 1, wherein generating a history browsing record according to the browsing order and container attribute information of each container and the page information browsed in each container comprises:
generating a sub browsing record of each container according to the container attribute information of each container and the page information browsed in the container;
and taking the browsing sequence of each container as the sequence among the sub browsing records of each container in the historical browsing record.
3. The method of claim 2, wherein generating the sub browsing records of the container according to the container attribute information of each container and the page information browsed in the container comprises:
generating a page record part in the sub browsing record of each container according to the page browsing sequence and the page attribute parameters in each container;
and generating a container record part in the sub browsing record of the container according to the type information, the identification information and the survival state of the container.
4. The method of claim 3, wherein generating the container record part of the sub browsing record of each container according to the type information, the identification information and the survival status of the container comprises:
determining the recording version information of each container according to the page identification information in the container;
and generating a container record part in the sub browsing record of each container according to the type information, the identification information, the survival state and the record version information of the container.
5. The method of claim 3, wherein generating the page record part of the sub browsing records of the container according to the browsing order of the pages in the container and the page attribute parameters comprises:
generating the page record part according to the attribute parameters of each page browsed in the container;
the page view order within the container is taken as the order between the page record parts of each page.
6. The method of claim 5, wherein generating the page record portion according to each page attribute parameter browsed in the container comprises:
and generating the page record part according to at least one of the identification, the rendering parameter, the gesture touch parameter and the operation behavior data of each page browsed in the container.
7. The method of claim 3, wherein after generating the sub browsing record of the container according to the container attribute information of each container and the page information browsed in the container, further comprising:
determining abstract information of a page record part in the sub browsing records of each container as a page record index;
generating a sub browsing record index of the container according to a container record part and a page record index in the sub browsing record of the container;
and taking the browsing sequence of each container as the sequence among the sub browsing record indexes of each container to obtain the historical browsing record index.
8. The method of claim 2, wherein after generating the child browsing history for the container, further comprising:
and taking the sub browsing record of the container as a forward sub browsing record of the previous container, and if other forward sub browsing records exist in the previous container in the historical browsing records, deleting other forward sub browsing records and the sub browsing records after the other forward sub browsing records from the historical browsing records.
9. The device for generating the page hybrid browsing record is configured to a device, and the device comprises a container frame, a webpage container and a native page container, wherein the webpage container and the native page container are in communication 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 device comprises:
the container page information acquisition module is used for acquiring 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 page in the container through the container frame;
and the browsing record generating module is used for generating a historical browsing record according to the browsing sequence and the container attribute information of each container and the page information browsed in each container.
10. The apparatus of claim 9, wherein the browsing-record generating module is specifically configured to:
generating a sub browsing record of each container according to the container attribute information of each container and the page information browsed in the container;
and taking the browsing sequence of each container as the sequence among the sub browsing records of each container in the historical browsing record.
11. The apparatus of claim 10, wherein the browsing-record generating module is specifically configured to:
generating a page record part in the sub browsing record of each container according to the page browsing sequence and the page attribute parameters in each container;
and generating a container record part in the sub browsing record of the container according to the type information, the identification information and the survival state of the container.
12. The apparatus of claim 11, wherein the browsing-record generating module is specifically configured to:
determining the recording version information of each container according to the page identification information in the container;
and generating a container record part in the sub browsing record of each container according to the type information, the identification information, the survival state and the record version information of the container.
13. The apparatus of claim 11, wherein the browsing-record generating module is specifically configured to:
generating the page record part according to the attribute parameters of each page browsed in the container;
the page view order within the container is taken as the order between the page record parts of each page.
14. The apparatus of claim 11, wherein the browsing-record generating module is further specifically configured to:
determining abstract information of a page record part in the sub browsing records of each container as a page record index;
generating a sub browsing record index of the container according to a container record part and a page record index in the sub browsing record of the container;
and taking the browsing sequence of each container as the sequence among the sub browsing record indexes of each container to obtain the historical browsing record index.
15. An electronic device, characterized in that the 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 page-blending browsing record generation method of any of claims 1-7.
16. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the page-blending browsing-record generating method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910144741.XA CN109902255B (en) | 2019-02-27 | 2019-02-27 | Page mixed browsing record generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910144741.XA CN109902255B (en) | 2019-02-27 | 2019-02-27 | Page mixed browsing record generation method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109902255A CN109902255A (en) | 2019-06-18 |
CN109902255B true CN109902255B (en) | 2021-04-27 |
Family
ID=66945606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910144741.XA Active CN109902255B (en) | 2019-02-27 | 2019-02-27 | Page mixed browsing record generation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109902255B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750296A (en) * | 2019-10-17 | 2020-02-04 | 江苏国泰新点软件有限公司 | Application processing method and device |
CN111061981A (en) * | 2019-11-05 | 2020-04-24 | 贝壳技术有限公司 | Page management method and device, storage medium and electronic equipment |
CN110955510B (en) * | 2019-12-11 | 2021-03-02 | 腾讯科技(上海)有限公司 | A kind of isolation processing method and related device |
CN113282858A (en) * | 2020-02-20 | 2021-08-20 | 浙江宇视科技有限公司 | Page loading method, device and system and storage medium |
CN112199620B (en) * | 2020-11-03 | 2024-07-12 | 百度时代网络技术(北京)有限公司 | Page operation method and device, electronic equipment and storage medium |
CN112579932A (en) * | 2020-12-08 | 2021-03-30 | 广州博冠信息科技有限公司 | Page display method and device, electronic equipment and computer readable medium |
CN114816179A (en) * | 2021-01-18 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Historical browsing content display method and device, electronic equipment and storage medium |
CN112835580B (en) * | 2021-03-10 | 2024-05-28 | 百度在线网络技术(北京)有限公司 | Instruction processing method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104657118A (en) * | 2013-11-18 | 2015-05-27 | 中国移动通信集团公司 | Native + Web mixed mobile application achieving method and device |
CN105872078A (en) * | 2016-05-12 | 2016-08-17 | 中国电子科技网络信息安全有限公司 | Mixed cloud desktop system and management method |
CN106528627A (en) * | 2016-10-01 | 2017-03-22 | 奇酷互联网络科技(深圳)有限公司 | Method and apparatus for loading and locating webpage browsing position |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1624386B1 (en) * | 2004-08-06 | 2013-08-28 | Sap Ag | Searching for data objects |
CN102043630A (en) * | 2010-12-30 | 2011-05-04 | 国网电力科学研究院 | Method and system for generating multi-page in framework |
CN105893095B (en) * | 2016-04-13 | 2019-05-17 | 海尔优家智能科技(北京)有限公司 | A kind of method and apparatus of webpage load |
CN106682144B (en) * | 2016-12-20 | 2018-07-13 | 深圳壹账通智能科技有限公司 | page display method and device |
CN108664498B (en) * | 2017-03-29 | 2023-05-16 | 腾讯科技(深圳)有限公司 | Webpage content display method and terminal |
CN107368560B (en) * | 2017-07-07 | 2022-11-04 | 腾讯科技(深圳)有限公司 | Page implementation method and device for mobile application and computer-readable storage medium |
CN108595234A (en) * | 2018-03-13 | 2018-09-28 | 阿里巴巴集团控股有限公司 | Five application page switching method, device and equipment |
-
2019
- 2019-02-27 CN CN201910144741.XA patent/CN109902255B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104657118A (en) * | 2013-11-18 | 2015-05-27 | 中国移动通信集团公司 | Native + Web mixed mobile application achieving method and device |
CN105872078A (en) * | 2016-05-12 | 2016-08-17 | 中国电子科技网络信息安全有限公司 | Mixed cloud desktop system and management method |
CN106528627A (en) * | 2016-10-01 | 2017-03-22 | 奇酷互联网络科技(深圳)有限公司 | Method and apparatus for loading and locating webpage browsing position |
Non-Patent Citations (1)
Title |
---|
基于Lua的移动互联网中间件系统的研究与实现;程君;《中国优秀硕士学位论文全文数据库 信息科技辑》;20190115;I138-1050 * |
Also Published As
Publication number | Publication date |
---|---|
CN109902255A (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109902255B (en) | Page mixed browsing record generation method, device, equipment and storage medium | |
US11989707B1 (en) | Assigning raw data size of source data to storage consumption of an account | |
JP7013466B2 (en) | Application data processing methods, equipment, and computer programs | |
CN109885781B (en) | Mixed page unified browsing method, device, equipment and storage medium | |
US20080301101A1 (en) | Systems, methods, means, and media for recording, searching, and outputting display information | |
US11797494B2 (en) | Snapshot management in distributed file systems | |
CN111754305A (en) | Product customization method, device, equipment and storage medium | |
CN103677519A (en) | Method for collecting multimedia resource, terminal and server | |
CN112764638B (en) | Display control method, electronic device, and readable storage medium | |
CN113722007A (en) | Configuration method, device and system of VPN branch equipment | |
CN118152346A (en) | File online operation scene conversion method, device, system and storage medium | |
CN111858395B (en) | Data management method and device | |
WO2018217406A1 (en) | Providing instant preview of cloud based file | |
CN115328478A (en) | Page embedding method, device, electronic device and medium | |
CN112965944A (en) | Visual page restoration method and system, electronic device and storage medium | |
US8539171B2 (en) | Analysis and timeline visualization of storage channels | |
CN111880698A (en) | Information processing method and device of intelligent terminal, electronic equipment and storage medium | |
CN111562958A (en) | Page data display management method and device | |
CN114816203B (en) | Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter | |
US12235759B2 (en) | Pointer-based sharing of a data structure between threads | |
CN116610880B (en) | Method and device for realizing data visualization, electronic equipment and storage medium | |
CN118041813B (en) | Signal test script data construction method and device, electronic equipment and readable medium | |
US9317546B2 (en) | Storing changes made toward a limit | |
CN120086064A (en) | Disaster recovery system client configuration method, device, equipment, medium and product | |
US20120054223A1 (en) | Displaying hidden rows in a database after an expiration date |
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 |