WO2021160148A1 - Special-shaped screen-based page display processing method and apparatus, computer device, and storage medium - Google Patents

Special-shaped screen-based page display processing method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2021160148A1
WO2021160148A1 PCT/CN2021/076434 CN2021076434W WO2021160148A1 WO 2021160148 A1 WO2021160148 A1 WO 2021160148A1 CN 2021076434 W CN2021076434 W CN 2021076434W WO 2021160148 A1 WO2021160148 A1 WO 2021160148A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
sub
area
trigger operation
subpage
Prior art date
Application number
PCT/CN2021/076434
Other languages
French (fr)
Chinese (zh)
Inventor
欧阳佳欣
胡玑
Original Assignee
深圳市万普拉斯科技有限公司
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 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2021160148A1 publication Critical patent/WO2021160148A1/en

Links

Images

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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the field of computer technology, and in particular to a page display processing method, device, computer equipment, and storage medium based on a special-shaped screen.
  • the front camera of the mobile terminal as one of the main image sensing devices of the mobile terminal, is also frequently used by users.
  • the user can start the front camera to take a selfie, or use the terminal as a mirror based on the image collected by the front camera, and can also be used to observe the environment behind the user.
  • a page display processing method based on a special-shaped screen comprising:
  • the front camera is started according to the trigger operation, and the image data collected by the front camera is displayed through the sub-page.
  • the method before the responding to the trigger operation, the method further includes:
  • the displaying a sub-page on the main page in response to the trigger operation includes:
  • the method further includes:
  • the target position corresponding to the subpage is determined according to the position adjustment operation, and the subpage is moved to the target position.
  • the method further includes:
  • the method further includes:
  • a page display processing device based on a special-shaped screen comprising:
  • the main page display module is used to display the main page based on the special-shaped screen including the sensor hole;
  • An operation receiving module configured to receive a trigger operation acting on a preset area of the main page, the preset area being an area corresponding to the sensor hole;
  • the sub-page display module is configured to display a sub-page on the main page in response to the trigger operation; start the front camera according to the trigger operation, and display the image data collected by the front camera through the sub-page.
  • the sub-page display module is further configured to receive an area adjustment operation that is continuous with the trigger operation; in response to the area adjustment operation, adjust the area corresponding to the sub-page to determine that it is located on the main page The target area on the upper; according to the target area, the sub-page is displayed on the main page.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above-mentioned page display processing method based on a special-shaped screen when the computer program is executed.
  • a computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned page display processing method based on a special-shaped screen are realized.
  • the above-mentioned page display processing method, device, computer equipment and storage medium based on the abnormal-shaped screen display the main page based on the abnormal-shaped screen including the sensor hole, receive the trigger operation acting on the preset area of the main page, and respond to the trigger operation in the main page
  • the sub-page is displayed on the screen.
  • the preset area is the area corresponding to the sensor hole.
  • the position of the sensor hole in the special-shaped screen is fixed, and there is always an area corresponding to the sensor hole in the main page, which is convenient for triggering the preset area of the main page, and it is more convenient to trigger the front camera.
  • the front camera is started according to the trigger operation, and the image data collected by the front camera is displayed on the subpage.
  • the page of the image collected by the front camera can be displayed on the subpage without affecting the main page, which effectively improves the convenience of page display.
  • FIG. 1 is an application environment diagram of a page display processing method based on a special-shaped screen in an embodiment
  • FIG. 2 is a schematic flowchart of a page display processing method based on a special-shaped screen in an embodiment
  • Fig. 3 is a schematic diagram of page display in an embodiment
  • FIG. 4 is a schematic flowchart of a step of displaying sub-pages on the main page in response to a trigger operation in an embodiment
  • FIG. 5 is a schematic diagram of adjusting the corresponding area of a subpage in an embodiment
  • FIG. 6 is a schematic diagram of adjusting a subpage to a target position in an embodiment
  • FIG. 7 is a structural block diagram of a page display processing device based on a special-shaped screen in an embodiment
  • Fig. 8 is an internal structure diagram of a computer device in an embodiment.
  • the page display processing method based on the special-shaped screen provided in this application can be applied to the mobile terminal 100 as shown in FIG. 1.
  • the mobile terminal 100 includes a display screen.
  • the display screen of the mobile terminal 100 is a special-shaped screen 102, and the special-shaped screen 102 includes a sensor hole 104.
  • the mobile terminal 100 displays the home page based on the special-shaped screen 102 including the sensor hole 104.
  • the mobile terminal 100 receives a trigger operation acting on a preset area of the main page, and the preset area is an area corresponding to the sensor hole 104. In response to the trigger operation, the mobile terminal 100 displays a sub-page on the main page.
  • the mobile terminal 100 activates the front camera according to the trigger operation, and displays the image data collected by the front camera through the sub-page.
  • the mobile terminal 100 may include, but is not limited to, various notebook computers, smart phones, tablet computers, and portable wearable devices.
  • a page display processing method based on a special-shaped screen is provided. Taking the method applied to the mobile terminal 100 in FIG. 1 as an example for description, the method includes the following steps:
  • Step 202 Display the main page based on the special-shaped screen including the sensor hole.
  • the mobile terminal may include a display screen, and the display screen may be a touch display screen.
  • the touch display screen may specifically include, but is not limited to, a display panel and a touch panel.
  • the display panel can be used as an output device of the terminal to display user interface (User Interface, UI for short), application pages, web pages and other information on the display screen.
  • the display panel may specifically be a liquid crystal display (Liquid Crystal Display, abbreviated as LCD), a light emitting diode (Light Emitting Diode, abbreviated as LED), or an organic light-emitting diode (Organic Light-Emitting Diode, abbreviated as OLED), etc.
  • the touch panel can also become a "touch screen” or a "touch screen”, which can be used as an input device of the terminal, receiving various types of operations from the user on the touch panel, and inputting the user operations to the terminal for processing.
  • the touch panel of the terminal may be one of an infrared touch panel, a resistive touch panel, a surface acoustic wave touch panel, and a capacitive touch panel.
  • the display panel of the terminal can be constituted by the display panel and the touch panel, and the terminal can display one or more kinds of pages on the display screen, and the user can perform corresponding operations on the display screen according to the pages displayed on the display screen.
  • the terminal can receive user operations through the display screen and execute processing corresponding to the user operations.
  • the special-shaped screen refers to a display screen that has been cut out of a part of the display panel of the terminal.
  • the cut out part of the display panel can be recorded as a sensor hole.
  • the sensor hole can be used to place sensors including a front camera, a light sensor, a distance sensor, and an infrared camera.
  • the size and shape of the sensor hole can be adjusted according to actual needs.
  • the sensor hole is usually opened in the upper left corner of the special-shaped screen. In one of the embodiments, the sensor holes can also be opened in other positions of the special-shaped screen. The opened sensor holes are used to place part of the terminal's sensors in the display screen, thereby increasing the screen proportion of the terminal, reducing the proportion of the front camera and other sensors in the display screen, and realizing a full-screen design as much as possible.
  • the terminal may display a main page based on a special-shaped screen including a sensor hole, and the main page may be an interface displayed during the operation of the terminal.
  • the main page can specifically include, but is not limited to, a lock screen interface, a desktop interface, a web page, and an application page corresponding to the terminal.
  • the terminal receives the user's activation operation, it can activate the special-shaped screen, and display the lock screen interface or the desktop interface on the special-shaped screen including the sensor hole.
  • the terminal may display a webpage page or an application program page on the special-shaped screen including the sensor hole according to the corresponding user operation, so that the user can use various functions included in the terminal.
  • Step 204 Receive a trigger operation acting on a preset area of the main page, where the preset area is an area corresponding to the sensor hole.
  • the terminal can receive the user's operations on the special-shaped screen through the touch panel in the special-shaped screen.
  • the terminal can display different icons or virtual controls at different positions on the homepage.
  • the terminal can receive operations corresponding to the different areas.
  • a trigger operation can be performed on the main page of the terminal.
  • the terminal can obtain the user's operating position on the main page, and receive a trigger operation that acts on a preset area of the main page.
  • the trigger operation received by the terminal may specifically be one of multiple trigger operation types.
  • the trigger operation received by the terminal may be a click operation or a sliding operation.
  • the trigger operation can be a single-point control operation or a multi-point control operation.
  • the preset area may be an area within a preset range corresponding to the sensor hole of the special-shaped screen. It is understandable that the display panel part of the special-shaped screen is cut, but the touch panel is intact and uncut, and the touch panel in the area corresponding to the sensor hole can receive the user's operation.
  • the preset range corresponding to the preset area may be preset by the user according to actual needs.
  • the size, proportion and shape of the preset area can be set according to actual needs.
  • the preset area may be preset by the user according to actual needs, with the sensor hole as the center, and a rectangular area extending 3 mm outward.
  • the shape of the preset area may also specifically include, but is not limited to, a rhombus, a circle, an ellipse, and the like. Since the preset area is the area around the sensor hole, the sensor hole is fixed in the special-shaped screen. Therefore, the user can visually regard the preset area corresponding to the sensor hole as a fixed control. Even if the main page contains different content, the user can trigger the operation in the preset area corresponding to the sensor hole without having to exit the main page to find the corresponding The virtual controls effectively improve the convenience of triggering operations.
  • Step 206 In response to the trigger operation, display the sub-page on the main page.
  • Step 208 Start the front camera according to the trigger operation, and display the image data collected by the front camera through the sub-page.
  • the terminal can generate sub-pages in response to the received trigger operation.
  • the terminal can display the generated sub-pages on the main page.
  • the area of the subpage can be smaller than or equal to the main page.
  • the terminal can display sub-pages on the main page in a variety of ways.
  • the terminal can generate suspended sub-pages, and the sub-pages can be suspended on the main page for display.
  • the terminal can also generate embedded sub-pages, which are embedded in the main page for display.
  • FIG. 3 is a schematic diagram of page display corresponding to the terminal in an embodiment, and the terminal may display the main page and the sub-pages through the special-shaped screen.
  • the user can adjust the transparency of the sub-page through the special-shaped screen, and the sub-page can be displayed without affecting the display of the main page. Moreover, when the user suspects that there is a peeping behind him, the transparency of the sub-page can also be adjusted. While observing the situation behind him through the sub-page, the sub-page is weakened to avoid being discovered by the peepers.
  • the terminal can activate the front camera corresponding to the terminal according to the received trigger operation.
  • the front camera can collect image data in the corresponding range through the sensor hole in the special-shaped screen. It is understandable that when the front camera collects images at a faster frame rate, the video data collected by the front camera can be obtained.
  • the terminal can display the image data collected by the front camera through the sub-page under the condition that the content displayed on the main page remains unchanged.
  • the terminal may display a main page based on a special-shaped screen including a sensor hole, so that the user can use various functions of the terminal.
  • the terminal may receive a trigger operation acting on a preset area of the main page, and the preset area is an area corresponding to the sensor hole.
  • the sensor hole is at a fixed position on the special-shaped screen, and the user can quickly trigger the operation through the preset area corresponding to the sensor hole.
  • the terminal can respond to the trigger operation, display a subpage on the main page, start the front camera according to the trigger operation, and display the image data collected by the front camera through the subpage without affecting the main page display.
  • the terminal can respond to the trigger operation, display a subpage on the main page, start the front camera according to the trigger operation, and display the image data collected by the front camera through the subpage without affecting the main page display.
  • the above method before responding to the trigger operation, further includes: obtaining the trigger operation type corresponding to the preset subpage; performing trigger verification on the trigger operation according to the trigger operation type to obtain the verification result; when the verification result is When the verification is successful, respond to the trigger operation.
  • the terminal After receiving the trigger operation that acts on the preset area of the main page, the terminal can obtain the trigger operation type corresponding to the preset subpage.
  • the trigger operation type corresponding to the subpage may be at least one of multiple operation types preset by the user according to actual needs.
  • the trigger operation type corresponding to the subpage may be one of multiple operation types.
  • the trigger operation type corresponding to the subpage may be one of a single-click operation, a double-click operation, a triple-click operation, or a sliding operation.
  • the trigger operation type corresponding to the subpage can also be a combination of multiple operation types.
  • the trigger operation type corresponding to the subpage may be a two-finger swipe operation.
  • the terminal can respond to different types of trigger operations.
  • the terminal can perform different tasks according to different types of trigger operations.
  • the operation type corresponding to starting the front camera may be a single-click operation
  • the operation type corresponding to adjusting the display brightness may be a sliding operation.
  • the terminal can perform different tasks based on different types of trigger operations.
  • the terminal can perform trigger verification on the received trigger operation that acts on the preset area according to the trigger operation type corresponding to the subpage. Specifically, the terminal may obtain the operation type corresponding to the received trigger operation, compare the operation type of the trigger operation with the preset trigger operation type, and determine whether the operation type is consistent with the preset trigger operation type.
  • the terminal determines that the trigger verification result is a verification failure, and the terminal may ignore the received trigger operation corresponding to the preset area. When there is no consistent preset operation, the terminal may ignore the received trigger operation.
  • the terminal determines that the trigger verification result is a successful verification, and the terminal may continue to respond to the received trigger operation corresponding to the preset area.
  • the terminal may also compare the trigger operation of the preset area with other preset operations to determine whether there is a preset operation with the same operation type. When there is a consistent preset operation, the terminal can perform the corresponding preset operation.
  • the terminal before responding to the trigger operation, may obtain the preset trigger operation type corresponding to the subpage, and perform trigger verification on the trigger operation according to the trigger operation type.
  • the terminal can respond to the trigger operation to prevent the user from accidentally touching the front camera and displaying the sub-page, which effectively guarantees the accuracy of the sub-page display.
  • the step of displaying the sub-page on the main page in response to the above-mentioned triggering operation includes:
  • Step 402 Receive an area adjustment operation that is continuous with the trigger operation.
  • Step 404 In response to the area adjustment operation, the area corresponding to the subpage is adjusted, and the target area on the main page is determined.
  • Step 406 Display sub-pages on the main page according to the target area.
  • the terminal After receiving the trigger operation of the preset area, the terminal can respond to the trigger operation and display a sub-page with a preset size and shape on the main page.
  • the terminal can also receive the area adjustment operation after receiving the trigger operation.
  • the zone adjustment operation can be continuous with the trigger operation.
  • the trigger operation may be a click operation.
  • the terminal may display the sub-page in response to the received click operation of the preset area.
  • the user can also continuously adjust the area without releasing the touch panel after clicking the preset area.
  • the region adjustment operation may specifically be a sliding operation. The user can continuously perform sliding operations after clicking the preset area to adjust the corresponding area of the subpage.
  • the terminal may respond to an area adjustment operation that is continuous with the trigger operation, and the area adjustment operation may include adjusting the direction and adjusting the distance.
  • the terminal can adjust the area corresponding to the subpage according to the adjustment direction and adjustment distance.
  • the terminal may dynamically display the adjusted area during the user's sliding operation, so that the user can perform the area adjustment operation according to the dynamically displayed area.
  • the terminal can stretch the area corresponding to the preset subpage according to the area adjustment operation.
  • the terminal may obtain the touch point corresponding to the area adjustment operation, and use the diagonal point of the touch point in the preset sub-page area as the fixed point.
  • the position of the fixed point is fixed.
  • the terminal can adjust the touch point according to the adjustment direction and the adjustment distance, and the area corresponding to the sub-page is adjusted as the touch point changes.
  • FIG. 5 is a schematic diagram of adjusting the area corresponding to the subpage, and the terminal expands the area corresponding to the subpage according to the user's area adjustment operation.
  • the terminal may respond to the area adjustment operation, and after adjusting the area corresponding to the subpage according to the area adjustment operation, determine the adjusted area as the target area corresponding to the subpage.
  • the terminal can display sub-pages on the main page according to the target area.
  • the terminal after the terminal displays the sub-page in response to the trigger operation, it may also receive an area adjustment operation that is not continuous with the trigger operation.
  • the region adjustment operation that is not continuous with the trigger operation may specifically be a two-finger sliding operation or the like.
  • the terminal After the terminal displays the sub-page on the main page, the user can adjust the area according to actual application requirements.
  • the terminal can adjust the area size and shape of the sub-page according to the area adjustment operation that is not continuous with the trigger operation, so as to make the sub-page The size or shape meets actual application requirements and effectively improves the convenience of displaying sub-pages.
  • the terminal may receive an area adjustment operation that is continuous with the trigger operation, and respond to the area adjustment operation to adjust the area corresponding to the subpage to determine the target area on the main page.
  • the terminal can display sub-pages on the main page according to the target area, thereby displaying sub-pages that meet the actual application requirements of the user, which effectively improves the convenience of displaying the sub-pages.
  • the above method further includes: receiving a position adjustment operation acting on the subpage; responding to the position adjustment operation, switching the state corresponding to the subpage to a movable state; determining the target position corresponding to the subpage according to the position adjustment operation, Move the subpage to the target location.
  • the terminal may also receive a position adjustment operation on the sub-page.
  • the position adjustment operation can be performed on the subpage.
  • the position adjustment operation may include one operation type or a combination of multiple operation types.
  • the position adjustment operation may be a sliding operation.
  • the user can perform a sliding operation on the sub-page to realize the dragging of the sub-page to the target position.
  • the position adjustment operation may also be a combination of a pressing operation and a sliding operation.
  • the terminal may respond to the position adjustment operation acting on the subpage, and switch the state corresponding to the subpage to the movable state according to the position adjustment operation. Specifically, the terminal may verify the position adjustment operation according to preset conditions.
  • the preset condition can be preset by the user according to actual needs.
  • the position adjustment operation may include a pressing operation, and the preset conditions may specifically include but are not limited to at least one of a preset pressing time or a preset pressing force.
  • the terminal can collect the pressing time and pressing force corresponding to the user's pressing operation through the touch panel in the special-shaped screen and the pressure sensor under the touch panel.
  • the terminal may compare the pressing time and pressing force corresponding to the pressing operation with the preset pressing time and preset pressing force, respectively.
  • the pressing time and pressing force corresponding to the pressing operation match the preset pressing time and the preset pressing force, it is determined that the verification is successful, and the terminal responds to the position adjustment operation to switch the state corresponding to the subpage to the movable state. Otherwise, it is determined that the verification fails, and the terminal can ignore the position adjustment operation on the subpage.
  • the terminal effectively avoids moving the sub-page due to the user accidentally touching the touch panel.
  • the state corresponding to the subpage includes a movable state and a fixed state. When the subpage is in a fixed state, the subpage cannot be moved.
  • the terminal can respond to the position adjustment operation acting on the subpage to switch the state corresponding to the subpage from the fixed state to the movable state.
  • FIG. 6 is a schematic diagram of adjusting a subpage to a target position in an embodiment.
  • the terminal may determine the target position corresponding to the subpage according to the position adjustment operation, and move the subpage to the target position. When the sub-page moves to the target position, the corresponding state of the sub-page is switched from the movable state to the fixed state.
  • the terminal may also compare the determined target position with the edge frame corresponding to the main page to determine the target position corresponding to the main page. Whether the edge boxes overlap.
  • the terminal can move the subpage to the target position.
  • the terminal can close the sub-page and the front camera. Provides a way for users to quickly close the sub-page and front camera, which is convenient for users to close the sub-page and front camera, which effectively improves the user experience.
  • the terminal receives the position adjustment operation acting on the subpage, and responds to the position adjustment operation to switch the state corresponding to the subpage to the movable state, effectively avoiding the user accidentally touching the touch panel and moving the subpage.
  • the terminal determines the target position corresponding to the sub-page according to the position adjustment operation, and moves the sub-page to the target position, thereby moving the position of the sub-page, thereby displaying the sub-page at the target position according to the actual needs of the user, effectively improving the page display The convenience.
  • the above method further includes: when the area corresponding to the sub-page is greater than or equal to a preset threshold, displaying a photographing control on the sub-page; receiving a photographing operation that triggers the photographing control, and recording the data collected by the front camera according to the photographing operation Image data.
  • the terminal can verify the area corresponding to the displayed subpage. Specifically, the terminal may compare the area corresponding to the sub-page with a preset threshold, and determine whether the area corresponding to the sub-page is smaller than the preset threshold.
  • the preset threshold can be preset by the user according to actual needs.
  • the preset threshold can be the area area of the sub-page, the preset threshold can also be the area size of the sub-page, and the preset threshold can also be the area of the sub-page in the alien screen. Wait.
  • the terminal can display the camera control on the sub-page, so that the user can trigger the camera control to take a photo.
  • the terminal can receive the photographing operation that triggers the photographing control, and record the image data collected by the front camera according to the photographing operation to realize the photographing.
  • the terminal may not display the photographing control in the sub-page.
  • the terminal may record the preset threshold for determining whether to display the photographing control as the first threshold.
  • the terminal may also obtain a second threshold.
  • the second threshold may also be preset by the user according to requirements, and the second threshold is smaller than the first threshold.
  • the terminal can compare the area corresponding to the subpage according to the second threshold. When the area corresponding to the subpage is greater than or equal to the second threshold, the terminal may continue to display the subpage. When the area corresponding to the sub-page is smaller than the second threshold, the terminal may turn off the sub-page and the camera.
  • the terminal can display the camera control on the sub-page, receive the camera operation that triggers the camera control, and record the image data collected by the front camera according to the camera operation. It is convenient for users to take photos according to the camera controls displayed in the sub-page, which effectively improves the convenience of page display.
  • a page display processing device based on a special-shaped screen including: a main page display module 702, an operation receiving module 704, and a sub page display module 706, wherein:
  • the main page display module 702 is used for displaying the main page based on the special-shaped screen including the sensor hole.
  • the operation receiving module 704 is configured to receive a trigger operation acting on a preset area of the main page, and the preset area is an area corresponding to the sensor hole.
  • the sub-page display module 706 is used to respond to the trigger operation and display the sub-page on the main page; start the front camera according to the trigger operation, and display the image data collected by the front camera through the sub-page.
  • the above-mentioned page display processing device based on the special-shaped screen further includes an operation verification module for obtaining the trigger operation type corresponding to the preset sub-page; Verification result; when the verification result is a successful verification, respond to the trigger operation.
  • the above-mentioned sub-page display module 706 is further configured to receive an area adjustment operation that is continuous with the trigger operation; respond to the area adjustment operation, adjust the area corresponding to the sub-page, and determine the target area on the main page; The area displays sub-pages on the main page.
  • the above-mentioned page display processing device based on the special-shaped screen further includes a position adjustment module for receiving a position adjustment operation acting on the subpage; in response to the position adjustment operation, switching the state corresponding to the subpage to a movable state; Determine the target position corresponding to the sub-page according to the position adjustment operation, and move the sub-page to the target position.
  • the above-mentioned position adjustment module is also used to compare the target position with the edge frame corresponding to the main page; when the target position overlaps the edge frame, turn off the sub-page and the front camera.
  • the above-mentioned page display processing device based on the shaped screen further includes a photographing module, configured to display a photographing control on the sub-page when the area corresponding to the sub-page is greater than or equal to a preset threshold; receiving a photograph that triggers the photographing control Operation: Record the image data collected by the front camera according to the camera operation.
  • a photographing module configured to display a photographing control on the sub-page when the area corresponding to the sub-page is greater than or equal to a preset threshold; receiving a photograph that triggers the photographing control Operation: Record the image data collected by the front camera according to the camera operation.
  • the page display processing device based on the special-shaped screen For the specific limitation of the page display processing device based on the special-shaped screen, please refer to the above limitation on the page display processing method based on the special-shaped screen, which will not be repeated here.
  • the various modules in the above-mentioned page display processing device based on special-shaped screens can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 8.
  • the computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize a page display processing method based on a special-shaped screen.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, a trackball or a touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
  • FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and a processor, and a computer program is stored in the memory.
  • the processor executes the computer program to implement the steps in the above embodiment of the page display processing method based on the shaped screen.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned embodiment of the page display processing method based on the special-shaped screen are realized.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Abstract

The present application relates to a special-shaped screen-based page display processing method and apparatus, a computer device, and a storage medium. Said method comprises: displaying a main page on the basis of a special-shaped screen including a sensor hole; receiving a trigger operation acting on a preset region of the main page, the preset region being a region corresponding to the sensor hole; displaying a sub-page on the main page in response to the trigger operation; and starting a front-facing camera according to the trigger operation, and displaying, by means of the sub-page, image data acquired by the front-facing camera. By means of the method, a page of an image acquired by a front-facing camera can be displayed on a sub-page, without affecting a main page, thereby effectively improving the convenience of page display.

Description

基于异形屏的页面显示处理方法、装置、计算机设备和存储介质Special-shaped screen-based page display processing method, device, computer equipment and storage medium
本申请要求于2020年2月13日提交中国专利局,申请号为202010090555.5,申请名称为“基于异形屏的页面显示处理方法、装置和计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on February 13, 2020, the application number is 202010090555.5, and the application title is "Page display processing method, device and computer equipment based on special-shaped screens", all of which are approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种基于异形屏的页面显示处理方法、装置、计算机设备和存储介质。This application relates to the field of computer technology, and in particular to a page display processing method, device, computer equipment, and storage medium based on a special-shaped screen.
背景技术Background technique
随着计算机技术的发展,移动终端在人们日常生活中的作用不断提高,使用频率逐渐增大。其中,移动终端的前置摄像头作为移动终端的主要图像传感设备之一,也是被用户经常使用。例如,用户可以启动前置摄像头进行自拍,也可以根据前置摄像头采集的图像将终端当作镜子使用,还可以用于观察用户身后环境等。With the development of computer technology, the role of mobile terminals in people's daily life continues to increase, and the frequency of use is gradually increasing. Among them, the front camera of the mobile terminal, as one of the main image sensing devices of the mobile terminal, is also frequently used by users. For example, the user can start the front camera to take a selfie, or use the terminal as a mirror based on the image collected by the front camera, and can also be used to observe the environment behind the user.
在传统方式中,用户需要移动终端显示前置摄像头对应的拍照页面时,通常需要在移动终端的控制页找到对应的相机图标,触发对应的控件才能启动前置摄像头。当移动终端的当前页面正在运行应用程序时,还需要退出应用程序的当前页面,才能显示前置摄像头对应的页面,整个过程比较不方便。In the traditional way, when the user needs the mobile terminal to display the photo page corresponding to the front camera, the user usually needs to find the corresponding camera icon on the control page of the mobile terminal and trigger the corresponding control to start the front camera. When an application is running on the current page of the mobile terminal, it is also necessary to exit the current page of the application to display the page corresponding to the front camera, which is relatively inconvenient.
发明内容Summary of the invention
基于此,有必要针对上述便利性较低的技术问题,提供一种能够提高页面显示的便利性的基于异形屏的页面显示处理方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a page display processing method, device, computer device, and storage medium based on a special-shaped screen that can improve the convenience of page display in order to solve the above-mentioned technical problem of low convenience.
一种基于异形屏的页面显示处理方法,所述方法包括:A page display processing method based on a special-shaped screen, the method comprising:
基于包括传感器孔的异形屏显示主页面;Display the main page based on the special-shaped screen including the sensor hole;
接收作用于所述主页面的预设区域的触发操作,所述预设区域为所述传感器孔对应的区域;Receiving a trigger operation acting on a preset area of the main page, where the preset area is an area corresponding to the sensor hole;
响应所述触发操作,在所述主页面上显示子页面;In response to the trigger operation, display a sub-page on the main page;
根据所述触发操作启动前置摄像头,通过所述子页面显示所述前置摄像头采集的图像数据。The front camera is started according to the trigger operation, and the image data collected by the front camera is displayed through the sub-page.
在其中一个实施例中,在所述响应所述触发操作之前,所述方法还包括:In one of the embodiments, before the responding to the trigger operation, the method further includes:
获取预设的所述子页面对应的触发操作类型;Obtaining a preset trigger operation type corresponding to the subpage;
根据所述触发操作类型对所述触发操作进行触发校验,得到校验结果;Performing trigger verification on the trigger operation according to the trigger operation type to obtain a verification result;
当所述校验结果为校验成功时,响应所述触发操作。When the verification result is that the verification is successful, respond to the trigger operation.
在其中一个实施例中,所述响应所述触发操作,在所述主页面上显示子页面包括:In one of the embodiments, the displaying a sub-page on the main page in response to the trigger operation includes:
接收与所述触发操作连续的区域调整操作;Receiving an area adjustment operation that is continuous with the trigger operation;
响应所述区域调整操作,对子页面对应的区域进行调整,确定位于所述主页面上的目标区域;In response to the area adjustment operation, adjust the area corresponding to the subpage, and determine the target area on the main page;
根据所述目标区域在所述主页面上显示所述子页面。Displaying the sub-page on the main page according to the target area.
在其中一个实施例中,所述方法还包括:In one of the embodiments, the method further includes:
接收作用于所述子页面的位置调整操作;Receiving a position adjustment operation acting on the subpage;
响应所述位置调整操作,将所述子页面对应的状态切换为可移动状态;In response to the position adjustment operation, switch the state corresponding to the subpage to a movable state;
根据所述位置调整操作确定所述子页面对应的目标位置,将所述子页面移动至所述目标位置。The target position corresponding to the subpage is determined according to the position adjustment operation, and the subpage is moved to the target position.
在其中一个实施例中,在所述根据所述位置调整操作确定所述子页面对应的目标位置之后,所述方法还包括:In one of the embodiments, after the target position corresponding to the subpage is determined according to the position adjustment operation, the method further includes:
将所述目标位置与所述主页面对应的边缘框进行比对;Comparing the target position with the edge frame corresponding to the main page;
当所述目标位置与所述边缘框重叠时,关闭所述子页面和所述前置摄像头。When the target position overlaps the edge frame, the sub-page and the front camera are turned off.
在其中一个实施例中,所述方法还包括:In one of the embodiments, the method further includes:
当所述子页面对应的区域大于或等于预设阈值时,在所述子页面上显示拍照控件;When the area corresponding to the sub-page is greater than or equal to the preset threshold, displaying a photo control on the sub-page;
接收触发所述拍照控件的拍照操作,根据所述拍照操作记录所述前置摄像头采集的图像数据。Receive a photographing operation that triggers the photographing control, and record the image data collected by the front camera according to the photographing operation.
一种基于异形屏的页面显示处理装置,所述装置包括:A page display processing device based on a special-shaped screen, the device comprising:
主页面显示模块,用于基于包括传感器孔的异形屏显示主页面;The main page display module is used to display the main page based on the special-shaped screen including the sensor hole;
操作接收模块,用于接收作用于所述主页面的预设区域的触发操作,所述预设区域为所述传感器孔对应的区域;An operation receiving module, configured to receive a trigger operation acting on a preset area of the main page, the preset area being an area corresponding to the sensor hole;
子页面显示模块,用于响应所述触发操作,在所述主页面上显示子页面;根据所述触发操作启动前置摄像头,通过所述子页面显示所述前置摄像头采集的图像数据。The sub-page display module is configured to display a sub-page on the main page in response to the trigger operation; start the front camera according to the trigger operation, and display the image data collected by the front camera through the sub-page.
在其中一个实施例中,所述子页面显示模块还用于接收与所述触发操作连续的区域调整操作;响应所述区域调整操作,对子页面对应的区域进行调整,确定位于所述主页面上的目标区域;根据所述目标区域在所述主页面上显示所述子页面。In one of the embodiments, the sub-page display module is further configured to receive an area adjustment operation that is continuous with the trigger operation; in response to the area adjustment operation, adjust the area corresponding to the sub-page to determine that it is located on the main page The target area on the upper; according to the target area, the sub-page is displayed on the main page.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述基于异形屏的页面显示处理方法的步骤。A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above-mentioned page display processing method based on a special-shaped screen when the computer program is executed.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述基于异形屏的页面显示处理方法的步骤。A computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned page display processing method based on a special-shaped screen are realized.
上述基于异形屏的页面显示处理方法、装置、计算机设备和存储介质,基于包括传感器孔的异形屏显示主页面,接收到作用于主页面的预设区域的触发操作,响应触发操作,在主页面上显示子页面。预设区域为传感器孔对应的区域。在异形屏中传感器孔的位置是固定的,主页面中始终存在传感器孔对应的区域,便于进行作用于主页面的预设区域的触发操作,更加方便的触发前置摄像头。根据触发操作启动前置摄像头,通过子页面显示前 置摄像头采集的图像数据,可以在子页面显示前置摄像头采集图像的页面,不影响主页面,有效的提高了页面显示的便利性。The above-mentioned page display processing method, device, computer equipment and storage medium based on the abnormal-shaped screen display the main page based on the abnormal-shaped screen including the sensor hole, receive the trigger operation acting on the preset area of the main page, and respond to the trigger operation in the main page The sub-page is displayed on the screen. The preset area is the area corresponding to the sensor hole. The position of the sensor hole in the special-shaped screen is fixed, and there is always an area corresponding to the sensor hole in the main page, which is convenient for triggering the preset area of the main page, and it is more convenient to trigger the front camera. The front camera is started according to the trigger operation, and the image data collected by the front camera is displayed on the subpage. The page of the image collected by the front camera can be displayed on the subpage without affecting the main page, which effectively improves the convenience of page display.
附图说明Description of the drawings
图1为一个实施例中基于异形屏的页面显示处理方法的应用环境图;FIG. 1 is an application environment diagram of a page display processing method based on a special-shaped screen in an embodiment;
图2为一个实施例中基于异形屏的页面显示处理方法的流程示意图;2 is a schematic flowchart of a page display processing method based on a special-shaped screen in an embodiment;
图3为一个实施例中页面显示示意图;Fig. 3 is a schematic diagram of page display in an embodiment;
图4为一个实施例中响应触发操作,在主页面上显示子页面步骤的流程示意图;FIG. 4 is a schematic flowchart of a step of displaying sub-pages on the main page in response to a trigger operation in an embodiment;
图5为一个实施例中调整子页面对应区域的示意图;FIG. 5 is a schematic diagram of adjusting the corresponding area of a subpage in an embodiment;
图6为一个实施例中调整子页面至目标位置的示意图;FIG. 6 is a schematic diagram of adjusting a subpage to a target position in an embodiment;
图7为一个实施例中基于异形屏的页面显示处理装置的结构框图;FIG. 7 is a structural block diagram of a page display processing device based on a special-shaped screen in an embodiment;
图8为一个实施例中计算机设备的内部结构图。Fig. 8 is an internal structure diagram of a computer device in an embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer and clearer, the following further describes the application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
本申请提供的基于异形屏的页面显示处理方法,可以应用于如图1所示的移动终端100中。其中,移动终端100包括显示屏。移动终端100的显示屏为异形屏102,异形屏102中包括传感器孔104。移动终端100基于包括传感器孔104的异形屏102显示主页面。移动终端100接收作用于主页面的预设区域的触发操作,预设区域为传感器孔104对应的区域。移动终端100响应触发操作,在主页面上显示子页面。移动终端100根据触发操作启动前置摄像头,通过子页面显示前置摄像头采集的图像数据。其中,移动终端100可以包括但不限于是各种笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。The page display processing method based on the special-shaped screen provided in this application can be applied to the mobile terminal 100 as shown in FIG. 1. Among them, the mobile terminal 100 includes a display screen. The display screen of the mobile terminal 100 is a special-shaped screen 102, and the special-shaped screen 102 includes a sensor hole 104. The mobile terminal 100 displays the home page based on the special-shaped screen 102 including the sensor hole 104. The mobile terminal 100 receives a trigger operation acting on a preset area of the main page, and the preset area is an area corresponding to the sensor hole 104. In response to the trigger operation, the mobile terminal 100 displays a sub-page on the main page. The mobile terminal 100 activates the front camera according to the trigger operation, and displays the image data collected by the front camera through the sub-page. Among them, the mobile terminal 100 may include, but is not limited to, various notebook computers, smart phones, tablet computers, and portable wearable devices.
在一个实施例中,如图2所示,提供了一种基于异形屏的页面显示处理方法,以该方法应用于图1中的移动终端100为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a page display processing method based on a special-shaped screen is provided. Taking the method applied to the mobile terminal 100 in FIG. 1 as an example for description, the method includes the following steps:
步骤202,基于包括传感器孔的异形屏显示主页面。Step 202: Display the main page based on the special-shaped screen including the sensor hole.
移动终端(以下简称“终端”)可以包括显示屏,显示屏可以是触摸显示屏,触摸显示屏具体可以包括但不限于显示面板和触摸面板。显示面板可以作为终端的输出设备,将用户界面(User Interface,简称UI)、应用程序页面、网页页面等信息在显示屏上显示。显示面板具体可以是液晶显示器(Liquid Crystal Display,简称LCD)、发光二极管(Light Emitting Diode,简称LED)或者有机发光二极管(Organic Light-Emitting Diode,简称OLED)等。触摸面板又可以成为“触摸屏”或者“触控屏”,可以作为终端的输入设备,接收用户在触摸面板上的多种类型的操作,将用户操作输入至终端进行处理。终端的触摸面板可以是红外式触摸面板、电阻式触摸面板、表面声波式触摸面板以及电容式触摸面板中的一 种。可以通过显示面板和触摸面板构成终端的显示屏,终端可以在显示屏上显示一种或多种页面,用户可以根据显示屏上显示的页面,在显示屏上进行对应操作。终端可以通过显示屏接收用户操作,执行与用户操作相对应的处理。The mobile terminal (hereinafter referred to as the "terminal") may include a display screen, and the display screen may be a touch display screen. The touch display screen may specifically include, but is not limited to, a display panel and a touch panel. The display panel can be used as an output device of the terminal to display user interface (User Interface, UI for short), application pages, web pages and other information on the display screen. The display panel may specifically be a liquid crystal display (Liquid Crystal Display, abbreviated as LCD), a light emitting diode (Light Emitting Diode, abbreviated as LED), or an organic light-emitting diode (Organic Light-Emitting Diode, abbreviated as OLED), etc. The touch panel can also become a "touch screen" or a "touch screen", which can be used as an input device of the terminal, receiving various types of operations from the user on the touch panel, and inputting the user operations to the terminal for processing. The touch panel of the terminal may be one of an infrared touch panel, a resistive touch panel, a surface acoustic wave touch panel, and a capacitive touch panel. The display panel of the terminal can be constituted by the display panel and the touch panel, and the terminal can display one or more kinds of pages on the display screen, and the user can perform corresponding operations on the display screen according to the pages displayed on the display screen. The terminal can receive user operations through the display screen and execute processing corresponding to the user operations.
为了提高终端的显示屏占比,给用户更好的视觉效果,出现了异形屏设计。异形屏是指在终端的显示面板中裁切掉一部分的显示屏。显示面板中裁切出的部分可以记为传感器孔。传感器孔具体可以用于放置包括前置摄像头、光传感器、距离传感器以及红外摄像头等传感器。传感器孔的大小和形状可以根据实际需求进行调整。传感器孔通常开设在异形屏的左上角。在其中一个实施例中,传感器孔也可以开设在异形屏的其他位置。开设的传感器孔用于将终端的部分传感器放置在显示屏内,从而增大终端的屏幕占比,缩小了前置摄像头等传感器在显示屏中的占比,尽可能的实现全面屏设计。In order to increase the proportion of the display screen of the terminal and give users a better visual effect, a special-shaped screen design has appeared. The special-shaped screen refers to a display screen that has been cut out of a part of the display panel of the terminal. The cut out part of the display panel can be recorded as a sensor hole. The sensor hole can be used to place sensors including a front camera, a light sensor, a distance sensor, and an infrared camera. The size and shape of the sensor hole can be adjusted according to actual needs. The sensor hole is usually opened in the upper left corner of the special-shaped screen. In one of the embodiments, the sensor holes can also be opened in other positions of the special-shaped screen. The opened sensor holes are used to place part of the terminal's sensors in the display screen, thereby increasing the screen proportion of the terminal, reducing the proportion of the front camera and other sensors in the display screen, and realizing a full-screen design as much as possible.
终端可以基于包括传感器孔的异形屏显示主页面,主页面可以是终端在运行过程中显示的界面。主页面具体可以包括但不限于终端对应的锁屏界面、桌面界面、网页页面以及应用程序页面等。例如,终端接收到用户的激活操作时,可以激活异形屏,在包括传感器孔的异形屏上显示锁屏界面或桌面界面。当用户需要浏览网页或者使用应用程序时,终端可以根据对应的用户操作在包括传感器孔的异形屏上显示网页页面或者应用程序页面,以供用户使用终端包括的多种功能。The terminal may display a main page based on a special-shaped screen including a sensor hole, and the main page may be an interface displayed during the operation of the terminal. The main page can specifically include, but is not limited to, a lock screen interface, a desktop interface, a web page, and an application page corresponding to the terminal. For example, when the terminal receives the user's activation operation, it can activate the special-shaped screen, and display the lock screen interface or the desktop interface on the special-shaped screen including the sensor hole. When a user needs to browse a webpage or use an application program, the terminal may display a webpage page or an application program page on the special-shaped screen including the sensor hole according to the corresponding user operation, so that the user can use various functions included in the terminal.
步骤204,接收作用于主页面的预设区域的触发操作,预设区域为传感器孔对应的区域。Step 204: Receive a trigger operation acting on a preset area of the main page, where the preset area is an area corresponding to the sensor hole.
终端可以通过异形屏中的触摸面板,接收用户在异形屏上的操作。其中,终端可以在主页面上的不同位置显示不同的图标或虚拟控件,当用户通过触摸面板在主页面上的不同区域进行操作时,终端可以接收到不同区域对应的操作。The terminal can receive the user's operations on the special-shaped screen through the touch panel in the special-shaped screen. Among them, the terminal can display different icons or virtual controls at different positions on the homepage. When the user operates in different areas on the homepage through the touch panel, the terminal can receive operations corresponding to the different areas.
具体的,当用户需要启动前置摄像头时,可以在终端的主页面上进行触发操作。终端可以获取用户在主页面上的操作位置,接收作用于主页面的预设区域的触发操作。终端接收到的触发操作具体可以是多种触发操作类型中的一种。例如,终端接收到的触发操作可以是点击操作,也可以是滑动操作。触发操作可以是单点控制操作,也可以是多点控制操作。Specifically, when the user needs to start the front camera, a trigger operation can be performed on the main page of the terminal. The terminal can obtain the user's operating position on the main page, and receive a trigger operation that acts on a preset area of the main page. The trigger operation received by the terminal may specifically be one of multiple trigger operation types. For example, the trigger operation received by the terminal may be a click operation or a sliding operation. The trigger operation can be a single-point control operation or a multi-point control operation.
预设区域可以是异形屏的传感器孔所对应预设范围内的区域。可以理解的,异形屏中显示面板部分被裁切,而触摸面板是完整的未被裁切,传感器孔对应区域的触摸面板可以接收用户的操作。预设区域对应的预设范围可以是用户根据实际需求预先设置的。预设区域的大小、比例以及形状均可以根据实际需求进行设置。例如,预设区域可以是用户根据实际需求预先设置的,以传感器孔为中心,向外延伸3毫米的矩形区域。预设区域的形状具体还可以包括但不限于菱形、圆形、椭圆形等。由于预设区域是传感器孔周围的区域,而传感器孔在异形屏中是固定存在的。因此,用户可以在视觉上将传感器孔对应的预设区域视为固定控件,即使主页面包括不同的内容,用户均可以在传感器孔对应的预设区域进行触发操作,不需要退出主页面寻找对应的虚拟控件,有效的提高了进行触发操作的便利 性。The preset area may be an area within a preset range corresponding to the sensor hole of the special-shaped screen. It is understandable that the display panel part of the special-shaped screen is cut, but the touch panel is intact and uncut, and the touch panel in the area corresponding to the sensor hole can receive the user's operation. The preset range corresponding to the preset area may be preset by the user according to actual needs. The size, proportion and shape of the preset area can be set according to actual needs. For example, the preset area may be preset by the user according to actual needs, with the sensor hole as the center, and a rectangular area extending 3 mm outward. The shape of the preset area may also specifically include, but is not limited to, a rhombus, a circle, an ellipse, and the like. Since the preset area is the area around the sensor hole, the sensor hole is fixed in the special-shaped screen. Therefore, the user can visually regard the preset area corresponding to the sensor hole as a fixed control. Even if the main page contains different content, the user can trigger the operation in the preset area corresponding to the sensor hole without having to exit the main page to find the corresponding The virtual controls effectively improve the convenience of triggering operations.
步骤206,响应触发操作,在主页面上显示子页面。Step 206: In response to the trigger operation, display the sub-page on the main page.
步骤208,根据触发操作启动前置摄像头,通过子页面显示前置摄像头采集的图像数据。Step 208: Start the front camera according to the trigger operation, and display the image data collected by the front camera through the sub-page.
终端可以响应接收到的触发操作,生成子页面。终端可以在主页面上显示生成的子页面。其中,子页面的区域可以小于或等于主页面。终端可以通过多种方式在主页面上显示子页面。例如,终端可以生成悬浮式的子页面,子页面可以悬浮在主页面上进行显示。终端还可以生成嵌入式的子页面,将子页面嵌入在主页面中进行显示。如图3所示,图3为一个实施例中终端对应的页面显示示意图,终端可以通过异形屏显示主页面和子页面。The terminal can generate sub-pages in response to the received trigger operation. The terminal can display the generated sub-pages on the main page. Among them, the area of the subpage can be smaller than or equal to the main page. The terminal can display sub-pages on the main page in a variety of ways. For example, the terminal can generate suspended sub-pages, and the sub-pages can be suspended on the main page for display. The terminal can also generate embedded sub-pages, which are embedded in the main page for display. As shown in FIG. 3, FIG. 3 is a schematic diagram of page display corresponding to the terminal in an embodiment, and the terminal may display the main page and the sub-pages through the special-shaped screen.
在其中一个实施例中,用户可以通过异形屏调整子页面的透明度,可以在显示子页面的同时不影响显示主页面。而且,当用户怀疑身后存在偷窥时,也可以调整子页面的透明度,在通过子页面观察身后情况的同时,将子页面弱化,避免被偷窥者发现。In one of the embodiments, the user can adjust the transparency of the sub-page through the special-shaped screen, and the sub-page can be displayed without affecting the display of the main page. Moreover, when the user suspects that there is a peeping behind him, the transparency of the sub-page can also be adjusted. While observing the situation behind him through the sub-page, the sub-page is weakened to avoid being discovered by the peepers.
终端可以根据接收到的触发操作,启动终端对应的前置摄像头。前置摄像头可以通过异形屏中的传感器孔采集对应范围内的图像数据。可以理解的,当前置摄像头以较快帧率采集图像时,可以获取前置摄像头采集的视频数据。终端可以在主页面显示内容不变的情况下,通过子页面显示前置摄像头采集的图像数据。The terminal can activate the front camera corresponding to the terminal according to the received trigger operation. The front camera can collect image data in the corresponding range through the sensor hole in the special-shaped screen. It is understandable that when the front camera collects images at a faster frame rate, the video data collected by the front camera can be obtained. The terminal can display the image data collected by the front camera through the sub-page under the condition that the content displayed on the main page remains unchanged.
在本实施例中,终端可以基于包括传感器孔的异形屏显示主页面,以供用户使用终端的多种功能。终端可以接收作用于主页面的预设区域的触发操作,预设区域为传感器孔对应的区域。传感器孔在异形屏的固定位置,用户可以通过传感器孔对应的预设区域快速进行触发操作,相较于传统方式,不需要寻找桌面页面中前置摄像头对应的虚拟控件进行触发,有效的提高了进行触发操作的便利性。而且,终端可以响应触发操作,在主页面上显示子页面,根据触发操作启动前置摄像头,通过子页面显示前置摄像头采集的图像数据,不影响主页面显示。相较于传统方式,不需要退出主页面。避免影响用户在主页面上的当前操作,有效的提高了页面显示的便利性。便于用户方便、快速的触发前置摄像头,有效的提高了用户体验。In this embodiment, the terminal may display a main page based on a special-shaped screen including a sensor hole, so that the user can use various functions of the terminal. The terminal may receive a trigger operation acting on a preset area of the main page, and the preset area is an area corresponding to the sensor hole. The sensor hole is at a fixed position on the special-shaped screen, and the user can quickly trigger the operation through the preset area corresponding to the sensor hole. Compared with the traditional way, there is no need to search for the virtual control corresponding to the front camera on the desktop page to trigger, which effectively improves Convenience of triggering operations. Moreover, the terminal can respond to the trigger operation, display a subpage on the main page, start the front camera according to the trigger operation, and display the image data collected by the front camera through the subpage without affecting the main page display. Compared with the traditional way, there is no need to exit the main page. Avoid affecting the user's current operations on the main page, effectively improving the convenience of page display. It is convenient for users to trigger the front camera conveniently and quickly, which effectively improves the user experience.
在一个实施例中,在响应触发操作之前,上述方法还包括:获取预设的子页面对应的触发操作类型;根据触发操作类型对触发操作进行触发校验,得到校验结果;当校验结果为校验成功时,响应触发操作。In one embodiment, before responding to the trigger operation, the above method further includes: obtaining the trigger operation type corresponding to the preset subpage; performing trigger verification on the trigger operation according to the trigger operation type to obtain the verification result; when the verification result is When the verification is successful, respond to the trigger operation.
终端在接收到作用于主页面的预设区域的触发操作之后,可以获取预设的子页面对应的触发操作类型。子页面对应的触发操作类型可以是用户根据实际需求预先设置的多种操作类型中的至少一种。具体的,子页面对应的触发操作类型可以是多种操作类型中的一种。例如,子页面对应的触发操作类型可以是单击操作、双击操作、三击操作或者滑动操作中的一种。子页面对应的触发操作类型也可以是多种操作类型的结合。例如,子页面对应的触发操作类型可以是双指滑动操作。在其中一个实施例中,终端可以响应不同类型的触发操作,基于预设的操作类型与指令的映射关系,终端可以根据不同类型的触发操作执行不 同的任务。例如,启动前置摄像头对应的操作类型可以是单击操作,调整显示亮度对应的操作类型可以是滑动操作。终端可以基于不同类型的触发操作执行不同的任务。After receiving the trigger operation that acts on the preset area of the main page, the terminal can obtain the trigger operation type corresponding to the preset subpage. The trigger operation type corresponding to the subpage may be at least one of multiple operation types preset by the user according to actual needs. Specifically, the trigger operation type corresponding to the subpage may be one of multiple operation types. For example, the trigger operation type corresponding to the subpage may be one of a single-click operation, a double-click operation, a triple-click operation, or a sliding operation. The trigger operation type corresponding to the subpage can also be a combination of multiple operation types. For example, the trigger operation type corresponding to the subpage may be a two-finger swipe operation. In one of the embodiments, the terminal can respond to different types of trigger operations. Based on the preset mapping relationship between operation types and instructions, the terminal can perform different tasks according to different types of trigger operations. For example, the operation type corresponding to starting the front camera may be a single-click operation, and the operation type corresponding to adjusting the display brightness may be a sliding operation. The terminal can perform different tasks based on different types of trigger operations.
终端可以根据子页面对应的触发操作类型,对接收到的作用于预设区域的触发操作进行触发校验。具体的,终端可以获取接收到的触发操作对应的操作类型,将触发操作的操作类型与预设的触发操作类型进行比对,判断操作类型与预设的触发操作类型是否一致。The terminal can perform trigger verification on the received trigger operation that acts on the preset area according to the trigger operation type corresponding to the subpage. Specifically, the terminal may obtain the operation type corresponding to the received trigger operation, compare the operation type of the trigger operation with the preset trigger operation type, and determine whether the operation type is consistent with the preset trigger operation type.
当操作类型与预设的触发操作类型不一致时,终端确定触发校验结果为校验失败,终端可以忽略接收到的预设区域对应的触发操作。当不存在一致的预设操作时,终端可以忽略接收到的触发操作。当操作类型与预设的触发操作类型一致时,终端确定触发校验结果为校验成功,终端可以继续响应接收到的预设区域对应的触发操作。When the operation type is inconsistent with the preset trigger operation type, the terminal determines that the trigger verification result is a verification failure, and the terminal may ignore the received trigger operation corresponding to the preset area. When there is no consistent preset operation, the terminal may ignore the received trigger operation. When the operation type is consistent with the preset trigger operation type, the terminal determines that the trigger verification result is a successful verification, and the terminal may continue to respond to the received trigger operation corresponding to the preset area.
在其中一个实施例中,当触发校验失败时,终端还可以将预设区域的触发操作与其他预设操作进行比对,判断是否存在操作类型一致的预设操作。当存在一致的预设操作时,终端可以执行对应的预设操作。In one of the embodiments, when the trigger verification fails, the terminal may also compare the trigger operation of the preset area with other preset operations to determine whether there is a preset operation with the same operation type. When there is a consistent preset operation, the terminal can perform the corresponding preset operation.
在本实施例中,终端在响应触发操作之前,可以获取预设的与子页面对应的触发操作类型,根据触发操作类型对触发操作进行触发校验。当校验结果为校验成功时,终端可以响应触发操作,避免由于用户误触启动前置摄像头和显示子页面,有效的保证了子页面显示的准确性。In this embodiment, before responding to the trigger operation, the terminal may obtain the preset trigger operation type corresponding to the subpage, and perform trigger verification on the trigger operation according to the trigger operation type. When the verification result is that the verification is successful, the terminal can respond to the trigger operation to prevent the user from accidentally touching the front camera and displaying the sub-page, which effectively guarantees the accuracy of the sub-page display.
在一个实施例中,如图4所示,上述响应触发操作,在主页面上显示子页面的步骤包括:In one embodiment, as shown in FIG. 4, the step of displaying the sub-page on the main page in response to the above-mentioned triggering operation includes:
步骤402,接收与触发操作连续的区域调整操作。Step 402: Receive an area adjustment operation that is continuous with the trigger operation.
步骤404,响应区域调整操作,对子页面对应的区域进行调整,确定位于主页面上的目标区域。Step 404: In response to the area adjustment operation, the area corresponding to the subpage is adjusted, and the target area on the main page is determined.
步骤406,根据目标区域在主页面上显示子页面。Step 406: Display sub-pages on the main page according to the target area.
终端在接收到预设区域的触发操作之后,可以响应触发操作,在主页面上显示预设大小和形状的子页面。终端还可以在接收到触发操作之后,接收区域调整操作。区域调整操作可以是与触发操作连续的。例如,触发操作可以是点击操作。用户在需要终端显示子页面时,可以点击预设区域。终端可以响应接收到的预设区域的点击操作显示子页面。用户还可以在点击预设区域后,不松开触摸面板,连续进行区域调整操作。区域调整操作具体可以是滑动操作。用户可以在点击预设区域后连续进行滑动操作,以此对子页面对应的区域进行调整。After receiving the trigger operation of the preset area, the terminal can respond to the trigger operation and display a sub-page with a preset size and shape on the main page. The terminal can also receive the area adjustment operation after receiving the trigger operation. The zone adjustment operation can be continuous with the trigger operation. For example, the trigger operation may be a click operation. When the user needs the terminal to display a sub-page, he can click the preset area. The terminal may display the sub-page in response to the received click operation of the preset area. The user can also continuously adjust the area without releasing the touch panel after clicking the preset area. The region adjustment operation may specifically be a sliding operation. The user can continuously perform sliding operations after clicking the preset area to adjust the corresponding area of the subpage.
终端可以响应与触发操作连续的区域调整操作,区域调整操作可以包括调整方向和调整距离。终端可以根据调整方向和调整距离对子页面对应的区域进行调整。在其中一个实施例中,当区域调整操作为滑动操作时,终端可以在用户滑动操作的过程中动态显示调整的区域,以便于用户根据动态显示的区域进行区域调整操作。终端可以根据区域调整操作拉伸预设的子页面对应的区域。The terminal may respond to an area adjustment operation that is continuous with the trigger operation, and the area adjustment operation may include adjusting the direction and adjusting the distance. The terminal can adjust the area corresponding to the subpage according to the adjustment direction and adjustment distance. In one of the embodiments, when the area adjustment operation is a sliding operation, the terminal may dynamically display the adjusted area during the user's sliding operation, so that the user can perform the area adjustment operation according to the dynamically displayed area. The terminal can stretch the area corresponding to the preset subpage according to the area adjustment operation.
具体的,终端可以获取区域调整操作对应的触摸点,将预设的子页面区域中触摸点 的对角点作为固定点。在区域调整过程中,固定点所处的位置固定不动。终端可以根据调整方向和调整距离对触摸点进行调整,子页面对应的区域随着触摸点的变动而进行调整。如图5所示,图5为调整子页面对应区域的示意图,终端根据用户的区域调整操作扩大了子页面对应的区域。终端可以在响应区域调整操作,根据区域调整操作对子页面对应的区域进行调整之后,确定调整后的区域作为子页面对应的目标区域。终端可以根据目标区域在主页面上显示子页面。Specifically, the terminal may obtain the touch point corresponding to the area adjustment operation, and use the diagonal point of the touch point in the preset sub-page area as the fixed point. In the area adjustment process, the position of the fixed point is fixed. The terminal can adjust the touch point according to the adjustment direction and the adjustment distance, and the area corresponding to the sub-page is adjusted as the touch point changes. As shown in FIG. 5, FIG. 5 is a schematic diagram of adjusting the area corresponding to the subpage, and the terminal expands the area corresponding to the subpage according to the user's area adjustment operation. The terminal may respond to the area adjustment operation, and after adjusting the area corresponding to the subpage according to the area adjustment operation, determine the adjusted area as the target area corresponding to the subpage. The terminal can display sub-pages on the main page according to the target area.
在其中一个实施例中,终端在响应触发操作,显示子页面之后,还可以接收与触发操作不连续的区域调整操作。与触发操作不连续的区域调整操作具体可以是双指滑动操作等。终端在主页面上显示子页面之后,用户可以根据实际应用需求进行区域调整操作,终端可以根据与触发操作不连续的区域调整操作对子页面的区域大小、形状等进行调整,从而使得子页面的大小或形状符合实际应用需求,有效的提高了显示子页面的便利性。In one of the embodiments, after the terminal displays the sub-page in response to the trigger operation, it may also receive an area adjustment operation that is not continuous with the trigger operation. The region adjustment operation that is not continuous with the trigger operation may specifically be a two-finger sliding operation or the like. After the terminal displays the sub-page on the main page, the user can adjust the area according to actual application requirements. The terminal can adjust the area size and shape of the sub-page according to the area adjustment operation that is not continuous with the trigger operation, so as to make the sub-page The size or shape meets actual application requirements and effectively improves the convenience of displaying sub-pages.
在本实施例中,终端可以接收与触发操作连续的区域调整操作,响应区域调整操作,对子页面对应的区域进行调整,确定位于主页面上的目标区域。终端可以根据目标区域在主页面上显示子页面,从而显示满足用户实际应用需求的子页面,有效的提高了子页面显示的便利性。In this embodiment, the terminal may receive an area adjustment operation that is continuous with the trigger operation, and respond to the area adjustment operation to adjust the area corresponding to the subpage to determine the target area on the main page. The terminal can display sub-pages on the main page according to the target area, thereby displaying sub-pages that meet the actual application requirements of the user, which effectively improves the convenience of displaying the sub-pages.
在一个实施例中,上述方法还包括:接收作用于子页面的位置调整操作;响应位置调整操作,将子页面对应的状态切换为可移动状态;根据位置调整操作确定子页面对应的目标位置,将子页面移动至目标位置。In one embodiment, the above method further includes: receiving a position adjustment operation acting on the subpage; responding to the position adjustment operation, switching the state corresponding to the subpage to a movable state; determining the target position corresponding to the subpage according to the position adjustment operation, Move the subpage to the target location.
终端在主页面显示子页面之后,还可以接收作用于子页面的位置调整操作。当用户根据实际应用需求需要对子页面在主页面中的位置进行调整时,可以对子页面进行位置调整操作。位置调整操作可以是包括一种操作类型的操作,也可以是多种操作类型的结合。例如,位置调整操作可以是滑动操作。用户可以对子页面进行滑动操作,以此实现将子页面拖动至目标位置。位置调整操作还可以是按压操作和滑动操作的结合。After displaying the sub-page on the main page, the terminal may also receive a position adjustment operation on the sub-page. When the user needs to adjust the position of the subpage in the main page according to actual application requirements, the position adjustment operation can be performed on the subpage. The position adjustment operation may include one operation type or a combination of multiple operation types. For example, the position adjustment operation may be a sliding operation. The user can perform a sliding operation on the sub-page to realize the dragging of the sub-page to the target position. The position adjustment operation may also be a combination of a pressing operation and a sliding operation.
终端可以响应作用于子页面的位置调整操作,根据位置调整操作将子页面对应的状态切换为可移动状态。具体的,终端可以根据预设条件对位置调整操作进行校验。预设条件可以是用户根据实际需求预先设置的。例如,位置调整操作可以包括按压操作,预设条件具体可以包括但不限于预设按压时间或预设按压力度中的至少一种。The terminal may respond to the position adjustment operation acting on the subpage, and switch the state corresponding to the subpage to the movable state according to the position adjustment operation. Specifically, the terminal may verify the position adjustment operation according to preset conditions. The preset condition can be preset by the user according to actual needs. For example, the position adjustment operation may include a pressing operation, and the preset conditions may specifically include but are not limited to at least one of a preset pressing time or a preset pressing force.
当预设条件包括预设按压时间和预设按压力度时,终端可以通过异形屏中的触摸面板,以及触摸面板下的压力传感器,采集用户按压操作对应的按压时间和按压力度。终端可以将按压操作对应的按压时间和按压力度,分别与预设按压时间和预设按压力度进行比对。当按压操作对应的按压时间和按压力度符合预设按压时间和预设按压力度时,确定校验成功,终端响应位置调整操作,将子页面对应的状态切换为可移动状态。否则,确定校验失败,终端可以忽略作用于子页面的位置调整操作。终端通过对位置调整操作进行校验,有效的避免了因为用户误碰触摸面板而移动子页面。When the preset conditions include the preset pressing time and the preset pressing force, the terminal can collect the pressing time and pressing force corresponding to the user's pressing operation through the touch panel in the special-shaped screen and the pressure sensor under the touch panel. The terminal may compare the pressing time and pressing force corresponding to the pressing operation with the preset pressing time and preset pressing force, respectively. When the pressing time and pressing force corresponding to the pressing operation match the preset pressing time and the preset pressing force, it is determined that the verification is successful, and the terminal responds to the position adjustment operation to switch the state corresponding to the subpage to the movable state. Otherwise, it is determined that the verification fails, and the terminal can ignore the position adjustment operation on the subpage. By verifying the position adjustment operation, the terminal effectively avoids moving the sub-page due to the user accidentally touching the touch panel.
子页面对应的状态包括可移动状态和固定状态。当子页面处于固定状态时,子页面 是不可以被移动的。终端可以响应作用于子页面的位置调整操作,将子页面对应的状态从固定状态切换为可移动状态。如图6所示,图6为一个实施例中调整子页面至目标位置的示意图。终端可以根据位置调整操作确定子页面对应的目标位置,将子页面移动至目标位置。当子页面移动至目标位置后,子页面对应的状态由可移动状态切换为固定状态。The state corresponding to the subpage includes a movable state and a fixed state. When the subpage is in a fixed state, the subpage cannot be moved. The terminal can respond to the position adjustment operation acting on the subpage to switch the state corresponding to the subpage from the fixed state to the movable state. As shown in FIG. 6, FIG. 6 is a schematic diagram of adjusting a subpage to a target position in an embodiment. The terminal may determine the target position corresponding to the subpage according to the position adjustment operation, and move the subpage to the target position. When the sub-page moves to the target position, the corresponding state of the sub-page is switched from the movable state to the fixed state.
在其中一个实施例中,终端在根据位置调整操作确定子页面对应的目标位置之后,还可以将确定的目标位置与主页面对应的边缘框进行比对,判断目标位置与主页面对应的边缘框是否重叠。当目标位置与边缘框不重叠时,终端可以将子页面移动至目标位置。当目标位置与边缘框重叠时,终端可以关闭子页面和前置摄像头。为用户提供了一种快速关闭子页面和前置摄像头的方式,便于用户关闭子页面和前置摄像头,有效的提高了用户体验。In one of the embodiments, after the terminal determines the target position corresponding to the sub-page according to the position adjustment operation, it may also compare the determined target position with the edge frame corresponding to the main page to determine the target position corresponding to the main page. Whether the edge boxes overlap. When the target position does not overlap with the edge frame, the terminal can move the subpage to the target position. When the target position overlaps the edge frame, the terminal can close the sub-page and the front camera. Provides a way for users to quickly close the sub-page and front camera, which is convenient for users to close the sub-page and front camera, which effectively improves the user experience.
在本实施例中,终端接收作用于子页面的位置调整操作,响应位置调整操作,将子页面对应的状态切换为可移动状态,有效的避免了因为用户误碰触摸面板而移动子页面。终端根据位置调整操作确定子页面对应的目标位置,将子页面移动至目标位置,以此对子页面的位置进行移动,从而根据用户的实际需求在目标位置显示子页面,有效的提高了页面显示的便利性。In this embodiment, the terminal receives the position adjustment operation acting on the subpage, and responds to the position adjustment operation to switch the state corresponding to the subpage to the movable state, effectively avoiding the user accidentally touching the touch panel and moving the subpage. The terminal determines the target position corresponding to the sub-page according to the position adjustment operation, and moves the sub-page to the target position, thereby moving the position of the sub-page, thereby displaying the sub-page at the target position according to the actual needs of the user, effectively improving the page display The convenience.
在一个实施例中,上述方法还包括:当子页面对应的区域大于或等于预设阈值时,在子页面上显示拍照控件;接收触发拍照控件的拍照操作,根据拍照操作记录前置摄像头采集的图像数据。In one embodiment, the above method further includes: when the area corresponding to the sub-page is greater than or equal to a preset threshold, displaying a photographing control on the sub-page; receiving a photographing operation that triggers the photographing control, and recording the data collected by the front camera according to the photographing operation Image data.
终端可以对显示的子页面对应的区域进行校验。具体的,终端可以将子页面对应的区域与预设阈值进行比对,判断子页面对应的区域是否小于预设阈值。预设阈值可以是用户根据实际需求预先设置的,预设阈值可以是子页面的区域面积,预设阈值也可以是子页面的区域尺寸,预设阈值还可以是子页面在异形屏中的占比等。The terminal can verify the area corresponding to the displayed subpage. Specifically, the terminal may compare the area corresponding to the sub-page with a preset threshold, and determine whether the area corresponding to the sub-page is smaller than the preset threshold. The preset threshold can be preset by the user according to actual needs. The preset threshold can be the area area of the sub-page, the preset threshold can also be the area size of the sub-page, and the preset threshold can also be the area of the sub-page in the alien screen. Wait.
当子页面对应的区域大于或等于预设阈值时,表示子页面对应区域面积较大,终端可以在子页面上显示拍照控件,使得用户可以触发拍照控件进行拍照。终端可以接收触发拍照控件的拍照操作,根据拍照操作记录前置摄像头采集的图像数据,实现拍照。当子页面对应的区域小于预设阈值时,表示子页面对应的区域面积较小,终端可以不在子页面中显示拍照控件。When the area corresponding to the sub-page is greater than or equal to the preset threshold, it means that the area corresponding to the sub-page is large, and the terminal can display the camera control on the sub-page, so that the user can trigger the camera control to take a photo. The terminal can receive the photographing operation that triggers the photographing control, and record the image data collected by the front camera according to the photographing operation to realize the photographing. When the area corresponding to the sub-page is smaller than the preset threshold, it means that the area corresponding to the sub-page is small, and the terminal may not display the photographing control in the sub-page.
在其中一个实施例中,终端可以将用于确定是否显示拍照控件的预设阈值记为第一阈值。终端还可以获取第二阈值,第二阈值也可以是用户根据需求预先设置的,第二阈值小于第一阈值。终端可以根据第二阈值对子页面对应的区域进行比对。当子页面对应的区域大于或等于第二阈值时,终端可以继续显示子页面。当子页面对应的区域小于第二阈值时,终端可以关闭子页面和摄像头。为用户提供了一种快速关闭子页面和前置摄像头的方式,便于用户关闭子页面和前置摄像头,有效的提高了用户体验。In one of the embodiments, the terminal may record the preset threshold for determining whether to display the photographing control as the first threshold. The terminal may also obtain a second threshold. The second threshold may also be preset by the user according to requirements, and the second threshold is smaller than the first threshold. The terminal can compare the area corresponding to the subpage according to the second threshold. When the area corresponding to the subpage is greater than or equal to the second threshold, the terminal may continue to display the subpage. When the area corresponding to the sub-page is smaller than the second threshold, the terminal may turn off the sub-page and the camera. Provides a way for users to quickly close the sub-page and front camera, which is convenient for users to close the sub-page and front camera, which effectively improves the user experience.
在本实施例中,当子页面对应的区域大于或等于预设阈值时,表示子页面对应区域较大,有较大区域可以用于显示虚拟的拍照控件。终端可以在子页面上显示拍照控件,接 收触发拍照控件的拍照操作,根据拍照操作记录前置摄像头采集的图像数据。便于用户根据子页面中显示的拍照控件进行拍照,有效的提高了页面显示的便利性。In this embodiment, when the area corresponding to the subpage is greater than or equal to the preset threshold, it means that the area corresponding to the subpage is relatively large, and there is a relatively large area that can be used to display virtual camera controls. The terminal can display the camera control on the sub-page, receive the camera operation that triggers the camera control, and record the image data collected by the front camera according to the camera operation. It is convenient for users to take photos according to the camera controls displayed in the sub-page, which effectively improves the convenience of page display.
应该理解的是,虽然图2和图4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2和图4中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIG. 2 and FIG. 4 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in Figures 2 and 4 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. These sub-steps or The execution order of the stages is not necessarily carried out sequentially, but may be executed alternately or alternately with other steps or at least a part of other steps or sub-steps or stages.
在一个实施例中,如图7所示,提供了一种基于异形屏的页面显示处理装置,包括:主页面显示模块702、操作接收模块704和子页面显示模块706,其中:In one embodiment, as shown in FIG. 7, a page display processing device based on a special-shaped screen is provided, including: a main page display module 702, an operation receiving module 704, and a sub page display module 706, wherein:
主页面显示模块702用于基于包括传感器孔的异形屏显示主页面。The main page display module 702 is used for displaying the main page based on the special-shaped screen including the sensor hole.
操作接收模块704用于接收作用于主页面的预设区域的触发操作,预设区域为传感器孔对应的区域。The operation receiving module 704 is configured to receive a trigger operation acting on a preset area of the main page, and the preset area is an area corresponding to the sensor hole.
子页面显示模块706用于响应触发操作,在主页面上显示子页面;根据触发操作启动前置摄像头,通过子页面显示前置摄像头采集的图像数据。The sub-page display module 706 is used to respond to the trigger operation and display the sub-page on the main page; start the front camera according to the trigger operation, and display the image data collected by the front camera through the sub-page.
在一个实施例中,上述基于异形屏的页面显示处理装置还包括操作校验模块,用于获取预设的子页面对应的触发操作类型;根据触发操作类型对触发操作进行触发校验,得到校验结果;当校验结果为校验成功时,响应触发操作。In one embodiment, the above-mentioned page display processing device based on the special-shaped screen further includes an operation verification module for obtaining the trigger operation type corresponding to the preset sub-page; Verification result; when the verification result is a successful verification, respond to the trigger operation.
在一个实施例中,上述子页面显示模块706还用于接收与触发操作连续的区域调整操作;响应区域调整操作,对子页面对应的区域进行调整,确定位于主页面上的目标区域;根据目标区域在主页面上显示子页面。In one embodiment, the above-mentioned sub-page display module 706 is further configured to receive an area adjustment operation that is continuous with the trigger operation; respond to the area adjustment operation, adjust the area corresponding to the sub-page, and determine the target area on the main page; The area displays sub-pages on the main page.
在一个实施例中,上述基于异形屏的页面显示处理装置还包括位置调整模块,用于接收作用于子页面的位置调整操作;响应位置调整操作,将子页面对应的状态切换为可移动状态;根据位置调整操作确定子页面对应的目标位置,将子页面移动至目标位置。In one embodiment, the above-mentioned page display processing device based on the special-shaped screen further includes a position adjustment module for receiving a position adjustment operation acting on the subpage; in response to the position adjustment operation, switching the state corresponding to the subpage to a movable state; Determine the target position corresponding to the sub-page according to the position adjustment operation, and move the sub-page to the target position.
在一个实施例中,上述位置调整模块还用于将目标位置与主页面对应的边缘框进行比对;当目标位置与边缘框重叠时,关闭子页面和前置摄像头。In one embodiment, the above-mentioned position adjustment module is also used to compare the target position with the edge frame corresponding to the main page; when the target position overlaps the edge frame, turn off the sub-page and the front camera.
在一个实施例中,上述基于异形屏的页面显示处理装置还包括拍照模块,用于当子页面对应的区域大于或等于预设阈值时,在子页面上显示拍照控件;接收触发拍照控件的拍照操作,根据拍照操作记录前置摄像头采集的图像数据。In one embodiment, the above-mentioned page display processing device based on the shaped screen further includes a photographing module, configured to display a photographing control on the sub-page when the area corresponding to the sub-page is greater than or equal to a preset threshold; receiving a photograph that triggers the photographing control Operation: Record the image data collected by the front camera according to the camera operation.
关于基于异形屏的页面显示处理装置的具体限定可以参见上文中对于基于异形屏的页面显示处理方法的限定,在此不再赘述。上述基于异形屏的页面显示处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the page display processing device based on the special-shaped screen, please refer to the above limitation on the page display processing method based on the special-shaped screen, which will not be repeated here. The various modules in the above-mentioned page display processing device based on special-shaped screens can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图8所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种基于异形屏的页面显示处理方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 8. The computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to realize a page display processing method based on a special-shaped screen. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, a trackball or a touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述基于异形屏的页面显示处理方法实施例中的步骤。In one embodiment, a computer device is provided, including a memory and a processor, and a computer program is stored in the memory. The processor executes the computer program to implement the steps in the above embodiment of the page display processing method based on the shaped screen.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述基于异形屏的页面显示处理方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned embodiment of the page display processing method based on the special-shaped screen are realized.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种基于异形屏的页面显示处理方法,包括:A page display processing method based on a special-shaped screen, including:
    基于包括传感器孔的异形屏显示主页面;Display the main page based on the special-shaped screen including the sensor hole;
    接收作用于所述主页面的预设区域的触发操作,所述预设区域为所述传感器孔对应的区域;Receiving a trigger operation acting on a preset area of the main page, where the preset area is an area corresponding to the sensor hole;
    响应所述触发操作,在所述主页面上显示子页面;In response to the trigger operation, display a sub-page on the main page;
    根据所述触发操作启动前置摄像头,通过所述子页面显示所述前置摄像头采集的图像数据。The front camera is started according to the trigger operation, and the image data collected by the front camera is displayed through the sub-page.
  2. 根据权利要求1所述的方法,其中,在所述响应所述触发操作之前,所述方法还包括:The method according to claim 1, wherein, before the responding to the trigger operation, the method further comprises:
    获取预设的所述子页面对应的触发操作类型;Obtaining a preset trigger operation type corresponding to the subpage;
    根据所述触发操作类型对所述触发操作进行触发校验,得到校验结果;Performing trigger verification on the trigger operation according to the trigger operation type to obtain a verification result;
    当所述校验结果为校验成功时,响应所述触发操作。When the verification result is that the verification is successful, respond to the trigger operation.
  3. 根据权利要求1所述的方法,其中,所述响应所述触发操作,在所述主页面上显示子页面包括:The method according to claim 1, wherein, in response to the trigger operation, displaying a sub-page on the main page comprises:
    接收与所述触发操作连续的区域调整操作;Receiving an area adjustment operation that is continuous with the trigger operation;
    响应所述区域调整操作,对子页面对应的区域进行调整,确定位于所述主页面上的目标区域;In response to the area adjustment operation, adjust the area corresponding to the subpage, and determine the target area on the main page;
    根据所述目标区域在所述主页面上显示所述子页面。Displaying the sub-page on the main page according to the target area.
  4. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    接收作用于所述子页面的位置调整操作;Receiving a position adjustment operation acting on the subpage;
    响应所述位置调整操作,将所述子页面对应的状态切换为可移动状态;In response to the position adjustment operation, switch the state corresponding to the subpage to a movable state;
    根据所述位置调整操作确定所述子页面对应的目标位置,将所述子页面移动至所述目标位置。The target position corresponding to the subpage is determined according to the position adjustment operation, and the subpage is moved to the target position.
  5. 根据权利要求4所述的方法,其中,在所述根据所述位置调整操作确定所述子页面对应的目标位置之后,所述方法还包括:The method according to claim 4, wherein after the determining the target position corresponding to the subpage according to the position adjustment operation, the method further comprises:
    将所述目标位置与所述主页面对应的边缘框进行比对;Comparing the target position with the edge frame corresponding to the main page;
    当所述目标位置与所述边缘框重叠时,关闭所述子页面和所述前置摄像头。When the target position overlaps the edge frame, the sub-page and the front camera are turned off.
  6. 根据权利要求1至5任意一项所述的方法,还包括:The method according to any one of claims 1 to 5, further comprising:
    当所述子页面对应的区域大于或等于预设阈值时,在所述子页面上显示拍照控件;When the area corresponding to the sub-page is greater than or equal to the preset threshold, displaying a photo control on the sub-page;
    接收触发所述拍照控件的拍照操作,根据所述拍照操作记录所述前置摄像头采集的图像数据。Receive a photographing operation that triggers the photographing control, and record the image data collected by the front camera according to the photographing operation.
  7. 根据权利要求1所述的方法,其中,所述响应所述触发操作,在所述主页面上显示子页面包括:The method according to claim 1, wherein, in response to the trigger operation, displaying a sub-page on the main page comprises:
    生成悬浮式的子页面;Generate floating sub-pages;
    将子页面悬浮在主页面上进行显示。The subpage is suspended on the main page for display.
  8. 根据权利要求1所述的方法,其中,所述响应所述触发操作,在所述主页面上显示子页面包括:The method according to claim 1, wherein, in response to the trigger operation, displaying a sub-page on the main page comprises:
    生成嵌入式的子页面;Generate embedded sub-pages;
    将子页面嵌入在主页面中进行显示。Embed the subpage in the main page for display.
  9. 根据权利要求1所述的方法,其中,所述响应所述触发操作,在所述主页面上显示子页面包括:通过所述异形屏调整所述子页面的透明度。The method according to claim 1, wherein the displaying a sub-page on the main page in response to the triggering operation comprises: adjusting the transparency of the sub-page through the special-shaped screen.
  10. 根据权利要求2所述的方法,其中,所述根据所述触发操作类型对所述触发操作进行触发校验,得到校验结果包括:The method according to claim 2, wherein said performing trigger verification on said trigger operation according to said trigger operation type, and obtaining a verification result comprises:
    将所述触发操作的触发操作类型与预设的触发操作类型进行比对;Comparing the trigger operation type of the trigger operation with the preset trigger operation type;
    当所述触发操作类型与所述预设的触发操作类型一致时,确定校验结果为校验成功。When the trigger operation type is consistent with the preset trigger operation type, it is determined that the verification result is a successful verification.
  11. 根据权利要求2所述的方法,其中,所述当所述校验结果为校验成功时,响应所述触发操作包括:基于预设的触发操作类型与指令的映射关系,根据不同类型的所述触发操作执行不同的任务。The method according to claim 2, wherein when the verification result is that the verification is successful, responding to the trigger operation comprises: based on a preset mapping relationship between trigger operation types and instructions, according to different types of all The trigger operations described above perform different tasks.
  12. 根据权利要求3所述的方法,其中,所述区域调整操作包括调整方向和调整距离;The method according to claim 3, wherein the area adjustment operation includes adjusting direction and adjusting distance;
    所述响应所述区域调整操作,对子页面对应的区域进行调整,确定位于所述主页面上的目标区域包括:根据所述调整方向和所述调整距离对子页面对应的区域进行调整。The adjusting the area corresponding to the subpage in response to the area adjustment operation, and determining the target area on the main page includes: adjusting the area corresponding to the subpage according to the adjustment direction and the adjustment distance.
  13. 根据权利要求3所述的方法,其中,所述响应所述区域调整操作,对子页面对应的区域进行调整,确定位于所述主页面上的目标区域包括:The method according to claim 3, wherein the adjusting the area corresponding to the subpage in response to the area adjustment operation, and determining the target area on the main page comprises:
    当所述区域调整操作为滑动操作时,在滑动操作的过程中动态显示调整的区域;When the area adjustment operation is a sliding operation, the adjusted area is dynamically displayed during the sliding operation;
    根据所述区域调整操作拉伸预设的子页面对应的区域。The area corresponding to the preset subpage is stretched according to the area adjustment operation.
  14. 根据权利要求13所述的方法,其中,所述根据所述区域调整操作拉伸预设的子页面对应的区域包括:The method according to claim 13, wherein said stretching the area corresponding to the preset subpage according to the area adjustment operation comprises:
    获取所述区域调整操作对应的触摸点;Acquiring a touch point corresponding to the region adjustment operation;
    根据调整方向和调整距离对所述触摸点进行调整,子页面对应的区域随着所述触摸点的改变而进行调整。The touch point is adjusted according to the adjustment direction and the adjustment distance, and the area corresponding to the sub-page is adjusted as the touch point changes.
  15. 根据权利要求1所述的方法,其中,所述响应所述触发操作,在所述主页面上显示子页面包括:The method according to claim 1, wherein, in response to the trigger operation, displaying a sub-page on the main page comprises:
    接收与所述触发操作不连续的区域调整操作;Receiving an area adjustment operation that is not continuous with the trigger operation;
    根据与所述触发操作不连续的区域调整操作对子页面的区域大小、形状进行调整。The area size and shape of the sub-page are adjusted according to the area adjustment operation that is not continuous with the trigger operation.
  16. 根据权利要求4所述的方法,其中,在所述接收作用于所述子页面的位置调整操作之后,还包括:The method according to claim 4, wherein after the receiving the position adjustment operation on the sub-page, the method further comprises:
    根据预设条件对所述位置调整操作进行校验;Verifying the position adjustment operation according to a preset condition;
    当所述位置调整操作符合所述预设条件时,确定校验成功。When the position adjustment operation meets the preset condition, it is determined that the verification is successful.
  17. 一种基于异形屏的页面显示处理装置,包括:A page display processing device based on a special-shaped screen, including:
    主页面显示模块,用于基于包括传感器孔的异形屏显示主页面;The main page display module is used to display the main page based on the special-shaped screen including the sensor hole;
    操作接收模块,用于接收作用于所述主页面的预设区域的触发操作,所述预设区域为所述传感器孔对应的区域;An operation receiving module, configured to receive a trigger operation acting on a preset area of the main page, the preset area being an area corresponding to the sensor hole;
    子页面显示模块,用于响应所述触发操作,在所述主页面上显示子页面;根据所述触发操作启动前置摄像头,通过所述子页面显示所述前置摄像头采集的图像数据。The sub-page display module is configured to display a sub-page on the main page in response to the trigger operation; start the front camera according to the trigger operation, and display the image data collected by the front camera through the sub-page.
  18. 根据权利要求17所述的装置,其中,所述子页面显示模块还用于接收与所述触发操作连续的区域调整操作;响应所述区域调整操作,对子页面对应的区域进行调整,确定位于所述主页面上的目标区域;根据所述目标区域在所述主页面上显示所述子页面。The device according to claim 17, wherein the sub-page display module is further configured to receive an area adjustment operation that is continuous with the trigger operation; in response to the area adjustment operation, adjust the area corresponding to the sub-page to determine that it is located in The target area on the main page; and the sub-page is displayed on the main page according to the target area.
  19. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1至16中任一项所述方法的步骤。A computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 16 when the computer program is executed.
  20. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至16中任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are realized.
PCT/CN2021/076434 2020-02-13 2021-02-10 Special-shaped screen-based page display processing method and apparatus, computer device, and storage medium WO2021160148A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010090555.5A CN113253889B (en) 2020-02-13 2020-02-13 Page display processing method and device based on special-shaped screen and computer equipment
CN202010090555.5 2020-02-13

Publications (1)

Publication Number Publication Date
WO2021160148A1 true WO2021160148A1 (en) 2021-08-19

Family

ID=77219886

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076434 WO2021160148A1 (en) 2020-02-13 2021-02-10 Special-shaped screen-based page display processing method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN113253889B (en)
WO (1) WO2021160148A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666647A (en) * 2022-03-25 2022-06-24 深圳市康冠商用科技有限公司 Method, device and related assembly for realizing picture-in-picture between different information sources
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen
CN115150551A (en) * 2022-06-20 2022-10-04 湖北星纪时代科技有限公司 Photographing processing method and device for terminal, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170366748A1 (en) * 2016-06-16 2017-12-21 Maurizio Sole Festa System for producing 360 degree media
CN108196722A (en) * 2018-01-29 2018-06-22 广东欧珀移动通信有限公司 A kind of electronic equipment and its touch control method, computer readable storage medium
CN108471498A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of shooting preview method and terminal
CN108845854A (en) * 2018-06-08 2018-11-20 Oppo广东移动通信有限公司 Method for displaying user interface, device, terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973985A (en) * 2014-05-30 2014-08-06 苏州天趣信息科技有限公司 Method and device for regulating function of mobile terminal camera as well as mobile terminal
CN107479788A (en) * 2017-08-07 2017-12-15 深圳天珑无线科技有限公司 The camera arrangement and photographic method of a kind of mobile terminal
CN107807772A (en) * 2017-10-17 2018-03-16 广东欧珀移动通信有限公司 Image processing method, device and mobile terminal
CN110557564A (en) * 2019-08-16 2019-12-10 深圳传音控股股份有限公司 Quick starting method and device of camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170366748A1 (en) * 2016-06-16 2017-12-21 Maurizio Sole Festa System for producing 360 degree media
CN108196722A (en) * 2018-01-29 2018-06-22 广东欧珀移动通信有限公司 A kind of electronic equipment and its touch control method, computer readable storage medium
CN108471498A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of shooting preview method and terminal
CN108845854A (en) * 2018-06-08 2018-11-20 Oppo广东移动通信有限公司 Method for displaying user interface, device, terminal and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666647A (en) * 2022-03-25 2022-06-24 深圳市康冠商用科技有限公司 Method, device and related assembly for realizing picture-in-picture between different information sources
CN114666647B (en) * 2022-03-25 2023-07-07 深圳市康冠商用科技有限公司 Method, device and related assembly for realizing picture-in-picture between different information sources
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen
CN114927090B (en) * 2022-05-30 2023-11-28 卡莱特云科技股份有限公司 Method, device and system for ordering lamp points in special-shaped LED display screen
CN115150551A (en) * 2022-06-20 2022-10-04 湖北星纪时代科技有限公司 Photographing processing method and device for terminal, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113253889A (en) 2021-08-13
CN113253889B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
WO2021160148A1 (en) Special-shaped screen-based page display processing method and apparatus, computer device, and storage medium
US11128802B2 (en) Photographing method and mobile terminal
KR102230708B1 (en) User termincal device for supporting user interaxion and methods thereof
US11157158B2 (en) Coordination of static backgrounds and rubberbanding
US10133396B2 (en) Virtual input device using second touch-enabled display
US11372957B2 (en) Method and device for starting application based on fingerprint recognition
EP2754025B1 (en) Pinch to adjust
US9965039B2 (en) Device and method for displaying user interface of virtual input device based on motion recognition
US20150277571A1 (en) User interface to capture a partial screen display responsive to a user gesture
US20100013782A1 (en) Touch-sensitive mobile computing device and controlling method applied thereto
US20140139430A1 (en) Virtual touch method
TWI512601B (en) Electronic device, controlling method thereof, and computer program product
WO2019128193A1 (en) Mobile terminal, and floating window operation control method and device
US20140009395A1 (en) Method and system for controlling eye tracking
CN106485173B (en) Sensitive information display method and device
US20150033175A1 (en) Portable device
US11579898B2 (en) Method and device for synchronously starting application based on fingerprint recognition
CN117501234A (en) System and method for interacting with multiple display devices
US20150199066A1 (en) Display apparatus and controlling method thereof
US9619912B2 (en) Animated transition from an application window to another application window
TW201403386A (en) Eye controlling method and system
TW201237730A (en) Method of adjusting windows and electronic device using same
TWI607369B (en) System and method for adjusting image display
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
WO2020253058A1 (en) Picture floating display method and apparatus, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21754492

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.12.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 21754492

Country of ref document: EP

Kind code of ref document: A1