CN108268507B - Browser-based processing method and device and electronic equipment - Google Patents

Browser-based processing method and device and electronic equipment Download PDF

Info

Publication number
CN108268507B
CN108268507B CN201611262683.3A CN201611262683A CN108268507B CN 108268507 B CN108268507 B CN 108268507B CN 201611262683 A CN201611262683 A CN 201611262683A CN 108268507 B CN108268507 B CN 108268507B
Authority
CN
China
Prior art keywords
browser
tab
pages
page
browsers
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
CN201611262683.3A
Other languages
Chinese (zh)
Other versions
CN108268507A (en
Inventor
陈小帅
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201611262683.3A priority Critical patent/CN108268507B/en
Publication of CN108268507A publication Critical patent/CN108268507A/en
Application granted granted Critical
Publication of CN108268507B publication Critical patent/CN108268507B/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/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of Internet, and discloses a browser-based processing method, a browser-based processing device and electronic equipment, which are used for solving the technical problem of low efficiency of combining tab pages of multiple browsers into the same browser in the prior art. The method comprises the following steps: when M browsers are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2; and responding to the preset operation, and combining the tab page of at least one browser in the M browsers into a first browser. The technical effect of improving the efficiency of merging the tab pages of a plurality of browsers to the same browser is achieved.

Description

Browser-based processing method and device and electronic equipment
Technical Field
The present invention relates to the field of internet, and in particular, to a browser-based processing method and apparatus, and an electronic device.
Background
With the continuous development of science and technology, electronic technology has also gained rapid development, and the variety of electronic products is also more and more, and people also enjoy various conveniences brought by the development of science and technology. People can enjoy comfortable life brought along with the development of science and technology through various client devices. For example, client devices such as notebook computers, desktop computers, smart phones, and tablet computers have become an important part of people's lives.
In the prior art, a browser is often installed on an electronic device, a plurality of web pages can be accessed through the browser, and there may be many kinds of browsers in the prior art, each of which can open multiple web pages, these web pages often have the same web page repeatedly opened, and in the prior art, the same kind of browser supports the merging of multiple tab pages, for different kinds of browsers, merging of tab pages is not supported, for example, a tab page on an a browser needs to be opened on a B browser, a web link of the tab page needs to be copied, then a tab page is newly created on the browser B, the network address is copied in an address bar of the newly created tab page, therefore, the network link is accessed through the newly-built tab pages, and therefore, the technical problem that the efficiency of combining the tab pages of a plurality of browsers to the same browser is low exists in the prior art.
Disclosure of Invention
The invention provides a browser-based processing method and device and electronic equipment, and aims to solve the technical problem that in the prior art, the efficiency of combining tab pages of multiple browsers into the same browser is low.
In a first aspect, an embodiment of the present invention provides a browser-based processing method, including:
when M browsers are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2;
and responding to the preset operation, and combining the tab page of at least one browser in the M browsers into a first browser.
With reference to the first aspect, in a first optional embodiment, before the merging the tab page of at least one of the M browsers into the first browser, the method further includes:
detecting and obtaining a selection operation;
and determining the at least one browser from the M browsers in response to the selection operation.
With reference to the first aspect, in a second optional embodiment, the merging the tab page of at least one of the M browsers into the first browser includes:
determining the merged browser from the M browsers;
acquiring network link information of the combined tab page of the browser;
and newly creating network link information of the tab page of the merged browser on the first browser.
With reference to the first aspect, in a third optional embodiment, the merging the tab page of at least one of the M browsers into the first browser includes:
determining the merged browser from the M browsers;
acquiring process information of each browser in the merged browsers;
and running the process information of the tab page of the combined browser through the first browser.
With reference to the first aspect, in a fourth optional embodiment, if the first browser includes at least two processes, the merging the tab page of at least one of the M browsers into the first browser further includes:
determining a first process from the at least two processes;
merging a tab page of the at least one browser to the first process of the first browser.
With reference to any one of the first to fourth optional embodiments of the first aspect, in a fifth optional embodiment, the method further includes:
determining at least two tab pages running on the first browser;
determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and performing duplicate removal processing on the tab pages with the content similarity values larger than the preset similarity value in the at least two tab pages.
With reference to the fifth optional embodiment of the first aspect, in a sixth optional embodiment, after performing deduplication processing on a tab page of the at least two tab pages whose content similarity value is greater than a preset similarity value, the method further includes:
newly creating a tab page list, wherein the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and responding to a recovery operation aiming at a first tab page in the tab page list so as to recover and display the first tab page to the first browser.
With reference to any one of the first to fourth alternative embodiments of the first aspect, in a seventh alternative embodiment, the method further includes:
determining at least two tab pages running on the first browser;
sequencing the at least two label pages according to a first preset rule; or classifying the at least two label pages according to a second preset rule.
With reference to the seventh optional embodiment of the first aspect, in an eighth optional embodiment, the classifying the at least two tab pages according to a second preset rule includes:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
In a second aspect, an embodiment of the present invention provides a browser-based processing apparatus, including:
the first detection module is used for detecting and obtaining preset operation when M kinds of browsers are in an open state, wherein M is a positive integer greater than or equal to 2;
and the first response module is used for responding to the preset operation and combining the tab page of at least one browser in the M browsers into the first browser.
In combination with the second aspect, in a first optional embodiment, the apparatus further comprises:
the second detection module is used for detecting and obtaining selection operation;
and the second response module is used for responding to the selection operation and determining the at least one browser from the M browsers.
With reference to the second aspect, in a second alternative embodiment, the first response module includes:
a first determining unit, configured to determine a merged browser from the M types of browsers;
a first obtaining unit, configured to obtain network link information of the tab page of the merged browser;
and the newly-built unit is used for newly building the network link information of the tab page of the combined browser on the first browser.
With reference to the second aspect, in a third optional embodiment, the first response module includes:
a second determining unit, configured to determine a merged browser from the M kinds of browsers;
a second obtaining unit, configured to obtain process information of each of the merged browsers;
and the running unit is used for running the process information of the tab page of the combined browser through the first browser.
With reference to the second aspect, in a fourth optional embodiment, if the first browser includes at least two processes, the first response module further includes:
a third determining unit, configured to determine a first process from the at least two processes;
a merging unit, configured to merge the tab page of the at least one browser into the first process of the first browser.
With reference to any one of the first to fourth alternative embodiments of the second aspect, in a fifth alternative embodiment, the apparatus further includes:
the first determining module is used for determining at least two tab pages running on the first browser;
the second determining module is used for determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and the duplication removing module is used for carrying out duplication removing processing on the label pages with the content similarity values larger than the preset similarity value in the at least two label pages.
With reference to the fifth alternative embodiment of the second aspect, in a sixth alternative embodiment, the apparatus further includes:
the new building module is used for building a tab page list, and the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and the third response module is used for responding to the recovery operation aiming at the first tab page in the tab page list so as to recover and display the first tab page to the first browser.
With reference to any one of the first to fourth alternative embodiments of the second aspect, in a seventh alternative embodiment, the apparatus further includes:
the third determining module is used for determining at least two tab pages running on the first browser;
the sorting module is used for sorting the at least two label pages according to a first preset rule; or, the classification module is used for classifying the at least two label pages according to a second preset rule.
With reference to the seventh optional embodiment of the second aspect, in an eighth optional embodiment, the classification module is configured to:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors includes instructions for:
when M browsers are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2;
and responding to the preset operation, and combining the tab page of at least one browser in the M browsers into a first browser.
In combination with the third aspect, in a first alternative embodiment, the electronic device is further configured to execute the one or more programs by the one or more processors including instructions for:
detecting and obtaining a selection operation;
and determining the at least one browser from the M browsers in response to the selection operation.
In combination with the third aspect, in a second alternative embodiment, the electronic device is further configured to execute the one or more programs by the one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring network link information of the combined tab page of the browser;
and newly creating network link information of the tab page of the merged browser on the first browser.
In combination with the third aspect, in a third alternative embodiment, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring process information of each browser in the merged browsers;
and running the process information of the tab page of the combined browser through the first browser.
In combination with the third aspect, in a fourth alternative embodiment, if the first browser includes at least two processes, the electronic device is further configured to execute the one or more programs by the one or more processors including instructions for:
determining a first process from the at least two processes;
merging a tab page of the at least one browser to the first process of the first browser.
In combination with any one of the first to fourth alternative embodiments of the third aspect, in a fifth alternative embodiment, the electronic device is further configured to execute, by the one or more processors, the one or more programs including instructions for:
determining at least two tab pages running on the first browser;
determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and performing duplicate removal processing on the tab pages with the content similarity values larger than the preset similarity value in the at least two tab pages.
In combination with the fifth optional embodiment of the third aspect, in a sixth optional embodiment, the electronic device is further configured to execute the one or more programs by the one or more processors including instructions for:
newly creating a tab page list, wherein the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and responding to a recovery operation aiming at a first tab page in the tab page list so as to recover and display the first tab page to the first browser.
With reference to any one of the first to fourth alternative embodiments of the third aspect, in a seventh alternative embodiment, the electronic device is further configured to execute, by the one or more processors, the one or more programs including instructions for:
determining at least two tab pages running on the first browser;
sequencing the at least two label pages according to a first preset rule; or classifying the at least two label pages according to a second preset rule.
In combination with the seventh optional embodiment of the third aspect, in an eighth optional embodiment, the electronic device is further configured to execute the one or more programs by the one or more processors including instructions for:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
The invention has the following beneficial effects:
in the embodiment of the invention, when the M browsers are in the open state, if the preset operation is detected, the tab pages of at least one browser in the M browsers can be directly merged into the same browser by responding to the preset operation without responding to the operations of repeated copying, new creation and pasting of a user, so that the technical effect of improving the efficiency of merging the tab pages of a plurality of browsers into the same browser is achieved.
Drawings
FIG. 1 is a flow chart of a browser-based processing method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a browser-based processing device according to an embodiment of the present invention;
FIG. 3 is a block diagram of an electronic device for a browser-based processing method according to an embodiment of the present invention;
fig. 4 is a block diagram of a server in an embodiment of the present invention.
Detailed Description
The invention provides a browser-based processing method and device and electronic equipment, and aims to solve the technical problem that in the prior art, the efficiency of combining tab pages of multiple browsers into the same browser is low.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows:
when the M browsers are in the open state, if the preset operation is detected, the tab pages of at least one browser in the M browsers can be directly combined into the same browser by responding to the preset operation without responding to the operations of repeated copying, new creation and pasting of a user, so that the technical effect of improving the efficiency of combining the tab pages of the multiple browsers into the same browser is achieved.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
In a first aspect, an embodiment of the present invention provides a browser-based processing method, please refer to fig. 1, including:
step S101: when M browsers are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2;
step S102: and responding to the preset operation, and combining the tab page of at least one browser in the M browsers into a first browser.
For example, the solution is applied to an electronic device with a network access function, such as: mobile phones, tablet computers, notebook computers, PCs (Personal computers), and the like.
In step S101, for example, a plurality of browsers may exist on the electronic device, for example: during the use process of the electronic device, network access may be performed through all three browsers, so that the multiple browsers may be controlled to be in an open state, for example: three tab pages are opened by process 1 of browser a, respectively: page a, page B, page C, two tab pages opened by process 2 of browser a, respectively: page A, page D, opened three tab pages through browser B, are respectively: page A, page E, page F, have opened a tab page through browser C, specifically are: page E.
The preset operation may be various preset operations, such as: the operation of clicking a preset button, the operation of generating a preset gesture, the operation of generating a preset voice control instruction, and the like.
In step S102, the first browser may be a plurality of browsers, and two of the browsers are listed below for description, but is not limited to the following two cases in the specific implementation process.
First, the first browser is a certain browser of the at least one browser.
For example, the first browser may be a browser selected by the user during the merging operation, for example: each browser is respectively provided with a "merge button", which may be set at the top of the browser or on a pull-down menu of the browser, and when a user clicks the merge button of which browser, it is determined that the corresponding browser is the first browser, for example: the user clicks a merge button on the browser A, and then the browser A is determined to be a first browser; still alternatively, in the initialization phase, priorities may be set for each browser, for example: the priority of the browser D is greater than the priority of the browser A is greater than the priority of the browser C is greater than the priority of the browser B, and after the preset operation is detected, the browser which is determined to be in the open state comprises the following steps: the browser comprises a browser A, a browser B and a browser C, wherein the browser A is determined to be the first browser if the priority of the browser A is the highest.
Since the determined first browser is a browser included in at least one browser, in this case, the tab page opened by the first browser itself does not need to be opened in any adjustment, and only the tab pages on other browsers need to be merged into the first browser.
Second, the first browser is a browser other than the at least one browser.
For example, a user is accustomed to using browser D, while browsers that are currently in an open state include: browser a, browser B, browser C, and may incorporate tab pages of browser a, browser B, and browser (i.e., at least one browser) into browser D (i.e., a first browser), in which case the first browser may be selected by the user, or may be determined based on the user's historical operating records, for example: determining the browser with the most use times of the user as the first browser based on the historical operation records, determining the browser with the most user selection as the first browser in the process of the merging operation based on the historical operation records, and the like.
In the implementation process, the tab pages of the respective browsers can be combined into the first browser in various ways, and two of them are listed below for description, and of course, in the implementation process, the tab pages are not limited to the following two cases.
First, the tab pages of the respective browsers are merged into the first browser by: the merging the tab page of at least one browser in the M browsers into the first browser comprises: determining the merged browser from the M browsers; acquiring network link information of the combined tab page of the browser; and newly creating network link information of the tab page of the merged browser on the first browser.
For example, if the first browser is a certain browser of the at least one browser, the merged browser is another browser of the at least one browser except the first browser; if the first browser is a browser other than the at least one browser, the merged browser is all browsers in the at least one browser. The method comprises the steps of combining browsers, acquiring a screenshot of a webpage, wherein for each combined browser, a URL (Uniform resource Locator) corresponding to a tab page opened in browsing can be identified, the URL is network link information, and then each tab page is loaded according to the URL.
Second, the tab pages of the respective browsers are merged to the first browser by: determining the merged browser from the M browsers; acquiring process information of each browser in the merged browsers; and running the process information of the tab page of the combined browser through the first browser.
The description of the incorporated browsers is omitted here because they have already been described above. The first browser may create a sub-process for the process of the merged browser, and then copy and run the process information of other browsers in the sub-process, so that the tab page of the merged browser is opened by the first browser.
In step S102, as an optional embodiment, the method further includes: if the first browser contains at least two processes, merging tab pages of the at least one browser into the same browser, further comprising: determining a first process from the at least two processes; merging tab pages of the at least one browser to the first sub-process of the first browser.
For example, there may be multiple processes for a first browser, each process corresponding to a browser window, in which case the first process needs to be determined first, and the first process may be selected by the user, for example: if the preset operation is an operation of clicking a preset button, the process corresponding to the browser window where the preset button is located may be used as the first process, and the first process may also be a process corresponding to the browser window currently operated by the user.
Thus, after the first process is determined, tab pages of at least two browsers can be merged into the first process, including merging tab pages of processes of the first browser other than the first process into the first process.
In the implementation process, at least one of the M browsers in step S102 may be determined in a variety of ways, and two of the M browsers are listed below for description, but of course, in the implementation process, the two cases are not limited to the following two cases.
First, before the merging the tab pages of at least one of the M browsers into the first browser, the method further comprises: detecting and obtaining a selection operation; and determining the at least one browser from the M browsers in response to the selection operation.
For example, assuming that the first browser is a default browser (e.g., browser D), after detecting a preset operation, the electronic device may select a merged browser through a selection box by the user, the user selects process 1, browser B, and browser C of browser a, and after obtaining the selection operation of the user, the electronic device may open all tab pages opened by process 1, browser B, and browser C of browser a through browser D, and browser D may open page a, page B, page C, page a, page E, page F, page E;
for another example, the preset operation is an operation that the user clicks a "merge button" on a browser window corresponding to process 1 of browser a, after the electronic device detects the preset operation, it is determined that browser a is the first browser and process 1 is the first process, and then the user selects process 2, browser B, and browser C of browser a as browsers to be merged, and then the electronic device determines that at least one browser includes: browser a, browser B, and browser C, then open all tab pages of browser a (process 1, process 2), browser B, and browser C through the browser window of process 1 of browser a, so that the following tab pages can be opened through the browser window of process 1 of browser a: page a, page B, page C, page a, page D, page a, page E, page F, page E.
According to the scheme, the tab page combined to the first browser can be determined based on the user selection operation of the electronic equipment, so that the combined tab page of the browser is more accurate and can better meet the user requirements.
In addition, in the specific implementation process, after tab pages of at least two browsers are opened through the first browser, the combined browser can be closed, so that the display interface occupied by the browsers is reduced.
Second, all of the M browsers are treated as merging at least one browser, i.e., the tab pages of all of the M browsers are merged into the first browser.
For example, after detecting the preset operation, the electronic device determines to merge all tab pages of the browser, for example: if the first browser is browser C, all tab pages of browser a, flow 1, process 2, and browser B may be opened through browser C, so that browser C may open the following tab pages: page a, page B, page C, page a, page D, page a, page E, page F, page E.
According to the scheme, the tab pages of all browsers of the electronic equipment in the opening state can be merged to the first browser based on the preset operation, so that the technical effect of improving the efficiency of merging the tab pages of the browsers is achieved.
In a specific implementation process, at least two tab pages may be opened on the first browser, in this case, some related processing may be performed on the at least two tab pages, so that a user can read page contents of the tab pages more conveniently to improve network access efficiency.
First, the method further comprises: determining at least two tab pages running on the first browser; and performing duplicate removal processing on the tab pages with the content similarity values larger than the preset similarity value in the at least two tab pages.
For example, only one of the tab pages may be retained for which the content similarity value is greater than the preset similarity value, and the other tab pages may be closed.
In a specific implementation process, before performing deduplication processing on a tab page, it is first required to determine the tab page with a similarity value greater than a preset similarity value, where the determination may be performed in various ways, for example:
firstly, based on whether the network link information of any two label pages is the same, whether the corresponding two label pages are the label pages with the content similarity value larger than the preset similarity value is determined, under the normal condition, if the network link information of the two label pages is the same, the two label pages are often indicated as the same webpage, so that the page contents are often the same, therefore, the page similarity values of the two label pages are determined to be larger than the preset similarity value.
Determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; and judging whether the content similarity value is larger than the preset similarity value.
For example, the keywords of the page content of each tab page may be extracted, and then corresponding word vectors may be established (for example, the word vector of page content 1 is [10,3,5,0,6], the word vector of page content 2 is [7,0,4,6,4], which represents that word 1 appears 10 times in page content 1, word 2 appears 3 times, and so on), and then the page similarity values of the page contents of two tab pages may be calculated through the word vectors, where the page similarity values may be calculated in various ways, for example: cosine similarity values, pearson similarity values, adjusted cosine similarity values, and the like; alternatively, the content similarity value may be obtained by calculating a distance value between two word vectors, inverting the distance value, and multiplying the inverted distance value by a specific coefficient, and the like. Based on the scheme, the content similarity values of the page contents of the two tab pages are determined directly through content comparison, so that the method is more accurate and can prevent omission.
Assume that the first browser is browser a, which opens the following tab pages based on the merge operation (of course, deduplication processing may also be performed for tab pages that have not been subjected to the merge operation): page A, page B, page C, page A (second), page D, page A (third), page E (first), page F and page E (second), wherein 9 tab pages are counted, and through the duplication removal processing, the tab pages opened by the browser A comprise: page a, page B, page C, page D, page E, and page F, totaling 6 tab pages, which reduces the number of tab pages without reducing the information provided to the user.
By the scheme, repeated tab pages opened by the browser can be removed, so that the number of tab pages displayed by the browser is reduced, the user is prevented from repeatedly browsing the same page content, or the same page content needs to be screened out with time, and the technical effect of improving the network access efficiency is achieved.
As an optional embodiment, after performing deduplication processing on the tab pages with content similarity values greater than a preset similarity value in the at least two tab pages, the method further includes: newly creating a tab page list, wherein the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation; and responding to a recovery operation aiming at a first tab page in the tab page list so as to recover and display the first tab page to the first browser.
For example, assuming that three tab pages, namely page a, page a and page E, are removed based on the foregoing deduplication operation, a tab page list may be newly created for storing the three removed tab pages, and if the user needs to reopen the three tab pages, the user may open the tab page list and select a first tab page needing to be restored to the first browser from the tab page list (that is, the first tab page is a tab page removed from the at least two tab pages based on the deduplication operation), and then reopen the first tab page through the first browser based on the restoration operation.
Through the scheme, the tab pages which are subjected to deduplication processing can be ensured to be quickly recovered, so that the tab pages do not need to be searched again under the condition of error deduplication or the condition that a user wants to open a plurality of similar pages, and the network access efficiency is improved.
Second, the method further comprises: determining at least two tab pages running on the first browser; and classifying the at least two label pages according to a second preset rule.
In a specific implementation process, the second preset rule may be a plurality of rules, for example:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages, for example, the tab pages with the same prefix information may belong to the same category, for example: if the prefix information ishttps://newsThen the category of the tab page may be news, if the prefix information is:https://blogthen the categories of the tabbed pages may all be blogs, etc.
Extracting the subject information of each label page in the at least two label pages; classifying each tab page based on the subject information, for example, the title or page content of the tab page may be obtained, the subject of each tab page may be obtained by inputting the title or page content into a subject model algorithm, and then the tab pages with the same subject are used as the tab pages of the same category.
And thirdly, classifying the at least two label pages by using a preset classification model.
For example, the browser may train a classification model in advance, or obtain an existing classification model as a preset classification model, where the classification model is, for example: and a discriminant analysis model, a cluster analysis model and the like, and the label pages can be directly classified through the classification model after being determined.
After the sorting of the tab pages, the tab pages may be sorted according to the sorting result, for example: when the tab pages are sorted, the tab pages with the same category are displayed in adjacent areas; alternatively, after classifying the respective tab pages, different tab page areas may be defined for each type of tab page, and the tab pages of the same category may be displayed in the same area, and further, category information may be marked in the area, for example: a tabbed area for news categories shows a "news" label on top of it, a tabbed area for blog categories shows a "blog" label on top of it, and so on.
According to the scheme, at least two tab pages displayed by the first browser are classified, so that a user can browse based on the categories when browsing the tab pages, and the network browsing efficiency is improved.
Third, the method further comprises: determining at least two tab pages running on the first browser; and sequencing the at least two label pages according to a first preset rule.
For example, the ordering may be based on a lexicographic ordering of the URLs, i.e., the URLs for each tab page may be determined and then ordered by URL; still alternatively, the sorting may be based on categories of tab pages, such as: arranging tab pages of the same category next to each other, and so on.
In a second aspect, based on the same inventive concept, an embodiment of the present invention provides a browser-based processing apparatus, please refer to fig. 2, including:
the first detection module 20 is configured to detect and obtain a preset operation when M types of browsers are in an open state, where M is a positive integer greater than or equal to 2;
a first responding module 21, configured to respond to the preset operation, and merge a tab page of at least one of the M types of browsers into a first browser.
Optionally, the apparatus further comprises:
the second detection module is used for detecting and obtaining selection operation;
and the second response module is used for responding to the selection operation and determining the at least one browser from the M browsers.
Optionally, the first response module 21 includes:
a first determining unit, configured to determine a merged browser from the M types of browsers;
a first obtaining unit, configured to obtain network link information of the tab page of the merged browser;
and the newly-built unit is used for newly building the network link information of the tab page of the combined browser on the first browser.
Optionally, the first response module 21 includes:
a second determining unit, configured to determine a merged browser from the M kinds of browsers;
a second obtaining unit, configured to obtain process information of each of the merged browsers;
and the running unit is used for running the process information of the tab page of the combined browser through the first browser.
Optionally, if the first browser includes at least two processes, the first response module 21 further includes:
a third determining unit, configured to determine a first process from the at least two processes;
a merging unit, configured to merge the tab page of the at least one browser into the first process of the first browser.
Optionally, the apparatus further comprises:
the first determining module is used for determining at least two tab pages running on the first browser;
the second determining module is used for determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and the duplication removing module is used for carrying out duplication removing processing on the label pages with the content similarity values larger than the preset similarity value in the at least two label pages.
Optionally, the apparatus further comprises:
the new building module is used for building a tab page list, and the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and the third response module is used for responding to the recovery operation aiming at the first tab page in the tab page list so as to recover and display the first tab page to the first browser.
Optionally, the apparatus further comprises:
the third determining module is used for determining at least two tab pages running on the first browser;
the sorting module is used for sorting the at least two label pages according to a first preset rule; or, the classification module is used for classifying the at least two label pages according to a second preset rule.
Optionally, the classification module is configured to:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
Since the apparatus described in the second aspect of the present invention is an apparatus used for implementing the browser-based processing method described in the first aspect of the present invention, and a person skilled in the art can understand the specific structure and the modification of the apparatus described in the second aspect of the present invention based on the browser-based processing method described in the first aspect of the present invention, further description is omitted here, and all apparatuses used for implementing the browser-based processing method described in the first aspect of the present invention belong to the scope of the present invention.
In a third aspect, based on the same inventive concept, an embodiment of the present invention provides an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when M browsers are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2;
and responding to the preset operation, and combining the tab page of at least one browser in the M browsers into a first browser.
Optionally, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
detecting and obtaining a selection operation;
and determining the at least one browser from the M browsers in response to the selection operation.
Optionally, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring network link information of the combined tab page of the browser;
and newly creating network link information of the tab page of the merged browser on the first browser.
Optionally, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring process information of each browser in the merged browsers;
and running the process information of the tab page of the combined browser through the first browser.
Optionally, if the first browser includes at least two processes, the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
determining a first process from the at least two processes;
merging a tab page of the at least one browser to the first process of the first browser.
Optionally, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
determining at least two tab pages running on the first browser;
determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and performing duplicate removal processing on the tab pages with the content similarity values larger than the preset similarity value in the at least two tab pages.
Optionally, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
newly creating a tab page list, wherein the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and responding to a recovery operation aiming at a first tab page in the tab page list so as to recover and display the first tab page to the first browser.
Optionally, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
determining at least two tab pages running on the first browser;
sequencing the at least two label pages according to a first preset rule; or classifying the at least two label pages according to a second preset rule.
Optionally, the electronic device is also configured to execute the one or more programs by the one or more processors including instructions for:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
Since the electronic device described in the third aspect of the present invention is an electronic device used for implementing the browser-based processing method described in the first aspect of the present invention, and a person skilled in the art can understand a specific structure and a modification of the electronic device described in the third aspect of the present invention based on the browser-based processing method described in the first aspect of the present invention, details of the electronic device are not described herein again, and all electronic devices used for implementing the browser-based processing method described in the first aspect of the present invention belong to the scope of the present invention.
Fig. 3 is a block diagram of an electronic device 800 illustrating a method for determining characteristics of a communication identity according to an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD video sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of an electronic device, enable the device to perform a browser-based processing method, the method comprising:
when M browsers are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2;
and responding to the preset operation, and combining the tab page of at least one browser in the M browsers into a first browser.
Optionally, the readable storage medium is also configured to execute the one or more programs by one or more processors including instructions for:
detecting and obtaining a selection operation;
and determining the at least one browser from the M browsers in response to the selection operation.
Optionally, the readable storage medium is also configured to execute the one or more programs by one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring network link information of the combined tab page of the browser;
and newly creating network link information of the tab page of the merged browser on the first browser.
Optionally, the readable storage medium is also configured to execute the one or more programs by one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring process information of each browser in the merged browsers;
and running the process information of the tab page of the combined browser through the first browser.
Optionally, if the first browser includes at least two processes, the readable storage medium is further configured to execute the one or more programs by one or more processors including instructions for:
determining a first process from the at least two processes;
merging a tab page of the at least one browser to the first process of the first browser.
Optionally, the readable storage medium is also configured to execute the one or more programs by one or more processors including instructions for:
determining at least two tab pages running on the first browser;
determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and performing duplicate removal processing on the tab pages with the content similarity values larger than the preset similarity value in the at least two tab pages.
Optionally, the readable storage medium is also configured to execute the one or more programs by one or more processors including instructions for:
newly creating a tab page list, wherein the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and responding to a recovery operation aiming at a first tab page in the tab page list so as to recover and display the first tab page to the first browser.
Optionally, the readable storage medium is also configured to execute the one or more programs by one or more processors including instructions for:
determining at least two tab pages running on the first browser;
sequencing the at least two label pages according to a first preset rule; or classifying the at least two label pages according to a second preset rule.
Optionally, the readable storage medium is also configured to execute the one or more programs by one or more processors including instructions for:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
Fig. 4 is a schematic diagram of a server in some embodiments of the invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
One or more embodiments of the present invention have at least the following effects:
in the embodiment of the invention, when the M browsers are in the open state, if the preset operation is detected, the tab pages of at least one browser in the M browsers can be directly merged into the same browser by responding to the preset operation without responding to the operations of repeated copying, new creation and pasting of a user, so that the technical effect of improving the efficiency of merging the tab pages of a plurality of browsers into the same browser is achieved.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
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 (25)

1. A browser-based processing method, comprising:
when M kinds of browsers in the electronic equipment are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2, and the M kinds of browsers are M kinds of different browsers;
responding to the preset operation, and merging the label page of at least one browser in the M browsers into a first browser by the electronic equipment;
if the first browser comprises at least two processes, the merging the tab page of at least one browser in the M browsers into the first browser further comprises: determining a first process from the at least two processes; merging a tab page of the at least one browser to the first process of the first browser.
2. The method of claim 1, wherein prior to said merging the tab page of at least one of the M browsers into the first browser, the method further comprises:
detecting and obtaining a selection operation;
and determining the at least one browser from the M browsers in response to the selection operation.
3. The method of claim 1, wherein said merging the tab page of at least one of the M browsers into a first browser comprises:
determining the merged browser from the M browsers;
acquiring network link information of the combined tab page of the browser;
and newly creating network link information of the tab page of the merged browser on the first browser.
4. The method of claim 1, wherein said merging the tab page of at least one of the M browsers into a first browser comprises:
determining the merged browser from the M browsers;
acquiring process information of each browser in the merged browsers;
and running the process information of the tab page of the combined browser through the first browser.
5. The method of any of claims 2-4, wherein the method further comprises:
determining at least two tab pages running on the first browser;
determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and performing duplicate removal processing on the tab pages with the content similarity values larger than the preset similarity value in the at least two tab pages.
6. The method of claim 5, wherein after the de-duplication process is performed on the tab pages with the content similarity value greater than the preset similarity value among the at least two tab pages, the method further comprises:
newly creating a tab page list, wherein the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and responding to a recovery operation aiming at a first tab page in the tab page list so as to recover and display the first tab page to the first browser.
7. The method of any of claims 2-4, wherein the method further comprises:
determining at least two tab pages running on the first browser;
sequencing the at least two label pages according to a first preset rule; or classifying the at least two label pages according to a second preset rule.
8. The method of claim 7, wherein the classifying the at least two tab pages according to a second preset rule comprises:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
9. A browser-based processing apparatus, comprising:
the electronic equipment comprises a first detection module, a second detection module and a third detection module, wherein the first detection module is used for detecting and obtaining preset operation when M browsers in the electronic equipment are in an open state, M is a positive integer greater than or equal to 2, and the M browsers are M different browsers;
the first response module is used for responding to the preset operation, and the electronic equipment merges the tab page of at least one browser in the M browsers into the first browser;
if the first browser comprises at least two processes, the first response module further comprises:
a third determining unit, configured to determine a first process from the at least two processes;
a merging unit, configured to merge the tab page of the at least one browser into the first process of the first browser.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the second detection module is used for detecting and obtaining selection operation;
and the second response module is used for responding to the selection operation and determining the at least one browser from the M browsers.
11. The apparatus of claim 9, wherein the first response module comprises:
a first determining unit, configured to determine a merged browser from the M types of browsers;
a first obtaining unit, configured to obtain network link information of the tab page of the merged browser;
and the newly-built unit is used for newly building the network link information of the tab page of the combined browser on the first browser.
12. The apparatus of claim 9, wherein the first response module comprises:
a second determining unit, configured to determine a merged browser from the M kinds of browsers;
a second obtaining unit, configured to obtain process information of each of the merged browsers;
and the running unit is used for running the process information of the tab page of the combined browser through the first browser.
13. The apparatus of any of claims 10-12, wherein the apparatus further comprises:
the first determining module is used for determining at least two tab pages running on the first browser;
the second determining module is used for determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and the duplication removing module is used for carrying out duplication removing processing on the label pages with the content similarity values larger than the preset similarity value in the at least two label pages.
14. The apparatus of claim 13, wherein the apparatus further comprises:
the new building module is used for building a tab page list, and the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and the third response module is used for responding to the recovery operation aiming at the first tab page in the tab page list so as to recover and display the first tab page to the first browser.
15. The apparatus of any of claims 10-12, wherein the apparatus further comprises:
the third determining module is used for determining at least two tab pages running on the first browser;
the sorting module is used for sorting the at least two label pages according to a first preset rule; or, the classification module is used for classifying the at least two label pages according to a second preset rule.
16. The apparatus of claim 15, wherein the classification module is to:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
17. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
when M kinds of browsers are in an open state, detecting to obtain preset operation, wherein M is a positive integer greater than or equal to 2, and the M kinds of browsers are M kinds of browsers;
in response to the preset operation, combining the tab page of at least one browser in the M browsers into a first browser;
if the first browser comprises at least two processes, the merging the tab page of at least one browser in the M browsers into the first browser further comprises: determining a first process from the at least two processes; merging a tab page of the at least one browser to the first process of the first browser.
18. The electronic device of claim 17, wherein the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
detecting and obtaining a selection operation;
and determining the at least one browser from the M browsers in response to the selection operation.
19. The electronic device of claim 17, wherein the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring network link information of the combined tab page of the browser;
and newly creating network link information of the tab page of the merged browser on the first browser.
20. The electronic device of claim 17, wherein the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
determining the merged browser from the M browsers;
acquiring process information of each browser in the merged browsers;
and running the process information of the tab page of the combined browser through the first browser.
21. The electronic device of any of claims 18-20, wherein the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
determining at least two tab pages running on the first browser;
determining whether the two corresponding label pages are label pages with content similarity values larger than the preset similarity value based on whether the network link information of any two label pages is the same; or determining the page content of each of the at least two tab pages; calculating the content similarity value of the page contents of every two tab pages; determining whether the corresponding two tab pages are tab pages with the content similarity value larger than the preset similarity value or not based on the content similarity values of the corresponding two tab pages;
and performing duplicate removal processing on the tab pages with the content similarity values larger than the preset similarity value in the at least two tab pages.
22. The electronic device of claim 21, wherein the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
newly creating a tab page list, wherein the tab page list comprises tab pages removed from the at least two tab pages based on the deduplication operation;
and responding to a recovery operation aiming at a first tab page in the tab page list so as to recover and display the first tab page to the first browser.
23. The electronic device of any of claims 18-20, wherein the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
determining at least two tab pages running on the first browser;
sequencing the at least two label pages according to a first preset rule; or classifying the at least two label pages according to a second preset rule.
24. The electronic device of claim 23, wherein the electronic device is further configured to execute the one or more programs by one or more processors including instructions for:
classifying each of the at least two tab pages based on prefix information of the network link of each of the tab pages; or,
extracting the subject information of each tab page of the at least two tab pages; classifying each tab page based on the subject information; or,
and classifying the at least two label pages by using a preset classification model.
25. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, is adapted to carry out the method steps of any of claims 1 to 8.
CN201611262683.3A 2016-12-30 2016-12-30 Browser-based processing method and device and electronic equipment Active CN108268507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611262683.3A CN108268507B (en) 2016-12-30 2016-12-30 Browser-based processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611262683.3A CN108268507B (en) 2016-12-30 2016-12-30 Browser-based processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108268507A CN108268507A (en) 2018-07-10
CN108268507B true CN108268507B (en) 2021-06-22

Family

ID=62755319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611262683.3A Active CN108268507B (en) 2016-12-30 2016-12-30 Browser-based processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108268507B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240776A (en) * 2018-07-20 2019-01-18 上海斐讯数据通信技术有限公司 A kind of duplicate method for closing of webpage and system
CN110889066A (en) * 2018-08-16 2020-03-17 广州金山移动科技有限公司 Method and device for opening webpage in client software and electronic equipment
CN115426510B (en) * 2022-08-24 2024-02-02 北京嗨动视觉科技有限公司 Program arrangement method, program arrangement device, electronic apparatus, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645968A (en) * 2013-12-02 2014-03-19 北京奇虎科技有限公司 Browser status restoration method and device
CN105653585A (en) * 2015-12-21 2016-06-08 北京奇虎科技有限公司 Method and device for switching webpages in browser labels

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8893042B2 (en) * 2010-09-14 2014-11-18 Microsoft Corporation Determination and display of relevant websites
US9197513B2 (en) * 2012-05-03 2015-11-24 Salesforce.Com, Inc. Computer implemented methods and apparatus for representing a portion of a user interface as a network address
CN102982169B (en) * 2012-12-12 2017-05-24 北京奇虎科技有限公司 Browser and method for isolating webpage plugins
CN103559228B (en) * 2013-10-22 2017-10-31 北京奇虎科技有限公司 The loading method and device of Shipping Options Page in browser

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645968A (en) * 2013-12-02 2014-03-19 北京奇虎科技有限公司 Browser status restoration method and device
CN105653585A (en) * 2015-12-21 2016-06-08 北京奇虎科技有限公司 Method and device for switching webpages in browser labels

Also Published As

Publication number Publication date
CN108268507A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
EP3407215B1 (en) Method, device, and computer-readable storage medium for collecting information resources
JP6051338B2 (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
US9398142B2 (en) Mobile computing terminal with more than one lock screen and method of using the same
US20180260081A1 (en) Task switching or task launching based on a ranked list of tasks
EP2718796A1 (en) Social network interaction
KR102518172B1 (en) Apparatus and method for providing user assistance in a computing system
KR101626874B1 (en) Mobile terminal and method for transmitting contents thereof
CN107291772B (en) Search access method and device and electronic equipment
TW201743195A (en) Display method, device, equipment and system for dynamic lists
KR20140099837A (en) A method for initiating communication in a computing device having a touch sensitive display and the computing device
CN107045541A (en) data display method and device
CN105373580A (en) Method and device for displaying subjects
CN111382339A (en) Search processing method and device and search processing device
CN106815291B (en) Search result item display method and device and search result item display device
CN108268507B (en) Browser-based processing method and device and electronic equipment
CN104683496B (en) address filtering method and device
CN107491453B (en) Method and device for identifying cheating web pages
CN106776990B (en) Information processing method and device and electronic equipment
CN107784037B (en) Information processing method and device, and device for information processing
CN107436896B (en) Input recommendation method and device and electronic equipment
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN109918624A (en) A kind of calculation method and device of web page text similarity
CN112651221B (en) Data processing method and device for data processing
CN106445150A (en) Method and device for operating terminal application
CN107145314B (en) Display processing method and device for display processing

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