CN107203630B - Application page collection method and device and corresponding mobile terminal - Google Patents
Application page collection method and device and corresponding mobile terminal Download PDFInfo
- Publication number
- CN107203630B CN107203630B CN201710398204.9A CN201710398204A CN107203630B CN 107203630 B CN107203630 B CN 107203630B CN 201710398204 A CN201710398204 A CN 201710398204A CN 107203630 B CN107203630 B CN 107203630B
- Authority
- CN
- China
- Prior art keywords
- page
- button
- information
- collection process
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 258
- 230000008569 process Effects 0.000 claims abstract description 189
- 238000007667 floating Methods 0.000 claims description 29
- 230000006870 function Effects 0.000 claims description 28
- 238000012544 monitoring process Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 11
- 239000000725 suspension Substances 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 4
- 230000000763 evoking effect Effects 0.000 claims 1
- 230000004888 barrier function Effects 0.000 abstract description 5
- 230000000875 corresponding effect Effects 0.000 description 41
- 230000007246 mechanism Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 230000001413 cellular effect Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the field of software, in particular to a method and a device for collecting application program pages and a corresponding mobile terminal, wherein the method comprises the following steps: when an operation event of a specific button of a preset application is monitored, a page collection process is called; the page collection process simulates a touch event of a first button in the preset application according to the identification information of the first button, and acquires a uniform resource locator of a page loaded by the current preset application; submitting a request for acquiring the page characteristic information corresponding to the uniform resource locator to a server; and receiving page characteristic information fed back by the server and storing the uniform resource locator and the page characteristic information in an associated manner to collect the page. By the method and the device, barriers between applications can be broken, and cross-application page collection is realized.
Description
[ technical field ] A method for producing a semiconductor device
The invention relates to the field of software, in particular to a method and a device for collecting application program pages and a corresponding mobile terminal.
[ background of the invention ]
With the continuous development of the internet and network media, the network media gradually become an important channel for people to acquire news and knowledge, people generally browse various articles, pictures, videos and other contents through handheld devices, and in some special cases, a user cannot completely browse one article or one complete video in a short time.
The existing collection operation is generally directed to collection operation in the same application program, and as the number of applications increases, users are popular, users collect a plurality of pages from a plurality of applications, and when wanting to browse the page again, users need to open the corresponding application program first and then find the required page from the favorite of the application program, the operation process is complicated, and due to the increase of the collection pages, users who often collect an article/a page in which application are forgotten, thereby causing certain trouble to the users who need to find the article/page at that time. Meanwhile, if the network state when the user browses the page is not good, the page loading speed is too low, and certain trouble is caused to the collection operation of the page.
Therefore, the page collection operation in the prior art is too complicated, too closed, poor in flexibility and usability, and poor in user experience.
[ summary of the invention ]
The invention aims to provide a method and a device for collecting application program pages, which are used for breaking barriers between applications and realizing cross-application page collection.
Another object of the present invention is to provide a mobile terminal for executing the application page collection method.
In order to realize the purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for collecting an application page, including the following steps:
when an operation event of a specific button of a preset application is monitored, a page collection process is called;
the page collection process simulates a touch event of a first button in the preset application according to the identification information of the first button, and acquires a uniform resource locator of a page loaded by the current preset application;
submitting a request for acquiring the page characteristic information corresponding to the uniform resource locator to a server;
and receiving page characteristic information fed back by the server and storing the uniform resource locator and the page characteristic information in a local database in an associated manner so as to collect the page.
Specifically, an operation event of a specific button of a preset application is monitored through a preset monitor, the monitor is associated with the page collection process, and the page collection process is called out when the operation event is monitored through a hook.
Preferably, when the operation event of the specific button of the preset application is monitored, the preset application executes the operation event corresponding to the specific button, and the page collection process is synchronously invoked.
Specifically, the state of the page collection process before being called out includes a started state or an un-started state.
Further, after the step of calling out the page collection process, the method further includes:
and popping up a collection control, and executing the subsequent steps only when a collection instruction triggered by the operation of the collection control by the user is received.
Specifically, the step of the page collection process simulating a touch event of the first button according to the identification information of the first button in the preset application and then acquiring a uniform resource locator of a page loaded by the current preset application includes:
acquiring identification information of a first button in the preset application through a preset identification information list;
simulating a touch event of the first button according to the identification information to copy a uniform resource locator of a page loaded by a current preset application;
and acquiring the uniform resource locator of the page loaded by the current preset application from the system clipboard.
Furthermore, the identification information list comprises identification information of a plurality of first buttons of preset applications, and the server updates the identification information list according to a preset time interval.
Specifically, the identification information of the first button is position information of the first button, and the operation performed on the first button is simulated according to the position information to correspondingly trigger the touch event of the first button.
Furthermore, after the page collection process is called out, the page collection process is represented by a floating control and is output on a terminal user interface.
Further, after the step of calling out the page collection process, the method further includes:
and acquiring an application identifier of the preset application program, and acquiring icon information of the corresponding application program according to the application identifier.
Further, after the step of obtaining the icon information of the corresponding application program, the method further includes:
and displaying the icon information of the application program on a floating control representing the page collection process.
Specifically, the page feature information includes one or more items of a title, a brief introduction, a picture, and a text of the page.
Further, the method further comprises:
and receiving a starting instruction acting on the application icon corresponding to the suspension control and/or the page collection process, and entering a user interface of the page collection process.
Further, the method further comprises:
and displaying the page characteristic information on a user interface of the page collection process according to a preset layout.
Further, after the step of obtaining the uniform resource locator of the page loaded by the current preset application, the method further includes:
and sending a page information collection instruction to a server to enable the server to store the page characteristic information and the uniform resource locator in an associated manner.
Optionally, after the step of obtaining the uniform resource locator of the page loaded by the current preset application, the method further includes:
submitting a request for acquiring all resource information of the page corresponding to the uniform resource locator to a server;
and receiving all resource information of the page fed back by the server and storing the uniform resource locator and all resource information of the page in a local database in an associated manner so as to collect the page.
Preferably, after the step of obtaining the uniform resource locator of the page loaded by the current preset application, when the network state of the terminal meets the preset condition, a request for obtaining the page feature information or all the resource information is submitted to the server.
In a second aspect, the present invention further provides an application page collecting apparatus, including:
a monitoring module: the method comprises the steps of calling out a page collection process when an operation event of a specific button of a preset application is monitored;
an acquisition module: the system comprises a first button, a second button and a unified resource locator, wherein the first button is used for simulating a touch event of the first button according to identification information of the first button in the preset application, and the unified resource locator of a page loaded by the current preset application is obtained;
a request module: the request is used for submitting a request for acquiring the page characteristic information corresponding to the uniform resource locator to a server;
a storage module: and the system is used for receiving the page characteristic information fed back by the server and storing the uniform resource locator and the page characteristic information in a local database in an associated manner so as to collect the page.
Specifically, an operation event of a specific button of a preset application is monitored through a preset monitor, the monitoring hook is correlated with the page collection process, and the page collection process is called out when the operation event is monitored through the hook.
Preferably, when the operation event of the specific button of the preset application is monitored, the preset application executes the operation event corresponding to the specific button, and the page collection process is synchronously invoked.
Specifically, the state of the page collection process before being called out includes a started state or an un-started state.
Further, after the page collection process is called out, the method further includes:
and popping up a collection control, and executing the module function only when a collection instruction triggered by the operation of the collection control by the user is received.
Specifically, the obtaining module specifically executes:
acquiring identification information of a first button in the preset application through a preset identification information list;
simulating a touch event of the first button according to the identification information to copy a uniform resource locator of a page loaded by a current preset application;
and acquiring the uniform resource locator of the page loaded by the current preset application from the system clipboard.
Furthermore, the identification information list comprises identification information of a plurality of first buttons of preset applications, and the server updates the identification information list according to a preset time interval.
Specifically, the identification information of the first button is position information of the first button, and the operation performed on the first button is simulated according to the position information to correspondingly trigger the touch event of the first button.
Furthermore, after the page collection process is called out, the page collection process is represented by a floating control and is output on a terminal user interface.
Further, after the page collection process is called out, the obtaining module further performs:
and acquiring an application identifier of the preset application program, and acquiring icon information of the corresponding application program according to the application identifier.
Further, after the obtaining of the icon information of the corresponding application program, the method further includes:
and displaying the icon information of the application program on a floating control representing the page collection process.
Specifically, the page feature information includes one or more items of a title, a brief introduction, a picture, and a text of the page.
Further, the apparatus further comprises:
and receiving a starting instruction acting on the application icon corresponding to the suspension control and/or the page collection process, and entering a user interface of the page collection process.
Further, the apparatus further comprises:
and displaying the page characteristic information on a user interface of the page collection process according to a preset layout.
Further, after the obtaining the uniform resource locator of the page loaded by the current preset application, the request module further performs:
and sending a page information collection instruction to a server to enable the server to store the page characteristic information and the uniform resource locator in an associated manner.
Optionally, after the obtaining of the uniform resource locator of the page loaded by the current preset application, the request module further executes: submitting a request for acquiring all resource information of the page corresponding to the uniform resource locator to a server;
the storage module further performs: and receiving all resource information of the page fed back by the server and storing the uniform resource locator and all resource information of the page in a local database in an associated manner so as to collect the page.
Preferably, after the uniform resource locator of the page loaded by the current preset application is obtained, when the network state of the terminal meets a preset condition, the request module submits a request for obtaining the page feature information or all the resource information to the server.
In a third aspect, the present invention further provides a mobile terminal, comprising a processor and a memory, wherein the memory stores a computer program, and wherein the computer program, when executed by the processor, implements the steps of the method according to any one of the first aspect.
Compared with the prior art, the invention has the following advantages:
the method comprises the steps of calling out a page collection process when an operation event of a specific button of a preset application is monitored, further obtaining feature information of a currently loaded page by the page collection process, then storing the page feature information and a page uniform resource locator in a local database in a correlated mode, and rapidly collecting the feature information of the page into a specified page collection process. The pages loaded in a plurality of different applications can be collected and managed locally through the page collection process, page collection among the cross-applications is realized, a sharing entrance accessed to a third-party application is not relied on, barriers among the applications are broken, the page collection efficiency of the applications is improved, and therefore the use of a user is facilitated; the problem that a user cannot completely browse the content of the whole page at the first time due to fragmentation time, message interference or network delay is solved.
Meanwhile, based on various modes of triggering the page collection process, the page collection process can be more quickly and variously called to collect the required page, and a user can also select a favorite/adaptive mode, so that the use efficiency is improved, and the operation experience of the user is improved.
In addition, no matter what state the page collection process is in before being called out, the page collection process is still operated and operated in the background after being called out, so that terminal resources are saved to a certain extent, and the operation of the user on the current application program is not directly influenced.
Moreover, the page information acquisition process outputs and displays the terminal user interface in a floating control mode, so that a user can conveniently and quickly enter the page information acquisition process to browse the contents of articles, videos and the like which are not browsed completely.
Moreover, because the uniform resource locator of the page to be collected can be obtained locally, the characteristic information or all resource information of the page can be obtained under the condition that the network state of the terminal is better, the loading speed is higher when the page is browsed again, and the actual requirements of the user can be better met.
It is to be understood that the foregoing general description of the advantages of the present invention is provided for illustration and description, and that various other advantages of the invention will be apparent to those skilled in the art from this disclosure.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
[ description of the drawings ]
FIG. 1 is a flowchart illustrating an embodiment of a method for collecting an application page according to the present invention.
Fig. 2 is a schematic diagram of a page loaded by an application.
FIG. 3 is a diagram illustrating a page collection process according to the present invention.
FIG. 4 is a schematic diagram illustrating a page collection process characterized by a floating control after the page collection process is invoked in the present invention.
FIG. 5 is a diagram illustrating the collected page feature information in the page collection process according to the present invention.
FIG. 6 is a diagram of an embodiment of the page collector of the application program according to the present invention.
FIG. 7 is a diagram of another embodiment of the page collector of the application program according to the present invention.
Fig. 8 is a schematic structural diagram of a mobile terminal according to the present invention.
[ detailed description ] embodiments
The present invention is further described with reference to the drawings and the exemplary embodiments, wherein like reference numerals are used to refer to like elements throughout. In addition, if a detailed description of the known art is not necessary to show the features of the present invention, it is omitted.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal" and a "terminal Device" may also be a communication terminal, a web terminal, and a music/video playing terminal, and may be, for example, a PDA, an MID (mobile Internet Device) and/or a mobile phone with a music/video playing function, and may also be a smart tv, a set-top box, and the like.
As will be appreciated by those skilled in the art, a remote network device, as used herein, includes, but is not limited to, a computer, a network host, a single network server, a collection of multiple network servers, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the remote network device, the terminal device and the WNS server may communicate with each other through any communication method, including but not limited to mobile communication based on 3GPP, LTE and WIMAX, computer network communication based on TCP/IP and UDP protocols, and short-range wireless transmission based on bluetooth and infrared transmission standards.
Those skilled in the art can understand that the user interface/operation interface described in the present invention generally refers to a display interface capable of sending a control instruction to an intelligent terminal, for example, an option (or a key, which is added by the application program, the same below) in a setting page of an Android system, an option in a notification bar or an interactive page called from a desktop, or an option in a page constructed by an active component of the application program.
It will be appreciated by those skilled in the art that the terms "application," "application software," "client software," and the like, as used herein, are intended to refer to computer software organically constructed from a series of computer instructions and associated data resources adapted for electronic operation, and are understood to represent similar concepts as those skilled in the art. Unless otherwise specified, such nomenclature is not itself limited by the programming language class, level, or operating system or platform upon which it depends. Of course, such concepts are not limited to any type of terminal.
FIG. 1 is a flowchart illustrating an embodiment of a method for collecting application pages of the present invention, including steps S100-S400.
Step S100: and when an operation event of a specific button of a preset application is monitored, calling out a page collection process.
In the embodiment of the present invention, the page collection process may be a separate application program, or a functional module built in another application program or a functional module built in the system OS. The embodiment of the invention is realized by depending on a functional mechanism integrated in a system, the functional mechanism is defined as a BM mechanism, the BM mechanism provides ART for transforming JAVA classes and functions of a method, and a listener is abstracted by virtue of an ART running mechanism and a Proxy mechanism of JAVA, wherein the abstraction of the classes to be monitored and the abstraction of the method to be monitored are included, the loading of the listener comprises a direct loading mode and a delayed loading mode, and the direct loading mode is to monitor a main interface of a target application before the main interface is not displayed; the delayed loading mode is to monitor the main interface of the target application after the main interface is presented, and can reduce the influence of the loading of the monitor on the starting speed of the target application and ensure better user experience; due to the system integration BM mechanism, the BM mechanism can be disabled under special conditions, once the system after disabling the BM mechanism is the same as the system without integrating the BM mechanism, all functions realized by the BM mechanism fail, and the fault-tolerant design is prepared for dealing with system crash caused by the occurrence of heavy BUG of the BM mechanism and can not cause the crash of third-party applications. For example, after disabling the BM mechanism, the monitor cannot listen to the operation event of the specific button of the preset application, and then cannot perform the subsequent operation of the embodiment, but the operation of the preset application itself is not affected at this time. The representation form of the page collection process is not used as a limitation of the present invention, and when the application program/function module executes the function, the page collection process is equivalent to a process running in a system. In the embodiment of the present invention, an android system is taken as an example for explanation, a process is an operation activity process of an application program in the android system, is an entity for operating system resource management, and is also a basic unit for allocating and scheduling resources such as a system memory, a CPU time slice, and the like by an operating system, and provides an operation environment for the operating application program, generally, when an application program is started, a new process is created for the operating application program by the system, components of the application program all operate in the same process, and each operating application program shares an independent process space.
In the embodiment of the invention, the preset monitor is used for monitoring the operation events of the specific button of the preset application, the monitor is used for intercepting messages of an application program or all processes in an operating system, the monitor comprises an in-process monitor and a global monitor, the in-process monitor is used for intercepting messages of a specified process, and the implementation is that the in-process monitor is used for intercepting the messages of the specified processIn this case, an in-process listener is preferably used. In this embodiment, the listener applies the BM mechanism and is associated with the page collection process, and calls the page collection process after monitoring the operation event by the listener; the specific button of the preset application is an entry button for sharing the current page in the preset application, and the page loaded by the current preset application can be collected into the preset application or shared to other applications authorized by the preset application after an operation event of the specific button is triggered. For example, the preset application is 'WeChat', and the specific button is on a browsing interface of WeChat articlesA button; the preset application is ' top bar today ', and the specific button is a ' × button on an article browsing interface of the top bar today. In this embodiment, a trigger of an operation event of a specific button, that is, a class or a method corresponding to the specific button, is monitored by a monitor, when the operation event of the specific button of a preset application is monitored, the preset application executes the operation event corresponding to the specific button, and the page collection process is synchronously invoked. In this embodiment, the listener only listens to the operation event of the specific button of the preset application, without affecting the triggering and executing functions of the operation event of the specific button of the preset application, and thus the actual use requirements of the user are better met.
Step S200: and the page collection process simulates the touch event of the first button according to the identification information of the first button in the preset application and then acquires the uniform resource locator of the page loaded by the current preset application.
In the embodiment of the present invention, after the page collection process is called out, the execution main body of the subsequent step is the page collection process, that is, the execution main bodies of steps S200 to S400 are the page collection process, and the page collection process simulates the touch event of the first button according to the identification information of the first button in the preset application and then obtains the uniform resource locator of the page loaded by the current preset application.
In the embodiment of the invention, the state of the page collection process before being called out comprises a started state and/or an un-started state. Preferably, the started state is a background running state, and when the page collection process is in the background running state before being called out, after responding to a control instruction acting on a terminal, the page acquisition process is still in the background running state and executes subsequent operations; when the page collection process is in an un-started state before being called out, only one service is needed to be kept for responding to a control instruction acting on the terminal, then the page collection process is called out, and the page collection process only needs to be in a background work after being called out and subsequent operations are executed. No matter what kind of state the page collection process is in, the page collection process is still placed in the background to run and operate after being called up, so that terminal resources are saved to a certain extent, and the operation of the user on the current application program is not directly influenced.
Specifically, the step of the page collection process simulating a touch event of a first button in the preset application according to the identification information of the first button and then acquiring a uniform resource locator of a page loaded by the current preset application includes:
acquiring identification information of a first button in the preset application through a preset identification information list;
simulating a touch event of the first button according to the identification information to copy a uniform resource locator of a page loaded by a current preset application;
and acquiring the uniform resource locator of the page loaded by the current preset application from the system clipboard.
In this embodiment, the first button is a button for copying a page link in a preset application, for example, a button for triggering a public article browsing page on an application program "WeChatAfter the button, the WeChat pops up a sharing interface, and the sharing interface includes a button of "copy link", which is the second button described in this embodimentAfter a button is used for simulating a touch event of the button, the URL of the page loaded currently by the preset application is copied to a system clipboard, and then the page collection process obtains the URL from the system clipboard.
Further, in an embodiment of the present invention, the identification information list includes identification information of a plurality of first buttons of a preset application, and receives an update of the identification information list by the server according to a preset time interval. In order to avoid that the touch event of the specific button cannot be simulated due to the change of the identity ID of the preset application or the identification information of the specific button with the version update of the preset application, an update package of the identification information list needs to be received from the server at a preset time interval.
In an embodiment of the present invention, the identification information of the first button is position information of the first button, where the position information of the first button is a position of the first button on the terminal user interface, and then the page collection process simulates an operation on the first button according to the position information to correspondingly trigger a touch event of the first button.
Step S300: and the page collection process submits a request for acquiring the page characteristic information corresponding to the uniform resource locator to a server.
The page collection process submits a request for obtaining the page feature information corresponding to the uniform resource locator to a specific server according to the obtained uniform resource locator, wherein the server is a server set in the page collection process, generally, the server is a server of a terminal manufacturer providing the page collection function of the embodiment, but not a server of a manufacturer of the application program of the currently loaded page. In the embodiment of the invention, the server loads the corresponding page according to the uniform resource locator, and then extracts the feature information of the page from the page according to the set rule, the extraction rule of the page feature information can be operated by combining with big data, the feature information of the page is obtained by utilizing the stronger computing capability of the server, and the computing pressure of directly obtaining, extracting and analyzing the page feature information by the terminal is reduced. Specifically, the characteristic information includes one or more items of information of a title, a brief introduction, a subject picture and a character of the page. Furthermore, the server can compress the extracted page feature information into a smaller data packet and then forward the data packet to the terminal of the page collection process, so that the bandwidth resource occupation of the terminal is reduced. As shown in fig. 2, the screenshot is a screenshot of a page loaded by an application, where the page is an article, and the feature information extracted from the page in this embodiment includes "title: over the past 40 hours, # what happened in the city in the book reading war, #; brief introduction: the 256 th article of New age; and (3) writing: in the last two days, you may also participate in the discussion of the big battle # reading book or pick up/drop a book, wherein the text is part of the text at the beginning of the article, and if the article contains pictures, the subject picture can be extracted as a item of page feature information.
Step S400: and the page collection process receives page characteristic information fed back by the server and stores the uniform resource locator and the page characteristic information in an associated manner so as to collect the page.
After submitting the request for acquiring the page feature information, the page collection process receives a page feature information data packet fed back by the server, and then stores the uniform resource locator and the page information in a local database in an associated manner so as to achieve the purpose of collecting the page.
According to the method and the device, the pages loaded in the different applications can be collected and managed locally through the page collection process, the page collection among the cross-applications is realized, the method and the device do not depend on the access of a sharing entrance of a third-party application, the barrier among the applications is broken, the page collection efficiency of the applications is improved, and therefore the use of a user is facilitated.
Further, in an embodiment of the present invention, when the page collection process is called out, a collection control is popped up, and the subsequent steps are executed only when a collection instruction triggered by the user operating the collection control is received. The method comprises the steps of responding to a control instruction acting on a terminal, calling out a page collection process, simultaneously popping up a corresponding collection control, enabling a user to intuitively perceive the process of page collection through the collection control, simultaneously outputting and displaying the collection control on the upper layer of a currently running application program, not influencing the operation of the currently running application program, correspondingly triggering the collection instruction when receiving the operation of the user, and executing the subsequent steps of the method if clicking the collection control to trigger the corresponding collection instruction. FIG. 3 is a schematic diagram of the page collection process as called out, and the collection control is shown at 31 and is displayed under the name "read later".
In an embodiment of the present invention, the invoked page collection process is represented and output on a terminal user interface by a floating control, which is described above to keep the page collection process in a background running state, and in order to enable a user to more intuitively sense the existence of the page collection process, the page collection process is represented in the form of a floating control, which may be a floating button, a floating window, or the like, and further, the floating control may be attached to an edge position of a terminal screen so as not to affect the user to operate a current application program.
Further, in an embodiment of the present invention, when the page collection process simulates a touch event of a first button in the preset application according to the identification information of the first button, and then obtains a uniform resource locator of a page loaded by a current preset application, the method further includes the steps of: and acquiring an application identifier of the preset application program, and acquiring icon information of the corresponding application program according to the application identifier. Specifically, the page collection process acquires an application identifier of a currently running preset application, then finds icon information of the application according to the acquired application identifier, and then extracts the icon information for subsequent use.
Further, in an embodiment of the present invention, the obtained icon information is combined to display the icon information of the application program on a floating control representing the page collection process. When the functional steps of the embodiment of the invention are executed once, the acquired icon information of the application program is displayed on the floating control representing the page acquisition process, so that the source application of the currently collected page can be displayed for a user, or whether the collection of the page is successful or not is displayed. Fig. 4 is a schematic diagram showing that the page collection process is represented by a floating control after the page collection process is called out, in which 41 is the floating control, and the icon information of the application program is displayed on the floating control representing the page collection process.
Further, in an embodiment of the present invention, the method further includes the following steps: receiving a starting instruction acting on the suspension control and/or the application icon corresponding to the page collection process, and entering a user interface of the page collection process; and after entering the user interface of the page collection process, displaying the page characteristic information on the user interface of the page collection process according to a preset layout. In this embodiment, after the user enters the page collection process, the collection process loads the database file of the collected pages, displays the feature information of the collected pages according to a preset layout, and manages the collected page/pages by the page collection process, so that the user can browse the content of the collected pages from the page collection process conveniently. Fig. 5 is a schematic diagram illustrating the page feature information collected by the page collection process, wherein the feature information of one page in the collection includes 51, 52 and 53.
Further, in an embodiment of the present invention, when the page collection operation is executed on the local computer, a page information collection instruction is sent to the server, that is, while a request for obtaining page feature information corresponding to the uniform resource locator is submitted to the server, a page information collection instruction is sent to the server so that the server stores the page feature information in association with the uniform resource locator, and the page to be collected on the local computer is synchronized to the cloud so as to facilitate data storage of the user. The server stores the collected pages according to the account information of the user, and the subsequent user can log in from different terminals and view the collected pages on the server by using the account information of the user, for example, the server stores the pages collected by the user in a cloud disk, and the user can view the collected pages by logging in the cloud disk.
Further, in an embodiment of the present invention, after the page collection process obtains the uniform resource locator of the page, a request for obtaining all resource information of the page corresponding to the uniform resource locator is submitted to a server, and then all resource information of the page fed back by the server is received and the uniform resource locator and all resource information of the page are stored in a local database in an associated manner to collect the page. If all the resource information of the page is stored in the local database, all the resource information of the page can be loaded from the local page collection process under the condition of no networking, and the page is completely displayed and the loading speed is higher; preferably, this operation is performed when the terminal memory conditions permit or the user enables the function. All resource information of the pages to be collected is stored in the local database, so that the user can conveniently check the corresponding page content at any time. Preferably, if the content of the page resource includes the video resource, the operation can be executed if the storage space required for downloading the video resource is within the preset capacity, so that the video resource is prevented from occupying too much storage space.
Further, in an embodiment of the present invention, after the page collection process obtains the uniform resource locator of the page, when the network state of the terminal meets a preset condition, a request for obtaining feature information or all resource information of the page is sent to the server. Specifically, after the user executes the page collection operation and the page collection process obtains the uniform resource locator, the task of obtaining the characteristic information or all the resource information of the page is added into a task list of the page collection process, and the task is executed one by one until the network state where the terminal is located meets the condition, especially when the user sets to obtain all the resource information of the page. For example, when the network state of the terminal is set to be in WIFI connection, the task of acquiring the page feature information or all the resource information is executed, so that the traffic usage of the user is reduced better, and the user is served better.
In a second aspect, as shown in fig. 6, it is a purpose of an embodiment of the application page collection apparatus of the present invention, which includes:
the monitoring module 100: the method is used for calling out the page collection process when the operation event of a specific button of the preset application is monitored.
In the embodiment of the present invention, a preset listener is used to monitor the operation event of the specific button of the preset application, the listener is used to intercept a message of a certain application program or all processes in the operating system, the listener includes an in-process listener and a global listener, and the in-process listener is used to intercept a message of a certain specified process. In this embodiment, the listener applies the BM mechanism and is associated with the page collection process, and after monitoring the operation event, the monitor module 100 calls the page collection process; the specific button of the preset application is an entry button for sharing the current page in the preset application, and the page loaded by the current preset application can be collected into the preset application or shared to other applications authorized by the preset application after an operation event of the specific button is triggered. For example, the preset application is 'WeChat', and the specific button is on a browsing interface of WeChat articlesA button; the preset application is ' top bar today ', and the specific button is a ' × button on an article browsing interface of the top bar today. In this embodiment, a trigger of an operation event of a specific button, that is, a class or a method corresponding to the specific button, is monitored by a monitor, when the operation event of the specific button of a preset application is monitored, the preset application executes the operation event corresponding to the specific button, and the page collection process is synchronously invoked. In this embodiment, the listener only listens to the operation event of the specific button of the preset application, without affecting the triggering and executing functions of the operation event of the specific button of the preset application, and thus the actual use requirements of the user are better met.
In the embodiment of the present invention, after the page collection process is called out, the main execution body of the subsequent function is the page collection process, as shown in fig. 7, the page process includes an obtaining module 200, a requesting module 300, and a storing module 400.
The acquisition module 200: and the method is used for simulating a touch event of a first button in the preset application according to the identification information of the first button and then acquiring the uniform resource locator of the page loaded by the current preset application.
In the embodiment of the invention, the state of the page collection process before being called out comprises a started state and/or an un-started state. Preferably, the started state is a background running state, and when the page collection process is in the background running state before being called out, after responding to a control instruction acting on a terminal, the page acquisition process is still in the background running state and executes subsequent operations; when the page collection process is in an un-started state before being called out, only one service is needed to be kept for responding to a control instruction acting on the terminal, then the page collection process is called out, and the page collection process only needs to be in a background work after being called out and subsequent operations are executed. No matter what kind of state the page collection process is in, the page collection process is still placed in the background to run and operate after being called up, so that terminal resources are saved to a certain extent, and the operation of the user on the current application program is not directly influenced.
Specifically, the obtaining module 200 specifically executes:
acquiring identification information of a first button in the preset application through a preset identification information list;
simulating a touch event of the first button according to the identification information to copy a uniform resource locator of a page loaded by a current preset application;
and acquiring the uniform resource locator of the page loaded by the current preset application from the system clipboard.
In this embodiment, the first button is a button for copying a page link in a preset application, for example, a button for triggering a public article browsing page on an application program "WeChatAfter the button is pressed, the wechat pops up a sharing interface, the sharing interface includes a button of "copy link", the button is the first button described in this embodiment, then after the obtaining module 200 simulates the button touch event, the url of the page loaded currently by the preset application is copied to the system clipboard, then the obtaining module 200 obtains the url from the system clipboard, generally, the obtaining module 200 obtains the latest clipboard content from the system clipboard, and then the url of the page is obtained.
Further, in an embodiment of the present invention, the identification information list includes identification information of a plurality of first buttons of a preset application, and receives an update of the identification information list by the server according to a preset time interval. In order to avoid that the touch event of the specific button cannot be simulated due to the change of the identity ID of the preset application or the identification information of the specific button with the version update of the preset application, an update package of the identification information list needs to be received from the server at a preset time interval.
In an embodiment of the present invention, the identification information of the first button is position information of the first button, and the position information of the first button is a position of the first button on the terminal user interface, and then the obtaining module 200 simulates an operation acting on the first button according to the position information to correspondingly trigger a touch event of the first button.
The request module 300: the request is used for submitting a request for acquiring the page characteristic information corresponding to the uniform resource locator to a server;
the request module 300 submits a request for acquiring the page feature information corresponding to the uniform resource locator to a specific server according to the uniform resource locator acquired by the acquisition module 200, where the server is a server set in a page collection process, and generally, the server is a server of a terminal manufacturer providing the page collection function of this embodiment, but not a server of a manufacturer of the application program currently loading the page. In the embodiment of the invention, the server loads the corresponding page according to the uniform resource locator, and then extracts the feature information of the page from the page according to the set rule, the extraction rule of the page feature information can be operated by combining with big data, the feature information of the page is obtained by utilizing the stronger computing capability of the server, and the computing pressure of directly obtaining, extracting and analyzing the page feature information by the terminal is reduced. Specifically, the characteristic information includes one or more items of information of a title, a brief introduction, a subject picture and a character of the page. Furthermore, the server can compress the extracted page feature information into a smaller data packet and then forward the data packet to the terminal of the page collection process, so that the bandwidth resource occupation of the terminal is reduced. As shown in fig. 2, the screenshot is a screenshot of a page loaded by an application, where the page is an article, and the feature information extracted from the page in this embodiment includes "title: over the past 40 hours, # what happened in the city in the book reading war, #; brief introduction: the 256 th article of New age; and (3) writing: in the last two days, you may also participate in the discussion of the big battle # reading book or pick up/drop a book, wherein the text is part of the text at the beginning of the article, and if the article contains pictures, the subject picture can be extracted as a item of page feature information.
The storage module 400: and the page characteristic information is used for receiving the page characteristic information fed back by the server and storing the uniform resource locator and the page characteristic information in an associated manner so as to collect the page.
After the submitting module 300 submits the request for obtaining the page feature information, the storage module 400 receives a page feature information data packet fed back by the server, and then associates and stores the uniform resource locator and the page information in a local database to achieve the purpose of collecting the page.
According to the method and the device, the pages loaded in the different applications can be collected and managed locally through the page collection process, the page collection among the cross-applications is realized, the method and the device do not depend on the access of a sharing entrance of a third-party application, the barrier among the applications is broken, the page collection efficiency of the applications is improved, and therefore the use of a user is facilitated.
Further, in an embodiment of the present invention, when the page collection process is called, the collection control is popped up, and the subsequent functions of each module are executed only when a collection instruction triggered by the user operating the collection control is received. The response module 100 responds to a control instruction acting on the terminal, the corresponding collection control is popped up while the page collection process is called, a user can intuitively perceive the page collection process through the collection control, meanwhile, the collection control is output and displayed on the upper layer of the currently running application program, the operation of the currently running application program is not influenced, the collection instruction is correspondingly triggered when the operation of the user is received, the corresponding collection instruction is triggered when the collection control is clicked, and the subsequent steps of the method are executed. FIG. 3 is a schematic diagram of the page collection process as called out, and the collection control is shown at 31 and is displayed under the name "read later".
In an embodiment of the present invention, the invoked page collection process is represented and output on a terminal user interface by a floating control, which is described above to keep the page collection process in a background running state, and in order to enable a user to more intuitively sense the existence of the page collection process, the page collection process is represented in the form of a floating control, which may be a floating button, a floating window, or the like, and further, the floating control may be attached to an edge position of a terminal screen so as not to affect the user to operate a current application program.
Further, in an embodiment of the present invention, when the obtaining module executes a function of obtaining an application program of a currently loaded page and obtaining a uniform resource locator of the page from a network request of the application program, the method further includes executing: and acquiring icon information corresponding to the application program. Specifically, the icon information of the application can be found according to the obtained application identifier of the application program of the currently loaded page, and then the icon information is extracted for subsequent use.
Further, in an embodiment of the present invention, the obtained icon information is combined to display the icon information of the application program on a floating control representing the page collection process. When the module function of the embodiment of the invention is executed once, the acquired icon information of the application program is displayed on the suspension control representing the page acquisition process, so that the source application of the currently collected page can be displayed for a user, or whether the collection of the page is successful or not is displayed. Fig. 4 is a schematic diagram showing that the page collection process is represented by a floating control after the page collection process is called out, in which 41 is the floating control, and the icon information of the application program is displayed on the floating control representing the page collection process.
Further, in an embodiment of the present invention, the method further includes: receiving a starting instruction acting on the suspension control and/or the application icon corresponding to the page collection process, and entering a user interface of the page collection process; and after entering the user interface of the page collection process, displaying the page characteristic information on the user interface of the page collection process according to a preset layout. In this embodiment, after the user enters the page collection process, the collection process loads the database file of the collected pages, displays the feature information of the collected pages according to a preset layout, and manages the collected page/pages by the page collection process, so that the user can browse the content of the collected pages from the page collection process conveniently. Fig. 5 is a schematic diagram illustrating the page feature information collected by the page collection process, wherein the feature information of one page in the collection includes 51, 52 and 53.
Further, in an embodiment of the present invention, when the page collection operation is executed on the local computer, a page information collection instruction is sent to the server, that is, while a request for obtaining page feature information corresponding to the uniform resource locator is submitted to the server, a page information collection instruction is sent to the server so that the server stores the page feature information in association with the uniform resource locator, and the page to be collected on the local computer is synchronized to the cloud so as to facilitate data storage of the user. The server stores the collected pages according to the account information of the user, and the subsequent user can log in from different terminals and view the collected pages on the server by using the account information of the user, for example, the server stores the pages collected by the user in a cloud disk, and the user can view the collected pages by logging in the cloud disk.
Further, in an embodiment of the present invention, after the page collection process obtains the uniform resource locator of the page, a request for obtaining all resource information of the page corresponding to the uniform resource locator is submitted to a server, and then all resource information of the page fed back by the server is received and the uniform resource locator and all resource information of the page are stored in a local database in an associated manner to collect the page. If all the resource information of the page is stored in the local database, all the resource information of the page can be loaded from the local page collection process under the condition of no networking, and the page is completely displayed and the loading speed is higher; preferably, this operation is performed when the terminal memory conditions permit or the user enables the function. All resource information of the pages to be collected is stored in the local database, so that the user can conveniently check the corresponding page content at any time. Preferably, if the content of the page resource includes the video resource, the operation can be executed if the storage space required for downloading the video resource is within the preset capacity, so that the video resource is prevented from occupying too much storage space.
Further, in an embodiment of the present invention, after the page collection process obtains the uniform resource locator of the page, when the network state of the terminal meets a preset condition, a request for obtaining feature information or all resource information of the page is sent to the server. Specifically, after the user executes the page collection operation and the page collection process obtains the uniform resource locator, the task of obtaining the characteristic information or all the resource information of the page is added into a task list of the page collection process, and the task is executed one by one until the network state where the terminal is located meets the condition, especially when the user sets to obtain all the resource information of the page. For example, when the network state of the terminal is set to be in WIFI connection, the task of acquiring the page feature information or all the resource information is executed, so that the traffic usage of the user is reduced better, and the user is served better.
In addition, the present invention further provides a mobile terminal for implementing the above-mentioned application page collection method, as shown in fig. 8, for convenience of description, only the part related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the mobile terminal as the mobile phone as an example:
fig. 8 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 8, the handset includes: baseband processing module 810, memory 820, input unit 830, display unit 840, sensor 850, audio circuitry 860, wireless fidelity (WiFi) module 870, processor 880, and power supply 890. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The baseband processing module 810 may be used to synthesize a baseband signal to be transmitted or decode a received baseband signal. Specifically, the audio signal is compiled into a baseband code for transmission when being transmitted; upon reception, the received baseband code is interpreted as an audio signal. Meanwhile, the system is also responsible for compiling address information (mobile phone numbers, website addresses), text information (short message texts and website texts) and picture information (multimedia messages).
The memory 820 may be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 820. The memory 820 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 820 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 830 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 830 may include a touch panel 831 and other input devices 832. The touch panel 831, also referred to as a touch screen, can collect touch operations performed by a user on or near the touch panel 831 (e.g., operations performed by the user on the touch panel 831 or near the touch panel 831 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 831 may include two portions, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 880, and can receive and execute commands from the processor 880. In addition, the touch panel 831 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 830 may include other input devices 832 in addition to the touch panel 831. In particular, other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 840 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 840 may include a Display panel 841, and the Display panel 841 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like, as an option. Further, touch panel 831 can overlay display panel 841, and when touch panel 831 detects a touch operation thereon or nearby, communicate to processor 880 to determine the type of touch event, and processor 880 can then provide a corresponding visual output on display panel 841 based on the type of touch event. Although in fig. 8, the touch panel 831 and the display panel 841 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 831 and the display panel 841 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 850, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 841 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 841 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 870, and provides wireless broadband Internet access for the user. Although fig. 8 shows WiFi module 870, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 880 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 820 and calling data stored in the memory 820, thereby integrally monitoring the mobile phone. Optionally, processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 880.
The handset also includes a power supply 890 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 880 via a power management system to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 880 included in the terminal further has the following functions:
establishing a remote connection channel with a relative mobile terminal;
receiving a local interface image stream transmitted by the relative mobile terminal through the connecting channel, and synchronously transmitting the local interface image stream of the relative mobile terminal to the relative mobile terminal so that the relative mobile terminal can superimpose the local interface image stream on the local interface image to output and display the local interface image stream;
and overlaying the received local interface image stream of the relative mobile terminal onto the local interface image of the relative mobile terminal, and outputting and displaying the local interface image.
In summary, the invention transmits the interface image streams of the mobile terminal and the relative mobile terminal in a bidirectional way, so that the terminal users can see the interface image of the other party when performing remote control, the visual effect of the remote control is improved, and the purpose of teaching, such as remote control, is more efficient and convenient. Meanwhile, the mobile terminal and the interface image stream of the relative mobile terminal are bidirectionally transmitted, so that diversified remote control functions such as remote teaching, remote sharing, remote office and the like are added, and more convenience is brought to users.
Meanwhile, after receiving the interface image transmitted by the relative mobile terminal, the mobile terminal superposes and presents the interface image on a local user interface in a floating window mode, so that the picture content transmitted by the relative mobile terminal can be observed, other operations on the mobile terminal can be carried out, and a user can freely switch between a remote control state and a non-remote control state more conveniently. And the size display of the floating window can be controlled by the user, the effect of coexistence of most coordinated watching and operation is achieved, meanwhile, the control authority of the mobile terminal can be opened or closed by the user, and the privacy of the user is protected to the greatest extent.
Furthermore, the remote control method of the invention is realized by utilizing the functional module capable of realizing point-to-point transmission, breaks through the limitation of the existing remote control terminal, realizes the remote control among the cross-brand mobile terminals, and enables users of terminals of different brands to freely realize the remote control of the terminal. Meanwhile, the load of the cloud server is reduced and the definition and the fluency of the image are improved through point-to-point transmission when the mobile terminal and the relative mobile terminal transmit respective interface images in a two-way mode.
Although a few exemplary embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in these exemplary embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.
Claims (33)
1. A method for collecting application program pages is characterized by comprising the following steps:
monitoring an operation event of a specific button of a preset application through a preset monitor, and calling out a page collection process when the operation event of the specific button of the preset application is monitored; the monitor is mutually associated with the page collection process, and the page collection process is called out when the operation event is monitored through a hook;
the page collection process simulates a touch event of a first button in the preset application according to the identification information of the first button, and acquires a uniform resource locator of a page loaded by the current preset application;
the page collection process submits a request for acquiring the page characteristic information corresponding to the uniform resource locator to a server;
and the page collection process receives page characteristic information fed back by the server and stores the uniform resource locator and the page characteristic information in an associated manner so as to collect the page.
2. The method according to claim 1, wherein when the operation event of a specific button of a preset application is monitored, the preset application executes the operation event of the corresponding specific button, and the page collection process is synchronously invoked.
3. The method of claim 1, wherein the state of the page favorite process prior to being evoked comprises an activated state or an inactivated state.
4. The method of claim 1, further comprising, after the step of invoking the page favorite process:
and popping up a collection control, and executing the subsequent steps only when a collection instruction triggered by the operation of the collection control by the user is received.
5. The method according to claim 1, wherein the first button is a button for copying a page link in a preset application, and the step of the page collection process simulating a touch event of the first button according to the identification information of the first button in the preset application and then obtaining a uniform resource locator of a page loaded by the current preset application comprises:
acquiring identification information of a first button in the preset application through a preset identification information list;
simulating a touch event of the first button according to the identification information to copy a uniform resource locator of a page loaded by a current preset application;
and acquiring the uniform resource locator of the page loaded by the current preset application from the system clipboard.
6. The method according to claim 5, wherein the identification information list comprises identification information of first buttons of a plurality of preset applications, and the server updates the identification information list according to a preset time interval.
7. The method according to claim 1, wherein the identification information of the first button is position information of the first button, and the operation of the first button is simulated according to the position information to correspondingly trigger the touch event of the first button.
8. The method of claim 1, wherein the page favorite process is characterized by a hover control and output on a terminal user interface after being invoked.
9. The method of claim 1, further comprising, after the step of invoking the page favorite process:
and acquiring an application identifier of the preset application program, and acquiring icon information of the corresponding application program according to the application identifier.
10. The method according to claim 9, further comprising, after the step of obtaining the icon information of the corresponding application program:
and displaying the icon information of the application program on a floating control representing the page collection process.
11. The method of claim 1, wherein the page characteristic information comprises one or more of a title, a brief description, a picture, and a text of the page.
12. The method of claim 8, further comprising the subsequent step of:
and receiving a starting instruction acting on the application icon corresponding to the suspension control and/or the page collection process, and entering a user interface of the page collection process.
13. The method of claim 1, further comprising the subsequent steps of:
and displaying the page characteristic information on a user interface of the page collection process according to a preset layout.
14. The method according to claim 1, wherein after the step of obtaining the uniform resource locator of the page loaded by the current preset application, the method further comprises:
and sending a page information collection instruction to a server to enable the server to store the page characteristic information and the uniform resource locator in an associated manner.
15. The method according to claim 1, wherein after the step of obtaining the uniform resource locator of the page loaded by the current preset application, the method further comprises:
submitting a request for acquiring all resource information of the page corresponding to the uniform resource locator to a server;
and receiving all resource information of the page fed back by the server and storing the uniform resource locator and all resource information of the page in a local database in an associated manner so as to collect the page.
16. The method according to claim 15, wherein after the step of obtaining the uniform resource locator of the page loaded by the current preset application, when the network status of the terminal meets a preset condition, a request for obtaining the page feature information or all the resource information is submitted to the server.
17. An application page information collecting device, comprising:
a monitoring module: the system comprises a preset monitor, a page collection process and a display module, wherein the preset monitor is used for monitoring an operation event of a specific button of a preset application, and the page collection process is called out when the operation event of the specific button of the preset application is monitored and comprises an acquisition module, a request module and a storage module; the monitor is mutually associated with the page collection process, and the page collection process is called out when the operation event is monitored through a hook;
an acquisition module: the system comprises a first button, a second button and a unified resource locator, wherein the first button is used for simulating a touch event of the first button according to identification information of the first button in the preset application, and the unified resource locator of a page loaded by the current preset application is obtained;
a request module: the request is used for submitting a request for acquiring the page characteristic information corresponding to the uniform resource locator to a server;
a storage module: and the system is used for receiving the page characteristic information fed back by the server and storing the uniform resource locator and the page characteristic information in a local database in an associated manner so as to collect the page.
18. The apparatus according to claim 17, wherein when an operation event of a specific button of a preset application is monitored, the preset application executes the operation event of the corresponding specific button, and the page collection process is synchronously invoked.
19. The apparatus of claim 17, wherein the state of the page favorite process prior to call-out comprises an activated state or an inactivated state.
20. The apparatus of claim 17, wherein the monitoring module, after invoking the page favorite process, further comprises performing:
and popping up a collection control, and after receiving a collection instruction triggered by the operation of the collection control by a user, executing corresponding functions by the acquisition module, the request module and the storage module.
21. The apparatus of claim 17, wherein the obtaining module specifically performs:
acquiring identification information of a first button in the preset application through a preset identification information list;
simulating a touch event of the first button according to the identification information to copy a uniform resource locator of a page loaded by a current preset application;
and acquiring the uniform resource locator of the page loaded by the current preset application from the system clipboard.
22. The apparatus of claim 21, wherein the identification information list comprises identification information of first buttons of a plurality of preset applications, and the server receives an update of the identification information list according to a preset time interval.
23. The apparatus according to claim 17, wherein the identification information of the first button is position information of the first button, and the touch event of the first button is triggered by simulating an operation on the first button according to the position information.
24. The apparatus of claim 17, wherein the page favorite process is characterized by a hover control and output on a terminal user interface after being invoked.
25. The apparatus of claim 17, wherein after the page favorite process is invoked, the obtaining module further performs:
and acquiring an application identifier of the preset application program, and acquiring icon information of the corresponding application program according to the application identifier.
26. The apparatus according to claim 25, further comprising, after said obtaining the icon information of the corresponding application program:
and displaying the icon information of the application program on a floating control representing the page collection process.
27. The apparatus of claim 17, wherein the page characteristic information comprises one or more of a title, a brief description, a picture, and a text of the page.
28. The apparatus of claim 24, further comprising:
and receiving a starting instruction acting on the application icon corresponding to the suspension control and/or the page collection process, and entering a user interface of the page collection process.
29. The apparatus of claim 17, further comprising:
and displaying the page characteristic information on a user interface of the page collection process according to a preset layout.
30. The apparatus of claim 17, wherein after the obtaining the uniform resource locator of the page loaded by the current default application, the requesting module further performs:
and sending a page information collection instruction to a server to enable the server to store the page characteristic information and the uniform resource locator in an associated manner.
31. The apparatus of claim 17, wherein after the obtaining the uniform resource locator of the page loaded by the current default application, the requesting module further performs: submitting a request for acquiring all resource information of the page corresponding to the uniform resource locator to a server;
the storage module further performs: and receiving all resource information of the page fed back by the server and storing the uniform resource locator and all resource information of the page in a local database in an associated manner so as to collect the page.
32. The apparatus according to claim 31, wherein after the acquiring of the uniform resource locator of the page loaded by the current default application, the requesting module submits the request for acquiring the page feature information or all the resource information to the server when the network status of the terminal satisfies the preset condition.
33. A mobile terminal comprising a processor and a memory, said memory having stored thereon a computer program, characterized in that the computer program, when being executed by the processor, is adapted to carry out the steps of the method according to any of the claims 1-16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398204.9A CN107203630B (en) | 2017-05-31 | 2017-05-31 | Application page collection method and device and corresponding mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398204.9A CN107203630B (en) | 2017-05-31 | 2017-05-31 | Application page collection method and device and corresponding mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107203630A CN107203630A (en) | 2017-09-26 |
CN107203630B true CN107203630B (en) | 2020-11-24 |
Family
ID=59907160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710398204.9A Active CN107203630B (en) | 2017-05-31 | 2017-05-31 | Application page collection method and device and corresponding mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107203630B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107329985B (en) * | 2017-05-31 | 2021-01-12 | 北京安云世纪科技有限公司 | Page collection method and device and mobile terminal |
CN109995804B (en) * | 2017-12-29 | 2021-09-14 | 腾讯科技(深圳)有限公司 | Target resource information display method, information providing method and device |
CN110417988B (en) * | 2018-04-28 | 2022-06-14 | 华为技术有限公司 | Interface display method, device and equipment |
CN109088979A (en) * | 2018-06-28 | 2018-12-25 | 珠海格力电器股份有限公司 | Collection control method, device, storage medium and terminal |
CN109190077B (en) * | 2018-08-23 | 2020-07-07 | Oppo广东移动通信有限公司 | Collection information processing method and device, storage medium and electronic equipment |
CN109190076B (en) * | 2018-08-23 | 2021-07-30 | Oppo广东移动通信有限公司 | Page collection method and device, storage medium and electronic equipment |
CN109271595A (en) * | 2018-08-23 | 2019-01-25 | Oppo广东移动通信有限公司 | Information collection method, apparatus, storage medium and electronic equipment |
CN111316618B (en) * | 2018-10-11 | 2021-11-30 | 华为技术有限公司 | Network page storage method and terminal |
CN110297993A (en) * | 2019-05-13 | 2019-10-01 | 北京百度网讯科技有限公司 | Application APP content collection method, apparatus, equipment and storage medium |
CN110427237B (en) * | 2019-07-29 | 2023-10-20 | 创新先进技术有限公司 | Method and device for cross-application access to target page and electronic equipment |
CN112394861B (en) * | 2019-08-15 | 2023-08-29 | 腾讯科技(深圳)有限公司 | Page jump method and device, storage medium and electronic device |
CN112988660A (en) * | 2019-12-16 | 2021-06-18 | 青岛海信移动通信技术股份有限公司 | Application data collection method and terminal |
CN111143526B (en) * | 2019-12-18 | 2024-03-22 | 口碑(上海)信息技术有限公司 | Method and device for generating and controlling configuration information of counsel service control |
CN111045571A (en) * | 2019-12-27 | 2020-04-21 | 珠海市魅族科技有限公司 | Method, device, equipment and storage medium for adding expression files in application program |
CN113312115A (en) * | 2020-02-26 | 2021-08-27 | 华为技术有限公司 | Information collection method, electronic device and computer readable storage medium |
CN111596845B (en) * | 2020-04-30 | 2022-02-22 | 维沃移动通信有限公司 | Display control method and device and electronic equipment |
CN111984338B (en) * | 2020-07-27 | 2021-11-09 | 未来穿戴技术有限公司 | Mode collection method, device, mobile terminal and computer readable storage medium |
CN114513575B (en) * | 2020-10-29 | 2023-06-06 | 华为技术有限公司 | Method for collection processing and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646135A (en) * | 2012-03-31 | 2012-08-22 | 奇智软件(北京)有限公司 | Webpage collecting method, device and system |
CN103577482A (en) * | 2012-08-07 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Web page collecting method and device as well as browser |
CN104808995A (en) * | 2015-05-04 | 2015-07-29 | 卓易畅想(北京)科技有限公司 | Method and device for storing application contents over applications |
CN105183899A (en) * | 2015-09-29 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Collection function sharing system and method |
CN106249992A (en) * | 2016-07-21 | 2016-12-21 | 广东欧珀移动通信有限公司 | A kind of webpage control method and mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9268867B2 (en) * | 2005-08-03 | 2016-02-23 | Aol Inc. | Enhanced favorites service for web browsers and web applications |
CN104486430A (en) * | 2014-12-18 | 2015-04-01 | 北京奇虎科技有限公司 | Method, device and client for realizing data sharing in mobile browser client |
CN104899269B (en) * | 2015-05-26 | 2019-01-22 | 北京金山安全软件有限公司 | Method and device for accessing website link |
CN106095999A (en) * | 2016-06-22 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Obtain the method and device of content of pages |
-
2017
- 2017-05-31 CN CN201710398204.9A patent/CN107203630B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646135A (en) * | 2012-03-31 | 2012-08-22 | 奇智软件(北京)有限公司 | Webpage collecting method, device and system |
CN103577482A (en) * | 2012-08-07 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Web page collecting method and device as well as browser |
CN104808995A (en) * | 2015-05-04 | 2015-07-29 | 卓易畅想(北京)科技有限公司 | Method and device for storing application contents over applications |
CN105183899A (en) * | 2015-09-29 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Collection function sharing system and method |
CN106249992A (en) * | 2016-07-21 | 2016-12-21 | 广东欧珀移动通信有限公司 | A kind of webpage control method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107203630A (en) | 2017-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107203630B (en) | Application page collection method and device and corresponding mobile terminal | |
CN107085617B (en) | Application page collection method and device and corresponding mobile terminal | |
CN107092707B (en) | Display method and device for collected application program page | |
US20220413670A1 (en) | Content Sharing Method and Electronic Device | |
US10775979B2 (en) | Buddy list presentation control method and system, and computer storage medium | |
CN110837327B (en) | Message viewing method and terminal | |
CN110224920B (en) | Sharing method and terminal equipment | |
CN109165320B (en) | Information collection method and mobile terminal | |
CN109857297B (en) | Information processing method and terminal equipment | |
CN108170723B (en) | Webpage resource acquisition method, terminal equipment, server and system | |
CN111459349B (en) | Application recommendation method and electronic equipment | |
CN109284144A (en) | A kind of fast application processing method and mobile terminal | |
WO2015003636A1 (en) | Method and device for interception of page elements | |
CN110688497A (en) | Resource information searching method and device, terminal equipment and storage medium | |
CN108920040B (en) | Application icon sorting method and mobile terminal | |
CN109358931A (en) | A kind of interface display method and terminal | |
CN110719319A (en) | Resource sharing method, device, terminal equipment and storage medium | |
WO2020156117A1 (en) | File processing method and device, and terminal | |
CN111274054B (en) | Message processing method and electronic equipment | |
CN111142998A (en) | Sharing method of background application and electronic equipment | |
CN110536015A (en) | A kind of application sharing method and terminal device | |
CN111142731A (en) | Display method and electronic equipment | |
CN111131607A (en) | Information sharing method, electronic equipment and computer readable storage medium | |
CN111045560A (en) | Method for sending picture and electronic equipment | |
CN115828845A (en) | Multimedia data viewing method, device, medium and equipment |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240425 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100102 1801, 18 / F, building 2, Wangjing street, Chaoyang District, Beijing Patentee before: BEIJING ANYUNSHIJI TECHNOLOGY Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |