CN117389446A - Page interaction method and device based on suspension control - Google Patents

Page interaction method and device based on suspension control Download PDF

Info

Publication number
CN117389446A
CN117389446A CN202311450782.4A CN202311450782A CN117389446A CN 117389446 A CN117389446 A CN 117389446A CN 202311450782 A CN202311450782 A CN 202311450782A CN 117389446 A CN117389446 A CN 117389446A
Authority
CN
China
Prior art keywords
suspension control
browsing
page
user
function instruction
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.)
Pending
Application number
CN202311450782.4A
Other languages
Chinese (zh)
Inventor
徐小龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Electrolytic Intelligence Technology Co ltd
Original Assignee
Beijing Jingdong Electrolytic Intelligence Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Electrolytic Intelligence Technology Co ltd filed Critical Beijing Jingdong Electrolytic Intelligence Technology Co ltd
Priority to CN202311450782.4A priority Critical patent/CN117389446A/en
Publication of CN117389446A publication Critical patent/CN117389446A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The invention discloses a page interaction method and device based on a suspension control, and relates to the technical field of computers. One embodiment of the method comprises the following steps: responding to a page browsing request, and creating a first suspension control in a browsing window; acquiring the position of a first suspension control in a browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range; determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area; and responding to the operation of the user on the first suspension control, and displaying the page according to the function instruction corresponding to the first suspension control so as to complete the page interaction with the user. According to the method and the device, the diversity of page interaction modes can be improved, page interaction is flexible and convenient, and interestingness is improved.

Description

Page interaction method and device based on suspension control
Technical Field
The invention relates to the technical field of computers, in particular to a page interaction method and device based on suspension control.
Background
When browsing pages in a browser, there are cases where the page content is multi-page, where the user needs to slide the screen or frequently scroll the mouse wheel to view the page content. In the prior art, a user can directly return a page to the top of a current page by operating a floating control of a return top function set in a browsing window.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
the method of interaction with the page is fixed, flexible and convenient, the interaction method is single, and the interestingness is low.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method and an apparatus for page interaction based on suspension control, which determine a function instruction through a position of a first suspension control, and display a master function and a slave function according to the function instruction, so as to complete page interaction with a user, so that diversity of page interaction modes can be improved, page interaction is flexible and convenient, and interestingness is improved.
In order to achieve the above object, according to an aspect of the embodiment of the present invention, a page interaction method based on a suspension control is provided.
A page interaction method based on suspension control comprises the following steps: responding to a page browsing request, and creating a first suspension control in a browsing window; acquiring the position of the first suspension control in the browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range; determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area; and responding to the operation of the user on the first suspension control, and displaying the page according to the functional instruction corresponding to the first suspension control so as to complete the page interaction with the user.
Optionally, the function instruction includes a master function instruction and at least one slave function instruction; responding to the operation of the user on the first suspension control, and displaying the page according to the function instruction corresponding to the first suspension control, wherein the method comprises the following steps: responding to a first operation of a user on the first suspension control, creating at least one second suspension control in a specified distance range of the first suspension control, displaying a main function corresponding to the main function instruction through the first suspension control, and displaying a subordinate function corresponding to the subordinate function instruction through the second suspension control; and responding to a second operation of the first suspension control or the second suspension control by a user, and displaying the page according to a function instruction corresponding to the suspension control operated by the user.
Optionally, before the acquiring the position of the first suspension control in the browsing window, the method further includes: and responding to the sliding operation of the user on the page, determining the page browsing trend of the user according to the operation information of the user on the page, and changing the position of the first suspension control in the browsing window according to the page browsing trend.
Optionally, the operation information includes a sliding speed, a dwell time, a dwell position, and a sliding direction trajectory; the determining the page browsing trend of the user according to the operation information of the user on the page comprises the following steps: and determining the page browsing trend of the user according to the sliding speed, the residence time, the residence position and the sliding direction track of the user on the page.
Optionally, before the acquiring the position of the first suspension control in the browsing window, the method further includes: and responding to the moving operation of the user on the first suspension control, and moving the first suspension control so as to change the position of the first suspension control in the browsing window.
Optionally, the page has a page attribute; before the function instruction corresponding to the first suspension control is determined according to the position, the method further comprises the following steps: verifying the attribute value corresponding to the page attribute according to a preset special attribute range, and determining that the attribute value is not in the special attribute range; and under the condition that the attribute value is in the special attribute range, taking a pre-configured special function instruction as a function instruction corresponding to the first suspension control.
Optionally, the method further comprises: and hiding the second suspension control in response to a third operation of the first suspension control or the second suspension control by a user.
According to another aspect of the embodiment of the invention, a page interaction device based on a suspension control is provided.
A hover control-based page interaction device, comprising: the suspension control creation module is used for responding to the page browsing request and creating a first suspension control in the browsing window; the control position acquisition module is used for acquiring the position of the first suspension control in the browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area is provided with a browsing area range; the function instruction determining module is used for determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area; and the page display interaction module is used for responding to the operation of the user on the first suspension control, and displaying the page according to the functional instruction corresponding to the first suspension control so as to complete the page interaction with the user.
Optionally, the function instruction includes a master function instruction and at least one slave function instruction; the page display interaction module is further used for: responding to a first operation of a user on the first suspension control, creating at least one second suspension control in a specified distance range of the first suspension control, displaying a main function corresponding to the main function instruction through the first suspension control, and displaying a subordinate function corresponding to the subordinate function instruction through the second suspension control; and responding to a second operation of the first suspension control or the second suspension control by a user, and displaying the page according to a function instruction corresponding to the suspension control operated by the user.
Optionally, the device further comprises a browsing trend determining module, configured to: before the position of the first suspension control in the browsing window is obtained, responding to the sliding operation of a user on a page, determining the page browsing trend of the user according to the operation information of the user on the page, and changing the position of the first suspension control in the browsing window according to the page browsing trend.
Optionally, the operation information includes a sliding speed, a dwell time, a dwell position, and a sliding direction trajectory; the browsing trend determining module is further configured to, when determining a page browsing trend of the user according to the operation information of the user on the page: and determining the page browsing trend of the user according to the sliding speed, the residence time, the residence position and the sliding direction track of the user on the page.
Optionally, the mobile device further comprises a mobile module for: and responding to the moving operation of the user on the first suspension control, and moving the first suspension control so as to change the position of the first suspension control in the browsing window.
Optionally, the page has a page attribute; the function instruction determining module is further configured to: verifying the attribute value corresponding to the page attribute according to a preset special attribute range, and determining that the attribute value is not in the special attribute range; and under the condition that the attribute value is in the special attribute range, taking a pre-configured special function instruction as a function instruction corresponding to the first suspension control.
Optionally, the page interaction module is further configured to: and hiding the second suspension control in response to a third operation of the first suspension control or the second suspension control by a user.
According to yet another aspect of an embodiment of the present invention, an electronic device is provided.
An electronic device, comprising: one or more processors; and the memory is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the page interaction method based on the suspension control provided by the embodiment of the invention.
According to yet another aspect of an embodiment of the present invention, a computer-readable medium is provided.
A computer readable medium having stored thereon a computer program which when executed by a processor implements a suspension control based page interaction method provided by an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: creating a first suspension control in a browsing window by responding to a page browsing request; acquiring the position of a first suspension control in a browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range; determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area; responding to the operation of the user on the first suspension control, displaying the page according to the functional instruction corresponding to the first suspension control so as to complete the technical scheme of page interaction with the user, determining the browsing area of the first suspension control in the browsing window according to the position of the first suspension control, further determining the functional instruction corresponding to the first suspension control, and completing the page interaction with the user according to the functional instruction and the operation of the user on the suspension control, so that the diversity of page interaction modes can be improved, the page interaction is flexible and convenient, and the interestingness is improved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main steps of a hover control-based page interaction method according to one embodiment of the invention;
FIG. 2 is a schematic illustration of a browsing area A with a first hover control located in a browsing window according to one embodiment of the invention;
FIG. 3 is a schematic view of a browsing area B with a first hover control within the browsing window according to one embodiment of the invention;
FIG. 4 is a flow diagram of a hover control-based page interaction method according to one embodiment of the invention;
FIG. 5 is a schematic diagram of the main modules of a hover control-based page interactive apparatus, according to an embodiment of the invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 7 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the technical scheme of the invention, the aspects of the related personal information of the user, such as acquisition, collection, updating, analysis, processing, use, transmission, storage and the like, all conform to the rules of related laws and regulations, are used for legal purposes, and do not violate the popular public order. Necessary measures are taken for the personal information of the user, illegal access to the personal information data of the user is prevented, and the personal information security, network security and national security of the user are maintained.
FIG. 1 is a schematic diagram of the main steps of a hover control-based page interaction method according to one embodiment of the invention.
As shown in fig. 1, the page interaction method based on the suspension control according to an embodiment of the present invention mainly includes the following steps S101 to S104.
Step S101: in response to a page browse request, a first hover control is created in the browse window. In particular, existing front-end technology may be used to create a first hover control, such as a hover button that may be dragged.
Step S102: and acquiring the position of the first suspension control in a browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range. The browsing window may be divided into a plurality of browsing areas as needed, for example, the browsing window may be divided into an upper half browsing area and a lower half browsing area, or the browsing window may be divided into four browsing areas of upper left, lower left, upper right, lower right, or the like. Each browsing area corresponds to a browsing area range, and the browsing area range of each browsing area can be determined according to a preset proportion and the height and width of a browsing window. For each browsing area, functional instructions that can be executed when the hover control is located in that browsing area can be set separately.
Step S103: and determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area. By comparing the position of the first hover control within the browse window with the browse area extent of each browse area, for example: and comparing the position coordinates of the first suspension control in the browsing window with the coordinate ranges of the browsing area ranges of the various browsing areas, and determining the browsing area to which the first suspension control belongs. For each browsing area, functional instructions that can be executed when the hover control is located in that browsing area can be set separately. Thus, the function instruction corresponding to the first suspension control can be determined according to the browsing area to which the first suspension control belongs.
According to one embodiment of the invention, the functional instructions may include a master functional instruction and not less than one slave functional instruction, and the page may have a page attribute.
In one embodiment, responding to the operation of the user on the first suspension control, and displaying the page according to the function instruction corresponding to the first suspension control may specifically include: responding to a first operation of a user on a first suspension control, creating at least one second suspension control within a specified distance range of the first suspension control, displaying a main function corresponding to a main function instruction through the first suspension control, and displaying a subordinate function corresponding to a subordinate function instruction through the second suspension control; and responding to a second operation of the first suspension control or the second suspension control by the user, and displaying the page according to a function instruction corresponding to the suspension control operated by the user.
In one embodiment, the second operation may be a clicking operation, and based on the main function displayed in the browse window, under the condition that the user performs the second operation on the first suspension control, a main function instruction corresponding to the first suspension control operated by the user is executed, so as to perform page display of the browse window, and complete page interaction with the user.
Specifically, the first operation may be long press, double click, or the like, and under the condition that the user performs the first operation on the first suspension control, at least one second suspension control is created within a specified distance range of the first suspension control, the number of the second suspension controls is the same as that of the subordinate function instructions, and the second suspension controls are in one-to-one correspondence with the subordinate function instructions. And for each second suspension control, displaying the corresponding slave function according to the slave function instruction.
Specifically, the second operation may be a clicking operation, based on the master function and the slave function displayed in the browse window, and under the condition that the user performs the second operation on the first suspension control or the second suspension control, executing a function instruction corresponding to the first suspension control or the second suspension control operated by the user, so as to perform page display of the browse window, and complete page interaction with the user.
In one embodiment, the browse window may include a plurality of browse areas, and each browse area may have a browse area range. And for each browsing area, determining a main function instruction and a subordinate function instruction corresponding to the browsing area according to the position relation between the browsing area and the browsing window so as to generate an area function rule.
Specifically, the range of the browsing area of each browsing area may be determined according to a preset proportion, and the height and width of the browsing window, and the function instruction corresponding to each browsing area may be determined according to the position of the browsing area in the browsing window, where the slave function instruction may be set according to the master function instruction. For example, the browsing window may include two browsing areas, browsing area a and browsing area B, and the browsing area ranges of the browsing area a and browsing area B may be an upper half of the browsing window and a lower half of the browsing window, respectively. The main function instruction of the browsing area a may be an instruction to enter the next page, the subordinate function instruction may be an instruction to enter the next 5 pages, an instruction to enter the next 10 pages, etc., the main function instruction of the browsing area B may be an instruction to return to the top, and the subordinate function instruction may be an instruction to enter the upper 5 pages, an instruction to enter the upper 10 pages, etc.
The subordinate function instruction may also be determined according to a requirement of the browse window, for example, the subordinate function instruction may be a shared instruction, a set instruction, an exiting instruction, and the like. It should be noted that the center line of the browsing window may be divided into an upper half or a lower half of the browsing window according to the requirement, or may be separately divided into a browsing area C, and a corresponding master function instruction and a slave function instruction may be set for the browsing area C.
In one embodiment, determining the function instruction corresponding to the first suspension control according to the position may include: taking a browsing area corresponding to the browsing area range where the position falls as a target browsing area; and acquiring a function instruction of the target browsing area according to a preset area function rule, and taking the function instruction as a function instruction corresponding to the first suspension control.
Specifically, taking an example that the browsing window includes two browsing areas, namely, a browsing area A and a browsing area B, a schematic diagram of the browsing area A, in which the first suspension control is located in the browsing window, is shown in fig. 2, when the height of the first suspension control is higher than half of the height of the browsing window, and the position of the first suspension control falls in the browsing area range of the browsing area A, the target browsing area is the browsing area A, the main function instruction corresponding to the first suspension control is an instruction for entering the next page, and the subordinate function instruction is an instruction for entering the next 5 pages and an instruction for entering the next 10 pages.
The schematic diagram of the browsing area B of the first suspension control in the browsing window is shown in fig. 3, when the height of the first suspension control is less than or equal to half of the height of the browsing window, the position of the first suspension control falls in the browsing area range of the browsing area B, the target browsing area is the browsing area B, the main function instruction corresponding to the first suspension control is an instruction for returning to the top, and the subordinate function instruction is an instruction for entering the upper 5 pages and an instruction for entering the upper 10 pages.
In one embodiment, before acquiring the position of the first hover control in the browse window, the method may further include: and responding to the moving operation of the user on the first suspension control, and moving the first suspension control to change the position of the first suspension control in the browsing window. When the user needs to adjust the function instruction corresponding to the first suspension control, the first suspension control can be moved to different browsing areas in the browsing window, so that different functions are realized.
According to another embodiment of the present invention, before the position of the first suspension control in the browsing window is obtained, the page browsing trend of the user may be determined according to the operation information of the user on the page in response to the sliding operation of the user on the page, and the position of the first suspension control in the browsing window may be modified according to the page browsing trend. In the embodiment, the position of the first suspension control can be automatically adjusted according to the operation information when the user browses on the page, so that the function realization is flexibly realized by combining the user requirements.
Specifically, in one of the embodiments, the operation information includes a sliding speed, a dwell time, a dwell position, and a sliding direction trajectory. The sliding speed refers to the speed of a user sliding up and down in a page, the stay time refers to the time from entering a page to the current moment, the stay position refers to the position of the user, in which the stay time exceeds a set time threshold value, in the page browsing process, the sliding direction track refers to the number of times of sliding up and down operations after the user enters the page, time and other related track data.
The determining a page browsing trend of the user according to the operation information of the user on the page specifically may include: and determining the page browsing trend of the user according to the sliding speed, the residence time, the residence position and the sliding direction track of the user on the page. When determining the page browsing trend of the user according to the sliding speed, the residence time, the residence position and the sliding direction track of the user on the page, specifically, different weights are set for each item of operation information, corresponding scoring rules are set for each item of operation, the operation condition of the user on the page can be scored according to the operation information of each item of operation performed by the user, further, the browsing trend score of the user is obtained through weighted summation, and then the page browsing trend of the user is judged according to the set threshold value so as to predict whether the user is about to browse the next page or about to return to the top of the page.
After the page browsing trend of the user is determined, the position of the first suspension control in the browsing window can be automatically changed according to the page browsing trend and the functional instructions (including the active energy instructions and the auxiliary kinetic energy instructions) corresponding to each browsing area, so that the page browsing trend of the user is obtained through analysis according to the browsing behavior data of the user, the position of the first suspension button is automatically changed, the diversity of page interaction modes can be improved, the page interaction is flexible and convenient, and the interestingness is improved.
In one embodiment, before determining the function instruction corresponding to the first suspension control according to the position, the method may further include: and verifying the attribute value corresponding to the page attribute according to the preset special attribute range, and determining that the attribute value is not in the special attribute range, wherein when the attribute value is in the special attribute range, a pre-configured special function instruction can be used as the function instruction corresponding to the first suspension control.
Specifically, the page attribute may be the number of pages of the current page, the special attribute range may be the number of pages of the last page, and the special function instruction may be an instruction to return to the top. Under the condition that the number of pages of the current page is the number of pages of the last page, the special function instruction is directly used as the function instruction corresponding to the first suspension control, and the position of the first suspension control is not required to be used for judging; and under the condition that the number of pages of the current page is not the number of pages of the last page, determining the function instruction corresponding to the first suspension control according to the position of the first suspension control.
In one embodiment, in response to a third operation of the first suspension control or the second suspension control by the user, the second suspension control is hidden, so that the subordinate functions are hidden, the function display of the suspension control is simplified, and the page browsing experience of the user is improved. The third operation is, for example, an operation of dragging rightward or dragging leftward.
FIG. 4 is a flow diagram of a hover control-based page interaction method according to one embodiment of the invention.
As shown in fig. 4, in one embodiment, a first hover control is created in a browse window in response to a page browse request. Judging whether the page attribute value is in a special attribute range, and taking a pre-configured special function instruction as a function instruction corresponding to the first suspension control under the condition that the attribute value is in the special attribute range; and under the condition that the attribute value is not in the special attribute range, acquiring the position of the first suspension control in the browsing window, determining a target browsing area according to the position, and obtaining the function instruction of the first suspension control according to the preset area function rule. The function instructions include a master function instruction and a slave function instruction, the master function is displayed through a first hover control, and the slave function is created and displayed through a second hover control in response to a first operation by a user. And based on the displayed master function and the displayed slave function, responding to a second operation of the user to display the page so as to complete page interaction with the user.
According to the embodiment of the invention, the function instruction is determined according to the position of the first suspension control, and the main function and the auxiliary function are displayed according to the function instruction, so that the page interaction with the user is completed, the diversity of page interaction modes can be improved, the page interaction is flexible and convenient, and the interestingness can be improved.
FIG. 5 is a schematic diagram of the main modules of a hover control-based page interactive apparatus according to an embodiment of the invention.
As shown in fig. 5, the suspension control-based page interaction device 500 according to one embodiment of the present invention mainly includes: a hover control creation module 501, a control location acquisition module 502, a functional instruction determination module 503, and a page display interaction module 504.
A floating control creation module 501, configured to create a first floating control in a browsing window in response to a page browsing request;
a control position obtaining module 502, configured to obtain a position of the first suspension control in the browsing window, where the browsing window includes a plurality of browsing areas, and each of the browsing areas has a browsing area range;
a function instruction determining module 503, configured to determine, according to the position and a browsing area range of each browsing area, a browsing area to which the first suspension control belongs, and determine, according to a function instruction of the browsing area, a function instruction corresponding to the first suspension control;
And the page display interaction module 504 is configured to respond to an operation of the user on the first suspension control, and perform page display according to a function instruction corresponding to the first suspension control, so as to complete page interaction with the user.
In one embodiment, the functional instructions include a master functional instruction and not less than one slave functional instruction; the page display interaction module 504 may also be configured to: responding to a first operation of a user on the first suspension control, creating at least one second suspension control in a specified distance range of the first suspension control, displaying a main function corresponding to the main function instruction through the first suspension control, and displaying a subordinate function corresponding to the subordinate function instruction through the second suspension control; and responding to a second operation of the first suspension control or the second suspension control by a user, and displaying the page according to a function instruction corresponding to the suspension control operated by the user.
In one embodiment, the hover control-based page interaction apparatus 500 may further include a browse trend determination module (not shown) for: before the position of the first suspension control in the browsing window is obtained, responding to the sliding operation of a user on a page, determining the page browsing trend of the user according to the operation information of the user on the page, and changing the position of the first suspension control in the browsing window according to the page browsing trend.
In one embodiment, the operation information includes a sliding speed, a dwell time, a dwell position, and a sliding direction trajectory; the browsing trend determining module (not shown in the figure) may be further configured to, when determining a page browsing trend of the user according to the operation information of the user on the page: and determining the page browsing trend of the user according to the sliding speed, the residence time, the residence position and the sliding direction track of the user on the page.
In one embodiment, the hover control-based page interaction device 500 may also include a mobile module (not shown) for: and responding to the moving operation of the user on the first suspension control, and moving the first suspension control to change the position of the first suspension control in the browsing window.
In one embodiment, a page has page attributes; the functional instruction determination module 501 specifically is configured to: verifying the attribute value corresponding to the page attribute according to the preset special attribute range, and determining that the attribute value is not in the special attribute range; and under the condition that the attribute value is in the special attribute range, taking the pre-configured special function instruction as the function instruction corresponding to the first suspension control.
In one embodiment, the page interaction module 504 is specifically configured to: and hiding the second suspension control in response to a third operation of the first suspension control or the second suspension control by the user.
In addition, the specific implementation content of the page interaction device based on the suspension control in the embodiment of the present invention is already described in detail in the page interaction method based on the suspension control, so the description is not repeated here.
FIG. 6 illustrates an exemplary system architecture 600 of a hover control-based page interaction method or hover control-based page interaction apparatus, where embodiments of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 is used as a medium to provide communication links between the terminal devices 601, 602, 603 and the server 605. The network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 605 via the network 604 using the terminal devices 601, 602, 603 to receive or send messages, etc. Various communication client applications may be installed on the terminal devices 601, 602, 603, such as a hover control-based page interaction class application, a web browser application, a page display class application, an instant messaging tool, a mailbox client, social platform software, and the like (just examples).
The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 605 may be a server providing various services, such as a background management server (by way of example only) providing support for a hover control-based page interaction class website that a user browses using terminal devices 601, 602, 603. The background management server can respond to the received data such as the page interaction request based on the suspension control, and the like, and a first suspension control is created in the browsing window; acquiring the position of the first suspension control in the browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range; determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area; and responding to the operation of the user on the first suspension control, displaying the page according to the functional instruction corresponding to the first suspension control so as to finish the processing such as the page interaction with the user, and feeding back the processing result (for example, the page interaction result based on the suspension control-only is an example) to the terminal equipment.
It should be noted that, the page interaction method based on the suspension control provided by the embodiment of the present invention is generally executed by the server 605, and accordingly, the page interaction device based on the suspension control is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, there is illustrated a schematic diagram of a computer system 700 suitable for use in implementing a terminal device or server in accordance with an embodiment of the present invention. The terminal device or server shown in fig. 7 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, ROM 702, and RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input section 706 including a keyboard, a mouse, and the like; an output portion 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 708 including a hard disk or the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is mounted into the storage section 708 as necessary.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 701.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. 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 of the foregoing. 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, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor comprises a suspension control creation module, a control position acquisition module, a functional instruction determination module and a page display interaction module. The names of these modules do not limit the module itself in some cases, for example, the page display interaction module may also be described as "a module for performing page display according to a function instruction corresponding to the first hover control to complete page interaction with the user" in response to an operation of the first hover control by the user.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include: responding to a page browsing request, and creating a first suspension control in a browsing window; acquiring the position of the first suspension control in the browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range; determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area; and responding to the operation of the user on the first suspension control, and displaying the page according to the functional instruction corresponding to the first suspension control so as to complete the page interaction with the user.
According to the technical scheme of the embodiment of the invention, a first suspension control is created in a browsing window by responding to a page browsing request; acquiring the position of a first suspension control in a browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range; determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area; responding to the operation of the user on the first suspension control, displaying the page according to the functional instruction corresponding to the first suspension control so as to complete the technical scheme of page interaction with the user, determining the browsing area of the first suspension control in the browsing window according to the position of the first suspension control, further determining the functional instruction corresponding to the first suspension control, and completing the page interaction with the user according to the functional instruction and the operation of the user on the suspension control, so that the diversity of page interaction modes can be improved, the page interaction is flexible and convenient, and the interestingness is improved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. The page interaction method based on the suspension control is characterized by comprising the following steps of:
responding to a page browsing request, and creating a first suspension control in a browsing window;
acquiring the position of the first suspension control in the browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area has a browsing area range;
determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area;
and responding to the operation of the user on the first suspension control, and displaying the page according to the functional instruction corresponding to the first suspension control so as to complete the page interaction with the user.
2. The method of claim 1, wherein the function instructions comprise a master function instruction and no less than one slave function instruction;
responding to the operation of the user on the first suspension control, and displaying the page according to the function instruction corresponding to the first suspension control, wherein the method comprises the following steps:
responding to a first operation of a user on the first suspension control, creating at least one second suspension control in a specified distance range of the first suspension control, displaying a main function corresponding to the main function instruction through the first suspension control, and displaying a subordinate function corresponding to the subordinate function instruction through the second suspension control;
and responding to a second operation of the first suspension control or the second suspension control by a user, and displaying the page according to a function instruction corresponding to the suspension control operated by the user.
3. The method of claim 1, wherein the acquiring the position of the first hover control within the browse window is preceded by:
and responding to the sliding operation of the user on the page, determining the page browsing trend of the user according to the operation information of the user on the page, and changing the position of the first suspension control in the browsing window according to the page browsing trend.
4. A method according to claim 3, wherein the operation information includes a sliding speed, a dwell time, a dwell position, and a sliding direction trajectory;
the determining the page browsing trend of the user according to the operation information of the user on the page comprises the following steps:
and determining the page browsing trend of the user according to the sliding speed, the residence time, the residence position and the sliding direction track of the user on the page.
5. The method of claim 1, wherein the acquiring the position of the first hover control within the browse window is preceded by:
and responding to the moving operation of the user on the first suspension control, and moving the first suspension control so as to change the position of the first suspension control in the browsing window.
6. The method of claim 1, wherein the page has a page attribute;
before the function instruction corresponding to the first suspension control is determined according to the position, the method further comprises the following steps:
verifying the attribute value corresponding to the page attribute according to a preset special attribute range, and determining that the attribute value is not in the special attribute range;
And under the condition that the attribute value is in the special attribute range, taking a pre-configured special function instruction as a function instruction corresponding to the first suspension control.
7. The method as recited in claim 1, further comprising:
and hiding the second suspension control in response to a third operation of the first suspension control or the second suspension control by a user.
8. A suspension control-based page interaction device, comprising:
the suspension control creation module is used for responding to the page browsing request and creating a first suspension control in the browsing window;
the control position acquisition module is used for acquiring the position of the first suspension control in the browsing window, wherein the browsing window comprises a plurality of browsing areas, and each browsing area is provided with a browsing area range;
the function instruction determining module is used for determining a browsing area to which the first suspension control belongs according to the position and the browsing area range of each browsing area, and determining a function instruction corresponding to the first suspension control according to the function instruction of the browsing area;
and the page display interaction module is used for responding to the operation of the user on the first suspension control, and displaying the page according to the functional instruction corresponding to the first suspension control so as to complete the page interaction with the user.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
10. A computer readable medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method according to any of claims 1-7.
CN202311450782.4A 2023-11-02 2023-11-02 Page interaction method and device based on suspension control Pending CN117389446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311450782.4A CN117389446A (en) 2023-11-02 2023-11-02 Page interaction method and device based on suspension control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311450782.4A CN117389446A (en) 2023-11-02 2023-11-02 Page interaction method and device based on suspension control

Publications (1)

Publication Number Publication Date
CN117389446A true CN117389446A (en) 2024-01-12

Family

ID=89471774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311450782.4A Pending CN117389446A (en) 2023-11-02 2023-11-02 Page interaction method and device based on suspension control

Country Status (1)

Country Link
CN (1) CN117389446A (en)

Similar Documents

Publication Publication Date Title
US10091628B2 (en) Message based application state and card sharing methods for user devices
KR102087807B1 (en) Character inputting method and apparatus
WO2022002066A1 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
CN109446442B (en) Method and apparatus for processing information
CN108646972B (en) Method and equipment for displaying information and searching information
CN111338549B (en) Information sharing method and device, storage medium and electronic equipment
CN110865734B (en) Target object display method and device, electronic equipment and computer readable medium
US20120169771A1 (en) Information presenting system, information presenting method, and storage medium
US11243679B2 (en) Remote data input framework
JP2022091904A (en) Mini program page skin changeover method, device, and electronic apparatus
CN110806834A (en) Information processing method and device based on input method, electronic equipment and medium
CN107741970B (en) Method and device for laying out main page
CN112291412B (en) Application program control method and device and electronic equipment
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN107291235B (en) Control method and device
CN113778270A (en) Method and device for dragging icon
CN105511787B (en) Input method, electronic equipment and input system
CN113010582A (en) Data processing method and device, computer readable medium and electronic equipment
CN117389446A (en) Page interaction method and device based on suspension control
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
EP4030371A1 (en) Method and device for acquiring virtual resource and storage medium
CN111831179B (en) Signing method, device and computer readable medium
CN109271397A (en) Method and apparatus for handling information
CN114661278A (en) Information display method and device, electronic equipment and storage medium
CN114415892A (en) Interface control generation method and device, readable medium 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