WO2022016956A1 - Procédé et appareil d'affichage d'image de congé, dispositif électronique et support de stockage lisible - Google Patents

Procédé et appareil d'affichage d'image de congé, dispositif électronique et support de stockage lisible Download PDF

Info

Publication number
WO2022016956A1
WO2022016956A1 PCT/CN2021/092118 CN2021092118W WO2022016956A1 WO 2022016956 A1 WO2022016956 A1 WO 2022016956A1 CN 2021092118 W CN2021092118 W CN 2021092118W WO 2022016956 A1 WO2022016956 A1 WO 2022016956A1
Authority
WO
WIPO (PCT)
Prior art keywords
rounded
terminal
image
screen
rounded image
Prior art date
Application number
PCT/CN2021/092118
Other languages
English (en)
Chinese (zh)
Inventor
谢润斌
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022016956A1 publication Critical patent/WO2022016956A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method, apparatus, electronic device, and computer-readable storage medium for displaying images with rounded corners.
  • the rounded image in the traditional method is often directly configured in the application code of the system, and the same application code can only be installed on a terminal with a specified screen type, and cannot be adapted to different types of screens.
  • Embodiments of the present application provide a method, apparatus, electronic device, and computer-readable storage medium for displaying a rounded-corner image, which can adapt to different screen types through the same set of application codes.
  • a method for displaying images with rounded corners comprising:
  • the rounded image is displayed in an edge area on the screen of the terminal.
  • a rounded image display device comprising:
  • an application code module configured to acquire an application code corresponding to the system interface application when the system interface application of the terminal is started
  • an identification acquisition module used for acquiring a rounded image identification from the application code
  • a rounded image obtaining module configured to obtain a rounded image corresponding to the rounded image identifier from a preset resource set, where the rounded image matches the screen type of the terminal;
  • a display module configured to display the rounded image in the edge area on the screen of the terminal.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following operations when executing the computer program:
  • the rounded image is displayed in an edge area on the screen of the terminal.
  • the rounded image is displayed in an edge area on the screen of the terminal.
  • a rounded image matching the screen type of the terminal is pre-stored in the terminal.
  • the application code corresponding to the system interface application is obtained, and the rounded image corresponding to the rounded image identifier is obtained from the preset resource set, thereby reducing the coupling between the rounded image and the system interface application and improving the system. performance and stability.
  • the pre-stored and image rounded corners in the terminal can be called, so there is no need to judge the screen type of the terminal, and the startup efficiency of the system interface is improved.
  • a rounded image is displayed on the edge area of the screen of the terminal, and the right-angle area on the edge of the screen and the edge area with burr can be set as the rounded corner effect, which makes the system interface more beautiful.
  • FIG. 1 is an application environment diagram of a method for displaying images with rounded corners in one embodiment.
  • FIG. 2 is a flowchart of a method for displaying a rounded image in one embodiment.
  • FIG. 3 is a schematic diagram of an image with rounded corners in one embodiment.
  • FIG. 4 is a schematic diagram of an interface in which a rounded image is displayed in an edge area of a screen in an embodiment.
  • FIG. 5 is a schematic diagram of a method for displaying images with rounded corners in one embodiment.
  • FIG. 6 is a structural block diagram of an image display device with rounded corners in one embodiment.
  • FIG. 7 is an internal structure diagram of an electronic device in one embodiment.
  • FIG. 1 is a schematic diagram of an application environment of a method for displaying images with rounded corners in one embodiment.
  • the application environment includes a terminal 110 and a server 120 .
  • the terminal 110 may obtain the application code corresponding to the system interface application from the server 120 .
  • the terminal 110 obtains the rounded image identifier from the application code.
  • the terminal 110 acquires a rounded image corresponding to the rounded image identifier from the preset resource set, where the rounded image matches the screen type of the terminal.
  • the terminal 110 displays a rounded image in an edge area on the screen of the terminal.
  • the terminal 110 communicates with the server 120 through the network.
  • the terminal 110 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 120 can be implemented by an independent server or a server cluster composed of multiple servers.
  • FIG. 2 is a flowchart of a method for displaying a rounded image in one embodiment.
  • the method for displaying images with rounded corners in this embodiment is described by taking running on the terminal in FIG. 1 as an example.
  • the method for displaying images with rounded corners includes operations 202 to 208 .
  • the system interface application is the SystemUI application, and the SystemUI application provides system-level information for the user and is displayed as a system interface that interacts with the user.
  • the system interface displays information such as the lock screen, the status bar, the bottom navigation bar, and the list of recently used applications.
  • a system interface application of the terminal is started to display the system interface.
  • the terminal receives the instruction for starting the system interface application, the terminal can obtain the application code corresponding to the system interface application.
  • the system interface application is started by running the application code to display the system interface of the terminal.
  • the rounded-corner image identifier is obtained from the application code.
  • the rounded image refers to an image with radians, and the rounded image can be superimposed on the terminal screen, so that the terminal screen presents a pattern with a rounded effect.
  • the rounded image identifier is used to mark different rounded images, and the rounded image identifier can be the name of the rounded image, the characteristics of the rounded image, and the like.
  • FIG. 3 it is a rounded image with a screen type of a hole-digging screen, and is a rounded image of the hole-digging screen in the upper left corner.
  • the size and shape of the rounded image and the size of the round hole match the edge area of the upper left corner of the hole-digging screen.
  • the terminal can obtain the rounded image identifier from the application code. Further, there may be multiple different rounded image identifiers in the application code, and the terminal may acquire the multiple different rounded image identifiers from the application code. The multiple is at least two, for example, there are five different rounded image identifiers in the application code.
  • a rounded image corresponding to the rounded image identifier is obtained from a preset resource set, where the rounded image matches the screen type of the terminal.
  • the screen types of the terminal include but are not limited to full screen, notch screen, water drop screen, hole-digging screen, etc.
  • the preset resource centrally stores images that match the screen type of the terminal. For example, for a terminal whose screen type is Liu Haiping, the preset resource of the terminal centrally stores rounded images matching Liu Haiping, so that the edge area of Liu Haiping is set as rounded corners. For a terminal whose screen type is a water drop screen, the preset resources of the terminal collectively store rounded images that match the water drop screen.
  • the terminal may detect whether a preset resource set exists in the terminal.
  • a preset resource set exists in the terminal a rounded image with the same identifier as the rounded image identifier is obtained from the preset resource set.
  • multiple rounded images may exist in the preset resource set, and each rounded image has a unique identifier, that is, a rounded image identifier.
  • the terminal acquires the multiple different rounded image identifiers from the application code, the terminal can acquire from the preset resource set the rounded images with the same rounded image identifier.
  • an image with rounded corners is displayed on the edge area of the screen of the terminal.
  • the edge area on the screen refers to the four right angles of the edge of the screen and the area with holes on the screen. For example, if there is a hole in the middle of the upper edge of the screen of the water drop screen, a rounded image needs to be displayed in the area with the hole, and the rounded image also has holes of the same shape and size. If there is a hole in the upper left area of the screen edge of the hole-digging screen, a rounded image needs to be displayed in the upper left area with the hole, and the rounded image also has holes of the same shape and size.
  • the terminal may display the rounded image obtained from the preset resource set on the edge area of the terminal screen. Further, when the terminal acquires multiple rounded images from the preset resource set, the corresponding relationship between each rounded image and each edge area on the screen is determined. Then, the terminal may display each rounded image in the corresponding edge area.
  • the rounded image is directly configured into the application code of the system interface. Once the installation package of the application code is compiled and generated, the rounded image in it cannot be changed, so that the installation package of the application code can only be installed on a terminal with a specified screen type, and cannot be adapted to different types of screens.
  • a rounded image matching the screen type of the terminal is pre-stored in the terminal.
  • the application code corresponding to the system interface application is obtained, and the rounded image corresponding to the rounded image identifier is obtained from the preset resource set, thereby reducing the coupling between the rounded image and the system interface application and improving the system. performance and stability.
  • terminals of different screen types can use the same application code, thereby reducing maintenance costs.
  • the pre-stored and image rounded corners in the terminal can be called, so there is no need to judge the screen type of the terminal, and the startup efficiency of the system interface is improved.
  • a rounded image is displayed on the edge area of the screen of the terminal, and the right-angle area on the edge of the screen and the edge area with burr can be set as the rounded corner effect, which makes the system interface more beautiful.
  • At least one preset resource set may exist in the terminal system.
  • the terminal may determine the type of the current screen, and determine the corresponding preset resource set according to the type of the screen. Next, the terminal may acquire the rounded image corresponding to the rounded image identifier from the preset resource set corresponding to the screen type.
  • obtaining a rounded image corresponding to a rounded image identifier from a preset resource set includes:
  • the rounded image corresponding to the rounded image identifier is obtained from the preset resource set of the preset path; the preset path is different from the storage path of the system interface application.
  • the terminal when the terminal receives the startup instruction of the system interface application, the application code is obtained from the storage path of the system interface application. Next, the terminal obtains the rounded image identifier from the application code.
  • the terminal may detect whether a preset path exists in the system, and determine whether a preset resource set exists in the preset path.
  • a preset path exists in the terminal system and a preset resource set exists in the preset path a rounded image with the same identifier as the rounded image identifier is acquired from the preset resource set.
  • the preset path is different from the storage path of the system interface application of the terminal.
  • the preset path is different from the storage path of the application code applied by the system interface of the terminal.
  • the rounded image is stored in a preset path of the terminal system that is different from the storage path of the system interface application, so that the rounded image and the system interface application can be decoupled, and the reduction of the rounded image and the system interface can be achieved.
  • the coupling degree of the application enables terminals of different screen types to use the application code of the same set of system interface applications.
  • displaying a rounded image in an edge area on the screen of the terminal includes: determining a mapping relationship between each acquired rounded image and each edge area on the screen of the terminal; in each edge area of the screen Displays an image with rounded corners mapped.
  • the terminal acquires each rounded image identifier from the application code, and acquires the rounded image corresponding to each rounded image identifier from a preset resource set.
  • the terminal may determine the orientation of each edge area on the screen of the terminal on the screen, and determine the image identification of each rounded image and the mapping relationship of each orientation.
  • the terminal may display the rounded image in the edge area corresponding to the orientation having the mapping relationship with the rounded image identifier, so as to display each rounded image in the corresponding edge area.
  • the mapping relationship between each rounded image and each edge region on the screen of the terminal is used to quickly and accurately determine in which edge region each rounded image is displayed, so as to quickly and accurately map each edge region of the screen of the terminal. Sets the rounded corner effect for the edge area.
  • the rounded corner image is identified as an orientation name of the rounded corner image; determining the mapping relationship between each of the acquired rounded corner images and each edge region on the screen of the terminal includes:
  • the azimuth name of the rounded image refers to using the azimuth as the name of the rounded image, for example, the azimuth name of the rounded image is "upper left", “upper right” and so on.
  • the orientation name can be based on the vertical screen or horizontal screen of the screen.
  • the rounded image is identified as an orientation name of the rounded image.
  • the terminal obtains the azimuth name of each rounded image from the application code, and obtains the rounded image with the same name as the azimuth name of each rounded image from the preset resource set. Then, the terminal can determine the orientation of each edge area on the screen of the terminal based on the vertical screen of the terminal, and compare the orientation name of each rounded image with the orientation of each edge area on the screen. If the orientation name is the same as the orientation on the screen, it means that the rounded image corresponding to the orientation name has a mapping relationship with the edge area corresponding to the orientation. According to the same processing method, the edge area on the terminal screen that has a mapping relationship with each rounded image can be determined.
  • the name of the rounded image is named with the orientation, and the orientation name can directly determine which edge area of the screen the corresponding rounded image should be displayed on, so as to quickly and accurately set each edge area of the screen of the terminal as a circle corner effect.
  • each rounded image is displayed on each edge area of the screen.
  • the terminal screen is based on the vertical screen to determine the orientation of each edge area.
  • the terminal obtains the orientation name of each rounded image from the application code, such as "upper left”, “upper middle”, “upper right”, “lower left” and “lower right” as shown in the figure.
  • the terminal obtains the rounded image with the orientation name from the preset resource set according to the orientation name. Then, the terminal moves the rounded image to each edge area of the screen according to the name of each position, so that each rounded image fits the edge area of the corresponding position, so that the rounded corner effect is displayed on the system interface.
  • the method further includes: when the screen of the terminal is rotated, determining the rotation angle and the rotation direction; rotating the rounded images displayed in each edge area of the terminal according to the rotation angle and the rotation direction, and Each edge area of the rotated screen displays a corresponding rotated image with rounded corners.
  • the terminal determines the rotation angle and rotation direction of the screen. Then, the terminal may rotate each rounded image displayed on the terminal screen by the same angle according to the rotation direction to obtain each rotated rounded image. Next, the terminal displays each rotated rounded image on the edge area of each rotated screen. For example, when the terminal is rotated 90 degrees counterclockwise, the physical hardware punching position of the screen is also turned to the lower left corner, and the angle is also rotated 90 degrees counterclockwise, so each rounded image needs to be rotated 90 degrees counterclockwise. Makes the image with rounded corners fit to the edge areas of the screen.
  • the rotation angle and the rotation direction are determined. Rotate the rounded image displayed in each edge area of the terminal according to the rotation angle and rotation direction, so that the rounded image can be rotated with the screen, and the rotated rounded image can fit each edge area.
  • the method when the system interface application of the terminal is started, before acquiring the application code corresponding to the system interface application, the method further includes: determining the screen type of the terminal, and acquiring a rounded image matching the screen type; adding in the terminal Preset asset set, and save rounded image to preset asset set.
  • the terminal determines the type of the screen used, and obtains an image with rounded corners that matches the screen type. Further, the terminal may acquire a preset number of matching rounded images according to the screen type. For example, when the screen type of the terminal is a water drop screen, obtain 5 rounded images matching the water drop screen. If the screen type of the terminal is full screen, four rounded images matching the full screen are obtained.
  • the terminal adds a preset resource set to the system, and stores the acquired rounded image in the preset resource set.
  • the storage path of the preset resource set is different from the storage path of the application code of the system interface application of the terminal.
  • the terminal may add a preset path in the system, and add a preset resource set to the preset path, and store the acquired rounded image in the preset resource set of the preset path of the system.
  • the preset path is different from the storage path of the system interface application of the terminal.
  • the preset path is different from the storage path of the application code applied by the system interface of the terminal.
  • the rounded image matching the screen type can be obtained in advance.
  • a preset resource set is added to the terminal, and the rounded corner image is stored in the preset resource set, so that the obtained rounded corner image can be stored in a specific location of the terminal system for the system interface application to call. Also, storing it in a specific location on the system prevents rounded images from being removed by other applications.
  • the storage path of the preset resource set is different from the storage path of the application code of the system interface application of the terminal, so that the resource decoupling of the rounded image and the system interface application is realized, so that the application code of a set of system interface applications can be stored in different terminals. You can directly call the rounded image in the terminal without judging the screen type.
  • the method further includes: when a preset resource set does not exist in the terminal, obtaining a default resource set; obtaining a default rounded image corresponding to a rounded image identifier from the default resource set; an edge on the screen of the terminal The area displays a rounded image, including: displaying a default rounded image in the edge area on the screen of the terminal.
  • the terminal detects whether a preset resource set exists in the system.
  • a preset resource set exists in the terminal system
  • a rounded image corresponding to the rounded image identifier is obtained from the preset resource set.
  • a default resource set is determined, and a rounded image corresponding to the rounded image identifier is obtained from the default resource set.
  • the terminal may display the rounded image obtained from the default resource set on the edge area of the terminal screen. Further, when the terminal acquires multiple rounded corner images from the default resource set, the corresponding relationship between each rounded corner image and each edge region on the screen is determined. Then, the terminal may display each default rounded corner image in the corresponding edge area.
  • the terminal may detect whether a preset path exists in the system, and when a preset path exists in the terminal system, obtain a rounded image corresponding to a rounded image identifier from a preset resource set of the preset path.
  • the preset path does not exist in the terminal system, the default path is obtained, and the default rounded image corresponding to the rounded image identifier is obtained from the default resource set of the default path.
  • the default rounded image corresponding to the rounded image identifier is obtained from the default resource set, so as to avoid an error in calling the rounded image by the system interface application.
  • the default rounded image is displayed on the edge area of the screen of the terminal, and the right-angle area on the edge of the screen and the edge area with burrs can be set as the rounded corner effect, which makes the system interface more beautiful.
  • the number of rounded images in the preset resource set is less than or equal to the default number of rounded images in the default resource set.
  • the rounded image in the preset resource set is an image matching the screen type of the terminal.
  • the number of rounded images matched by different screen types is not the same. For example, a hole-punch screen with a hole at the top left of the screen, that is, the hole is located at the top left of the screen edge, then the four right-angle areas on the screen edge need to be configured for each.
  • An image with rounded corners, the four right-angled areas are the upper left, upper right, lower left and lower right areas. Then there are four rounded images in the preset resource set of the knockout screen, and the rounded image displayed on the upper left needs to be opened.
  • the opening is in the middle of the top of the screen, then a rounded image needs to be set in the middle, and a rounded image needs to be configured in each of the four right-angle areas on the edge of the screen, then the preset resource of Liu Haiping Collect 5 rounded images that match the screen type of the terminal.
  • the default resource sets of terminals in different screen types store the same default rounded images and the same number of stored default rounded images.
  • the number of rounded images in the preset resource set is equal to the default number of rounded images in the default resource set.
  • the name of each rounded image in the preset resource set of the terminal system is the same as the name of the rounded image in the default resource set.
  • the rounded images in the preset resource set are: Image A, Image B, Image C, Image D, and Image E
  • the names of the rounded images in the default resource set are: Image A, Image B, Image C, Image D and image E.
  • the rounded images in the preset resource set all correspond to a rounded resource image with the same name in the default resource set.
  • the rounded images in the preset resource set are: upper left, upper right, lower left and lower right
  • the names of the rounded images in the default resource set are: upper left, upper middle, upper right, lower left and right below.
  • FIG. 5 it is a schematic diagram of a method for displaying images with rounded corners in one embodiment.
  • the corresponding rounded corner images are set in advance according to various types of screens.
  • a preset resource set is added in each terminal system, and a rounded image corresponding to the screen type of the terminal exists in the preset resource set.
  • an overlay is added in the terminal system, and the overlay of each terminal is stored in a rounded image that matches the screen type.
  • the rounded image identifiers in the overlay of each terminal are the same, and the application code of the system interface application used by each terminal is the same. For any terminal, when the system interface application of the terminal is started, the rounded image identifier is obtained from the application code.
  • the terminal detects whether a preset resource set exists in the system.
  • a preset resource set exists in the terminal system
  • a rounded image corresponding to the rounded image identifier is obtained from the preset resource set.
  • a default resource set is determined, and a rounded image corresponding to the rounded image identifier is obtained from the default resource set.
  • each rounded image may be displayed on each edge area of the terminal screen through a runtime resource overlay (RRO for short) technology, so as to realize a rounded corner effect in each edge area.
  • RRO runtime resource overlay
  • a method for displaying images with rounded corners comprising:
  • the terminal determines the screen type of the terminal, and obtains a rounded image matching the screen type.
  • the terminal adds a preset resource set to the system, and stores the rounded image in the preset resource set.
  • the terminal When the system interface application of the terminal is started, the terminal obtains the storage path of the system interface application to obtain the corresponding application code.
  • the terminal obtains the orientation name of the rounded image from the application code.
  • the rounded image corresponding to the orientation name of the rounded image is obtained from the preset resource set of the preset path.
  • the terminal determines the mapping relationship between each rounded image and each edge region on the screen of the terminal according to the orientation name of each rounded image.
  • the terminal displays a rounded image with a mapping relationship on each edge area of the screen.
  • the rotation angle and the rotation direction are determined.
  • the terminal will display the rounded image on each edge area of the terminal, rotate according to the rotation angle and the rotation direction, and display the corresponding rotated rounded image on each edge area of the rotated screen.
  • the terminal obtains the default resource set.
  • the terminal acquires the default rounded image corresponding to the orientation name of the rounded image from the default resource set.
  • the terminal displays a corresponding default rounded corner image in each edge area on the screen of the terminal.
  • a rounded image matching the screen type of the terminal is pre-stored in the terminal, and the orientation is used as the name of the rounded image, so that the terminal can specify the edge displayed by the rounded image according to the name of the rounded image. area.
  • the application code corresponding to the system interface application is obtained, and the rounded image corresponding to the orientation name of the rounded image is obtained from the preset resource set, thereby reducing the coupling between the rounded image and the system interface application.
  • Improve system performance and stability Through the method for displaying images with rounded corners in this embodiment, terminals of different screen types can use the same application code, thereby reducing maintenance costs.
  • the orientation name of the rounded image in the application code the pre-stored and image rounded corners in the terminal can be called, so there is no need to judge the screen type of the terminal, and the startup efficiency of the system interface is improved.
  • the default rounded image corresponding to the orientation name of the rounded image is obtained from the default resource set, so as to avoid errors in calling the rounded image by the system interface application.
  • a rounded image is displayed on the edge area of the screen of the terminal, and the right-angle area on the edge of the screen and the edge area with burr can be set as the rounded corner effect, which makes the system interface more beautiful.
  • FIG. 6 is a structural block diagram of an image display device with rounded corners according to an embodiment.
  • the apparatus includes: an application code module 602 , an identification acquisition module 604 , a rounded image acquisition module 606 and a display module 608 . in,
  • the application code module 602 is configured to acquire the application code corresponding to the system interface application when the system interface application of the terminal is started.
  • the identification obtaining module 604 is configured to obtain the rounded image identification from the application code.
  • a rounded image obtaining module 606 is configured to obtain a rounded image corresponding to a rounded image identifier from a preset resource set, where the rounded image matches the screen type of the terminal.
  • the display module 608 is configured to display a rounded image in the edge area on the screen of the terminal.
  • a rounded image matching the screen type of the terminal is pre-stored in the terminal.
  • the application code corresponding to the system interface application is obtained, and the rounded image corresponding to the rounded image identifier is obtained from the preset resource set, thereby reducing the coupling between the rounded image and the system interface application and improving the system. performance and stability.
  • terminals of different screen types can use the same application code, thereby reducing maintenance costs.
  • the pre-stored and image rounded corners in the terminal can be called, so there is no need to judge the screen type of the terminal, and the startup efficiency of the system interface is improved.
  • a rounded image is displayed on the edge area of the screen of the terminal, and the right-angle area on the edge of the screen and the edge area with burr can be set as the rounded corner effect, which makes the system interface more beautiful.
  • the rounded image obtaining module 606 is further configured to: obtain a rounded image corresponding to a rounded image identifier from a preset resource set of a preset path; the preset path is different from the storage path of the system interface application.
  • the rounded image is stored in a preset path of the terminal system that is different from the storage path of the system interface application, so that the rounded image and the system interface application can be decoupled, and the reduction of the rounded image and the system interface can be achieved.
  • the coupling degree of the application enables terminals of different screen types to use the application code of the same set of system interface applications.
  • the display module 608 is further configured to: determine the mapping relationship between the acquired rounded corner images and each edge region on the screen of the terminal; display the rounded corners with the mapping relationship on each edge region of the screen image.
  • the mapping relationship between each rounded image and each edge region on the screen of the terminal is used to quickly and accurately determine in which edge region each rounded image is displayed, so as to quickly and accurately map each edge region of the screen of the terminal. Sets the rounded corner effect for the edge area.
  • the rounded image is identified as an orientation name of the rounded image; the display module 608 is further configured to: determine the orientation on the screen of each edge region on the screen of the terminal; according to the acquired rounded images and the orientation of each edge area to determine the mapping relationship between each rounded image and each edge area.
  • the name of the rounded image is named with the orientation, and the orientation name can directly determine which edge area of the screen the corresponding rounded image should be displayed on, so as to quickly and accurately set each edge area of the screen of the terminal as a circle corner effect.
  • the display module 608 is further configured to: determine the rotation angle and the rotation direction when the screen of the terminal is rotated; and rotate the rounded images displayed on each edge area of the terminal according to the rotation angle and the rotation direction , and display the corresponding rotated image with rounded corners on each edge area of the rotated screen.
  • the rotation angle and the rotation direction are determined. Rotate the rounded image displayed in each edge area of the terminal according to the rotation angle and rotation direction, so that the rounded image can be rotated with the screen, and the rotated rounded image can fit each edge area.
  • the apparatus further includes: an addition module.
  • the adding module is used to: determine the screen type of the terminal, and obtain a rounded image matching the screen type; add a preset resource set in the terminal, and store the rounded image into the preset resource set.
  • the rounded image matching the screen type can be obtained in advance.
  • a preset resource set is added to the terminal, and the rounded corner image is stored in the preset resource set, so that the obtained rounded corner image can be stored in a specific location of the terminal system for the system interface application to call. Also, storing it in a specific location on the system prevents rounded images from being removed by other applications.
  • the storage path of the preset resource set is different from the storage path of the application code of the system interface application of the terminal, so that the resource decoupling of the rounded image and the system interface application is realized, so that the application code of a set of system interface applications can be stored in different terminals. You can directly call the rounded image in the terminal without judging the screen type.
  • the rounded image obtaining module 606 is further configured to: when the preset resource set does not exist in the terminal, obtain a default resource set; obtain a default rounded image corresponding to the rounded image identifier from the default resource set;
  • the display module 608 is further configured to: display a default rounded image in the edge area of the screen of the terminal.
  • the default rounded image corresponding to the rounded image identifier is obtained from the default resource set, so as to avoid an error in calling the rounded image by the system interface application.
  • the default rounded image is displayed on the edge area of the screen of the terminal, and the right-angle area on the edge of the screen and the edge area with burrs can be set as the rounded corner effect, which makes the system interface more beautiful.
  • each module in the above-mentioned round-corner image display device is only used for illustration. In other embodiments, the round-corner image display device can be divided into different modules as required, so as to complete all or part of the above-mentioned round-corner image display device Features.
  • Each module in the above-mentioned round-corner image display device may be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • FIG. 7 is a schematic diagram of an internal structure of a terminal in an embodiment.
  • the terminal includes a processor and a memory connected through a system bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire electronic device.
  • the terminal can obtain the application code corresponding to the system interface application through the processor, and obtain the rounded image identifier from the application code.
  • the processor obtains the rounded image corresponding to the rounded image identifier from the preset resource set, and the rounded image matches the screen type of the terminal; the processor displays the rounded image in the edge area of the screen of the terminal.
  • the memory may include non-volatile storage media and internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the memory stores the application code corresponding to the system interface application and the image with rounded corners.
  • the computer program can be executed by the processor to implement a method for displaying images with rounded corners provided by the following embodiments.
  • Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media.
  • the electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, and the like.
  • each module in the round-corner image display device may be in the form of a computer program.
  • the computer program can be run on a terminal or server.
  • the program modules constituted by the computer program can be stored on the memory of the electronic device.
  • the operations of the methods described in the embodiments of the present application are implemented.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the operations of the method for displaying rounded corners images .
  • Nonvolatile 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), which acts as external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Abstract

L'invention concerne un procédé d'affichage d'image de congé, comprenant les étapes suivantes : lorsqu'une application d'interface de système d'un terminal est démarrée, l'obtention d'un code d'application correspondant à l'application d'interface de système (202); l'obtention d'un identifiant d'image de congé à partir du code d'application (204); l'obtention d'une image de congé correspondant à l'identifiant d'image de congé à partir d'un ensemble de ressources prédéfini, l'image de congé correspondant au type d'écran du terminal (206); et l'affichage de l'image de congé dans une zone de bord sur l'écran du terminal (208).
PCT/CN2021/092118 2020-07-20 2021-05-07 Procédé et appareil d'affichage d'image de congé, dispositif électronique et support de stockage lisible WO2022016956A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010697273.1A CN111857699A (zh) 2020-07-20 2020-07-20 圆角图像显示方法、装置、电子设备和可读存储介质
CN202010697273.1 2020-07-20

Publications (1)

Publication Number Publication Date
WO2022016956A1 true WO2022016956A1 (fr) 2022-01-27

Family

ID=73001010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/092118 WO2022016956A1 (fr) 2020-07-20 2021-05-07 Procédé et appareil d'affichage d'image de congé, dispositif électronique et support de stockage lisible

Country Status (2)

Country Link
CN (1) CN111857699A (fr)
WO (1) WO2022016956A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168031A (zh) * 2022-02-11 2022-03-11 荣耀终端有限公司 挖孔屏的显示优化方法、设备和存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857699A (zh) * 2020-07-20 2020-10-30 Oppo广东移动通信有限公司 圆角图像显示方法、装置、电子设备和可读存储介质
CN113888657B (zh) * 2021-12-08 2022-03-29 珠海视熙科技有限公司 一种屏幕颜色采集方法、装置、摄像设备以及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391073A (zh) * 2017-07-26 2017-11-24 北京小米移动软件有限公司 显示模组及电子设备
WO2018120719A1 (fr) * 2016-12-30 2018-07-05 上海壹账通金融科技有限公司 Procédé, appareil et dispositif de mise à jour d'interface d'application de terminal mobile, et support d'information lisible par ordinateur
CN108335259A (zh) * 2018-01-17 2018-07-27 维沃移动通信有限公司 一种图像处理方法、图像处理设备及移动终端
CN109542572A (zh) * 2018-11-27 2019-03-29 维沃移动通信有限公司 一种界面显示方法和移动终端
CN110262859A (zh) * 2018-03-12 2019-09-20 上海擎感智能科技有限公司 Ui控件布局自适应屏幕方法、系统、存储介质及电子终端
CN111857699A (zh) * 2020-07-20 2020-10-30 Oppo广东移动通信有限公司 圆角图像显示方法、装置、电子设备和可读存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875328B (zh) * 2015-12-11 2020-05-12 北京新媒传信科技有限公司 图像处理方法和装置
CN107643885A (zh) * 2017-10-13 2018-01-30 北京小米移动软件有限公司 显示屏幕、图像显示方法以及终端和存储介质
CN109375978A (zh) * 2018-10-17 2019-02-22 奇酷互联网络科技(深圳)有限公司 圆角屏幕的显示方法、计算机设备以及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018120719A1 (fr) * 2016-12-30 2018-07-05 上海壹账通金融科技有限公司 Procédé, appareil et dispositif de mise à jour d'interface d'application de terminal mobile, et support d'information lisible par ordinateur
CN107391073A (zh) * 2017-07-26 2017-11-24 北京小米移动软件有限公司 显示模组及电子设备
CN108335259A (zh) * 2018-01-17 2018-07-27 维沃移动通信有限公司 一种图像处理方法、图像处理设备及移动终端
CN110262859A (zh) * 2018-03-12 2019-09-20 上海擎感智能科技有限公司 Ui控件布局自适应屏幕方法、系统、存储介质及电子终端
CN109542572A (zh) * 2018-11-27 2019-03-29 维沃移动通信有限公司 一种界面显示方法和移动终端
CN111857699A (zh) * 2020-07-20 2020-10-30 Oppo广东移动通信有限公司 圆角图像显示方法、装置、电子设备和可读存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168031A (zh) * 2022-02-11 2022-03-11 荣耀终端有限公司 挖孔屏的显示优化方法、设备和存储介质

Also Published As

Publication number Publication date
CN111857699A (zh) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2022016956A1 (fr) Procédé et appareil d'affichage d'image de congé, dispositif électronique et support de stockage lisible
US9697353B2 (en) Method and device for intercepting call for service by application
WO2019148722A1 (fr) Dispositif électronique, procédé de migration et d'appel de données, et support d'informations
US20210097112A1 (en) Webpage data processing method and device, computer device and computer storage medium
CN109814854B (zh) 项目框架生成方法、装置、计算机设备和存储介质
WO2020151333A1 (fr) Procédé de chargement de page, appareil, dispositif informatique et support d'informations
US11366925B2 (en) Methods and apparatuses for chaining service data
WO2022237123A1 (fr) Procédé et appareil d'acquisition de données de chaîne de blocs, dispositif électronique et support de stockage
CN111506386A (zh) 虚拟机在线迁移方法、装置、设备及计算机可读存储介质
WO2019100613A1 (fr) Procédé et appareil de signature de police d'assurance électronique, dispositif informatique et support de stockage
WO2019127864A1 (fr) Dispositif électronique, interface de données basée sur springmvc et procédé de génération de description automatique associé, et support de stockage
WO2020125364A1 (fr) Procédé et appareil d'entrée de vérification d'informations, dispositif informatique et support d'informations
US20120158794A1 (en) Techniques to discover object interfaces
CN110908778B (zh) 任务部署方法、系统和存储介质
US20150339386A1 (en) Webpage Searching Method and Browser
CN109361628B (zh) 报文组装方法、装置、计算机设备和存储介质
US11080322B2 (en) Search methods, servers, and systems
CN110826978A (zh) 一种基于企业浏览器的统一待办事项处理方法和装置
WO2020199594A1 (fr) Procédé et appareil de chargement de composant de service ainsi que dispositif informatique et support de stockage
CN109828774B (zh) 一种服务器系统及其启动方法
US20130055285A1 (en) Discovery and activation of application extensions
CN111382425B (zh) 多签名机制下的应用安装管理方法、智能终端及存储介质
CN112287010B (zh) 基于安卓系统的地图服务提供方法、装置、终端及存储介质
US20210334114A1 (en) Method And Storage Medium For Realizing Interaction Between Business Systems And At Least One Component
US11392391B2 (en) Selectively updating a bios image

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: 21847316

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21847316

Country of ref document: EP

Kind code of ref document: A1