CN114168873B - Method and device for processing page popup frame, terminal device and storage medium - Google Patents

Method and device for processing page popup frame, terminal device and storage medium Download PDF

Info

Publication number
CN114168873B
CN114168873B CN202111402587.5A CN202111402587A CN114168873B CN 114168873 B CN114168873 B CN 114168873B CN 202111402587 A CN202111402587 A CN 202111402587A CN 114168873 B CN114168873 B CN 114168873B
Authority
CN
China
Prior art keywords
target element
target
page
frame
display screen
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
CN202111402587.5A
Other languages
Chinese (zh)
Other versions
CN114168873A (en
Inventor
黄太彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111402587.5A priority Critical patent/CN114168873B/en
Publication of CN114168873A publication Critical patent/CN114168873A/en
Application granted granted Critical
Publication of CN114168873B publication Critical patent/CN114168873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The disclosure relates to a processing method and device for a page popup frame, a terminal device and a storage medium, which can prevent the popup frame from blocking webpage content and improve browsing experience of a user. The specific scheme comprises the following steps: and displaying a target page, wherein the target page comprises a popup frame, and the popup frame comprises a first target element. And receiving the triggering operation of the user in the bullet frame. Responding to the trigger operation, detecting whether a first target element exists in the element to be detected, and if the first target element exists in the element to be detected, executing a first processing operation, wherein the first processing operation is used for indicating a trigger operation event and executing a function corresponding to a monitoring event corresponding to a second target element, the operation event is monitored by the monitoring event, the second target element comprises the first target element and an element in an area where the first target element is located, and the function corresponding to the monitoring event corresponding to the second target element comprises a popup closing function. And stopping displaying the popup frame on the target page.

Description

Method and device for processing page popup frame, terminal device and storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a method and an apparatus for processing a page popup frame, a terminal device, and a storage medium.
Background
With the development of internet technology, the functions of terminal devices (such as mobile phones, tablet computers, notebook computers, and the like) are more and more. For example, a user may browse content in some Applications (APPs) through a browser. However, this may result in a reduction in user usage of the application.
Currently, in order to increase the user usage of an application, many application developers often set a pop-up box in a webpage browsed by the user to guide the user to download the application from a browser or jump to application browsing information. And the popup frame is fixedly displayed in one area of the display screen and cannot change along with the sliding of the webpage. Thus, the pop-up frame may always block the web page content, so that the user cannot browse the web page content. Even if the user closes the pop-up window for blocking the webpage content in other ways, similar problems still occur when the user visits again or other users visit the pop-up window, and the browsing experience of the user is seriously influenced.
Disclosure of Invention
The disclosure provides a processing method and device for a page popup frame, a terminal device and a storage medium, which can prevent the popup frame from blocking webpage content and improve browsing experience of a user. The technical scheme of the disclosure is as follows:
according to a first aspect of the present disclosure, there is provided a method for processing a page shot frame, the method including:
and displaying a target page, wherein the target page comprises a popup frame, the popup frame comprises a first target element, and the first target element is an element fixedly displayed at any position of the display screen. And receiving the triggering operation of the user in the bullet frame. And responding to the trigger operation, and detecting whether a first target element exists in the elements to be detected, wherein the elements to be detected are all elements of the trigger operation in the region acted by the bullet frame. If the first target element exists in the elements to be detected, executing a first processing operation, wherein the first processing operation is used for indicating a trigger operation event and executing a function corresponding to a monitoring event corresponding to a second target element, the operation event is monitored by the monitoring event, the second target element comprises the first target element and an element in the area where the first target element is located, and the function corresponding to the monitoring event corresponding to the second target element comprises a function of closing a popup frame. And stopping displaying the popup frame on the target page.
Optionally, the function corresponding to the listening event corresponding to the second target element further includes a page jump function, and the first processing operation is further configured to instruct interception to jump from the target page to another page other than the target page.
Optionally, the processing method of the page shot frame further includes: it is determined whether a corresponding snoop event exists for the second target element. And if the first target element exists in the elements to be detected and the corresponding monitoring event exists in the second target element, executing a first processing operation.
Optionally, the processing method of the page shot frame further includes: and if the second target element does not have the corresponding monitoring event, executing a second processing operation, wherein the second processing operation is used for indicating to delete the second target element. And stopping displaying the popup frame on the target page.
Optionally, the processing method of the page shot frame further includes: the method comprises the steps of obtaining width information of a display screen, width information of a first target element and first position information, wherein the first position information is used for indicating a position relation between the first target element and a display area of the display screen. And determining whether the first target element exceeds the display area of the display screen according to the width information of the display screen, the width information of the first target element and the first position information. And if the first target element exceeds the display area of the display screen, determining whether the second target element has a corresponding monitoring event.
Optionally, the processing method of the page shot frame further includes: and if the first target element does not exceed the display area of the display screen, deleting the second target element. And stopping displaying the popup frame on the target page.
Optionally, the processing method of the page shot frame further includes: and displaying a first prompt message, wherein the first prompt message is used for indicating a user to input a trigger operation in a bullet box.
Optionally, the second target element is an element that exceeds a display area of the display screen, among the first target element and elements in the area where the first target element is located.
Optionally, the processing method of the page shot frame further includes: and if the first target element exceeds the display area of the display screen, displaying a second prompt message, wherein the second prompt message is used for indicating the change of the direction of the display screen.
According to a second aspect of the present disclosure, there is provided a processing apparatus of a sheet frame, including: display element, receiving element and processing unit.
The display unit is configured to display a target page, the target page comprises a popup frame, the popup frame comprises a first target element, and the first target element is an element fixed at any position of the display screen. And the receiving unit is configured to execute triggering operation of receiving the user in the bullet frame. And the processing unit is configured to execute the operation of responding to the trigger operation and detect whether the first target element exists in the elements to be detected, wherein the elements to be detected are all elements of the trigger operation in the region acted by the bullet frame. The processing unit is further configured to execute a first processing operation if a first target element exists in the to-be-detected element, the first processing operation is used for indicating a trigger operation event and executing a function corresponding to a monitoring event corresponding to a second target element, the operation event is monitored by the monitoring event, the second target element includes the first target element and an element in an area where the first target element is located, and the function corresponding to the monitoring event corresponding to the second target element includes a pop-up frame closing function. And the display unit is also configured to execute stopping displaying the bullet frame on the target page.
Optionally, the function corresponding to the listening event corresponding to the second target element further includes a page jump function, and the first processing operation is further configured to instruct interception to jump from the target page to another page other than the target page.
Optionally, the processing unit is further configured to perform determining whether the second target element has a corresponding snoop event. The processing unit is further configured to execute a first processing operation if the first target element exists in the elements to be detected and the corresponding monitoring event exists in the second target element.
Optionally, the processing unit is further configured to execute a second processing operation if the second target element does not have a corresponding snoop event, where the second processing operation is used to instruct to delete the second target element. And the display unit is also configured to execute stopping displaying the bullet frame on the target page.
Optionally, the processing unit is further configured to perform acquiring width information of the display screen, width information of the first target element, and first position information, where the first position information is used to indicate a position relationship between the first target element and a display area of the display screen. The processing unit is further configured to determine whether the first target element exceeds the display area of the display screen according to the width information of the display screen, the width information of the first target element and the first position information. And the processing unit is further configured to determine whether the second target element has a corresponding monitoring event if the first target element exceeds the display area of the display screen.
Optionally, the processing unit is further configured to delete the second target element if the first target element does not exceed the display area of the display screen. And the display unit is also configured to execute stopping displaying the bullet frame on the target page.
Optionally, the display unit is further configured to perform displaying a first prompt message, where the first prompt message is used to instruct a user to input a trigger operation in the pop-up box.
Optionally, the second target element is an element that exceeds a display area of the display screen, among the first target element and elements in the area where the first target element is located.
Optionally, the display unit is further configured to perform displaying a second prompt message if the first target element exceeds the display area of the display screen, where the second prompt message is used to instruct to change the direction of the display screen.
According to a third aspect of the present disclosure, there is provided a terminal device comprising:
a processor. A memory for storing processor-executable instructions. Wherein the processor is configured to execute the instructions to implement the method of processing the optional page popup box of any of the first aspects described above.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon instructions which, when executed by a processor of a server, enable the server to perform the method of processing any one of the above first aspects, optionally page frames.
According to a fifth aspect of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of processing optionally page frames as in any one of the first aspects.
According to a sixth aspect of the present disclosure, there is provided a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute a computer program or instructions to implement the method for processing a page popup box as described in the first aspect and any possible implementation manner of the first aspect.
The technical scheme provided by the disclosure at least brings the following beneficial effects: in the case that the popup box exists in the target page, a trigger operation of the user in the popup box can be received. And then, responding to the trigger operation, and detecting whether the first target element exists in the elements to be detected. And under the condition that the first target element exists in the elements to be detected, triggering an operation event, executing a function corresponding to a monitoring event corresponding to the second target element, wherein the operation event is monitored by the monitoring event. Because the second target element comprises the first target element and the element in the area where the first target element is located, and the function corresponding to the listening event corresponding to the second target element comprises a pop-up frame closing function, the operation event can trigger execution of the pop-up frame closing function, and display of the pop-up frame on the target page is stopped. Therefore, the webpage content can be prevented from being blocked by the popup frame, and the browsing experience of the user is improved. And the function of triggering the closing of the pop-up box is the normal processing logic of the target page, and the normal operation of the browser can be guaranteed after the pop-up box is closed. In addition, when the pop-up frame (such as the first target element) exceeds the screen, or does not exceed the screen but the element for closing the pop-up frame is not displayed, the pop-up frame can be closed by adopting the technical scheme provided by the disclosure, so that the browsing experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic structural diagram of a terminal device according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of processing a page shot frame according to an example embodiment.
FIG. 3 is a diagram illustrating an example of a display page in accordance with one illustrative embodiment.
FIG. 4 is a diagram illustrating an example of a trigger operation in accordance with an exemplary embodiment.
FIG. 5 is a diagram illustrating an example of a prompting message, according to an example embodiment.
FIG. 6 is a diagram illustrating an example of a page element in accordance with an illustrative embodiment.
Fig. 7 is a flow diagram illustrating another method of processing a page shot frame in accordance with an example embodiment.
Fig. 8 is a flow chart illustrating another method of processing a page shot frame according to an example embodiment.
FIG. 9 is a diagram illustrating an example of a coordinate system in accordance with an exemplary embodiment.
Fig. 10 is a schematic structural diagram illustrating a processing apparatus of a leaf spring frame according to an exemplary embodiment.
Fig. 11 is a schematic configuration diagram illustrating another processing apparatus for a leaf spring frame according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
To facilitate understanding of the present disclosure, technical terms related to the present disclosure are explained below.
The elements of the target page are the minimum units displayed by the network page, and for example, characters, pictures, animations, music and the like on the network page are all page elements on the network page. Generally, page elements have certain dimensions (e.g., width and height). And, the element may set a corresponding snoop event, which may perform a corresponding function. When a user inputs an operation (for example, a click operation) to a display area (i.e., a part of elements) of the terminal device, the listening event corresponding to the element may be triggered, and the corresponding function is completed. For example, the user clicks a close button to trigger a close pop box function to close the pop box.
First, an application scenario of the embodiment of the present disclosure is described.
The page popup frame processing method disclosed by the embodiment of the disclosure is applied to a scene with a popup frame displayed in a target page. In the related art, the terminal device may intercept the popup frame before the popup frame is displayed on the target page, so that the popup frame does not exist in the target page. However, the catch-shot box may cause part of the functions to be unavailable. For example, when a bullet box is a login entry, if the bullet box is intercepted, the user may not input an account and a password, so that the user cannot log in the account. Or the terminal device may forcibly delete the popup box, so that the popup box does not exist in the target page. However, forcing the popup box to be deleted may cause problems with the state and processing logic of the target page, which may cause the browser to operate abnormally.
In order to solve the above problem, an embodiment of the present disclosure provides a method for processing a page popup frame, where when a target page has a popup frame, all snoop events in the popup frame are triggered, and the all snoop events include a function of closing the popup frame. In this way, the close popup function can be triggered to close the popup in the target page. Therefore, the webpage content can be prevented from being blocked by the popup frame, and the browsing experience of the user is improved. And the function of triggering the closing of the pop-up box is the normal processing logic of the target page, and the normal operation of the browser can be guaranteed after the pop-up box is closed.
Fig. 1 is a schematic structural diagram of a terminal device to which the method provided by the present disclosure is applied according to an embodiment of the present disclosure. The terminal device 10 includes a processor 101 and a memory 102.
The processor 101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 101 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
Memory 102 may include one or more computer-readable storage media, which may be non-transitory. Memory 102 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 102 is used to store at least one instruction for execution by processor 101 to implement the group communication method provided by the disclosed method embodiments.
In some embodiments, the terminal device 10 may further include: a peripheral interface 103 and at least one peripheral. The processor 101, memory 102 and peripheral interface 103 may be connected by bus or signal lines. Each peripheral may be connected to peripheral interface 103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 104, display screen 105, camera assembly 106, audio circuitry 107, positioning assembly 108, and power supply 109.
The peripheral interface 103 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 101 and the memory 102. In some embodiments, processor 101, memory 102, and peripheral interface 103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 101, the memory 102, and the peripheral interface 103 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 104 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 104 communicates with a communication network and other communication devices via electromagnetic signals. The rf circuit 104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 104 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 104 may communicate with other terminal devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or Wi-Fi (Wireless Fidelity) networks. In some embodiments, the rf circuit 104 may further include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 105 is a touch display screen, the display screen 105 also has the ability to capture touch signals on or over the surface of the display screen 105. The touch signal may be input to the processor 101 as a control signal for processing. At this point, the display screen 105 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 105 may be one, providing the front panel of the terminal device 10; the Display 105 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 106 is used to capture images or video. Optionally, camera assembly 106 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of a terminal device, and a rear camera is disposed on a rear surface of the terminal device. Audio circuitry 107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 101 for processing or inputting the electric signals to the radio frequency circuit 104 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal device 10. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 101 or the radio frequency circuit 104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 107 may also include a headphone jack.
The positioning component 108 is used to locate the current geographic Location of the terminal device 10 to implement navigation or LBS (Location Based Service). The Positioning component 108 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
The power supply 109 is used to supply power to each component in the terminal device 10. The power source 109 may be alternating current, direct current, disposable or rechargeable. When power source 109 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal device 10 also includes one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensors, gyroscope sensors, pressure sensors, fingerprint sensors, optical sensors, and proximity sensors.
The acceleration sensor can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal device 10. The gyroscope sensor can detect the body direction and the rotation angle of the terminal device 10, and the gyroscope sensor and the acceleration sensor can cooperatively acquire the 3D action of the user on the terminal device 10. The pressure sensors may be disposed on the side bezel of the terminal device 10 and/or underneath the display screen 105. When the pressure sensor is provided in the side frame of the terminal device 10, a user's holding signal of the terminal device 10 can be detected. The fingerprint sensor is used for collecting fingerprints of users. The optical sensor is used for collecting the intensity of ambient light. A proximity sensor, also called a distance sensor, is generally provided on the front panel of the terminal device 10. The proximity sensor is used to capture the distance between the user and the front face of the terminal device 10.
The execution main body of the processing method of the page popup frame provided by the present disclosure may be a device for processing the page popup frame, and the execution device may be a terminal device shown in fig. 1. Meanwhile, the executing device may also be a Central Processing Unit (CPU) of the terminal device, or a control module for Processing a page frame in the terminal device. In the embodiment of the present application, a method for processing a page popup frame performed by a terminal device is taken as an example, and the method for processing a page popup frame provided in the embodiment of the present application is described.
In one implementable manner, the terminal device is used to provide voice and/or data connectivity services to the user. Terminal equipment may be referred to by different names, such as UE side, terminal unit, terminal station, mobile station, remote terminal, mobile device, wireless communication device, vehicular user equipment, terminal agent, or terminal device, etc.
Optionally, the terminal device may be various handheld devices, vehicle-mounted devices, wearable devices, and computers with communication functions, which is not limited in this disclosure. For example, the handheld device may be a smartphone. The in-vehicle device may be an in-vehicle navigation system. The wearable device may be a smart bracelet. The computer may be a Personal Digital Assistant (PDA) computer, a tablet computer, and a laptop computer.
After the application scenario and the execution subject of the embodiment of the present disclosure are introduced, a method for processing a page popup box provided by the embodiment of the present disclosure is described in detail below.
Fig. 2 is a flow chart illustrating a method of processing a page shot frame according to an example embodiment. As shown in fig. 2, the method may include steps 201-205.
201. And displaying the target page.
The target page comprises a popup frame, the popup frame comprises a first target element, and the first target element is an element fixed at any position of the display screen. That is, the first target element (or pop-up box) does not change the position of the first target element in the display screen as the target page slides.
Illustratively, as shown in fig. 3 (a), the terminal device displays a target page 301, a target page 301 pop-up box 302, and web content 303, the web content 303 being located at a lower position in the target page 301. For example, the web page content 303 may be "XXXXXXXXXXXXXXXXXXXXXXXXXX". Thereafter, in response to the user's upward sliding operation, the web page content 303 may be adjusted to the upper position in the target page 301 as shown in (b) in fig. 3. Also, the position of the bullet box 302 in the display screen is not changed as the target page slides.
It should be noted that, the target page is not limited in the embodiment of the present disclosure. For example, the target page may be an information query page. As another example, the destination page may be a play audio page. As another example, the target page may be a social page. The elastic frame is not limited in the embodiment of the disclosure. For example, a bullet box may be used to indicate that an application is downloaded. For another example, a pop-up box may be used to indicate a jump to the corresponding client. For another example, a bullet box may be used to indicate a login account number. Also, the first target element is not limited by the embodiments of the present disclosure. For example, the first target element may be a Fixed element.
202. And receiving a trigger operation of a user.
And the triggering operation is used for indicating that the display of the popup frame is stopped on the target page.
The trigger operation is not limited in the embodiments of the present application. For example, the trigger operation may be a click operation. For example, the trigger operation may be a long press operation. For another example, the trigger operation may be a sliding operation, and the sliding track of the sliding operation may be a line (e.g., a straight line, a curved line), a closed figure, or the like.
Optionally, the region where the trigger operation acts on the bullet frame is a region to be detected. That is, the region to be detected is determined by the trigger operation. Illustratively, as shown in fig. 4, a user inputs a trigger operation (e.g., a sliding operation) in a bullet box 401, and the closed region 402 formed by the trigger operation is a region to be detected.
Optionally, after receiving the trigger operation of the user, the terminal device displays a coordinate input box, where the coordinate input box is used to input a coordinate to be detected, the coordinate to be detected is used to indicate the area to be detected, and the coordinate to be detected includes at least one coordinate. And then, inputting the coordinates to be detected into the coordinate input box by the user. And the terminal equipment receives the coordinates to be detected and determines the area to be detected.
Illustratively, the coordinates to be detected include: (1,1), (3,1) and (3,2), the region to be detected is a region whose coordinates are (1, 1), (3,1) and (3,2).
In one implementable manner, the triggering operation is an operation that acts on the bullet box. That is to say, the operation acting on the region outside the popup box in the target page is not a trigger operation, and the method provided by the embodiment of the present disclosure will not be executed. Illustratively, in conjunction with (a) of fig. 3, the target page may be slid upward in response to a slide-up operation.
Therefore, under the condition that the triggering operation is an operation acting on the popup box, the user can input operation on the target page, the user can not be influenced to browse the target page, and browsing experience of the user is guaranteed.
Optionally, before receiving the trigger operation of the user, a first prompt message is displayed, where the first prompt message is used to instruct the user to input the trigger operation in the pop-up box.
Illustratively, as shown in fig. 5, the terminal device displays a first prompting message 501 on the upper layer of the bullet box. For example, the first prompting message 501 is a "prompt," please draw a closed image, such as a circle, ellipse, triangle, etc., on top of the bullet box. ".
It can be understood that the area to be detected can be ensured to be the area in the bullet frame by displaying the first prompt message. Therefore, whether the first target element exists in the bullet frame or not can be detected, the bullet frame is closed, and browsing experience of a user is improved.
203. And responding to the trigger operation, and detecting whether the first target element exists in the elements to be detected.
Wherein, the elements to be detected are all elements in the area to be detected.
In the embodiment of the present disclosure, all elements in the region to be detected include: an element whose area is within the area to be detected and an element whose partial area is within the area to be detected.
Illustratively, as shown in fig. 6 (a), a region 601 is a region to be detected, and the element 602 is within the region 601. Element 603 is at the bottom of element 602, and a partial area of element 603 is in area 601, then both element 602 and element 603 are to be detected.
As a possible implementation manner, in response to a trigger operation, the element to be detected is acquired, and whether a first target element exists in the element to be detected is detected.
Illustratively, each element in the area to be detected is traversed in response to a triggering operation. And if the attribute of the element is Fixed, determining that the element is a first target element, and the first target element exists in the region to be detected. And if the attributes of the elements to be detected are not Fixed, determining that the elements are not first target elements, and not existing the first target elements in the area to be detected.
In one possible implementation, if there is a first target element in the elements to be detected, step 204 is executed. And if the first target element does not exist in the elements to be detected, not processing the target page.
204. A first processing operation is performed.
The first processing operation is used for indicating a trigger operation event and executing a function corresponding to a monitoring event corresponding to the second target element, and the operation event is monitored by the monitoring event. The second target element includes the first target element and elements within the region in which the first target element is located.
Illustratively, as shown in (b) of fig. 6, the second target element includes: a first target element 604, element 605, element 606, element 607, and element 608. Wherein element 605, element 606, element 607, and element 608 are within the area of the first target element 604, i.e., element 605, element 606, element 607, and element 608 are on top of the first target element 604.
In another possible embodiment, the second target element is the first target element and an element within the area of the first target element that exceeds the display area of the display screen. The elements beyond the display area of the display screen refer to elements of which the whole area is not in the display area of the display screen and elements of which the partial area is not in the display area of the display screen.
It is understood that in the case that a partial area (such as the second target element) in the bullet box is not displayed on the display screen, the bullet box can be closed through a trigger operation, and the display of the bullet box on the target page is stopped. Therefore, the webpage content can be prevented from being blocked by the popup frame, and the browsing experience of the user is improved.
In the disclosed embodiment, the operation event is an event that acts on the second target element. Illustratively, the operational event may be an event that simulates a user touching the display screen (e.g., clicking, long pressing). Therefore, the monitoring event monitors the operation event and can execute the function corresponding to the monitoring event.
As a possible implementation manner, the functions corresponding to the monitoring events corresponding to the second target element are executed in a traversal manner according to a preset sequence, and the function corresponding to each monitoring event is executed. The preset sequence may be from the outer layer to the inner layer, or from the inner layer to the outer layer.
Illustratively, in conjunction with (b) of fig. 6, suppose that the first target element 604, element 605, element 606, element 607, and element 608 each correspond to a snoop event. If the predetermined sequence is from the outer layer to the inner layer, the function of the first traversed snoop event is the function of the snoop event corresponding to the first target element 604, and the simulated click event (i.e., the event triggered by the simulated user click operation) triggers the function of the snoop event corresponding to the first target element 604. Thereafter, the functions of the snoop events corresponding to element 605, element 606, element 607, and element 608 may be traversed in sequence.
In this embodiment of the present disclosure, the listening event corresponding to the second target element includes a pop frame closing function, where the pop frame closing function is used to trigger the pop frame closing. That is, after the close pop box function is triggered, the display of the pop box is stopped at the target page.
And S205, stopping displaying the popup frame on the target page.
The technical scheme provided by the embodiment at least has the following beneficial effects: in the case that the popup box exists in the target page, a trigger operation of the user in the popup box can be received. And then, responding to the trigger operation, and detecting whether the first target element exists in the elements to be detected. And under the condition that the first target element exists in the elements to be detected, triggering an operation event, executing a function corresponding to a monitoring event corresponding to the second target element, wherein the operation event is monitored by the monitoring event. Because the second target element comprises the first target element and the element in the area where the first target element is located, and the function corresponding to the listening event corresponding to the second target element comprises a pop-up frame closing function, the operation event can trigger execution of the pop-up frame closing function, and display of the pop-up frame on the target page is stopped. Therefore, the webpage content can be prevented from being blocked by the popup frame, and the browsing experience of the user is improved. And the function of triggering the closing of the pop-up box is the normal processing logic of the target page, and the normal operation of the browser can be guaranteed after the pop-up box is closed. In addition, when the pop-up frame (e.g., the first target element) exceeds the screen, or does not exceed the screen but the element for closing the pop-up frame is not displayed, the pop-up frame can be closed by using the technical scheme provided by the present disclosure, so that the browsing experience of the user is improved.
In a possible implementation manner, the snoop event corresponding to the second target element further includes a page jump function, and the first processing operation is further configured to instruct interception to jump from the target page to a page other than the target page. And the page jump function is used for triggering the switching of the displayed target page. For example, after the page jump function is triggered, the page displayed by the terminal device can be switched from the knowledge information page to the download page.
It can be understood that the page jump function can be intercepted through the first processing operation, and the situation that the page jump function is triggered to switch the display page can be avoided when the monitoring event corresponding to the second target element also includes the page jump function. Therefore, the browsing experience of the user can be improved.
In a practical manner, as shown in fig. 7 in conjunction with fig. 2, before step 204, step 701 is further included.
701. It is determined whether a corresponding snoop event exists for the second target element.
In one implementation, if there is a first target element in the elements to be detected, it is determined whether there is a corresponding snoop event for a second target element.
As a possible implementation manner, whether each element in the second target element is provided with a corresponding snoop event is traversed according to a preset sequence. And if the corresponding monitoring event is set, determining that the second target element has the corresponding monitoring event. And if each element in the second target elements does not set a corresponding monitoring event, determining that the second target elements do not have the corresponding monitoring event.
Illustratively, the second target elements include element a, element B, and element C. And if the element A is provided with the corresponding monitoring event, determining that the second target element has the corresponding monitoring event.
In another possible implementation manner, the number of snoop events corresponding to the second target element is obtained. And if the number of the monitoring events corresponding to the second target element is greater than the preset number threshold, determining that the second target element has the corresponding monitoring event. And if the number of the monitoring events corresponding to the second target element is less than or equal to the preset number threshold, determining that no corresponding monitoring event exists in the second target element.
For example, if the predetermined number threshold is 0. And if the number of the monitoring events corresponding to the second target element is 2, determining that the second target element has the corresponding monitoring event. And if the number of the monitoring events corresponding to the second target element is 0, determining that the second target element does not have the corresponding monitoring event.
In one possible implementation, if it is determined that the second target element has a corresponding snoop event, step 204 is executed.
The technical solution provided by the above embodiment at least brings the following beneficial effect that the execution of the first processing operation requires consumption of processing resources. After determining that the second target element has a corresponding snoop event, a first processing operation is performed. Therefore, the waste of processing resources can be reduced, and the resource utilization rate is improved.
In one possible implementation, if it is determined that the second target element has a corresponding snoop event, step 204 is executed. If it is determined that the second target element does not have the corresponding snoop event, step 702 is executed.
702. A second processing operation is performed.
Wherein the second processing operation is to indicate deletion of the second target element. Optionally, the second processing operation is further configured to instruct to reload the target page.
As a possible implementation manner, if it is determined that the second target element does not have the corresponding snoop event, traversing the second target element, and executing a delete instruction on each element in the second target element.
In the embodiment of the present disclosure, after the second processing operation is performed, the target page stops displaying the pop frame.
The technical scheme provided by the embodiment at least has the following beneficial effects: after deleting the second target element, the target page may not display a pop-up frame. Therefore, the webpage content can be prevented from being blocked by the popup frame, and the browsing experience of the user is improved.
In a practical manner, as shown in fig. 8 in conjunction with fig. 7, before step 701, steps 801 to 802 are further included.
801. The width information of the display screen, the width information of the first target element and the first position information are obtained.
The first position information is used for indicating the position relation between the first target element and the display area of the display screen.
As a possible implementation, the first position information may be represented by a coordinate system of a display area (hereinafter referred to as a display area) of the display screen. The origin of coordinates of the coordinate system of the display area is any one corner (such as the upper left corner or the lower left corner) in the display area, and the x axis and the y axis are two adjacent edges.
Illustratively, please refer to fig. 9, which shows an example of a coordinate system of the display area. As shown in fig. 9, the point o is the origin of coordinates, the x-axis is the lower side of the display region 901, the y-axis is the left side of the display region 901, A2 is a point (e.g., lower right corner) in the right side of the display region, and the two-dimensional coordinates are A2 (x 2, y 2). If the two-dimensional coordinates of the first target element (i.e., point A1) in the xoy coordinate system shown in fig. 9 are A1 (x 1, y 1), the area of the first target element is an area 902. A3 is a point in the right side of the region 902 (e.g., lower right corner), and A3 has two-dimensional coordinates of (x 3, y 3).
In the embodiment of the present disclosure, the width information of the display screen refers to the width of the display area of the display screen. The width information of the first target element refers to the width of the region of the first target element. For example, the width information of the display screen is 6, and the width information of the first target element may be 8.
802. And determining whether the first target element exceeds the display area of the display screen according to the width information of the display screen, the width information of the first target element and the first position information.
As a possible implementation manner, the boundary coordinates of the display area of the display screen and the boundary coordinates of the first target element are determined according to the width information of the display screen, the width information of the first target element, and the first position information. And then, determining whether the first target element exceeds the display area of the display screen according to the boundary coordinates of the display area of the display screen and the boundary coordinates of the first target element.
Illustratively, in conjunction with fig. 9, suppose A1 has two-dimensional coordinates of (2,5), A2 has two-dimensional coordinates of (6,0), and A3 has two-dimensional coordinates of (7,7). It may be determined that the first target element exceeds the display area of the display screen. That is, the pop-up frame extends beyond the display area of the display screen, and the user cannot input an operation to an element other than the display area.
In one possible implementation, if it is determined that the first target element exceeds the display area of the display screen, step 204 is performed.
The technical scheme provided by the embodiment at least has the following beneficial effects: performing the first processing operation consumes processing resources. After determining that the first target element exceeds the display area of the display screen, indicating that the popup box has an area where the user cannot input an operation. In this way, the first processing operation is performed after determining that the second target element has a corresponding snoop event. Therefore, the terminal equipment can close the popup frame by itself without user operation, and browsing experience of a user is improved.
In one possible implementation, if it is determined that the first target element exceeds the display area of the display screen, step 204 is performed. If it is determined that the first target element does not exceed the display area of the display screen, step 702 is performed.
The technical solution provided by the above embodiment at least brings the following beneficial effect that the execution of the first processing operation requires consumption of processing resources. After determining that the first target element exceeds the display area of the display screen, indicating that the popup box has an area where the user cannot input an operation. In this way, the first processing operation is performed after determining that the second target element has a corresponding snoop event. Therefore, the terminal equipment can close the popup frame by itself without user operation, and browsing experience of a user is improved.
In one possible implementation, if the first target element exceeds the display area of the display screen, a second prompt message is displayed, where the second prompt message is used to instruct to change the direction of the display screen. The direction of the display screen can be changed from the horizontal direction to the vertical direction, or the direction of the display screen can be changed from the vertical direction to the horizontal direction. For example, the second prompting message may be "please place the phone sideways".
In the disclosed embodiments, a user's shutdown operation is received. And stopping displaying the popup frame on the target page in response to the closing operation of the user. Illustratively, the pop-up frame on the target page includes a close element after the orientation of the display screen is changed from portrait to landscape. And stopping displaying the popup frame on the target page in response to the operation of the user on the closing element.
The technical scheme provided by the embodiment has the beneficial effects that the direction of the display screen is changed, the size of the display area of the display screen can be changed, and the display area of the display screen can display a complete popup frame. Therefore, the user can conveniently input operation in the popup box, the popup box is closed, and browsing experience of the user is improved.
It will be appreciated that the above method may be implemented by processing means of a page shot box. The processing device of the page frame includes a hardware structure and/or a software module for executing each function in order to realize the above functions. Those of skill in the art will readily appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments.
The processing device of the page popup frame and the like in the embodiments of the present disclosure may be divided into functional modules according to the above method examples, for example, each functional module may be divided according to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present disclosure is illustrative, and is only one logical function division, and there may be another division manner in actual implementation.
Fig. 10 is a block diagram illustrating a configuration of a processing apparatus of a frame for a page shot according to an exemplary embodiment. Referring to fig. 10, the processing apparatus 100 of the sheet frame includes a display unit 1001, a receiving unit 1002, and a processing unit 1003.
The display unit 1001 is configured to perform displaying of a target page, where the target page includes a popup frame, and the popup frame includes a first target element, and the first target element is an element fixed at any position of a display screen. For example, the display unit 1001 may perform step 201 as shown in fig. 2. A receiving unit 1002 configured to perform a trigger operation of receiving a user within a bullet box. For example, the receiving unit 1002 may perform step 202 as shown in fig. 2. And the processing unit 1003 is configured to execute, in response to the trigger operation, detecting whether a first target element exists in the to-be-detected elements, where the to-be-detected elements are all elements of the trigger operation in the area acted by the popup box. The processing unit 1003 is further configured to execute, if there is a first target element in the to-be-detected elements, a first processing operation, where the first processing operation is used to indicate that an operation event is triggered, and execute a function corresponding to a monitoring event corresponding to a second target element, where the operation event is monitored by the monitoring event, the second target element includes the first target element and an element in an area where the first target element is located, and a function corresponding to the monitoring event corresponding to the second target element includes a pop-up box closing function. For example, processing unit 1003 may perform steps 203 and 204 as shown in fig. 2. The display unit 1001 is further configured to perform stop of displaying the popup frame on the target page. For example, the display unit 1001 may perform step 205 as shown in fig. 2.
Optionally, the snoop event corresponding to the second target element further includes a page jump function, and the first processing operation is further configured to instruct to intercept the page jump function.
Optionally, the function corresponding to the snoop event corresponding to the second target element further includes a page jump function, and the first processing operation is further configured to instruct interception to jump from the target page to another page other than the target page.
Optionally, the processing unit 1003 is further configured to perform determining whether the second target element has a corresponding snoop event. The processing unit 1003 is further configured to execute a first processing operation if the first target element exists in the to-be-detected element and the corresponding snoop event exists in the second target element.
Optionally, the processing unit 1003 is further configured to execute a second processing operation if the second target element does not have the corresponding snoop event, where the second processing operation is used to instruct to delete the second target element. The display unit 1001 is further configured to perform stop of displaying the popup frame on the target page.
Optionally, the processing unit 1003 is further configured to perform acquiring width information of the display screen, width information of the first target element, and first position information, where the first position information is used to indicate a position relationship between the first target element and a display area of the display screen. The processing unit 1003 is further configured to perform determining whether the first target element exceeds the display area of the display screen according to the width information of the display screen, the width information of the first target element, and the first position information. The processing unit 1003, further configured to perform determining whether the second target element has a corresponding listening event if the first target element exceeds the display area of the display screen.
Optionally, the processing unit 1003 is further configured to delete the second target element if the first target element does not exceed the display area of the display screen. The display unit 1001 is further configured to perform stop of displaying the popup frame on the target page.
Optionally, the display unit 1001 is further configured to perform displaying a first prompt message, where the first prompt message is used to instruct a user to input a trigger operation in a pop-up box.
Optionally, the second target element is an element that exceeds a display area of the display screen, among the first target element and the elements in the area where the first target element is located.
Optionally, the display unit 1001 is further configured to perform displaying a second prompt message if the first target element exceeds the display area of the display screen, where the second prompt message is used to instruct to change the direction of the display screen.
With regard to the processing apparatus of the page frame in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a schematic structural diagram of a processing device 110 for a page frame provided by the present disclosure. As shown in fig. 11, the processing device 110 of the page frame may include at least one processor 1101 and a memory 1103 for storing instructions executable by the processor 1101. Wherein the processor 1101 is configured to execute instructions in the memory 1103 to implement the processing method of the page popup box in the above-described embodiment.
In addition, the processing device 110 of the page shot box may further include a communication bus 1102 and at least one communication interface 1104.
The processor 1101 may be a GPU, a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs in accordance with the disclosed aspects.
Communication bus 1102 may include a path that transfers information between the aforementioned components.
Communication interface 1104, using any transceiver or like device for communicating with other devices or communication networks, such as ethernet, radio Access Network (RAN), wireless Local Area Networks (WLAN), etc.
The memory 1103 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit as a volatile storage medium in the GPU.
The memory 1103 is used for storing instructions for executing the disclosed solution, and the processor 1101 controls the execution. The processor 1101 is configured to execute instructions stored in the memory 1103 to thereby implement the functions in the disclosed method.
In a particular implementation, processor 1101 may include one or more GPUs, such as GPU0 and GPU1 in fig. 11, as one embodiment.
In particular implementations, for one embodiment, processing device 110 of the page shot frame may include a plurality of processors, such as processor 1101 and processor 1107 in fig. 11. Each of these processors may be a single-Core (CPU) processor or a multi-core (multi-GPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In a specific implementation, as an embodiment, the processing apparatus 110 for a page popup may further include an output device 1105 and an input device 1106. The output device 1105 is in communication with the processor 1101 and may display information in a variety of ways. For example, the output device 1105 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input device 1106 is in communication with the processor 1101 and can accept user input in a variety of ways. For example, the input device 1106 may be a mouse, keyboard, touch screen device or sensing device, etc.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of the processing device 110 of the page shot frame and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be employed.
The present disclosure also provides a computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a server, enable the server to perform the group communication method provided by the embodiments of the present disclosure.
The embodiment of the present disclosure further provides a computer program product containing instructions, which when run on a server, causes the server to execute the processing method of the page popup box provided by the embodiment of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (19)

1. A method of processing a page shot frame, the method comprising:
displaying a target page, wherein the target page comprises a popup frame, the popup frame comprises a first target element, and the first target element is an element fixedly displayed at any position of a display screen;
receiving a triggering operation of a user in the bullet frame;
responding to the trigger operation, and detecting whether the first target element exists in elements to be detected, wherein the elements to be detected are all elements of the trigger operation in the area acted by the bullet frame;
if the first target element exists in the to-be-detected element, executing a first processing operation, where the first processing operation is used to indicate a trigger operation event, and traverse and execute a function corresponding to a monitoring event corresponding to a second target element according to a preset sequence, where the operation event is monitored by the monitoring event, the second target element includes the first target element and an element in an area where the first target element is located, and the function corresponding to the monitoring event corresponding to the second target element includes: a popup closing function and a page skipping function; the first processing operation is also used for indicating interception to jump from the target page to other pages except the target page;
and stopping displaying the popup frame on the target page.
2. The method of claim 1, wherein prior to performing the first processing operation, the method further comprises:
determining whether a corresponding listening event exists in the second target element;
if the first target element exists in the elements to be detected, executing a first processing operation, including:
and if the first target element exists in the elements to be detected and the corresponding monitoring event exists in the second target element, executing the first processing operation.
3. The method of claim 2, further comprising:
if the second target element does not have a corresponding monitoring event, executing a second processing operation, wherein the second processing operation is used for indicating to delete the second target element;
and stopping displaying the popup frame on the target page.
4. The method of claim 2 or 3, wherein prior to said determining whether a corresponding snoop event exists for said second target element, said method further comprises:
acquiring width information of the display screen, width information of the first target element and first position information, wherein the first position information is used for indicating a position relation between the first target element and a display area of the display screen;
determining whether the first target element exceeds a display area of the display screen according to the width information of the display screen, the width information of the first target element and the first position information;
the determining whether the second target element has a corresponding snoop event includes:
and if the first target element exceeds the display area of the display screen, determining whether the second target element has a corresponding monitoring event.
5. The method of claim 4, further comprising:
if the first target element does not exceed the display area of the display screen, deleting the second target element;
and stopping displaying the pop frame on the target page.
6. The method of claim 5, wherein prior to the receiving the user's trigger action, the method further comprises:
and displaying a first prompt message, wherein the first prompt message is used for indicating a user to input the trigger operation in the bullet box.
7. The method of claim 1, wherein the second target element is an element that exceeds a display area of the display screen, among the first target element and elements within the area of the first target element.
8. The method of claim 4, further comprising:
and if the first target element exceeds the display area of the display screen, displaying a second prompt message, wherein the second prompt message is used for indicating to change the direction of the display screen.
9. A device for handling a sheet frame, comprising:
the display unit is configured to execute display of a target page, the target page comprises a popup frame, the popup frame comprises a first target element, and the first target element is an element fixed at any position of a display screen;
a receiving unit configured to perform a trigger operation of receiving a user within the bullet box;
the processing unit is configured to execute, in response to the trigger operation, detecting whether the first target element exists in elements to be detected, wherein the elements to be detected are all elements of the trigger operation in an area acted by the bullet frame;
the processing unit is further configured to execute a first processing operation if the first target element exists in the to-be-detected element, where the first processing operation is used to indicate a trigger operation event, and traverse and execute a function corresponding to a monitoring event corresponding to a second target element according to a preset sequence, where the operation event is monitored by the monitoring event, the second target element includes the first target element and an element in an area where the first target element is located, and the function corresponding to the monitoring event corresponding to the second target element includes: a pop-up box closing function and a page skipping function; the first processing operation is also used for indicating interception to jump from the target page to other pages except the target page;
the display unit is further configured to execute to stop displaying the popup frame on the target page.
10. The apparatus for handling of a leaf frame of claim 9,
the processing unit is further configured to perform determining whether a corresponding snoop event exists for the second target element;
the processing unit is further configured to execute the first processing operation if the first target element exists in the to-be-detected element and the corresponding monitoring event exists in the second target element.
11. Handling device for a leaf spring frame according to claim 9 or 10,
the processing unit is further configured to execute a second processing operation if the second target element does not have a corresponding snoop event, where the second processing operation is used to instruct to delete the second target element;
the display unit is further configured to execute to stop displaying the popup frame on the target page.
12. The apparatus for handling of a leaf frame of claim 11,
the processing unit is further configured to perform acquiring width information of the display screen, width information of the first target element, and first position information indicating a position relationship between the first target element and a display area of the display screen;
the processing unit is further configured to determine whether the first target element exceeds a display area of the display screen according to the width information of the display screen, the width information of the first target element and the first position information;
the processing unit is further configured to determine whether a corresponding monitoring event exists in the second target element if the first target element exceeds the display area of the display screen.
13. The apparatus for handling of a leaf frame of claim 12,
the processing unit is further configured to delete the second target element if the first target element does not exceed the display area of the display screen;
the display unit is further configured to execute to stop displaying the popup frame on the target page.
14. The apparatus for handling of a leaf frame of claim 13,
the display unit is further configured to perform displaying of a first prompt message, where the first prompt message is used to instruct a user to input the trigger operation in the pop-up box.
15. The apparatus of claim 9, wherein the second target element is the first target element and an element within an area of the first target element that extends beyond a display area of the display screen.
16. The apparatus for handling of a leaf frame of claim 12,
the display unit is further configured to execute displaying a second prompt message if the first target element exceeds the display area of the display screen, wherein the second prompt message is used for indicating to change the direction of the display screen.
17. A terminal device, characterized in that the terminal device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of processing a page shot box according to any one of claims 1-8.
18. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the method of processing a page box according to any one of claims 1-8.
19. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the method of processing a page shot box according to any of claims 1-8.
CN202111402587.5A 2021-11-19 2021-11-19 Method and device for processing page popup frame, terminal device and storage medium Active CN114168873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111402587.5A CN114168873B (en) 2021-11-19 2021-11-19 Method and device for processing page popup frame, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111402587.5A CN114168873B (en) 2021-11-19 2021-11-19 Method and device for processing page popup frame, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN114168873A CN114168873A (en) 2022-03-11
CN114168873B true CN114168873B (en) 2023-02-17

Family

ID=80480329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111402587.5A Active CN114168873B (en) 2021-11-19 2021-11-19 Method and device for processing page popup frame, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN114168873B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661938A (en) * 2023-08-01 2023-08-29 天津金城银行股份有限公司 Method, system, computer and readable storage medium for page and APP interaction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190324621A1 (en) * 2018-04-23 2019-10-24 Qualcomm Incorporated System and Methods for Utilizing Multi-Finger Touch Capability to Efficiently Perform Content Editing on a Computing Device
CN110572705A (en) * 2019-09-17 2019-12-13 北京字节跳动网络技术有限公司 Popup window control method and device, medium and electronic equipment
CN112578958A (en) * 2020-12-16 2021-03-30 珠海格力电器股份有限公司 Control method, control device, terminal equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190324621A1 (en) * 2018-04-23 2019-10-24 Qualcomm Incorporated System and Methods for Utilizing Multi-Finger Touch Capability to Efficiently Perform Content Editing on a Computing Device
CN110572705A (en) * 2019-09-17 2019-12-13 北京字节跳动网络技术有限公司 Popup window control method and device, medium and electronic equipment
CN112578958A (en) * 2020-12-16 2021-03-30 珠海格力电器股份有限公司 Control method, control device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN114168873A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US10725578B2 (en) Apparatus and method for controlling fingerprint sensor
US10429905B2 (en) Electronic apparatus having a hole area within screen and control method thereof
CN110059744B (en) Method for training neural network, method and equipment for processing image and storage medium
KR102092690B1 (en) Information acquisition method and device
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
US10254883B2 (en) Electronic device for sensing pressure of input and method for operating the electronic device
US11989383B2 (en) Application window display method and terminal
EP3316113A1 (en) Electronic device having hole area and method of controlling hole area thereof
CN112749362B (en) Control creation method, device, equipment and storage medium
KR20150122476A (en) Method and apparatus for controlling gesture sensor
CN110543350A (en) Method and device for generating page component
CN111159604A (en) Picture resource loading method and device
CN110851823A (en) Data access method, device, terminal and storage medium
CN110968815B (en) Page refreshing method, device, terminal and storage medium
CN111625315A (en) Page display method and device, electronic equipment and storage medium
WO2022134691A1 (en) Method and device for screech processing in terminal device, and terminal
CN114168873B (en) Method and device for processing page popup frame, terminal device and storage medium
CN109995804B (en) Target resource information display method, information providing method and device
CN111857793A (en) Network model training method, device, equipment and storage medium
KR20160012583A (en) Method for controlling function and electronic device thereof
CN111045560A (en) Method for sending picture and electronic equipment
CN111241451A (en) Webpage processing method and device, computer equipment and storage medium
CN111275607A (en) Interface display method and device, computer equipment and storage medium
CN107479799A (en) A kind of method and apparatus of display window
CN112148499A (en) Data reporting method and device, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant