Call interface display method, electronic device and storage medium

By monitoring the terminal status and selecting the layout type according to the contact avatar type, the problem of poor avatar display in the call interface is solved, and the visual effect and recognition are improved.

CN114357055BActive Publication Date: 2024-11-26GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011045952.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-28
Publication Date
2024-11-26
Estimated Expiration
2040-09-28

AI Technical Summary

Technical Problem

The prior art cannot effectively distinguish and optimize the display effect of contact avatars in the call interface, resulting in poor visual effects and low recognition of call objects.

Method used

By monitoring the working status of the target terminal, when entering the call state, obtain the avatar type of the current call contact, and select the corresponding layout type according to the avatar type, including immersive layout, small picture layout and abstract layout, to improve visual effects and recognition .

Benefits of technology

It effectively improves the visual effects and call object recognition of the call interface, ensures that the visual effects displayed on the avatar are greater than or equal to the original effect, and adapts to different avatar sizes and image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114357055B_ABST
    Figure CN114357055B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method for displaying a call interface, an electronic device, and a storage medium, including: monitoring the working state of a target terminal; when the working state is a call state, obtaining the avatar type of the current call contact, wherein the avatar type is a classification mark of the avatar data of the current contact; and obtaining and displaying a call interface of a corresponding layout type according to the avatar type. Monitor the working state of the target terminal, and when the target terminal enters a call state, determine the layout type displayed by the target terminal according to the avatar type of the current call contact, and then display the call interface according to different layout types. Since avatar photos come from a wide range of sources, selecting corresponding layout types for different contacts based on avatar types can effectively improve the visual effect of the call interface and improve the recognition of the call object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technology, and in particular to a method for displaying a call interface, an electronic device and a storage medium. Background Art

[0002] Currently, contact and address book software supports adding avatars or photos to contacts and displaying them in the call interface. There are many sources for contact avatars, such as adding them by taking photos directly through the address book application, selecting and adding from the album, and creating, adding, and synchronizing them through third-party software. After the user sets an avatar for a contact, the contact's avatar can be displayed in the call interface during a call.

[0003] The call interface in the prior art only distinguishes between the cases where the contact has an avatar and the case where the contact does not have an avatar, and the display effect cannot be guaranteed by using the same display method. Summary of the invention

[0004] Based on this, the present invention provides a method for displaying a call interface, an electronic device and a storage medium, which can effectively enhance the visual effect and improve the recognition of the call object.

[0005] In a first aspect, a method for displaying a call interface is provided, comprising:

[0006] Monitor the working status of the target terminal;

[0007] When the working state is a call state, obtaining the avatar type of the current call contact, wherein the avatar type is a classification mark of the avatar data of the current contact;

[0008] According to the avatar type, a call interface of a corresponding layout type is obtained and displayed.

[0009] Optionally, the method of obtaining the avatar type of the current call contact includes:

[0010] Get the contact information and check whether the contact has an avatar. If so, mark the contact's avatar type according to the image data of the contact's avatar. If not, mark it as a no-avatar type.

[0011] Optionally, acquiring a call interface of a corresponding layout type according to the avatar type and displaying the interface includes:

[0012] Searching a preset database for a layout type that has a mapping relationship with the avatar type;

[0013] The call interface is displayed according to the layout type found.

[0014] Optionally, acquiring a call interface of a corresponding layout type according to the avatar type and displaying the interface includes:

[0015] When the avatar type is a no-avatar type, a default layout is used for display, wherein the default layout is a layout type that does not display the contact avatar in the call interface.

[0016] Optionally, the call interface of the corresponding layout type includes a contact information display area, and the contact information display area includes an avatar display area for displaying the contact avatar, and the visual effect of the contact avatar in the avatar display area is greater than or equal to the original visual effect of the obtained contact avatar.

[0017] Optionally, the layout type includes an immersive layout, a small picture layout, and an abstract layout, the image data includes an image size and an image quality, and the acquiring and displaying of a call interface of a corresponding layout type according to the avatar type includes:

[0018] If the contact avatar is larger than a preset size and higher than a preset image quality, an immersive layout is used to display the contact avatar, wherein the immersive layout is a layout type in which the area of ​​the avatar display region is equal to the area of ​​the contact information display region;

[0019] If the contact avatar is not larger than the preset size and has a higher than preset image quality, a small picture layout is used to display the contact avatar, wherein the small picture layout is a layout type in which the avatar display area is smaller than the contact information display area;

[0020] If the contact avatar is lower than a preset image quality, an abstract layout is used, wherein the abstract layout is a layout type that displays the contact avatar after blurring and / or color extraction.

[0021] Optionally, before marking the contact's avatar type according to the image size and image quality of the contact's avatar, the method includes:

[0022] Get the screen size information of the target terminal;

[0023] The preset size is determined according to the screen size information.

[0024] In a second aspect, a display device for a call interface is provided, comprising:

[0025] An acquisition module is used to monitor the working status of the target terminal;

[0026] A processing module, configured to obtain the avatar type of the target current call contact when the working state is a call state, wherein the avatar type is a classification mark of the avatar data of the current contact;

[0027] The execution module is used to obtain and display a call interface of a corresponding layout type according to the avatar type.

[0028] Optionally, the display device of the call interface further includes:

[0029] The first acquisition submodule is used to acquire contact information and detect whether the contact has an avatar. If so, mark the avatar type of the contact according to the image data of the contact avatar. If not, mark it as a type without an avatar.

[0030] Optionally, the display device of the call interface further includes:

[0031] A first search submodule, used to search a preset database for a layout type having a mapping relationship with the avatar type;

[0032] The first display submodule is used to display the call interface according to the layout type found.

[0033] Optionally, the execution module is further used to use a default layout for display when the avatar type is a no-avatar type, wherein the default layout is a layout type that does not display the contact avatar in the call interface.

[0034] Optionally, the call interface of the corresponding layout type includes a contact information display area, and the contact information display area includes an avatar display area for displaying the contact avatar, and the visual effect of the contact avatar in the avatar display area is greater than or equal to the original visual effect of the obtained contact avatar.

[0035] Optionally, the layout type includes an immersive layout, a small picture layout, and an abstract layout, the image data includes an image size and an image quality, and the acquiring and displaying of a call interface of a corresponding layout type according to the avatar type includes:

[0036] If the contact avatar is larger than a preset size and higher than a preset image quality, an immersive layout is used to display the contact avatar, wherein the immersive layout is a layout type in which the area of ​​the avatar display region is equal to the area of ​​the contact information display region;

[0037] If the contact avatar is not larger than the preset size and has a higher than preset image quality, a small picture layout is used to display the contact avatar, wherein the small picture layout is a layout type in which the avatar display area is smaller than the contact information display area;

[0038] If the contact avatar is lower than a preset image quality, an abstract layout is used, wherein the abstract layout is a layout type that displays the contact avatar after blurring and / or color extraction.

[0039] Optionally, the display device of the call interface further includes:

[0040] The second acquisition submodule is used to acquire the screen size information of the target terminal;

[0041] The first processing submodule is used to determine the preset size according to the screen size information.

[0042] In a third aspect, an electronic device, a processor and a memory for storing instructions executable by the processor are provided; wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the call interface display method described in any one of the above items.

[0043] In a fourth aspect, a non-volatile computer-readable storage medium is provided, wherein the storage medium stores computer-readable instructions. When the instructions in the storage medium are executed by one or more processors, the one or more processors execute the steps of the call interface display method described in any one of the above items.

[0044] The above-mentioned call interface display method, electronic device and storage medium monitor the working status of the target terminal. When the target terminal enters the call state, the layout type displayed by the target terminal is determined according to the avatar type of the current call contact, and then the call interface according to the different layout types is displayed. Since the sources of avatar photos are wide, the corresponding layout type is selected for different contacts based on the avatar type, which can effectively improve the visual effect of the call interface and improve the recognition of the call object. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 A basic flow chart of a method for displaying a call interface according to an embodiment of the present invention;

[0047] Figure 2 A schematic diagram of a call interface according to an embodiment of the present invention;

[0048] Figure 3 A schematic diagram of a head portrait type marking process according to an embodiment of the present invention;

[0049] Figure 4 This is a basic structural block diagram of a display device for a call interface according to an embodiment of the present invention;

[0050] Figure 5The figure is a hardware schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0052] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0054] It will be understood by those skilled in the art that the "terminal" and "terminal device" used herein include both devices with wireless signal receivers, which are devices with only wireless signal receivers without transmission capabilities, and devices with receiving and transmitting hardware, which are devices with receiving and transmitting hardware capable of performing two-way communications on a two-way communication link. Such devices may include: cellular or other communication devices, which have a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data processing, fax and / or data communication capabilities; PDA (Personal Digital Assistant, personal digital assistant), which may include a radio frequency receiver, a pager, Internet / intranet access, a web browser, a notepad, a calendar and / or a GPS (Global Positioning System, global positioning system) receiver; conventional laptop and / or palmtop computers or other devices, which have and / or include a conventional laptop and / or palmtop computer or other device with a radio frequency receiver. The "terminal" and "terminal device" used herein may be portable, transportable, installed in a vehicle (air, sea and / or land), or adapted and / or configured to operate locally, and / or in a distributed form, at any other location on the earth and / or in space. The "terminal" and "terminal device" used herein may also be a communication terminal, an Internet terminal, a music / video playing terminal, such as a PDA, a MID (Mobile Internet Device) and / or a mobile phone with a music / video playing function, or a smart TV, a set-top box and other devices.

[0055] Please refer to Figure 1 , Figure 1 The following is a basic flow chart of the method for displaying the call interface of this embodiment, which can be applied to applications such as telephone and WeChat calls.

[0056] like Figure 1 As shown, a method for displaying a call interface includes:

[0057] S1100, monitoring the working status of the target terminal;

[0058] The working state of the target terminal includes but is not limited to the call state and the non-call state. The classification of the working state can be adjusted according to the actual situation. For example, the working state can be divided into the call state, the use state, the standby state, etc. When the target terminal is in the normal working state or the standby state, the background monitors the working state of the terminal.

[0059] S1200: When the working state is a call state, obtaining an avatar type of a current call contact, wherein the avatar type is a classification mark of the avatar data of the current contact;

[0060] The call status includes but is not limited to incoming calls, outgoing calls, calls in progress, suspended, and hung up. When the target terminal is monitored to enter the call state, the contact information of the current call contact is obtained. The current call contact is the object of the call state. For example, when the target terminal is talking to A, A is the current call contact. The contact information of the current call contact can be obtained through the local storage of the target terminal, or can be obtained from the server through the network, or imported from other applications. The contact information includes but is not limited to the avatar type, avatar image data, contact notes and number, etc. After obtaining the contact information, the avatar type of the current call contact is determined according to the content recorded in the contact information.

[0061] In some embodiments, after determining that the target terminal enters a call state, the avatar image data of the current call contact is obtained, and the avatar type of the current call contact is determined based on the avatar image data, and the avatar type is a classification mark of the avatar data of the current contact. Specifically, the classification marking method may include performing according to the size and image quality of the avatar image data, for example, dividing the avatar image into large size and small size according to the size, dividing the image quality into high quality and low quality, etc., combining multiple classification dimensions, marking the avatar as large size and high quality, small size and high quality, etc., as the avatar type, the number of classifications can be adjusted according to the actual application scenario, for example, the avatar can be divided into three or more types of large, medium and small according to the size. The method for determining the image quality can be calculated according to the IQA (Image Quality Assessment, image quality evaluation) calculation method.

[0062] In some embodiments, the image classification method can combine size and image quality, for example, classifying images into large size and low quality, large size and high quality, small size and low quality, and small size and high quality, etc. The parameters based on which the image classification is based can also be adjusted according to the actual application scenario, such as adding hue, contrast, brightness, portrait recognition, cropping method, etc. as the basis for marking.

[0063] In some embodiments, the marking of the contact avatar type can occur when adding an avatar, modifying an avatar, retrieving a stored avatar, or traversing the stored avatars. After the avatars are classified, the avatar type of the corresponding contact is marked and directly obtained when the terminal enters a call state.

[0064] S1300, obtaining a call interface of a corresponding layout type according to the avatar type and displaying it;

[0065] After obtaining the avatar type of the current call contact, the layout type of the target terminal display content is determined according to the avatar type. Specifically, the layout type can be set according to the actual application scenario. For example, the layout type includes immersive layout, small picture layout, abstract layout, default layout, etc. Figure 2 As shown, Figure 2 From left to right are schematic diagrams of call interfaces corresponding to immersive layout, small picture layout, abstract layout and default layout. In some embodiments, the call interface of the corresponding layout type includes a display area for displaying contact information, and the contact information display area includes an avatar display area for displaying contact avatars. The visual effect of the contact avatar in the avatar display area is greater than or equal to the original visual effect of the acquired contact avatar. There are at least two types of display areas, and there are at least two corresponding avatar size types. The visual effect is the intuitive visual experience brought by the display of the avatar. For example, when the avatar is large in size and high in quality, the image can be tiled and displayed in most areas of the interface, and when the avatar is small in size and high in quality, the image can be displayed in the center of the interface or in a designated area to avoid poor display effects after tiling of small-size images to ensure the visual effect of the display area. When the avatar size is low in quality, the avatar is blurred to avoid poor visual effects caused by factors such as the roughness of the original pixels in the avatar.

[0066] If the contact avatar is larger than the preset size and higher than the preset image quality, an immersive layout is adopted. The immersive layout is a layout type in which the area of ​​the avatar display area is equal to the area of ​​the contact information display area, that is, the avatar display area of ​​the immersive layout covers the entire contact information display area, and the contact avatar is displayed; if the contact avatar is not larger than the preset size and higher than the preset image quality, a small picture layout is adopted. The small picture layout is a layout type in which the area of ​​the avatar display area is smaller than the area of ​​the contact information display area, and the contact avatar is displayed; if the contact avatar is lower than the preset image quality, an abstract layout is adopted. The abstract layout is a layout type in which the contact avatar is displayed after blurring and / or color extraction, and the contact avatar is displayed after image processing;

[0067] In some implementations, if the contact is of the type without an avatar, a default layout is used for display. The default layout is a layout type that does not display the contact avatar in the call interface, that is, there is no avatar display area in the call interface.

[0068] The system has a preset database for storing the mapping relationship between each avatar type and layout type. For example, if the avatar type is large size and high quality, it corresponds to an immersive layout; if the avatar type is small size and high quality, it corresponds to a small picture layout, etc. After determining the avatar type of the current call contact, the layout type that has a mapping relationship with the avatar type is searched, and the contact avatar is set in the avatar display area to be displayed on the call interface of the corresponding layout type.

[0069] By monitoring the working status of the target terminal, when the target terminal enters the call state, the layout type displayed by the target terminal is determined according to the avatar type of the current call contact, and then the call interface is displayed according to different layout types. Since the sources of avatar photos are wide, selecting the corresponding layout type for different contacts based on the avatar type can effectively improve the visual effect of the call interface and improve the recognition of the call object.

[0070] In some embodiments, Figure 3 As shown, obtaining the avatar type of the current call contact includes: obtaining contact information, detecting whether the contact has an avatar, if so, marking the avatar type of the contact according to the image data of the contact avatar, if not, marking it as a no avatar type.

[0071] In some embodiments, the step of marking the contact's avatar type can also be performed when obtaining an added contact avatar, modifying a contact avatar, retrieving a stored avatar, traversing a stored avatar, or detecting that the working state of the target terminal is the target call state.

[0072] This embodiment takes the marking of avatar types when traversing stored avatars as an example. The target terminal extracts the contact information in the address book according to the preset rules to determine the avatar type of each contact so as to provide a basis for the layout type selection during the call. The preset rules can be every certain time interval, every set time point, when a new contact is added, or when the number of contacts reaches a certain amount, etc., but not limited to this. For example, it is set to be performed every week, on the first day of each month, every time a new contact is added, or every five contacts are added, etc. When it is necessary to determine the avatar type, the address book information is obtained, including the contact information of all contacts stored in the target terminal, and the contact information includes but is not limited to the avatar type, avatar image data, contact notes and number, etc.

[0073] After obtaining the address book information, all contacts in the address book information are marked with avatar types in order. The sorting method can be adjusted according to actual conditions, such as by name, by number, by adding time, by contact frequency, etc., but not limited to this.

[0074] Specifically, Figure 3As shown, first obtain the contact information of the first contact, and obtain the corresponding avatar image data therefrom. If the contact information does not contain an avatar, it is marked as a type without an avatar. If the contact information has an avatar, classify the avatar image data according to a preset classification rule and then mark the avatar type. The image data used in the classification rule includes but is not limited to image size, image quality, image tone, contrast, brightness, portrait recognition content, and cropping method. In this embodiment, classification according to the size and image quality of the avatar image is taken as an example, and images larger than a preset size are defined as large-size avatars, and the rest are small-size avatars, and images with an IQA evaluation of greater than a preset quality are defined as high-quality images, and the rest are defined as low-quality avatars. Based on the classification of the two dimensions, the images are classified into large-size low-quality, large-size high-quality, small-size low-quality, small-size high-quality, and those without avatar data are defined as no avatar, etc. The avatar types obtained by classification are stored. The storage method can be directly written into the contact information, or stored separately, for example, a storage area designated in a terminal or server is used to store data of avatar types of all contacts. The preset size in this embodiment may refer to the length, width or resolution of the image, for example, the preset size is a resolution of 300x300, or a length and width of 8 inches and 6 inches, and 72 PPI (pixels per inch), but is not limited thereto.

[0075] By marking the contact's avatar type, a basis is provided for selecting the layout type during a call, which can effectively improve the effectiveness of the layout type selection and improve the display effect of the call interface.

[0076] In some embodiments, when the layout type is an abstract layout, the avatar image of the current call contact is obtained, and then the image is processed, and the processing method includes blurring or extracting colors, abstracting the avatar image, reducing noise or mosaic effects in the image, so as to improve the display effect of low-quality avatars. In other embodiments, the image processing method can be adjusted according to the actual application scenario, such as adjusting color difference, adjusting brightness, adjusting grayscale, sharpening, decoloring, intercepting, scaling, etc., but not limited to this.

[0077] A preset size is set in the system. When the avatar size recorded in the avatar information is larger than the preset size, the avatar is determined to be a large-size avatar. When the avatar size is not larger than the preset size, the avatar is determined to be a small-size avatar. The size in this embodiment may refer to the length, width or resolution of the image, for example, the preset size threshold is a resolution of 300x300, or a length and width of 8 inches and 6 inches, and 72 PPI (pixels per inch), but is not limited thereto. In this embodiment, resolution is used as an example to determine the size. When the size threshold is 300x300, when the resolution of the avatar size is greater than 300x300, it is determined that the avatar information meets the size condition, otherwise it does not meet the size condition. The size threshold can be adjusted according to actual application requirements. For example, when the avatar display effect needs to be improved, the size threshold can be increased, for example, the size threshold is determined to be a resolution of 500x500.

[0078] The system is set with a preset image quality, and IQA calculation is performed on the avatar image data to obtain the corresponding image quality parameter. When the image quality parameter is greater than the preset image quality, the avatar is determined to be a high-quality avatar. When the image quality parameter is not greater than the preset image quality, the avatar is determined to be a low-quality avatar.

[0079] IQA calculation can use the full reference image quality evaluation, partial reference image quality evaluation or no reference method in the relevant technology, where the full reference image quality evaluation refers to comparing the difference between the image to be evaluated and the reference image when the ideal image is selected as the reference image, analyzing the degree of distortion of the image to be evaluated, and thus obtaining the quality evaluation of the image to be evaluated. For example, based on the statistical basis of image pixels, the global size of the pixel error between the avatar image and the reference image is calculated to measure the image quality, with the peak signal-to-noise ratio (PSNR) or mean square error (MSE) as the parameter value. The no reference method is a method for calculating image quality based on image statistical characteristics, which can use the average value of image pixels, the discrete degree of image pixel grayscale values ​​relative to the mean, or the average gradient, etc., or other IQA calculation methods in the prior art can be used, as long as the quantitative expression of image quality is achieved, which will not be repeated here.

[0080] In some implementations, the preset size can be adjusted with the size of the screen to ensure that a good display effect can be achieved under different screen sizes. Specifically, before determining whether the avatar information meets the preset size condition, the process further includes:

[0081] Get the screen size information of the target terminal;

[0082] The screen size information of the target terminal may be recorded in the terminal or in the corresponding server. Before classifying the avatar type, the screen size information of the target terminal is obtained. The screen size information includes data such as the length, width, and resolution of the screen, but is not limited thereto.

[0083] Determine the preset size according to the screen size information;

[0084] According to the screen size information, the avatar size threshold having a mapping relationship with the screen size information is searched as the preset size. Specifically, different avatar size thresholds are preset for each screen size. For example, the avatar size threshold is divided into multiple gradients to correspond to different screen sizes. The screen size can be the screen size, length and width, resolution, etc. In this embodiment, the screen size is taken as the size of the screen as an example, and different avatar size thresholds are set according to different screen sizes. For example, when the screen is less than 5 inches, the avatar size threshold is a resolution of 300*300; when the screen is greater than 5 inches and less than 6 inches, the avatar size threshold is a resolution of 400*400; when the screen is greater than 6 inches, the avatar size threshold is a resolution of 500*500. The corresponding gradients of the screen size and the size threshold can be adjusted according to the actual application scenario. For example, when the display effect needs to be ensured more finely, the number of gradients can be more.

[0085] The embodiment of the invention also provides a display device for a call interface. Figure 4 , Figure 4 This is a basic structural block diagram of the display device for implementing the call interface.

[0086] like Figure 4 As shown, the display device of the call interface includes: an acquisition module 2100, a processing module 2200 and an execution module 2300. The acquisition module is used to monitor the working state of the target terminal; the processing module is used to obtain the avatar type of the target current call contact when the working state is the call state, wherein the avatar type is a classification mark of the avatar data of the current contact; the execution module is used to obtain and display the call interface of the corresponding layout type according to the avatar type.

[0087] By monitoring the working status of the target terminal, when the target terminal enters the call state, the layout type displayed by the target terminal is determined according to the avatar type of the current call contact, and then the call interface is displayed according to different layout types. Since the sources of avatar photos are wide, selecting the corresponding layout type for different contacts based on the avatar type can effectively improve the visual effect of the call interface and improve the recognition of the call object.

[0088] In some embodiments, the display device of the call interface also includes: a first acquisition submodule, which is used to obtain contact information and detect whether the contact has an avatar. If so, mark the contact's avatar type according to the image data of the contact's avatar; if not, mark it as a no-avatar type.

[0089] In some embodiments, the display device of the call interface further includes: a first search submodule and a first display submodule. The first search submodule is used to search a preset database for a layout type that has a mapping relationship with the avatar type; and the first display submodule is used to display the call interface according to the layout type found.

[0090] In some implementations, the execution module is further configured to, when the avatar type is a no-avatar type, use a default layout for display, wherein the default layout is a layout type that does not display a contact avatar in a call interface.

[0091] In some embodiments, the call interface of the corresponding layout type includes a contact information display area, and the contact information display area includes an avatar display area for displaying the contact avatar, and the visual effect of the contact avatar in the avatar display area is greater than or equal to the original visual effect of the obtained contact avatar.

[0092] In some implementations, the layout type includes an immersive layout, a small picture layout, and an abstract layout, the image data includes an image size and an image quality, and obtaining a call interface of a corresponding layout type according to the avatar type and displaying the same includes:

[0093] If the contact avatar is larger than a preset size and higher than a preset image quality, an immersive layout is used to display the contact avatar, wherein the immersive layout is a layout type in which the area of ​​the avatar display region is equal to the area of ​​the contact information display region;

[0094] If the contact avatar is not larger than the preset size and has a higher than preset image quality, a small picture layout is used to display the contact avatar, wherein the small picture layout is a layout type in which the avatar display area is smaller than the contact information display area;

[0095] If the contact avatar is lower than a preset image quality, an abstract layout is used, wherein the abstract layout is a layout type that displays the contact avatar after blurring and / or color extraction.

[0096] In some embodiments, the display device of the call interface further includes: a second acquisition submodule and a first processing submodule, wherein the second acquisition submodule is used to acquire the screen size information of the target terminal; and the first processing submodule is used to determine the preset size according to the screen size information.

[0097] The embodiment of the present invention also provides an electronic device. Figure 5 , Figure 5 FIG. 4 is a hardware schematic diagram of the electronic device of this embodiment.

[0098] like Figure 5 As shown in the figure, the hardware diagram of the electronic device. Figure 5 As shown, the electronic device includes a processor, a non-volatile storage medium, a memory, and a network interface connected via a system bus. Among them, the non-volatile storage medium of the electronic device stores an operating system, a database, and a computer-readable instruction, and a control information sequence may be stored in the database. When the computer-readable instruction is executed by the processor, the processor can implement a method for displaying a call interface. The processor of the electronic device is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory of the electronic device may store computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor may execute the method for displaying the call interface in the embodiment of the present application. The network interface of the electronic device is used to connect and communicate with the terminal. It can be understood by those skilled in the art that the structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0099] The present invention also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the call interface display method described in any of the above embodiments.

[0100] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0101] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0102] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0103] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for displaying a call interface, characterized in that: include: Monitor the working status of the target terminal; When the working state is a call state, obtaining the avatar type of the current call contact, wherein the avatar type is a classification mark of the avatar data of the current contact; According to the avatar type, a call interface of a corresponding layout type is obtained and displayed; the call interface of the corresponding layout type includes a contact information display area, the contact information display area includes an avatar display area for displaying the contact avatar, and the visual effect of the contact avatar in the avatar display area is greater than or equal to the original visual effect of the acquired contact avatar; the layout type includes an immersive layout, a small picture layout and an abstract layout, and the image data includes an image size and an image quality. According to the avatar type, the call interface of the corresponding layout type is obtained and displayed, including: if the contact avatar is larger than a preset size and higher than a preset image quality, an immersive layout is used to display the contact avatar, wherein the immersive layout is a layout type in which the area of ​​the avatar display area is equal to the area of ​​the contact information display area; if the contact avatar is not larger than a preset size and higher than a preset image quality, a small picture layout is used to display the contact avatar, wherein the small picture layout is a layout type in which the area of ​​the avatar display area is smaller than the area of ​​the contact information display area; if the contact avatar is lower than a preset image quality, an abstract layout is used, wherein the abstract layout is a layout type in which the contact avatar is displayed after being blurred and / or color extracted.

2. The method for displaying a call interface according to claim 1, wherein: The type of avatar for the current call contact is as follows: Get the contact information and check whether the contact has an avatar. If so, mark the contact's avatar type according to the image data of the contact's avatar. If not, mark it as a no-avatar type.

3. The method for displaying a call interface according to claim 1, wherein: The acquiring and displaying of a call interface of a corresponding layout type according to the avatar type includes: Searching a preset database for a layout type that has a mapping relationship with the avatar type; The call interface is displayed according to the layout type found.

4. The method for displaying a call interface according to claim 2, wherein: The acquiring and displaying of a call interface of a corresponding layout type according to the avatar type includes: When the avatar type is a no-avatar type, a default layout is used for display, wherein the default layout is a layout type that does not display the contact avatar in the call interface.

5. The method for displaying a call interface according to claim 1, wherein: Before labeling a contact's avatar type based on the contact's avatar's image size and image quality, including: Get the screen size information of the target terminal; The preset size is determined according to the screen size information.

6. A display device for a call interface, characterized in that: include: An acquisition module is used to monitor the working status of the target terminal; A processing module, configured to obtain the avatar type of the target current call contact when the working state is a call state, wherein the avatar type is a classification mark of the avatar data of the current contact; An execution module is used to obtain and display a call interface of a corresponding layout type according to the avatar type; the call interface of the corresponding layout type includes a contact information display area, the contact information display area includes an avatar display area for displaying the contact avatar, and the visual effect of the contact avatar in the avatar display area is greater than or equal to the original visual effect of the acquired contact avatar; the layout types include immersive layout, small picture layout and abstract layout, the image data includes image size and image quality, and the method of obtaining and displaying a call interface of a corresponding layout type according to the avatar type includes: if the contact avatar is larger than a preset size and high At a preset image quality, an immersive layout is used to display the contact avatar, wherein the immersive layout is a layout type in which the area of ​​the avatar display area is equal to the area of ​​the contact information display area; if the contact avatar is not larger than a preset size and is higher than a preset image quality, a small picture layout is used to display the contact avatar, wherein the small picture layout is a layout type in which the area of ​​the avatar display area is smaller than the area of ​​the contact information display area; if the contact avatar is lower than the preset image quality, an abstract layout is used, wherein the abstract layout is a layout type in which the contact avatar is displayed after being blurred and / or color extracted.

7. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method for displaying a call interface as described in any one of claims 1 to 5.

8. A non-volatile computer-readable storage medium, wherein computer-readable instructions are stored in the storage medium. When the instructions in the storage medium are executed by one or more processors, the one or more processors execute the steps of the method for displaying a call interface as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Display method for communication terminal talking interface and communication terminal

    CN102404435A

  • Device, method, and user interface for managing and interacting with media content

    US20190026313A1