Application display method, device and storage medium

By obtaining the displayable area of ​​the special-shaped display screen and determining the application display method based on this area, the display matching difficulty caused by the diversity of terminal device screens is solved, the effective display of the application on the special-shaped screen is realized, and the user experience is improved.

CN114185478BActive Publication Date: 2024-09-24BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111307314.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-05
Publication Date
2024-09-24
Estimated Expiration
2041-11-05

AI Technical Summary

Technical Problem

It is difficult for the existing technology to adapt to terminal device screens of different sizes and shapes, resulting in the inability to automatically match the size and display mode of the application display interface, which brings difficulties to users.

Method used

Determine the displayable area of ​​the special-shaped display screen by obtaining the displayable area of ​​the special-shaped display screen and determining the application display method for the target screen based on this area, including obtaining pixel density information, resolution information, screenshot image data and user touch data area and provide matching application presentation methods.

Benefits of technology

It realizes the automatic adaptation of applications on special-shaped display screens, avoids the problems of insufficient display, too small display or excessive key compression, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114185478B
    Figure CN114185478B
Patent Text Reader

Abstract

The present invention discloses an application display method, device and storage medium, wherein the application display method obtains the displayable area of ​​a special-shaped display screen when the target screen is a special-shaped display screen. Based on the displayable area, the application display method for the target screen is determined. Therefore, when the method is used for a special-shaped display screen, it can automatically obtain the displayable area of ​​the special-shaped display screen. And for the obtained displayable area, a corresponding application display method is provided for the special-shaped screen in a targeted manner. The application can be more closely fitted to the displayable area of ​​the special-shaped screen, avoiding insufficient application display, too small application display in order to fully display, excessive compression of application buttons or excessive imbalance in proportion, which brings difficulties to users. And improve the user experience of providing applications and terminal devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information display technology, and in particular to an application display method, device and storage medium. Background Art

[0002] Currently, App (Application) information is displayed in terminal devices mainly by reading the screen resolution and directly displaying it according to the screen resolution.

[0003] However, as the types of terminal devices become more and more diverse, the screen sizes and shapes of terminal devices vary, which will cause devices with the same resolution but different physical sizes to have problems with the size and display method of the App information display interface being difficult to adapt to the screen, causing inconvenience to users. Summary of the invention

[0004] In view of the above problems, the embodiments of the present application provide an application display method, device and storage medium, the main purpose of which is to solve the problem that the current application display interface size and display method cannot automatically adapt to the screens of terminal devices of different sizes and shapes, causing difficulties for users.

[0005] In order to solve the above technical problems, in a first aspect, an embodiment of the present application provides an application display method, comprising:

[0006] When the target screen is a special-shaped display screen, obtaining a displayable area of ​​the special-shaped display screen;

[0007] Based on the displayable area, determine the application display mode for the target screen.

[0008] In a first possible implementation manner of the first aspect, the method further includes:

[0009] Acquire pixel density information and resolution information of the target screen;

[0010] Based on the pixel density information and the resolution information, it is determined whether the target screen is a special-shaped display screen.

[0011] In a second possible implementation of the first aspect, determining whether the target screen is a special-shaped display screen based on the pixel density information and the resolution information includes:

[0012] In a case where the acquired pixel density information and the resolution information of the target screen are at least two groups, it is determined that the target screen belongs to a special-shaped display screen.

[0013] In a third possible implementation of the first aspect, acquiring the displayable area of ​​the special-shaped display screen includes:

[0014] When there are at least two sets of pixel density information and resolution information of the target screen, respectively calculate each set of pixel density information and resolution information to determine at least two display units;

[0015] Each of the display units is combined to determine a displayable area of ​​the target screen.

[0016] In a fourth possible implementation of the first aspect, the method further includes:

[0017] Acquire screenshot image data of the target screen;

[0018] Based on the screenshot image data, it is determined whether the target screen is a special-shaped display screen.

[0019] In a fifth possible implementation of the first aspect, acquiring the displayable area of ​​the special-shaped display screen includes:

[0020] Based on the screenshot image data of the target screen, a displayable area of ​​the special-shaped display screen is determined.

[0021] In a sixth possible implementation of the first aspect, the method further includes:

[0022] Acquire user touch data of the target screen;

[0023] Based on the user touch data, it is determined whether the target screen is a special-shaped display screen.

[0024] In a seventh possible implementation of the first aspect, acquiring the displayable area of ​​the special-shaped display screen includes:

[0025] The displayable area of ​​the special-shaped display screen is determined based on the touch track and / or the touch point set indicated by the user touch data of the target screen.

[0026] In an eighth possible implementation of the first aspect, determining, based on the displayable area, an application display mode for the target screen includes:

[0027] Determining a keyboard display mode for the target screen according to the displayable area;

[0028] Unzip the layout keyboard skin corresponding to the keyboard display mode.

[0029] In a ninth possible implementation of the first aspect, the application display manner is a special-shaped keyboard display manner that matches the displayable area.

[0030] In a second aspect, the embodiment of the present application further provides an application display device, which may include:

[0031] an acquisition unit, configured to acquire a displayable area of ​​a special-shaped display screen when the target screen is a special-shaped display screen;

[0032] A determination unit is used to determine an application display mode for the target screen based on the displayable area.

[0033] In a first possible implementation manner of the second aspect, the determining unit is further configured to:

[0034] Acquire pixel density information and resolution information of the target screen;

[0035] Based on the pixel density information and the resolution information, it is determined whether the target screen is a special-shaped display screen.

[0036] In a second possible implementation of the second aspect, the acquiring unit is specifically configured to:

[0037] In a case where the acquired pixel density information and the resolution information of the target screen are at least two groups, it is determined that the target screen belongs to a special-shaped display screen.

[0038] In a third possible implementation of the second aspect, the determining unit is further configured to:

[0039] When there are at least two sets of pixel density information and resolution information of the target screen, respectively calculate each set of pixel density information and resolution information to determine at least two display units;

[0040] Each of the display units is combined to determine a displayable area of ​​the target screen.

[0041] In a fourth possible implementation of the second aspect, the determining unit is further configured to:

[0042] Acquire screenshot image data of the target screen;

[0043] Based on the screenshot image data, it is determined whether the target screen is a special-shaped display screen.

[0044] In a fifth possible implementation of the second aspect, the acquiring unit is specifically configured to:

[0045] Based on the screenshot image data of the target screen, a displayable area of ​​the special-shaped display screen is determined.

[0046] In a sixth possible implementation of the second aspect, the determining unit is further configured to:

[0047] Acquire user touch data of the target screen;

[0048] Based on the user touch data, it is determined whether the target screen is a special-shaped display screen.

[0049] In a seventh possible implementation of the second aspect, the acquiring unit is specifically configured to:

[0050] The displayable area of ​​the special-shaped display screen is determined based on the touch track and / or the touch point set indicated by the user touch data of the target screen.

[0051] In an eighth possible implementation of the second aspect, the determining unit is further configured to:

[0052] Determining a keyboard display mode for the target screen according to the displayable area;

[0053] Unzip the layout keyboard skin corresponding to the keyboard display mode.

[0054] In a ninth possible implementation of the second aspect, the application display manner is a special-shaped keyboard display manner that matches the displayable area.

[0055] In a third aspect, an embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the application display method as described in any one of the above-mentioned first aspects.

[0056] In a fourth aspect, an embodiment of the present application provides a device for application display, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include an application display method as described in any one of the first aspects above.

[0057] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium and are suitable for being read and executed by a processor, so that a computer device having the processor executes the application display method described in any one of the first aspects above.

[0058] By means of the above technical solution, an application display method provided in an embodiment of the present application solves the problems existing in the prior art by obtaining the displayable area of ​​the special-shaped display screen when the target screen is a special-shaped display screen. Based on the displayable area, the application display method for the target screen is determined. Therefore, when the above method is used for a special-shaped display screen, it can automatically obtain the displayable area of ​​the special-shaped display screen. And for the obtained displayable area, a corresponding application display method is provided for the above-mentioned special-shaped screen in a targeted manner. The application is made to fit the displayable area of ​​the special-shaped screen more closely, avoiding insufficient application display, too small application display in order to fully display, excessive compression of application buttons or excessive imbalance in proportion, which brings difficulties to users. And it improves the user experience of providing applications and terminal devices.

[0059] Correspondingly, the device and storage medium based on the above application display method also have the same effect. The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation method of the embodiment of the present application is specifically cited below. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only used for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the embodiments of the present application. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0061] Figure 1 A flow chart of an application display method provided in an embodiment of the present application is shown;

[0062] Figure 2 A block diagram showing a composition of an application display device provided in an embodiment of the present application is shown;

[0063] Figure 3 A schematic diagram of the structure of the client provided in the embodiment of the present application;

[0064] Figure 4 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the embodiments of the present application to be fully communicated to those skilled in the art.

[0066] The present application embodiment provides an application display method, such as Figure 1 As shown, the method may include steps: S101 and S102.

[0067] In S101, when the target screen is a special-shaped display screen, a displayable area of ​​the special-shaped display screen is acquired.

[0068] It is understandable that the above application refers to program software rather than the program code itself, and the above application may be a social, shopping, or other application, which is not limited here. For example, the above application may be a keyboard in an input method, and the above keyboard may be a virtual keyboard displayed on a screen, or may be a keyboard for user input in an input method or other application or operating system, which is not limited here.

[0069] Exemplarily, the target screen may be a screen in a smart mobile terminal such as a mobile phone, a smart wearable device, or a tablet. It may also be a screen in a large device, an embedded terminal device such as a vehicle, etc. This is not limited here.

[0070] Exemplarily, the above-mentioned special-shaped display screen can be a rectangular screen with a large difference in aspect ratio, or can be other polygonal, circular, or any other special-shaped display screen with concave or convex parts or hollow, etc., which is not limited here.

[0071] Exemplarily, the displayable area of ​​the above-mentioned special-shaped display screen may be the entire area of ​​the entire special-shaped display screen, or may be a partial area of ​​the above-mentioned special-shaped display screen.

[0072] In S102, based on the displayable area, an application display method for the target screen is determined.

[0073] Exemplarily, the above-mentioned application display manner may include the display size of the application, and may also include the display shape of the application or the position of the application in the above-mentioned displayable area.

[0074] In summary, the above-mentioned application embodiment provides an application display method, which addresses the problems existing in the prior art by obtaining the displayable area of ​​the special-shaped display screen when the target screen is a special-shaped display screen. Based on the displayable area, determine the application display method for the target screen. Therefore, when the above-mentioned method is used for a special-shaped display screen, it can automatically obtain the displayable area of ​​the special-shaped display screen. And for the obtained displayable area, a corresponding application display method is provided for the above-mentioned special-shaped screen in a targeted manner. The application is made to fit the displayable area of ​​the special-shaped screen more closely, avoiding insufficient application display, too small application display in order to fully display, and excessive compression or imbalance of the application buttons, which brings difficulties to the user. And improve the user's experience of providing applications and terminal devices.

[0075] According to some embodiments, the above application display method may further include:

[0076] Get the pixel density and resolution information of the target screen.

[0077] Based on the pixel density information and the resolution information, it is determined whether the target screen is a special-shaped display screen.

[0078] It should be noted that the pixel density information of the screen can be understood as the number of pixels per inch of the screen, abbreviated as PPI in English. The pixel density of the screen can be understood as the number of pixels in a square with a diagonal length of 1 inch.

[0079] It is understandable that the resolution information of the screen can be the precision of the screen image, which refers to how many pixels the display can display. Since the points, lines and surfaces on the screen are composed of pixels, the more pixels the display can display, the finer the picture, and the more information can be displayed in the same screen area, so resolution is one of the very important performance indicators. The entire image can be imagined as a large chessboard. The way to express the resolution information is the number of intersections of all longitudes and latitudes. When the display resolution is constant, the smaller the display screen, the clearer the image. Conversely, when the screen size is fixed, the higher the display resolution, the clearer the image. Exemplarily, the pixel density information and resolution information of the above screen can be actively obtained through a specific port of the terminal device of the target screen. The correspondence between the model of the terminal device and the above information can also be pre-stored. After knowing the model of the terminal device, the pixel density information and resolution information of the target screen can be obtained on the client or server according to the above correspondence. Exemplarily, a mobile phone screen with a resolution of 1920PX×1080PX. PX after 1920 and 1080 can represent pixels, which is the unit of resolution. The resolution of 1920PX×1080PX means that the target screen has 1920 pixel blocks in the first direction and 1080 pixel blocks in the second direction.

[0080] Determine the physical size of the target screen based on the pixel density information and the resolution information;

[0081] The displayable area of ​​the target screen is determined according to the physical size of the screen.

[0082] It should be noted that the longer physical size of the target screen is represented by the diagonal size of the target screen. For example, it can be determined that the physical size of a mobile phone screen with a diagonal size of 5.2 inches is 5.2 inches.

[0083] Exemplarily, the physical size of the target screen can be derived by the following formula:

[0084]

[0085] For example, if the resolution information of the target screen is 1920px×1080px, then the horizontal resolution can be 1080px, the vertical resolution can be 1920px, and the above pixel density information is 424ppi. The physical size of the target screen can be calculated by the above formula to obtain 5.2 inches. Therefore, it can be determined whether the target screen is a special-shaped display screen by the pixel density information and resolution information.

[0086] According to some embodiments, the step of determining whether the target screen is a special-shaped display screen based on the pixel density information and the resolution information may include:

[0087] When the acquired pixel density information and resolution information of the target screen are at least two groups, it is determined that the target screen belongs to a special-shaped display screen.

[0088] For example, if more than one set of pixel density information and resolution information of the target screen can be obtained on the client or server according to the above correspondence after the terminal device model is known, then the target screen may not be calculated by one set of pixel density information and resolution information, that is, the target screen may not be a normal rectangular screen, because a normal rectangular screen generally has only one set of pixel density information and resolution information that can calculate the displayable area of ​​the rectangular screen. In other words, if the pixel density information and resolution information of the target screen obtained are at least two sets, then it can be inferred that the target screen is a non-rectangular special-shaped display screen.

[0089] According to some embodiments, the step of obtaining the displayable area of ​​the special-shaped display screen may include:

[0090] When there are at least two sets of pixel density information and resolution information of the target screen, each set of pixel density information and resolution information is calculated respectively to determine at least two display units;

[0091] Each display unit is combined to determine the displayable area of ​​the target screen. Since the pixel density information and resolution information of the target screen are information inherent to the screen, it is more accurate and faster to determine the displayable area in the above manner.

[0092] Exemplarily, when there are two groups of pixel density information and resolution information of the target screen, two display units can be determined by calculating each group of pixel density information and resolution information. Then, by combining the above two display units, it can be determined that the displayable area of ​​the target screen is an L-shaped irregular displayable area.

[0093] Exemplarily, when there are three groups of pixel density information and resolution information of the target screen, three display units can be determined by calculating each group of pixel density information and resolution information. Then, by combining the above three display units, it can be determined that the displayable area of ​​the target screen is a concave-shaped irregular displayable area.

[0094] It should be noted that the above-mentioned method of determining whether the target screen is a special-shaped display screen and the method of determining the displayable area of ​​the target screen may be different methods.

[0095] The following provides some embodiments in which a plurality of ways of determining whether a target screen is a special-shaped display screen and a method of determining a displayable area of ​​the target screen may be different.

[0096] According to some embodiments, the above application display method may further include:

[0097] Get the screenshot image data of the target screen;

[0098] Based on the screenshot image data, it is determined whether the target screen is a special-shaped display screen.

[0099] Exemplarily, the screenshot image data may be obtained from the operating system of the terminal corresponding to the target screen, or from a specific port of the terminal, or by interacting with a server. Since the screenshot image data can reflect screen data including the shape and size of the target screen, it is possible to determine whether the target screen is a special-shaped display screen based on the screenshot image data.

[0100] According to some embodiments, the step of obtaining the displayable area of ​​the special-shaped display screen may include:

[0101] Based on the screenshot image data of the target screen, a displayable area of ​​the special-shaped display screen is determined.

[0102] Exemplarily, since the screenshot image data may include the boundary information of the displayable area of ​​the captured screen, the displayable area of ​​the special-shaped display screen can be determined. For example, if the screenshot image data indicates that the target screen is a circle with a radius of 5 cm, then the displayable area of ​​the special-shaped display screen can be determined to be a circle with a radius of 5 cm. If the screenshot image data indicates that the target screen is an equilateral triangle with a side length of 5 cm, then the displayable area of ​​the special-shaped display screen can be determined to be an equilateral triangle with a side length of 5 cm. By determining the displayable area of ​​the special-shaped display screen in the above manner, when the pixel density information and resolution information of the target screen cannot be obtained, the displayable area of ​​the special-shaped display screen can be quickly determined without the need for input of user or other external information.

[0103] According to some embodiments, the above application display method may further include:

[0104] Get user touch data of the target screen;

[0105] Based on the user touch data, it is determined whether the target screen is a special-shaped display screen.

[0106] For example, for a touch screen, the user can control the screen by touching the screen, etc. Specifically, the terminal executes the user's instructions and operations through the trajectory of the user's touch on the screen or the number of touches or positions in the collected user touch data. Then, the user numerical control data can be used to determine whether the target screen is a special-shaped display screen.

[0107] According to some embodiments, the step of obtaining the displayable area of ​​the special-shaped display screen may include:

[0108] Based on the touch track and / or the touch point set indicated by the user touch data of the target screen, the displayable area of ​​the special-shaped display screen is determined.

[0109] Exemplarily, the terminal executes the user's instructions and operations by collecting the track of the user's touch on the screen or the number of touches or positions. Then, after the user touches the displayable edge of the screen, the displayable area of ​​the special-shaped display screen can be determined according to the user's touch data. For example, if the user touches the displayable edge of the screen and the track is a 5-cm circle, then the displayable area of ​​the special-shaped display screen can be determined to be a circle with a radius of 5 cm. If the user touches the displayable edge of the screen and the track is an equilateral triangle with a side length of 5 cm, then the displayable area of ​​the special-shaped display screen can be determined to be an equilateral triangle with a side length of 5 cm. It can also be that the user's touch point set can reflect the approximate shape and size of the touch point set, so the displayable area of ​​the special-shaped display screen can also be determined by the user's touch point set. Of course, the displayable area of ​​the special-shaped display screen can also be determined in combination with the touch track and the touch point set. For example, if the user touches the displayable edge of the screen in a circle with a radius of 5 cm, and the user's touch points are concentrated on the edge of the circular area, it can be determined that the displayable area of ​​the special-shaped display screen is annular.

[0110] Exemplarily, the user touch data may be data generated by the user requesting to perform a touch operation based on the displayable area. It may also be the user's daily touch data, because the user's daily touch range will be concentrated in the displayable area of ​​the target screen. Therefore, the displayable area of ​​the special-shaped display screen can also be determined by analyzing the user's daily touch data.

[0111] Therefore, determining the displayable area of ​​the special-shaped display screen through the touch track and / or touch point set indicated by the user touch data of the target screen is more flexible than other ways of determining the displayable area.

[0112] According to some embodiments, the step of determining the application display mode for the target screen based on the displayable area may include:

[0113] Determine the keyboard display method for the target screen based on the displayable area;

[0114] Unzip the layout keyboard skin that corresponds to the keyboard display mode.

[0115] Exemplarily, the keyboard may be in the form of keyboards corresponding to different languages, and may be a full keyboard, a nine-grid keyboard, or a handwriting input keyboard, and is not limited thereto.

[0116] For example, multiple layout keyboard skins can be stored in the installation package of the application in advance, and only the layout keyboard skin corresponding to the keyboard display mode is decompressed after installation. A display mode with a high degree of matching for the above target screen can be quickly generated, and then information display can be performed.

[0117] According to some embodiments, the above application display mode can be a special-shaped keyboard display mode that matches the displayable area. Exemplarily, if the displayable area is circular, the keyboard display mode can be a semicircular one. If the displayable area is triangular, the display mode can be a trapezoid with three sides of the above triangle matching.

[0118] Exemplarily, the case where the target screen is an irregular display screen may be that due to the installation of hardware devices such as cameras on the edge of the screen, there are no pixel units at the projection position of the hardware devices, and it is not part of the target screen. This makes the edge of the target screen appear irregular. Then, in the case of an irregular shape on the edge of the screen, it can be determined that the keyboard display method of the target screen is to be displayed within the above-mentioned edge. It can ensure that the keyboard can be fully displayed when the size of the keyboard is relatively matched with the size of the displayable area of ​​the current screen. Avoid the missing display of part of the keyboard content.

[0119] Exemplarily, for screens that are larger than mobile phones, it is necessary to avoid controlling the overall area of ​​the keyboard to be too large, which causes inconvenience to the keyboard input due to the user's large hand range. The keyboard display mode can be determined to avoid occupying the full width of the screen. Exemplarily, due to the screen size mentioned above, users generally choose to use fingers to input when holding the screen with both hands. For example, thumb input is used when holding the screen with both hands. In order to further reduce the amplitude of hand movement when operating with both hands, the keyboard display mode can be determined to be separated or movable suspended separation. In this way, the position close to the middle of the screen can not be used as part of the keyboard, reducing the amplitude of hand movement when the user inputs. Further facilitate the user's keyboard input. For screens with larger sizes, users generally cannot input by holding them with both hands. Generally, one-handed holding and one-handed input are used, or one-handed input is used after the device is fixed. In these cases, the keyboard display mode can be determined to be suspended separation or multi-part distribution layout. This ensures that the keys with the same function are concentrated in the same area as much as possible. It is convenient for one-handed operation and further facilitates the user's keyboard input.

[0120] Exemplarily, for an extra-large screen, it can still be determined that the keyboard display mode for the target screen is suspended, and the suspended keyboard can include a suspended movement button for moving the keyboard. In this case, the size of the keyboard can be larger than the keyboard display size in the large screen. In this case, the screen is generally a large display device, and the user may have different positions relative to the screen, or the range of arm movement only occupies a part of the screen. In order to facilitate the user's operation of the keyboard, the keyboard display mode can be determined to be suspended. In this way, the user can arbitrarily control the position of the keyboard on the screen, further facilitating the user's keyboard input.

[0121] According to some embodiments, as a Figure 1 In addition to the implementation of the application display method shown in various embodiments, the present application embodiment also provides an application display device for the above Figure 1 This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 2 As shown, the device includes: an acquisition unit 21 and a determination unit 22, wherein:

[0122] The acquisition unit 21 may be used to acquire a displayable area of ​​the special-shaped display screen when the target screen is a special-shaped display screen;

[0123] The determination unit 22 may be configured to determine an application display method for a target screen based on the displayable area.

[0124] By means of the above technical scheme, the problems existing in the prior art are solved. The above device solves the problems existing in the prior art. The above method obtains the displayable area of ​​the special-shaped display screen when the target screen is a special-shaped display screen. Based on the displayable area, the application display method for the target screen is determined. Therefore, when the above method is used for a special-shaped display screen, it can automatically obtain the displayable area of ​​the special-shaped display screen. And for the obtained displayable area, a corresponding application display method is provided for the above-mentioned special-shaped screen in a targeted manner. The application can be more closely fitted to the displayable area of ​​the special-shaped screen, avoiding insufficient display of the application, too small display of the application in order to fully display it, excessive compression of the application buttons or excessive imbalance in proportion, which brings difficulties to the user. And improve the user's experience of providing applications and terminal devices.

[0125] The method provided in the embodiment of the present application can be executed by a client or a server. The client and server that execute the above method are described below respectively.

[0126] Figure 3 1 shows a block diagram of a client 300. For example, the client 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0127] Reference Figure 3 The client 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 33 , a sensor component 314 , and a communication component 316 .

[0128] The processing component 302 generally controls the overall operation of the client 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0129] The memory 304 is configured to store various types of data to support operations on the client 300. Examples of such data include instructions for any application or method operating on the client 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0130] The power supply component 306 provides power to the various components of the client 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the client 300.

[0131] The multimedia component 308 includes a screen that provides an output interface between the client 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and / or a rear camera. When the client 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0132] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the client 300 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.

[0133] The I / O interface provides an interface between the processing component 302 and the peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0134] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the client 300. For example, the sensor assembly 314 can detect the open / closed state of the client 300, the relative positioning of components, such as the display and keypad of the client 300, and the sensor assembly 314 can also detect the position change of the client 300 or a component of the client 300, the presence or absence of user contact with the client 300, the orientation or acceleration / deceleration of the client 300, and the temperature change of the client 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0135] The communication component 316 is configured to facilitate wired or wireless communication between the client 300 and other devices. The client 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0136] In an exemplary embodiment, the client 300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the following methods:

[0137] When the target screen is a special-shaped display screen, obtaining a displayable area of ​​the special-shaped display screen;

[0138] Based on the displayable area, determine the application display mode for the target screen.

[0139] Exemplarily, the method further includes:

[0140] Acquire pixel density information and resolution information of the target screen;

[0141] Based on the pixel density information and the resolution information, it is determined whether the target screen is a special-shaped display screen.

[0142] Exemplarily, the determining whether the target screen is a special-shaped display screen based on the pixel density information and the resolution information includes:

[0143] In a case where the acquired pixel density information and the resolution information of the target screen are at least two groups, it is determined that the target screen belongs to a special-shaped display screen.

[0144] Exemplarily, the obtaining the displayable area of ​​the special-shaped display screen includes:

[0145] When there are at least two sets of pixel density information and resolution information of the target screen, respectively calculate each set of pixel density information and resolution information to determine at least two display units;

[0146] Each of the display units is combined to determine a displayable area of ​​the target screen.

[0147] Exemplarily, the method further includes:

[0148] Acquire screenshot image data of the target screen;

[0149] Based on the screenshot image data, it is determined whether the target screen is a special-shaped display screen.

[0150] Exemplarily, the obtaining the displayable area of ​​the special-shaped display screen includes:

[0151] Based on the screenshot image data of the target screen, a displayable area of ​​the special-shaped display screen is determined.

[0152] Exemplarily, the method further includes:

[0153] Acquire user touch data of the target screen;

[0154] Based on the user touch data, it is determined whether the target screen is a special-shaped display screen.

[0155] Exemplarily, the obtaining the displayable area of ​​the special-shaped display screen includes:

[0156] The displayable area of ​​the special-shaped display screen is determined based on the touch track and / or the touch point set indicated by the user touch data of the target screen.

[0157] Exemplarily, the determining, based on the displayable area, an application display mode for the target screen includes:

[0158] Determining a keyboard display mode for the target screen according to the displayable area;

[0159] Unzip the layout keyboard skin corresponding to the keyboard display mode.

[0160] Exemplarily, the application display mode is a special-shaped keyboard display mode that matches the displayable area.

[0161] Figure 44 is a schematic diagram of the structure of the server in the embodiment of the present application. The server 400 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 422 (for example, one or more processors) and memory 432, and one or more storage media 430 (for example, one or more mass storage devices) storing application programs 442 or data 444. Among them, the memory 432 and the storage medium 430 can be short-term storage or permanent storage. The program stored in the storage medium 430 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 422 can be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the server 400.

[0162] Furthermore, the CPU 422 may execute the following method:

[0163] When the target screen is a special-shaped display screen, obtaining a displayable area of ​​the special-shaped display screen;

[0164] Based on the displayable area, determine the application display mode for the target screen.

[0165] Exemplarily, the method further includes:

[0166] Acquire pixel density information and resolution information of the target screen;

[0167] Based on the pixel density information and the resolution information, it is determined whether the target screen is a special-shaped display screen.

[0168] Exemplarily, the determining whether the target screen is a special-shaped display screen based on the pixel density information and the resolution information includes:

[0169] In a case where the acquired pixel density information and the resolution information of the target screen are at least two groups, it is determined that the target screen belongs to a special-shaped display screen.

[0170] Exemplarily, the obtaining the displayable area of ​​the special-shaped display screen includes:

[0171] When there are at least two sets of pixel density information and resolution information of the target screen, respectively calculate each set of pixel density information and resolution information to determine at least two display units;

[0172] Each of the display units is combined to determine a displayable area of ​​the target screen.

[0173] Exemplarily, the method further includes:

[0174] Acquire screenshot image data of the target screen;

[0175] Based on the screenshot image data, it is determined whether the target screen is a special-shaped display screen.

[0176] Exemplarily, the obtaining the displayable area of ​​the special-shaped display screen includes:

[0177] Based on the screenshot image data of the target screen, a displayable area of ​​the special-shaped display screen is determined.

[0178] Exemplarily, the method further includes:

[0179] Acquire user touch data of the target screen;

[0180] Based on the user touch data, it is determined whether the target screen is a special-shaped display screen.

[0181] Exemplarily, the obtaining the displayable area of ​​the special-shaped display screen includes:

[0182] The displayable area of ​​the special-shaped display screen is determined based on the touch track and / or the touch point set indicated by the user touch data of the target screen.

[0183] Exemplarily, the determining, based on the displayable area, an application display mode for the target screen includes:

[0184] Determining a keyboard display mode for the target screen according to the displayable area;

[0185] The layout keyboard skin corresponding to the keyboard display mode is decompressed to display the keyboard.

[0186] Exemplarily, the application display mode is a special-shaped keyboard display mode that matches the displayable area.

[0187] The server 400 may also include one or more power supplies 426, one or more wired or wireless network interfaces 450, one or more input and output interfaces 458, one or more keyboards 456, and / or, one or more operating systems 441, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0188] The embodiment of the present application also provides a computer-readable medium having instructions stored thereon, which, when executed by one or more processors, enables the device to execute the application display method provided by the above method embodiment.

[0189] In summary, a computer-readable medium provided in an embodiment of the present application solves the problems existing in the prior art by obtaining the displayable area of ​​a special-shaped display screen when the target screen is a special-shaped display screen. Based on the displayable area, determine the application display method for the target screen. Therefore, when the above method is used for a special-shaped display screen, it can automatically obtain the displayable area of ​​the special-shaped display screen. And for the obtained displayable area, a corresponding application display method is provided for the above-mentioned special-shaped screen in a targeted manner. The application is made to fit the displayable area of ​​the special-shaped screen more closely, avoiding insufficient display of the application, too small display of the application in order to fully display it, and excessive compression or imbalance of the proportion of the application buttons, which brings difficulties to the user. And improve the user's experience of providing applications and terminal devices.

[0190] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0191] It should be understood that the present application is not limited to the precise structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

[0192] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method for displaying an application program, It is characterized in that include: When the target screen is a special-shaped display screen, obtaining a displayable area of ​​the special-shaped display screen; Based on the displayable area, determining an application display mode for the target screen; The method further comprises: Acquire pixel density information and resolution information of the target screen; Based on the pixel density information and the resolution information, determining whether the target screen is a special-shaped display screen; and / or, Acquire screenshot image data of the target screen; Based on the screenshot image data, determining whether the target screen is a special-shaped display screen; and / or, Acquire user touch data of the target screen; Determining whether the target screen is a special-shaped display screen based on the user touch data: Determining the application display mode for the target screen based on the displayable area includes: Determining a keyboard display mode for the target screen according to the displayable area; Unzip the layout keyboard skin corresponding to the keyboard display mode; The application display method is a special-shaped keyboard display method that matches the displayable area, wherein when the displayable area is circular, the special-shaped keyboard display method is semicircular, and when the displayable area is triangular, the special-shaped keyboard display method is a trapezoid with three sides matching the triangle.

2. The method according to claim 1, It is characterized in that The determining whether the target screen is a special-shaped display screen based on the pixel density information and the resolution information includes: In a case where the acquired pixel density information and the resolution information of the target screen are at least two groups, it is determined that the target screen belongs to a special-shaped display screen.

3. The method according to claim 1, It is characterized in that The obtaining of the displayable area of ​​the special-shaped display screen comprises: When there are at least two sets of pixel density information and resolution information of the target screen, respectively calculate each set of pixel density information and resolution information to determine at least two display units; Each of the display units is combined to determine a displayable area of ​​the target screen.

4. The method according to claim 1, It is characterized in that The obtaining of the displayable area of ​​the special-shaped display screen comprises: Based on the screenshot image data of the target screen, a displayable area of ​​the special-shaped display screen is determined.

5. The method according to claim 1, It is characterized in that The obtaining of the displayable area of ​​the special-shaped display screen comprises: The displayable area of ​​the special-shaped display screen is determined based on the touch track and / or the touch point set indicated by the user touch data of the target screen.

6. An application display device, It is characterized in that include: an acquisition unit, configured to acquire a displayable area of ​​a special-shaped display screen when the target screen is a special-shaped display screen; A determination unit, configured to determine, based on the displayable area, an application display mode for the target screen; Also includes: Acquire pixel density information and resolution information of the target screen; Based on the pixel density information and the resolution information, determining whether the target screen is a special-shaped display screen; and / or, Acquire screenshot image data of the target screen; Based on the screenshot image data, determining whether the target screen is a special-shaped display screen; and / or, Acquire user touch data of the target screen; Based on the user touch data, determining whether the target screen is a special-shaped display screen; The determining, based on the displayable area, a display mode of the application program for the target screen includes: Determining a keyboard display mode for the target screen according to the displayable area; Unzip the layout keyboard skin corresponding to the keyboard display mode; The application display method is a special-shaped keyboard display method that matches the displayable area, wherein when the displayable area is circular, the special-shaped keyboard display method is semicircular, and when the displayable area is triangular, the special-shaped keyboard display method is a trapezoid with three sides matching the triangle.

7. A storage medium, It is characterized in that The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the application display method described in any one of claims 1 to 5.

8. A device for displaying an application program, It is characterized in that The device comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include the application display method according to any one of claims 1 to 5.

9. A computer program product, It is characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium and are suitable for being read and executed by a processor, so that a computer device having the processor executes the application display method according to any one of claims 1 to 5.