CN110321496B - Navigation return control method and control system of mobile browser - Google Patents

Navigation return control method and control system of mobile browser Download PDF

Info

Publication number
CN110321496B
CN110321496B CN201910382005.8A CN201910382005A CN110321496B CN 110321496 B CN110321496 B CN 110321496B CN 201910382005 A CN201910382005 A CN 201910382005A CN 110321496 B CN110321496 B CN 110321496B
Authority
CN
China
Prior art keywords
information
mobile browser
browsing page
keyword
browser
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
CN201910382005.8A
Other languages
Chinese (zh)
Other versions
CN110321496A (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.)
Shengwei Times Technology Group Co ltd
Original Assignee
Shengwei Times Technology Group 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 Shengwei Times Technology Group Co ltd filed Critical Shengwei Times Technology Group Co ltd
Priority to CN201910382005.8A priority Critical patent/CN110321496B/en
Publication of CN110321496A publication Critical patent/CN110321496A/en
Application granted granted Critical
Publication of CN110321496B publication Critical patent/CN110321496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a navigation return control method and a navigation return control system of a mobile browser, which simulate corresponding historical browsing page information in the mobile browser through the cache of the mobile browser, realize a history class based on the historical browsing page information obtained through simulation, modify the history class to obtain address data information corresponding to the historical browsing page information, and finally execute direct navigation return operation on the current browsing page of the mobile browser according to the address data information.

Description

Navigation return control method and control system of mobile browser
Technical Field
The invention relates to the technical field of mobile browser page control, in particular to a navigation return control method and a navigation return control system of a mobile browser.
Background
With the development of communication technology, intelligent mobile terminals such as mobile phones have been integrated into the aspects of life and work of people. People can carry out instant messaging and data transmission at any time and any place through intelligent mobile terminals such as mobile phones. In particular, people can install different mobile browsers or mobile browser plug-ins on the intelligent mobile terminal, so that corresponding web browsing operations can be performed through the mobile browsers. However, limited by the screen size and the display mode of the intelligent mobile terminal, the user can only browse through a single webpage, and if the user needs to return to the upper-level webpage, the user needs to operate the corresponding return key to realize the webpage display switching of the mobile browser.
At present, the conventional mobile browser implements the page navigation and return operation of the mobile browser through the History API provided by the mobile browser, and although the page navigation and return operation of the mobile browser can ensure the accuracy and convenience of page return, since the page navigation and return operation is performed according to the historical browsing records of the mobile browser, the corresponding historical browsing records need to be called in the process of performing the page navigation and return operation, and a corresponding page return path link is formed, and this process occupies a large amount of running tasks of the mobile browser, so that the situation that the jump speed is slowed when the mobile browser implements page return jump is likely to occur, which seriously affects the normal page browsing operation of a user.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a navigation return control method and a navigation return control system of a mobile browser, wherein the navigation return control method and the navigation return control system of the mobile browser simulate corresponding historical browsing page information in the mobile browser through the cache of the mobile browser, realize a history class based on the historical browsing page information obtained through simulation, modify the history class to obtain address data information corresponding to the historical browsing page information, and finally execute direct navigation return operation on the current browsing page of the mobile browser according to the address data information. Therefore, in the process of performing the page navigation return operation, the navigation return control method and the control system of the mobile browser do not rely on the history API of the mobile browser to acquire and process any historical browsing data information, and only rely on the cache of the mobile browser to simulate and form corresponding historical browsing page information, so that the problem of how to accurately navigate and return the mobile browser after entering the same browsing page from a plurality of different entries can be effectively solved, and the control problem that the mobile browser cannot return easily through the path A → B → C → A in the existing mobile browser is solved.
The invention provides a navigation return control method of a mobile browser, which is characterized by comprising the following steps:
simulating corresponding historical browsing page information in the mobile browser through the cache of the mobile browser;
step (2), based on the simulation of the historical browsing page information, a history class is realized;
step (3), modifying the history class to obtain address data information corresponding to the historical browsing page information;
step (4), according to the address data information, performing direct navigation return operation on the current browsing page of the mobile browser;
further, in the step (1), simulating the corresponding historical browsing page information in the mobile browser through the cache of the mobile browsing specifically includes,
step (11), obtaining browser type information corresponding to the mobile browser, and determining a corresponding information cache state in the mobile browser based on the browser type information;
step (12), if the browser type information indicates that the mobile browser belongs to a first type mobile browser, determining first cache state information corresponding to the first type mobile browser,
if the browser type information indicates that the mobile browser belongs to a second type mobile browser, determining second cache state information corresponding to the second type mobile browser,
wherein, the first type mobile browser at least comprises a plurality of corresponding different browser application terminals on the mobile terminal, the second type mobile browser at least comprises a browser plug-in a plurality of corresponding non-browser application terminals on the mobile terminal,
the first cache state information or the second cache state information comprises cache data time information and/or cache data volume information corresponding to different caches in the mobile browser;
step (13), based on the first cache state information and/or the second cache state information, simulating corresponding historical browsing page information in the mobile browser;
further, in the step (2), based on simulating the historical browsing page information, implementing the history type specifically includes,
a step (21) of acquiring keyword and address information on the history browsing page information based on simulating the history browsing page information,
acquiring keywords and address information related to the historical browsing page information by extracting a page name corresponding to the historical browsing page information as the keywords and extracting a whole full path corresponding to the historical browsing page information and path parameters thereof as the address information;
step (22), judging the validity of the keyword, and realizing the history class based on the judgment result of the validity,
wherein if the page name corresponding to the keyword is unique, determining that the keyword and the address information have validity, and using the keyword and the address information as attribute information to realize the history class,
otherwise, deleting the page name corresponding to the current keyword, extracting another page name from the address information as the keyword, and using the keyword and the address information as attribute information to realize the history class;
further, in the step (3), modifying the history class to obtain the address data information corresponding to the historical browsing page information specifically includes,
performing at least one modification process of adding, deleting and clearing air on the history class so as to acquire the address data information;
alternatively, the first and second electrodes may be,
in the step (4), the step of performing a direct navigation return operation on the current browsing page of the mobile browser according to the address data information specifically includes,
according to the address data information, after the mobile browser is indicated to enter the same browsing page from a plurality of different entries, a navigation returning operation is directly executed;
further, in the step (2), the step of implementing history further specifically includes, based on the simulation of the historical browsing page information,
performing word segmentation processing on the historical browsing page information by using a word segmentation algorithm so as to convert the historical browsing page information into a plurality of words,
determining a word stopping database and a corpus database, wherein the word stopping database corresponds to words needing to be automatically filtered when text retrieval is carried out, and the corpus database is formed according to different browsing page information;
using the following formula (1), the historical browsing page information is converted into a plurality of words after word segmentation processing, and the words are filtered
Figure GDA0002730102850000041
In the above formula (1), B ═ 2 [, ]]The expression constructs an empty filtered phrase vector B, [ B, A [ ]i]Express the phrase AiAdding to vector B to form another new vector B1, AiThe historical browsing page information is converted into an ith phrase corresponding to a plurality of words after word segmentation, wherein i is 1, 2, … and n, n is the number of phrases corresponding to the plurality of words obtained after the historical browsing page information is converted after word segmentation,
Figure GDA0002730102850000043
represents the phrase AiNot belonging to the stop word database, AiE.g. TCK represents the phrase AiBelongs to a stop word database;
then, the document vector corresponding to the vector B is calculated by using the following formula (2)
Figure GDA0002730102850000042
In the above formula (2), length (B) represents the number of word groups in the calculation vector B, COUNTIF (B)j) Representing the number of times that the jth phrase in the vector B appears in the historical browsing page information, and C representing the calculated document vector, wherein j is 1, 2, … and t;
meanwhile, the inverse word frequency vector corresponding to the vector B is calculated by using the following formula (3),
Figure GDA0002730102850000051
in the above formula (3), ln () represents a logarithmic operation based on a natural constant e, length (sqj) represents the number of browsing page information in the corpus database, and COUNTIF (SJQB)j) Representing the amount of browsing page information of the jth phrase containing the vector B in the corpus database, and NCP representing the calculated vector BAn inverse word frequency vector, where j is 1, 2, …, t;
finally, the following formula (4) is used to calculate the degree-of-classification vector corresponding to each phrase in the vector B
Figure GDA0002730102850000052
In the above formula (4), CND represents a calculated categorical degree vector, ln () represents a logarithmic operation based on a natural constant e, C represents a document vectorTRepresenting a transpose of a document vector;
extracting a corresponding maximum value in the similarity degree vector CND calculated by the formula (4), if the maximum value corresponds to a pth value of the similarity degree vector CND and p is less than or equal to t, determining that a pth phrase in the vector B is a keyword alternative word corresponding to the historical browsing page information, judging whether the keyword alternative word becomes the keyword alternative word in the other cached historical browsing pages, if not, determining the keyword alternative word as the keyword, if so, performing the determination processing on all phrases according to a descending rule in the similarity degree vector CND until the keyword is determined, and finally realizing the history class according to the determined keyword.
The invention also provides a navigation return control system of the mobile browser, which comprises a simulation module, a history realization module, an address information acquisition module and a navigation return module; wherein the content of the first and second substances,
the simulation module is used for simulating corresponding historical browsing page information in the mobile browser through the cache of the mobile browser;
the history class realization module is used for realizing the history class according to the simulation result of the simulation module;
the address information acquisition module is used for modifying through the history class so as to acquire address data information corresponding to the historical browsing page information;
the navigation returning module is used for executing direct navigation returning operation on the current browsing page of the mobile browser according to the address data information;
further, the simulation module comprises a mobile browser type determination sub-module, a mobile browser cache state determination sub-module and a simulation operation sub-module; wherein
The mobile browser type determining submodule is used for determining that the mobile browser belongs to a first type mobile browser or a second type mobile browser according to browser type information corresponding to the mobile browser;
the mobile browser cache state determining submodule is used for determining that the mobile browser has first cache state information when the mobile browser belongs to a first type of mobile browser, or determining that the mobile browser has second cache state information when the mobile browser belongs to a second type of mobile browser, wherein the first cache state information or the second cache state information comprises cache data time information and/or cache data volume information corresponding to different caches in the mobile browser;
the simulation operation sub-module is used for simulating corresponding historical browsing page information in the mobile browser according to the first cache state information and/or the second cache state information;
further, the history class realization module comprises an attribute information acquisition sub-module, an effectiveness judgment sub-module and a history class generation sub-module; wherein the content of the first and second substances,
the attribute information acquisition submodule is used for acquiring keywords and address information related to the historical browsing page information, and extracting a page name corresponding to the historical browsing page information as the keywords and extracting a whole full path corresponding to the historical browsing page information and path parameters thereof as the address information;
the validity judgment submodule is used for judging the validity of the keyword;
the history class generation submodule is used for realizing the history class according to the judgment result of the effectiveness, wherein the history class generation submodule is used for realizing the history class according to the judgment result of the effectiveness
If the page name corresponding to the keyword is unique, the validity judgment submodule determines that the keyword and the address information have validity, and the history class generation submodule uses the keyword and the address information as attribute information to realize the history class,
otherwise, the history class generation submodule deletes the page name corresponding to the current keyword, extracts another page name from the address information as the keyword, and uses the keyword and the address information as attribute information so as to realize the history class;
further, the modifying the history class by the address information obtaining module specifically includes performing at least one of modification processing of adding, deleting and clearing air on the history class, so as to obtain the address data information;
alternatively, the first and second electrodes may be,
the navigation returning module executes the direct navigation returning operation on the current browsing page of the mobile browser specifically comprises the step of directly executing the navigation returning operation after the mobile browser is indicated to enter the same browsing page from a plurality of different entries according to the address data information.
Compared with the prior art, the navigation return control method and the navigation return control system of the mobile browser simulate the corresponding historical browsing page information in the mobile browser through the cache of the mobile browser, realize the history class based on the simulated historical browsing page information, modify the history class to obtain the address data information corresponding to the historical browsing page information, and finally execute the direct navigation return operation on the current browsing page of the mobile browser according to the address data information. Therefore, in the process of performing the page navigation return operation, the navigation return control method and the control system of the mobile browser do not rely on the history API of the mobile browser to acquire and process any historical browsing data information, and only rely on the cache of the mobile browser to simulate and form corresponding historical browsing page information, so that the problem of how to accurately navigate and return the mobile browser after entering the same browsing page from a plurality of different entries can be effectively solved, and the control problem that the mobile browser cannot return easily through the path A → B → C → A in the existing mobile browser is solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a navigation return control method of a mobile browser according to the present invention.
Fig. 2 is a schematic structural diagram of a navigation return control system of a mobile browser according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a navigation return control method of a mobile browser according to an embodiment of the present invention. The navigation return control method of the mobile browser comprises the following steps:
and (1) simulating corresponding historical browsing page information in the mobile browser through the cache of the mobile browser.
Preferably, in the step (1), simulating the corresponding historical browsing page information in the mobile browser through the cache of the mobile browser specifically includes,
step (11), acquiring browser type information corresponding to the mobile browser, and determining a corresponding information cache state in the mobile browser based on the browser type information;
step (12), if the browser type information indicates that the mobile browser belongs to a first type mobile browser, determining first cache state information corresponding to the first type mobile browser,
if the browser type information indicates that the mobile browser belongs to a second type mobile browser, determining second cache state information corresponding to the second type mobile browser,
wherein, the first type mobile browser at least comprises a plurality of corresponding different browser application terminals on the mobile terminal, the second type mobile browser at least comprises a browser plug-in a plurality of corresponding non-browser application terminals on the mobile terminal,
the first cache state information or the second cache state information comprises cache data time information and/or cache data volume information corresponding to different caches in the mobile browser;
and (13) simulating corresponding historical browsing page information in the mobile browser based on the first cache state information and/or the second cache state information.
And (2) realizing the history class based on simulating the historical browsing page information.
Preferably, step (21), based on simulating the historical browsing page information, obtaining keyword and address information about the historical browsing page information,
acquiring keywords and address information related to the historical browsing page information by extracting a page name corresponding to the historical browsing page information as the keywords and extracting a whole full path corresponding to the historical browsing page information and path parameters thereof as the address information;
a step (22) of judging the validity of the keyword, and realizing the history class based on the judgment result of the validity,
wherein, if the page name corresponding to the keyword is unique, the keyword and the address information are determined to have validity, and the keyword and the address information are used as attribute information, so as to realize the history class,
otherwise, deleting the page name corresponding to the current keyword, extracting another page name from the address information as the keyword, and using the keyword and the address information as attribute information to realize the history class.
Preferably, in the step (2), based on simulating the historical browsing page information, implementing the history class further specifically includes,
the word segmentation algorithm is utilized to perform word segmentation processing on the historical browsing page information so as to convert the historical browsing page information into a plurality of words, specifically,
determining a word stopping database and a corpus database, wherein the word stopping database corresponds to words needing to be automatically filtered when text retrieval is carried out, and the corpus database is formed according to different browsing page information;
using the following formula (1), the historical browsing page information is converted into a plurality of words after word segmentation processing, and then the words are filtered
Figure GDA0002730102850000101
In the above formula (1), B ═ 2 [, ]]The expression constructs an empty filtered phrase vector B, [ B, A [ ]i]Express the phrase AiAdding to vector B to form another new vector B1, AiThe historical browsing page information is converted into a plurality of words after word segmentation processingThe corresponding ith phrase, wherein i is 1, 2, …, n is the number of phrases corresponding to multiple words obtained by converting the historical browsing page information after word segmentation processing,
Figure GDA0002730102850000103
represents the phrase AiNot belonging to the stop word database, AiE.g. TCK represents the phrase AiBelongs to a stop word database;
through the formula (1), some phrases without practical significance in the historical browsing page information can be removed, and the phrases are prevented from being keywords;
next, the document vector corresponding to the vector B is calculated using the following formula (2)
Figure GDA0002730102850000102
In the above formula (2), length (B) represents the number of word groups in the calculation vector B, COUNTIF (B)j) Representing the number of times that the jth phrase in the vector B appears in the history browsing page information, and C representing the calculated document vector, wherein j is 1, 2, … and t;
the occurrence frequency of each phrase can be counted through the formula (2), so that the probability that the phrases with more occurrence frequencies are changed into the keywords is higher when the keywords are obtained;
meanwhile, the inverse word frequency vector corresponding to the vector B is calculated by using the following formula (3),
Figure GDA0002730102850000111
in the above formula (3), ln () represents a logarithmic operation based on a natural constant e, length (sqj) represents the number of browsing page information in the corpus database, and COUNTIF (SJQB)j) Representing the number of browsing page information of a jth phrase containing a vector B in a corpus database, and representing the inverse word frequency vector corresponding to the computed vector B by NCP, wherein j is 1, 2, … and t;
whether each phrase is a common word can be obtained through the formula (3), and a common meaningless word is prevented from forming a keyword;
finally, the following formula (4) is used to calculate the degree-of-classification vector corresponding to each phrase in the vector B
Figure GDA0002730102850000112
In the above formula (4), CND represents a calculated categorical degree vector, ln () represents a logarithmic operation based on a natural constant e, C represents a document vectorTRepresenting a transpose of a document vector;
extracting a corresponding maximum value in the categorical degree vector CND calculated by the formula (4), if the maximum value corresponds to a pth value of the categorical degree vector CND and p is less than or equal to t, determining that a pth phrase in the vector B is a keyword candidate corresponding to the historical browsing page information, judging whether the keyword candidate becomes a keyword candidate in the other cached historical browsing pages, if not, determining the keyword candidate as a keyword, if so, performing the determination processing on all phrases according to a descending rule in the categorical degree vector CND until the keyword is determined, and finally realizing the history category according to the determined keyword;
by the method, when the history class is constructed, the extraction of the keywords in the history class is more representative, and the obtained keywords are more times of appearance in the history browsing page information, but are not some stop words and are not some phrases which often appear in the browsing page information, so that the keywords can better summarize the history class.
And (3) modifying the history class so as to obtain address data information corresponding to the historical browsing page information.
Preferably, in the step (3), modifying the history class to obtain the address data information corresponding to the historical browsing page information specifically includes,
and performing at least one modification process of adding, deleting and clearing the history class so as to acquire the address data information.
And (4) executing direct navigation return operation on the current browsing page of the mobile browser according to the address data information.
Preferably, in the step (4), the performing of the direct navigation returning operation on the current browsing page of the mobile browser according to the address data information specifically includes,
and according to the address data information, indicating the mobile browser to enter the same browsing page from a plurality of different entries and then directly executing navigation return operation.
Fig. 2 is a schematic structural diagram of a navigation return control system of a mobile browser according to an embodiment of the present invention. The navigation return control system of the mobile browser comprises a simulation module, a history type implementation module, an address information acquisition module and a navigation return module.
Preferably, the simulation module is configured to simulate, through the cache of the mobile browser, corresponding historical browsing page information in the mobile browser;
preferably, the history class implementation module is configured to implement a history class according to a simulation result of the simulation module;
preferably, the address information obtaining module is configured to modify the history class to obtain address data information corresponding to the historical browsing page information;
preferably, the navigation returning module is configured to perform a direct navigation returning operation on a current browsing page of the mobile browser according to the address data information;
preferably, the simulation module comprises a mobile browser type determination sub-module, a mobile browser cache state determination sub-module and a simulation operation sub-module;
preferably, the mobile browser type determining sub-module is configured to determine, according to browser type information corresponding to the mobile browser, that the mobile browser belongs to a first type mobile browser or a second type mobile browser;
preferably, the mobile browser cache state determining sub-module is configured to determine that the mobile browser has first cache state information when the mobile browser belongs to a first type of mobile browser, or determine that the mobile browser has second cache state information when the mobile browser belongs to a second type of mobile browser, where the first cache state information or the second cache state information includes cache data time information and/or cache data amount information corresponding to different caches in the mobile browser;
preferably, the simulation operation sub-module is configured to simulate corresponding historical browsing page information in the mobile browser according to the first cache state information and/or the second cache state information;
preferably, the history class implementation module comprises an attribute information acquisition sub-module, an effectiveness judgment sub-module and a history class generation sub-module; wherein the content of the first and second substances,
preferably, the attribute information obtaining sub-module is configured to obtain a keyword and address information related to the historical browsing page information by extracting a page name corresponding to the historical browsing page information as the keyword, and extracting a whole full path corresponding to the historical browsing page information and path parameters thereof as the address information;
preferably, the validity judgment sub-module is configured to judge validity of the keyword;
preferably, the history class generation submodule is configured to implement the history class according to the judgment result of the validity, where the history class generation submodule is configured to implement the history class according to the judgment result of the validity
If the page name corresponding to the keyword is unique, the validity judgment submodule determines that the keyword and the address information have validity, and the history class generation submodule uses the keyword and the address information as attribute information so as to realize the history class,
otherwise, the history class generation submodule deletes the page name corresponding to the current keyword, extracts another page name from the address information as the keyword, and uses the keyword and the address information as attribute information so as to realize the history class;
preferably, the modifying the history class by the address information obtaining module specifically includes performing at least one of modification processing of adding, deleting and clearing air on the history class, so as to obtain the address data information;
preferably, the step of executing the direct navigation returning operation on the current browsing page of the mobile browser by the navigation returning module specifically includes instructing, according to the address data information, the mobile browser to directly execute the navigation returning operation after entering the same browsing page from a plurality of different entries.
It can be seen from the foregoing embodiments that, in the navigation return control method and control system of the mobile browser, the corresponding historical browsing page information in the mobile browser is simulated through the cache of the mobile browser itself, then the history class is implemented based on the historical browsing page information obtained through simulation, the history class is modified to obtain the address data information corresponding to the historical browsing page information, and finally, the direct navigation return operation is performed on the current browsing page of the mobile browser according to the address data information. Therefore, in the process of performing the page navigation return operation, the navigation return control method and the control system of the mobile browser do not rely on the history API of the mobile browser to acquire and process any historical browsing data information, and only rely on the cache of the mobile browser to simulate and form corresponding historical browsing page information, so that the problem of how to accurately navigate and return the mobile browser after entering the same browsing page from a plurality of different entries can be effectively solved, and the control problem that the mobile browser cannot return easily through the path A → B → C → A in the existing mobile browser is solved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A navigation return control method of a mobile browser is characterized by comprising the following steps:
simulating corresponding historical browsing page information in the mobile browser through the cache of the mobile browser;
step (2), based on the simulation of the historical browsing page information, a history class is realized;
step (3), modifying the history class to obtain address data information corresponding to the historical browsing page information;
step (4), according to the address data information, performing direct navigation return operation on the current browsing page of the mobile browser;
in the step (2), the implementation of the history category specifically includes based on the simulation of the historical browsing page information,
a step (21) of acquiring keyword and address information on the history browsing page information based on simulating the history browsing page information,
acquiring keywords and address information related to the historical browsing page information by extracting a page name corresponding to the historical browsing page information as the keywords and extracting a whole full path corresponding to the historical browsing page information and path parameters thereof as the address information;
step (22), judging the validity of the keyword, and realizing the history class based on the judgment result of the validity,
wherein if the page name corresponding to the keyword is unique, determining that the keyword and the address information have validity, and using the keyword and the address information as attribute information to realize the history class,
otherwise, deleting the page name corresponding to the current keyword, extracting another page name from the address information as the keyword, and using the keyword and the address information as attribute information to realize the history class.
2. The navigation return control method of a mobile browser according to claim 1, characterized in that:
in the step (1), simulating the corresponding historical browsing page information in the mobile browser through the cache of the mobile browsing specifically comprises,
step (11), obtaining browser type information corresponding to the mobile browser, and determining a corresponding information cache state in the mobile browser based on the browser type information;
step (12), if the browser type information indicates that the mobile browser belongs to a first type mobile browser, determining first cache state information corresponding to the first type mobile browser, if the browser type information indicates that the mobile browser belongs to a second type mobile browser, determining second cache state information corresponding to the second type mobile browser,
wherein, the first type mobile browser at least comprises a plurality of corresponding different browser application terminals on the mobile terminal, the second type mobile browser at least comprises a browser plug-in a plurality of corresponding non-browser application terminals on the mobile terminal,
the first cache state information or the second cache state information comprises cache data time information and/or cache data volume information corresponding to different caches in the mobile browser;
and (13) simulating corresponding historical browsing page information in the mobile browser based on the first cache state information and/or the second cache state information.
3. The navigation return control method of a mobile browser according to claim 1, characterized in that:
in the step (3), modifying the history class to obtain the address data information corresponding to the historical browsing page information specifically includes,
performing at least one modification process of adding, deleting and clearing air on the history class so as to acquire the address data information;
alternatively, the first and second electrodes may be,
in the step (4), the step of performing a direct navigation return operation on the current browsing page of the mobile browser according to the address data information specifically includes,
and according to the address data information, the mobile browser is indicated to directly execute navigation return operation after entering the same browsing page from a plurality of different entries.
4. The navigation return control method of a mobile browser according to claim 1, characterized in that:
in the step (2), the step of implementing the history class further specifically includes, based on the simulation of the historical browsing page information,
performing word segmentation processing on the historical browsing page information by using a word segmentation algorithm so as to convert the historical browsing page information into a plurality of words,
determining a word stopping database and a corpus database, wherein the word stopping database corresponds to words needing to be automatically filtered when text retrieval is carried out, and the corpus database is formed according to different browsing page information;
using the following formula (1), the historical browsing page information is converted into a plurality of words after word segmentation processing, and the words are filtered
Figure FDA0002737781410000031
In the above formula (1), B ═ 2 [, ]]The expression constructs an empty filtered phrase vector B, [ B, A [ ]i]Express the phrase AiAdding to vector B to form another new vector B1, AiThe historical browsing page information is converted into an ith phrase corresponding to a plurality of words after word segmentation, wherein i is 1, 2, … and n, n is the number of phrases corresponding to the plurality of words obtained after the historical browsing page information is converted after word segmentation,
Figure FDA0002737781410000032
represents the phrase AiNot belonging to the stop word database, AiE.g. TCK represents the phrase AiBelongs to a stop word database;
then, the document vector corresponding to the vector B is calculated by using the following formula (2)
Figure FDA0002737781410000041
In the above formula (2), length (B) represents the number of word groups in the calculation vector B, COUNTIF (B)j) Representing the number of times that the jth phrase in the vector B appears in the historical browsing page information, and C representing the calculated document vector, wherein j is 1, 2, … and t;
meanwhile, the inverse word frequency vector corresponding to the vector B is calculated by using the following formula (3),
Figure FDA0002737781410000042
in the above formula (3), ln () represents a logarithmic operation based on a natural constant e, length (sqj) represents the number of browsing page information in the corpus database, and COUNTIF (SJQB)j) Representing the number of browsing page information of a jth phrase containing a vector B in a corpus database, and representing the inverse word frequency vector corresponding to the computed vector B by NCP, wherein j is 1, 2, … and t;
finally, the following formula (4) is used to calculate the degree-of-classification vector corresponding to each phrase in the vector B
Figure FDA0002737781410000043
In the above formula (4), CND represents a calculated categorical degree vector, ln () represents a logarithmic operation based on a natural constant e, C represents a document vectorTRepresenting a transpose of a document vector; extracting the most corresponding classification degree vector CND calculated by the formula (4)If the maximum value corresponds to the pth value of the similarity vector CND and p is less than or equal to t, the pth word group in the vector B is a keyword alternative word corresponding to the historical browsing page information, whether the keyword alternative word becomes the keyword alternative word in the other cached historical browsing pages is judged, if not, the keyword alternative word is determined as the keyword, if yes, the keyword alternative word is determined in the similarity vector CND according to a descending rule, the determination processing about the keyword alternative word is carried out on all the word groups until the keyword is determined, and finally the history class is realized according to the determined keyword.
5. A navigation return control system for a mobile browser, characterized by:
the navigation return control system of the mobile browser comprises a simulation module, a history type realization module, an address information acquisition module and a navigation return module; wherein the content of the first and second substances,
the simulation module is used for simulating corresponding historical browsing page information in the mobile browser through the cache of the mobile browser;
the history class realization module is used for realizing the history class according to the simulation result of the simulation module;
the address information acquisition module is used for modifying through the history class so as to acquire address data information corresponding to the historical browsing page information;
the navigation returning module is used for executing direct navigation returning operation on the current browsing page of the mobile browser according to the address data information;
the history class realization module comprises an attribute information acquisition submodule, an effectiveness judgment submodule and a history class generation submodule; wherein the content of the first and second substances,
the attribute information acquisition submodule is used for acquiring keywords and address information related to the historical browsing page information, and extracting a page name corresponding to the historical browsing page information as the keywords and extracting a whole full path corresponding to the historical browsing page information and path parameters thereof as the address information;
the validity judgment submodule is used for judging the validity of the keyword;
the history class generation submodule is used for realizing the history class according to the judgment result of the effectiveness, wherein the history class generation submodule is used for realizing the history class according to the judgment result of the effectiveness
If the page name corresponding to the keyword is unique, the validity judgment submodule determines that the keyword and the address information have validity, and the history class generation submodule uses the keyword and the address information as attribute information to realize the history class,
otherwise, the history class generation submodule deletes the page name corresponding to the current keyword, extracts another page name from the address information as the keyword, and uses the keyword and the address information as attribute information, thereby realizing the history class.
6. The navigation return control system of a mobile browser according to claim 5, characterized in that:
the simulation module comprises a mobile browser type determination sub-module, a mobile browser cache state determination sub-module and a simulation operation sub-module; wherein
The mobile browser type determining submodule is used for determining that the mobile browser belongs to a first type mobile browser or a second type mobile browser according to browser type information corresponding to the mobile browser;
the mobile browser cache state determining submodule is used for determining that the mobile browser has first cache state information when the mobile browser belongs to a first type of mobile browser, or determining that the mobile browser has second cache state information when the mobile browser belongs to a second type of mobile browser,
wherein, the first type mobile browser at least comprises a plurality of corresponding different browser application terminals on the mobile terminal, the second type mobile browser at least comprises a browser plug-in a plurality of corresponding non-browser application terminals on the mobile terminal,
the first cache state information or the second cache state information comprises cache data time information and/or cache data volume information corresponding to different caches in the mobile browser;
the simulation operation sub-module is used for simulating corresponding historical browsing page information in the mobile browser according to the first cache state information and/or the second cache state information.
7. The navigation return control system of a mobile browser according to claim 5, characterized in that:
the modifying of the history class by the address information obtaining module specifically includes performing at least one of modification processing of adding, deleting and clearing air on the history class, so as to obtain the address data information;
alternatively, the first and second electrodes may be,
the navigation returning module executes the direct navigation returning operation on the current browsing page of the mobile browser specifically comprises the step of directly executing the navigation returning operation after the mobile browser is indicated to enter the same browsing page from a plurality of different entries according to the address data information.
CN201910382005.8A 2019-05-06 2019-05-06 Navigation return control method and control system of mobile browser Active CN110321496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910382005.8A CN110321496B (en) 2019-05-06 2019-05-06 Navigation return control method and control system of mobile browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910382005.8A CN110321496B (en) 2019-05-06 2019-05-06 Navigation return control method and control system of mobile browser

Publications (2)

Publication Number Publication Date
CN110321496A CN110321496A (en) 2019-10-11
CN110321496B true CN110321496B (en) 2020-12-08

Family

ID=68118909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910382005.8A Active CN110321496B (en) 2019-05-06 2019-05-06 Navigation return control method and control system of mobile browser

Country Status (1)

Country Link
CN (1) CN110321496B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7802262B1 (en) * 2004-03-05 2010-09-21 Adobe Systems Incorporated System and method for communicating state and title information between a browser and a rich internet application with browser forward and back button support
CN100589106C (en) * 2008-05-09 2010-02-10 杭州华三通信技术有限公司 Page jump method and system
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display
CN103984686B (en) * 2013-02-07 2018-10-12 阿里巴巴集团控股有限公司 page switching method and device

Also Published As

Publication number Publication date
CN110321496A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN113822067A (en) Key information extraction method and device, computer equipment and storage medium
US9507867B2 (en) Discovery engine
WO2020164276A1 (en) Webpage data crawling method, apparatus and system, and computer-readable storage medium
CN100462969C (en) Method for providing and inquiry information for public by interconnection network
CN104021198B (en) The relational database information search method and device indexed based on Ontology
CN107357777B (en) Method and device for extracting label information
CN103473217B (en) The method and apparatus of extracting keywords from text
CN102915361B (en) Webpage text extracting method based on character distribution characteristic
CN103646112A (en) Dependency parsing field self-adaption method based on web search
US20220391426A1 (en) Multi-system-based intelligent question answering method and apparatus, and device
CN109299248A (en) A kind of business intelligence collection method based on natural language processing
CN112989235A (en) Knowledge base-based internal link construction method, device, equipment and storage medium
CN114330329A (en) Service content searching method and device, electronic equipment and storage medium
CN116401345A (en) Intelligent question-answering method, device, storage medium and equipment
CN110795573B (en) Method and device for predicting geographic position of webpage content
CN108388556A (en) The method for digging and system of similar entity
CN113806483B (en) Data processing method, device, electronic equipment and computer program product
CN104881446A (en) Searching method and searching device
CN105677664A (en) Compactness determination method and device based on web search
CN110297994A (en) Acquisition method, device, computer equipment and the storage medium of web data
CN114116997A (en) Knowledge question answering method, knowledge question answering device, electronic equipment and storage medium
CN115248890A (en) User interest portrait generation method and device, electronic equipment and storage medium
CN110705285B (en) Government affair text subject word library construction method, device, server and readable storage medium
CN110321496B (en) Navigation return control method and control system of mobile browser
EP4231173A1 (en) Webpage history display method and apparatus, device, 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
CB02 Change of applicant information

Address after: 701-28, floor 7, building 5, yard 1, Shangdi East Road, Haidian District, Beijing 100000

Applicant after: Shengwei times Technology Group Co.,Ltd.

Address before: 100085, building 1, building 1, East Road, Haidian District, Beijing, E701F

Applicant before: BEIJING SHENGWEI TIMES TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant