CN112667931B - Webpage collecting method, electronic equipment and storage medium - Google Patents

Webpage collecting method, electronic equipment and storage medium Download PDF

Info

Publication number
CN112667931B
CN112667931B CN202011538742.1A CN202011538742A CN112667931B CN 112667931 B CN112667931 B CN 112667931B CN 202011538742 A CN202011538742 A CN 202011538742A CN 112667931 B CN112667931 B CN 112667931B
Authority
CN
China
Prior art keywords
user
sub
determining
icon
icon display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011538742.1A
Other languages
Chinese (zh)
Other versions
CN112667931A (en
Inventor
葛理威
宋祥波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Tianjin Co Ltd
Original Assignee
Spreadtrum Communications Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Tianjin Co Ltd filed Critical Spreadtrum Communications Tianjin Co Ltd
Priority to CN202011538742.1A priority Critical patent/CN112667931B/en
Publication of CN112667931A publication Critical patent/CN112667931A/en
Priority to PCT/CN2021/131231 priority patent/WO2022134954A1/en
Application granted granted Critical
Publication of CN112667931B publication Critical patent/CN112667931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The application provides a webpage collecting method, electronic equipment and a storage medium, and relates to the technical field of terminals. The webpage collecting method comprises the following steps: firstly, when the terminal device determines that the time for displaying the target webpage exceeds a first time threshold, the terminal device can determine the icon display position according to the gesture action of the user. Then, a favorite icon may be displayed at the icon display position. And finally, collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon. Therefore, the operation habit of the user is fitted, the user can operate with one hand when collecting the target webpage, and the user experience is improved.

Description

Webpage collecting method, electronic equipment and storage medium
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of terminal technologies, and in particular, to a method for collecting a webpage, an electronic device, and a storage medium.
[ background of the invention ]
It has become a trend to equip terminal devices with large-sized touchable displays. The large-size touch display screen not only can provide better visual experience for a user, but also can facilitate the user to operate the terminal equipment through the touch display screen.
However, in the scenario of browsing web pages, the user often needs to collect the web pages, and the positions of the collection icons are usually set at the top or the bottom of the screen. Therefore, when the screen size is large, if the user wants to collect the currently browsed page, the operation difficulty of one hand is large, the operation can be completed by matching two hands, and the user experience is poor. Therefore, a more convenient and flexible method for collecting web pages is needed to enhance the user experience.
[ summary of the invention ]
The embodiment of the application provides a webpage collecting method, electronic equipment and a storage medium, so that when a user collects a target webpage, one-hand operation is achieved, and user experience is improved.
In a first aspect, an embodiment of the present application provides a method for collecting a webpage, where the method is applied to a terminal device, and includes: determining an icon display position according to the gesture action of the user when the time for displaying the target webpage exceeds a first time threshold; displaying a favorite icon at the icon display location; and collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon.
In one possible implementation manner, determining the icon display position according to a gesture motion of a user includes: determining that a gesture action of a user on a target webpage display area is detected within a first time threshold range for displaying the target webpage; and determining the icon display position according to the position coordinates of the gesture action of the user on the target webpage display area.
In one possible implementation manner, determining the icon display position according to the gesture action of the user further includes: determining that no gesture action of a user on the target webpage display area is detected within a first time threshold range for displaying the target webpage, and then: and determining the icon display position according to the position coordinates of the gesture action of the user for operating the terminal equipment before the target webpage is displayed.
In one possible implementation manner, a display area of the terminal device is divided into a plurality of sub-areas; each sub-region is respectively associated with a respective preset position; the determining the icon display position according to the gesture action of the user comprises: determining the sub-region containing the position coordinates of the gesture actions in the plurality of sub-regions as a target sub-region according to the position coordinates of the gesture actions of the user and the coordinate range of each sub-region; and determining a preset position associated with the target sub-region as the icon display position.
In one possible implementation manner, the gesture is used as a sliding operation; determining the sub-region containing the position coordinates of the gesture motion in the plurality of sub-regions as a target sub-region according to the position coordinates of the gesture motion of the user and the coordinate range of each sub-region, including: determining a first intermediate position coordinate according to the initial position and the end position of the sliding operation; and determining the sub-region containing the first intermediate position coordinate in the plurality of sub-regions as a target sub-region according to the first intermediate position coordinate and the coordinate range of each sub-region.
In one possible implementation manner, the gesture is used as a click operation; determining the sub-region containing the position coordinates of the gesture motion in the plurality of sub-regions as a target sub-region according to the position coordinates of the gesture motion of the user and the coordinate range of each sub-region, including: and determining the sub-region containing the click position coordinate in the plurality of sub-regions as a target sub-region according to the click position coordinate of the click operation and the coordinate range of each sub-region.
In one possible implementation manner, when it is determined that the time for displaying the target webpage exceeds the first time threshold, before determining the icon display position according to the gesture action of the user, the method further includes: determining that a user predefined icon display position is stored in the terminal device, then: displaying the favorite icon at the user predefined icon display location.
In one possible implementation manner, after collecting the web page links of the target web page, the method further includes: and increasing the transparency of the collection icon according to a preset time step until the collection icon is hidden.
In a second aspect, an embodiment of the present application provides a web page collecting device, including: the determining module is used for determining the icon display position according to the gesture action of the user when the time for displaying the target webpage exceeds a first time threshold; a display module for displaying a favorite icon at the icon display position; and the collection module is used for collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon.
In one possible implementation manner, after the collection module collects the web page link of the target web page, the display module is further configured to increase the transparency of the collection icon according to a preset time step until the collection icon is hidden.
In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, which when called by the processor are capable of performing the method as described above.
In a fourth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the method as described above.
In the technical scheme, firstly, when the time for displaying the target webpage exceeds a first time threshold value, the icon display position is determined according to the gesture action of the user. Then, a favorite icon is displayed at the icon display position. And finally, collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon. Therefore, when the user collects the target webpage, one-hand operation is achieved, and user experience is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for collecting a webpage according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a method for collecting a webpage according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating another method for collecting a webpage according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating another method for collecting a webpage according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating another method for collecting a webpage according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating another method for collecting webpages according to an embodiment of the present application;
FIG. 7 is a diagram illustrating another method for collecting webpages according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating another method for collecting webpages according to an embodiment of the present application;
FIG. 9 is a diagram illustrating another method for collecting webpages according to an embodiment of the present application;
FIG. 10 is a flowchart illustrating another method for collecting webpages according to an embodiment of the present application;
fig. 11 is a schematic diagram of a web page collecting device according to an embodiment of the present application;
fig. 12 is a schematic view of an electronic device according to an embodiment of the present application.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Fig. 1 is a flowchart of a method for collecting a webpage according to an embodiment of the present application. As shown in fig. 1, the method for collecting web pages may include:
step 101, when it is determined that the time for displaying the target webpage exceeds a first time threshold, determining an icon display position according to a gesture action of a user.
In the embodiment of the application, the terminal equipment can determine the display time of the target webpage. If the display time is determined to exceed the first time threshold, the interest value of the user in the target webpage is considered to be high, and the possibility that the user collects the target webpage is high. At this time, the terminal device may determine whether the web link of the target web page is included in the collected web links, i.e., determine whether the web link of the target web page has been collected by the user. If not, the terminal device can determine the icon display position according to the gesture action of the user. The icon display position may be used to display a favorite icon. And if the webpage link of the target webpage is already collected by the user, ending the flow of the method. The value of the first time threshold may be set according to the needs of the actual situation, for example, may be set to 5 seconds. The embodiments of the present application are not limited.
When determining the icon display position according to the gesture action of the user, the embodiment of the present application provides the following two possible implementations.
In one possible implementation manner, the terminal device determines that a gesture action of a user on the display area of the target webpage is detected within a first time threshold range of displaying the target webpage. The gesture actions of the user on the target webpage display area can comprise the following steps: click operation, long press operation, slide operation, and the like. At this time, the icon display position may be determined according to the position coordinates of the gesture action of the user on the target web page display area.
In another possible implementation manner, the terminal device determines that no gesture action of the user on the display area of the target webpage is detected within a first time threshold range of displaying the target webpage. At this time, the icon display position may be determined based on the position coordinates of the gesture motion of the user operating the terminal device before the target web page is displayed. The gesture actions of the user for operating the terminal device can comprise: click operation, long press operation, slide operation, and the like. For example, assuming that the user performs a click operation on the terminal device before the target web page is displayed, the icon display position may be determined according to the click operation of the user.
At step 102, a favorite icon is displayed at an icon display location.
In the embodiment of the application, the icon style of the collection icon may be set as required, for example, a hexagram pattern, a heart pattern, or the like may be used. The embodiments of the present application are not limited. Further, the manner of displaying the favorite icon may be, for example: and popping up the favorite icon from the edge of the screen of the terminal device to the inner side of the screen to the icon display position, and stopping. Or the transparency of the collection icon is reduced according to a preset time step until the collection icon appears at the icon display position.
And 103, collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon.
In this embodiment of the application, the triggering operation of the user on the favorite icon may be, for example: and (5) clicking operation. Further, the terminal device may change an icon style of the collection icon displayed on the target web page after collecting the web page link of the target web page. Such as: changing the shape of the favorite icon, changing the color of the favorite icon, etc.
It should be noted that if the triggering operation of the favorite icon by the user is not detected within the second time threshold range after the favorite icon is displayed, it may be considered that the user has no favorite temporarily. At this time, in order to reduce the shielding of the collection icon on the target webpage content, the transparency of the collection icon can be improved. If the transparency of the favorite icon can be increased to 50%, the favorite icon is made to be in a semi-transparent state. After that, the triggering operation of the user on the favorite icon with the improved transparency is continuously detected. The value of the second time threshold may be set according to the needs of the actual situation, for example, may be set to 10 seconds.
In the embodiment of the application, firstly, when the terminal device determines that the time for displaying the target webpage exceeds a first time threshold, the display position of the icon can be determined according to the gesture action of the user. Then, a favorite icon may be displayed at the icon display position. And finally, collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon. Therefore, when the user collects the current browsing page, one-hand operation is realized, and the user experience is improved.
In another embodiment of the present application, an implementation manner of determining the icon display position according to the gesture action of the user in the foregoing embodiment is further described.
In the embodiment of the application, the display area of the terminal device can be divided into a plurality of sub-areas. And determining the respective coordinate ranges of the plurality of sub-areas according to a preset coordinate positioning mode in the display area of the terminal equipment. Each subregion is associated with a respective predetermined position. The preset coordinate positioning mode may be, for example: and (5) a two-dimensional rectangular coordinate system positioning mode. As shown in fig. 2, taking a mobile phone terminal as an example, the two-dimensional rectangular coordinate system may use the edge of the lower left corner of the display area as the origin O, the wide side of the display area as the X axis, and the long side of the display area as the Y axis.
For convenience of understanding, the following will take a mobile phone terminal as an example, and illustrate a dividing manner of the display area of the terminal device. It should be noted that, the description taking the mobile phone terminal as an example should not be taken as a limitation to the terminal device applied in the embodiment of the present application.
As shown in fig. 3, the display area of the mobile phone terminal may be divided into two left and right sub-areas on average according to the center line L. The left area may have an abscissa ranging from 0 to m, and the right area may have an abscissa ranging from m to n. The coordinate value of the preset position associated with the left region may be (1, h), and the coordinate value of the preset position associated with the right region may be (n-1, h).
On the basis, the specific implementation manner for determining the icon display position according to the gesture action of the user is as follows:
firstly, according to the position coordinates of the gesture action of the user and the coordinate range of each sub-region, the sub-region containing the position coordinates of the gesture action in the plurality of sub-regions is determined as a target sub-region.
In one possible implementation, the gesture action of the user is a click operation. At this time, the terminal device may determine click position coordinates of the click operation. And determining the sub-region containing the click position coordinate in the plurality of sub-regions as a target sub-region according to the click position coordinate and the coordinate range of each sub-region. Still taking fig. 3 as an example, if the click position coordinate of the click operation by the user is included in the coordinate range of the left area, it can be considered that the user operates the terminal device using the left hand, and the left area can be determined as the target sub-area. Conversely, if the user is supposed to operate the terminal device with the right hand, the right area may be determined as the target sub-area.
In another possible implementation, the user's gesture is a long press operation. At this time, the terminal device can determine the pressing position coordinates of the long press operation. And determining the sub-region containing the pressing position coordinates in the plurality of sub-regions as a target sub-region according to the pressing position coordinates and the coordinate range of each sub-region.
In yet another possible implementation, the gesture action of the user is a sliding operation. At this time, the terminal device may determine first intermediate position coordinates between the start position and the end position according to the start position and the end position of the sliding operation. And determining the sub-region containing the first intermediate position coordinate in the plurality of sub-regions as a target sub-region according to the first intermediate position coordinate and the coordinate range of each sub-region.
For convenience of understanding, a specific implementation process of the sliding operation is described below by taking a mobile phone terminal as an example.
As shown in fig. 4, if the abscissa of the start position of the sliding operation by the user is a, the abscissa of the end position is b. And a < b. At this time, the value c | b-a |/2+ a of the abscissa of the first intermediate position coordinate between the start position and the end position. Then, if c ≧ m, the first intermediate position coordinate is deemed to be located in the right region, i.e., the user is operating the mobile terminal with the right hand, the right region is determined as the target sub-region. Conversely, if c < m, the first intermediate position coordinate may be located in the left region, that is, the left region is determined as the target sub-region when the user operates the mobile phone terminal with the left hand.
Further, as shown in fig. 5, if the abscissa of the start position of the sliding operation by the user is a, the abscissa of the end position is b. And a is more than or equal to b. At this time, the value c | b-a |/2+ b of the abscissa of the first intermediate position coordinate between the start position and the end position. Then, if c ≧ m, the first intermediate position coordinate may be considered to be located in the right region, i.e., the user is operating the mobile terminal with the right hand, the right region may be determined as the target sub-region. Conversely, if c < m, the first intermediate position coordinate may be located in the left region, that is, the user is operating the mobile phone terminal with the left hand, the left region may be determined as the target sub-region.
Then, the preset position associated with the target sub-region may be determined as the icon display position.
The above examples are still illustrative. If the target sub-area is determined to be the left area, as shown in fig. 6, the point (1, h) may be determined as the icon display position. If the target sub-area is determined to be the right area, as shown in fig. 7, the position (n-1, h) may be determined as the icon display position.
In the embodiment of the application, the position coordinates of the gesture operation of the user can be determined, and the icon display position is determined according to the position coordinates of the gesture operation. Therefore, the flexibility of the display of the collection icons is improved, the operation habit of a user is better adapted, the single-hand operation is convenient to realize, and the user experience is improved.
Fig. 8 is a flowchart of another method for collecting a webpage according to an embodiment of the present application. As shown in fig. 8, in another embodiment of the present application, before determining the icon display position according to the gesture action of the user when it is determined that the time for displaying the target webpage exceeds the first time threshold, the method may further include:
step 100, determining whether a user predefined icon display position is stored in the terminal equipment. If so, step 201 is performed. If not, step 101 is performed.
In the embodiment of the application, the mode of predefining the icon display position by the user is as follows:
in a possible implementation manner, the user may perform predefined setting on the icon display position through a setting interface of the browser where the target webpage is located. Specifically, the setting interface may provide various icon display location options in the form of thumbnails. And determining the corresponding option as an icon display position predefined by the user according to the clicking operation of the user on the thumbnail. Alternatively, the setup interface may provide various icon display location options in text form. And determining the corresponding option as the icon display position predefined by the user according to the clicking operation of the user on the selection button associated with the characters.
In another possible implementation manner, after the terminal device displays the favorite icon at the icon display position, the user may perform predefined setting on the icon display position by performing a dragging operation on the favorite icon. Specifically, as shown in fig. 9, the user may press and drag the favorite icon to an arbitrary position of the display area of the terminal device to stop, and determine the position (X, Y) of the stop as the icon display position predefined by the user.
At step 201, a favorite icon is displayed at a user predefined icon display location.
The process after displaying the favorite icon refers to the aforementioned step 103, which is not described herein again.
In the embodiment of the application, the user can perform predefined setting on the icon display position, so that the terminal device displays the favorite icon at the icon display position predefined by the user. Therefore, the use habits of the user can be better fitted, and the user experience is improved.
Fig. 10 is a flowchart of another method for collecting a webpage according to an embodiment of the present application. As shown in fig. 10, in another embodiment of the present application, after step 103, the method may further include:
and 104, increasing the transparency of the collection icon according to a preset time step until the collection icon is hidden.
In the embodiment of the application, after the webpage link of the target webpage is collected, the collection icon can be hidden, and the display content of the target webpage is not shielded, so that the influence on the target webpage browsed by a user is reduced to the maximum extent.
Fig. 11 is a schematic view of a web page collection apparatus according to an embodiment of the present application. As shown in fig. 11, the web page collecting apparatus may include: a determination module 21, a display module 22 and a collection module 23.
The determining module 21 is configured to determine a display position of the icon according to the gesture action of the user when it is determined that the time for displaying the target webpage exceeds a first time threshold.
A display module 22 for displaying the favorite icon at the icon display position.
And the collection module 23 is used for collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon.
In a specific implementation process, after the collection module 23 collects the web page links of the target web page, the display module 22 is further configured to increase the transparency of the collection icon according to a preset time step until the collection icon is hidden.
The determining module 21 is configured to, when determining the icon display position according to the gesture motion of the user, specifically, determine that the gesture motion of the user acting on the target webpage display area is detected within a first time threshold range of displaying the target webpage. And determining the icon display position according to the position coordinates of the gesture action of the user on the target webpage display area. Determining that no gesture action of a user on a target webpage display area is detected within a first time threshold range for displaying the target webpage, and then: and determining the icon display position according to the position coordinates of the gesture action of the user operating the terminal equipment before the target webpage is displayed.
The determining module 21 is configured to, when determining the icon display position according to the gesture motion of the user, determine, according to the position coordinate of the gesture motion of the user and the coordinate range of each sub-region of the terminal device display region, a sub-region including the position coordinate of the gesture motion in the plurality of sub-regions as a target sub-region. And determining the preset position associated with the target sub-region as an icon display position.
In this embodiment of the application, first, when the determining module 21 determines that the time for displaying the target webpage exceeds the first time threshold, the icon display position is determined according to the gesture motion of the user. The display module 22 then displays the favorite icon at the icon display position. Finally, the collection module 23 collects the web page links of the target web page in response to the triggering operation of the user on the collection icon. Therefore, when the user collects the current browsing page, one-hand operation is realized, and the user experience is improved.
It should be understood that the division of the modules of the web page collection apparatus shown in fig. 11 is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling by the processing element in software, and part of the modules can be realized in the form of hardware. For example, the determination module may be a separate processing element, or may be implemented integrally in a chip of the electronic device. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors (DSPs), one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, these modules may be integrated together and implemented in the form of a System-On-a-Chip (SOC).
Fig. 12 is a schematic diagram of an electronic device according to an embodiment of the present application, where as shown in fig. 12, the electronic device may include at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the webpage collecting method provided by the embodiment of the application.
The electronic device may be a web page collection device, and the embodiment does not limit the specific form of the electronic device.
FIG. 12 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application. The electronic device shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 12, the electronic device is embodied in the form of a general purpose computing device. Components of the electronic device may include, but are not limited to: one or more processors 410, a memory 430, a communication interface 420, and a communication bus 440 that couples the various system components (including the memory 430 and the processors 410).
Communication bus 440 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic devices typically include a variety of computer system readable media. Such media may be any available media that is accessible by the electronic device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 430 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) and/or cache Memory. The electronic device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in FIG. 12, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 440 by one or more data media interfaces. Memory 430 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility having a set (at least one) of program modules may be stored in the memory 430, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the embodiments described herein.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the electronic device, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device to communicate with one or more other computing devices. Such communication may occur over communication interface 420. Furthermore, the electronic device may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via a Network adapter (not shown in FIG. 12) that may communicate with other modules of the electronic device via the communication bus 440. It should be appreciated that although not shown in FIG. 12, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape Drives, and data backup storage systems, among others.
The processor 410 executes programs stored in the memory 430 to perform various functional applications and data processing, for example, to implement the web page collection method provided in the embodiment of the present application.
The embodiment of the present application further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer instruction, and the computer instruction causes the computer to execute the method for collecting a webpage provided in the embodiment of the present application.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that the terminal according to the embodiments of the present application may include, but is not limited to, a Personal Computer (Personal Computer; hereinafter, referred to as PC), a Personal Digital Assistant (Personal Digital Assistant; hereinafter, referred to as PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method for collecting web pages is characterized by comprising the following steps:
determining an icon display position according to the gesture action of the user when the time for displaying the target webpage exceeds a first time threshold;
displaying a favorite icon at the icon display location;
collecting the webpage links of the target webpage in response to the triggering operation of the user on the collection icon;
determining the icon display position according to the gesture action of the user comprises determining the icon display position according to the position coordinate of the gesture action of the user.
2. The method of claim 1, wherein determining the icon display position according to the gesture action of the user comprises:
determining that a gesture action of a user on a target webpage display area is detected within a first time threshold range for displaying the target webpage;
and determining the icon display position according to the position coordinates of the gesture action of the user on the target webpage display area.
3. The method of claim 2, wherein determining the icon display position is based on a gesture action of the user, further comprising:
determining that no gesture action of the user on the target webpage display area is detected within a first time threshold range for displaying the target webpage, then:
and determining the icon display position according to the position coordinates of the gesture action of the user operating the terminal equipment before the target webpage is displayed.
4. The method according to any one of claims 1 to 3, characterized in that the display area of the terminal device is divided into a plurality of sub-areas; each sub-region is respectively associated with a respective preset position;
the determining the icon display position according to the gesture action of the user comprises:
determining the sub-region containing the position coordinates of the gesture actions in the plurality of sub-regions as a target sub-region according to the position coordinates of the gesture actions of the user and the coordinate range of each sub-region;
and determining a preset position associated with the target sub-region as the icon display position.
5. The method of claim 4, wherein the gesture action is a swipe operation; determining the sub-region containing the position coordinates of the gesture motion in the plurality of sub-regions as a target sub-region according to the position coordinates of the gesture motion of the user and the coordinate range of each sub-region, and the method comprises the following steps:
determining a first intermediate position coordinate according to the initial position and the end position of the sliding operation;
and determining the sub-region containing the first intermediate position coordinate in the plurality of sub-regions as a target sub-region according to the first intermediate position coordinate and the coordinate range of each sub-region.
6. The method of claim 4, wherein the gesture action is a tap operation; determining the sub-region containing the position coordinates of the gesture motion in the plurality of sub-regions as a target sub-region according to the position coordinates of the gesture motion of the user and the coordinate range of each sub-region, and the method comprises the following steps:
and determining the sub-region containing the click position coordinate in the plurality of sub-regions as a target sub-region according to the click position coordinate of the click operation and the coordinate range of each sub-region.
7. The method of claim 1, wherein determining that the time to display the target web page exceeds the first time threshold is preceded by determining an icon display location based on a gesture action of the user, the method further comprising:
determining that a user predefined icon display position is stored in the terminal equipment, then:
displaying the favorite icon at the user predefined icon display location.
8. The method of claim 1, wherein after collecting the web page links of the target web page, the method further comprises:
and increasing the transparency of the collection icon according to a preset time step until the collection icon is hidden.
9. A web page collecting apparatus, comprising:
the determining module is used for determining the icon display position according to the gesture action of the user when the time for displaying the target webpage exceeds a first time threshold;
a display module for displaying a favorite icon at the icon display position;
the collection module is used for responding to the triggering operation of the user on the collection icon and collecting the webpage link of the target webpage;
determining the icon display position according to the gesture action of the user comprises determining the icon display position according to the position coordinate of the gesture action of the user.
10. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 8.
11. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 8.
CN202011538742.1A 2020-12-23 2020-12-23 Webpage collecting method, electronic equipment and storage medium Active CN112667931B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011538742.1A CN112667931B (en) 2020-12-23 2020-12-23 Webpage collecting method, electronic equipment and storage medium
PCT/CN2021/131231 WO2022134954A1 (en) 2020-12-23 2021-11-17 Webpage bookmarking method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011538742.1A CN112667931B (en) 2020-12-23 2020-12-23 Webpage collecting method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112667931A CN112667931A (en) 2021-04-16
CN112667931B true CN112667931B (en) 2022-09-23

Family

ID=75408484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011538742.1A Active CN112667931B (en) 2020-12-23 2020-12-23 Webpage collecting method, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112667931B (en)
WO (1) WO2022134954A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667931B (en) * 2020-12-23 2022-09-23 展讯通信(天津)有限公司 Webpage collecting method, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333802A (en) * 2019-03-28 2019-10-15 平安科技(深圳)有限公司 A kind of method, terminal device, device and storage medium handling Information on Collection

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375652A (en) * 2010-08-16 2012-03-14 中国移动通信集团公司 Mobile terminal user interface regulation system and method
JP2013518338A (en) * 2010-09-07 2013-05-20 エスケー プラネット カンパニー、リミテッド System for displaying a cached web page, server for this, terminal for this, method for this and computer-readable recording medium recorded with this method
CN102323932A (en) * 2011-08-30 2012-01-18 百度在线网络技术(北京)有限公司 Method for processing web page collection information and equipment
CN103513876A (en) * 2012-06-21 2014-01-15 阿里巴巴集团控股有限公司 Method for marking page and mobile terminal
CN104063164B (en) * 2013-03-22 2018-02-27 腾讯科技(深圳)有限公司 The method and device of screen control
US10097440B2 (en) * 2014-06-26 2018-10-09 International Business Machines Corporation User interface element adjustment using web analytics
CN109074222B (en) * 2016-04-19 2022-10-25 麦克赛尔株式会社 Mobile terminal device
KR102296968B1 (en) * 2017-06-09 2021-09-02 주식회사 하이딥 Control method of favorites mode and device including touch screen performing the same
CN112667931B (en) * 2020-12-23 2022-09-23 展讯通信(天津)有限公司 Webpage collecting method, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333802A (en) * 2019-03-28 2019-10-15 平安科技(深圳)有限公司 A kind of method, terminal device, device and storage medium handling Information on Collection

Also Published As

Publication number Publication date
CN112667931A (en) 2021-04-16
WO2022134954A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
US9304668B2 (en) Method and apparatus for customizing a display screen of a user interface
EP2754025B1 (en) Pinch to adjust
CN105426080B (en) A kind of picture switching method and terminal
WO2015085919A1 (en) Clicked object magnifying method and apparatus based on floating touch
CN108549510A (en) Figure calibration method, equipment and storage medium for showing boarding application
KR20140078629A (en) User interface for editing a value in place
EP2613247A2 (en) Method and apparatus for displaying keypad in terminal having touch screen
CN110275659A (en) A kind of image switching method, device, electronic equipment and storage medium
US20140123036A1 (en) Touch screen display process
WO2014198143A1 (en) Method and apparatus for managing application in terminal device
CN106020698A (en) Mobile terminal and realization method of single-hand mode
WO2014190862A1 (en) Method and apparatus for controlling application on intelligent terminal
CN112650433A (en) Interface screenshot method and device and electronic equipment
CN113536173A (en) Page processing method and device, electronic equipment and readable storage medium
CN111638818A (en) Window position adjusting method and device and electronic equipment
CN112667931B (en) Webpage collecting method, electronic equipment and storage medium
CN110417984B (en) Method, device and storage medium for realizing operation in special-shaped area of screen
US8988369B1 (en) Restricted carousel with built-in gesture customization
CN112631474B (en) Method and device for moving elements in page, medium and equipment
US20140359516A1 (en) Sensing user input to change attributes of rendered content
US9720566B1 (en) Management of user interface elements
CN112051957A (en) Method and related device for browsing mobile terminal page
CN112269501A (en) Icon moving method and device and electronic equipment
CN111638828A (en) Interface display method and device
CN113342222B (en) Application classification method and device and electronic 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