CN110007995A - A kind of information processing method, electronic equipment and computer storage medium - Google Patents

A kind of information processing method, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN110007995A
CN110007995A CN201910251599.9A CN201910251599A CN110007995A CN 110007995 A CN110007995 A CN 110007995A CN 201910251599 A CN201910251599 A CN 201910251599A CN 110007995 A CN110007995 A CN 110007995A
Authority
CN
China
Prior art keywords
area
special
display
shaped
curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910251599.9A
Other languages
Chinese (zh)
Other versions
CN110007995B (en
Inventor
江晓鸿
董天田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910251599.9A priority Critical patent/CN110007995B/en
Publication of CN110007995A publication Critical patent/CN110007995A/en
Application granted granted Critical
Publication of CN110007995B publication Critical patent/CN110007995B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of information processing methods, which comprises obtains object identity;If the display area of object identity is irregular shaped region, the object identity is handled;The irregular shaped region belongs to the display output area of display screen, and the edge of the display output area includes curve, and the irregular shaped region includes at least partly curve of the curve;By treated, display object identity is shown in the irregular shaped region.The embodiment of the present invention constantly also discloses a kind of electronic equipment and computer storage medium.

Description

Information processing method, electronic equipment and computer storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information processing method, an electronic device, and a computer storage medium.
Background
With the continuous development of terminal technology, people have higher and higher requirements on the full screen. Due to the limitation of non-display devices such as a receiver and a front camera, the current full-screen terminal cannot really achieve 100% screen occupation ratio, and most full-screen mobile terminals adopt the design of a special-shaped display screen. However, irregular edges of a contoured display screen can hinder or cut off the presentation of interface elements.
In the prior art, in order to avoid the icon identification appearing near the special-shaped display screen gap from being influenced, a large-area irregular display area is usually abandoned for display, so that elements near the gap and visual effects lack matching and responding, and obvious influence is caused on user experience.
Disclosure of Invention
To solve the above technical problem, embodiments of the present invention desirably provide an information processing method, an electronic device, and a computer storage medium.
The technical scheme of the invention is realized as follows:
in a first aspect, an information processing method is provided, and the method includes:
obtaining an object identifier;
if the display area of the object identification is a special-shaped area, processing the object identification; the special-shaped area belongs to a display output area of a display screen, the edge of the display output area comprises a curve, and the special-shaped area comprises at least part of the curve;
and displaying the processed display object identifier in the special-shaped area.
In a second aspect, an electronic device is provided, the electronic device comprising: a display screen, a processor and a memory;
the display screen having a display output area, an edge of the display output area comprising a curve, the display output area comprising a shaped area, the shaped area comprising at least a portion of the curve;
the processor is used for executing the program of the information processing method in the memory so as to realize the following steps:
obtaining an object identifier;
if the display area of the object identification is the special-shaped area, processing the object identification; the special-shaped area belongs to a display output area of a display screen, the edge of the display output area comprises a curve, and the special-shaped area comprises at least part of the curve;
and displaying the processed display object identifier in the special-shaped area.
In a third aspect, a computer-readable storage medium is provided, which is characterized by storing one or more programs, which are executable by one or more processors, to implement the steps of the information processing method according to the first aspect.
The information processing method, the electronic device and the computer storage medium provided by the embodiment of the invention can judge the display area of the object identifier, which needs to be displayed, after the object identifier is obtained, and process the object identifier if the display area of the object identifier is the special-shaped area; and displaying the processed display object identifier in the special-shaped area. Like this, can handle the object identification, show in special-shaped region, consequently can not produce the problem that hinders the object identification and carry out the demonstration, special-shaped region shows in the make full use of display screen, has improved the utilization ratio of display screen to and the regional demonstration flexibility ratio of special-shaped.
Drawings
Fig. 1(a) is a schematic view of a display screen structure of an electronic device according to an embodiment of the present invention;
fig. 1(b) is a schematic view of a display screen structure of another electronic device according to an embodiment of the present invention;
fig. 2(a) is a schematic view of a display screen structure of an electronic device according to another embodiment of the present invention;
fig. 2(b) is a schematic view of a display screen structure of another electronic device according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to an embodiment of the present invention;
fig. 4 is a schematic view of a display screen structure of another electronic device according to an embodiment of the present invention;
fig. 5 is a schematic view of a display screen structure of another electronic device according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating another information processing method according to an embodiment of the present invention;
fig. 7(a) and fig. 7(b) are schematic diagrams of display interfaces of an electronic device according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a further information processing method according to an embodiment of the present invention;
FIG. 9(a) is a schematic diagram of a region division according to an embodiment of the present invention;
FIG. 9(b) is a schematic diagram of another divided region provided by the embodiment of the present invention;
fig. 10(a) to 10(e) are schematic display interfaces of another electronic device according to an embodiment of the present invention;
FIG. 11 is a schematic view of a display interface of another electronic device according to an embodiment of the present invention;
fig. 12(a) to 12(f) are schematic display interfaces of another electronic device according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In practical applications, limited to existing devices, a small hole or a notch is usually cut out in a display area of a display screen, and devices such as a headphone, a front-facing camera, and an optical fiber sensor are embedded into the small hole or the notch. For example, a common display screen structure can be seen in fig. 1 or fig. 2, but not limited thereto. The display screen shown in fig. 1 may be referred to as a drop display screen, the display screen shown in fig. 2 may be referred to as a bang display screen, and the recessed portion at the top end of the display screens shown in fig. 1 and 2 is used for arranging devices such as an earphone, a camera, an optical fiber sensor, and the like. It can be seen that, compared with the regular display screen, the display screen shown in fig. 1 and 2 has a smaller display area at the top near the gap, and if the icon identifier is displayed normally, the irregular edge of the display screen will obstruct or cut off the display elements in the interface; for example, the icon representations shown in fig. 1(a), and 2(a) are cut by the edges of the drop shaped display screen and the bang shaped display screen. In order to avoid the icon identifiers appearing near the notch of the special-shaped display screen from being affected, a large-area irregular display area is usually abandoned; for example, the area 101, the area 102 in fig. 1(b), the area 201 and the area 202 in fig. 2(b) cannot accommodate an icon label of a standard size, and therefore the icon label is not displayed in the area 101, the area 102, the area 201 and the area 202; therefore, the block is obviously empty visually, the utilization rate of the display screen is low, and the user experience is reduced.
In view of the above problem, an embodiment of the present invention provides an information method, as shown in fig. 3, the method including the steps of:
step 301, obtaining an object identifier.
Here, the obtaining of the object identification of step 301 may be implemented by a processor in the electronic device. The display screen of the electronic device is a special-shaped display screen, and the electronic device may be implemented in various forms, for example, the electronic device may include a mobile phone, a tablet computer, a palm computer, a Personal Digital Assistant (PDA), and the like.
The object identifier may include an icon identifier corresponding to an application of the notification message, for example, an icon identifier of an application such as a WeChat, a short message, and a mail; the object identifier may further include an icon identifier of a common function, for example, an icon identifier of battery level, time, network setting, communication signal strength, and the like.
Step 302, if the display area of the object identifier is a special-shaped area, processing the object identifier.
Here, if the display area of the object identifier is a special-shaped area, the step 302 may be implemented by a processor in the electronic device. The display screen in the electronic device is a special-shaped display screen, and a non-display area with a small hole shape or a gap is arranged in a display area of the display screen. In general, the edge of the hole or the notch cut out in the special-shaped display screen is a curve. Thus, the edge of the display output area corresponding to the small hole or the notch in the display screen is also a curve.
In other embodiments of the invention, the shaped area belongs to a display output area of the display screen, an edge of the display output area comprises a curve, and the shaped area comprises at least part of the curve. It is to be understood that the shaped area is a portion of a display area in a display screen of an electronic device, and the shaped display area may be an irregular display area adjacent to a small hole or gap in the display screen.
In one embodiment, an edge of a display output area of a display screen includes an outer edge contour and an inner edge contour, the edge outer contour having a different shape than the edge inner contour; the inner edge profile is a closed curve, and the special-shaped area comprises a partial curve of the closed curve.
For example, the display screen in the above embodiment may be a hole digging display screen; the structure of the hole digging display screen can be seen in fig. 4, but not limited thereto; wherein, dig the hole and be located the upper right corner of display screen. The display screen shown in fig. 4 has a display output area comprising an outer edge contour 401 at the outer side and an inner edge contour 402 around the cutout. Wherein, the outer edge contour 401 is rectangular, and the inner edge contour is a closed circular curve 402. In the embodiment shown in FIG. 4, the shaped region includes a partial curve to the left of the inner edge profile 402. It should be noted that when the cutout is at the top left side of the display screen, the shaped area includes the curve at the right side of the inner edge contour (not shown), and when the cutout is at the top middle of the display screen, the shaped area may include all the curves of the inner edge contour (not shown).
In another embodiment, an edge of a display output area of a display screen includes an edge contour, a portion of the edge contour is a curve, and the shaped area includes all of the curve.
For example, the display screen in the above embodiment may be a drop display screen or a bang display screen; the structure of the water drop-shaped display screen can be seen in fig. 1, and the structure of the bang-shaped display screen can be seen in fig. 2. In the drop-shaped display screen shown in fig. 1, the display area includes an edge profile 105; wherein the edge profile 105 comprises a plurality of straight lines and a plurality of complete curves and the shaped area comprises each complete curve in the edge profile 105. In the drop-shaped display screen shown in fig. 1, the shaped areas may be area 101, area 102, area 103, and area 104. In the bang display shown in fig. 2, the display area includes an edge profile 205. Where the edge profile 205 includes a plurality of straight lines and a plurality of complete curves. In the bang display shown in fig. 2, the shaped area includes each complete curve in the edge profile 205. In the bang display shown in fig. 2, the shaped area may include area 201, area 202, area 203, and area 204.
In another embodiment of the present invention, the edge of the display output area of the display screen includes an edge contour, the edge contour is formed by straight lines with two or more inclination angles, and the special-shaped area includes all straight lines with acute and obtuse inclination angles.
For example, the display screen in the above embodiment may be a triangular display screen, but is not limited thereto; the structure of the triangular display screen can be seen in fig. 5. In the triangular display screen shown in FIG. 5, the display area includes an edge profile 502; wherein, use the horizontal screen direction of display screen to establish rectangular coordinate system for the Y axle with the vertical screen direction of display screen, can obtain, triangle-shaped display screen edge profile 503 includes that inclination is straight line AB and CD at right angle, and inclination is 0 or straight line BC, DE and GA at flat angle, and inclination is the straight line EF at acute angle to and inclination is obtuse straight line FG. In the triangular display shown in fig. 5, the shaped area may include every complete line inclined at an acute angle and an obtuse angle. In fig. 5, the shaped area includes a straight line EF whose inclination angle is an acute angle, and a straight line FG whose inclination angle is an obtuse angle; specifically, the special-shaped areas are an area 501 and an area 502.
In this embodiment, when it is determined that the display area of the object identifier is the special-shaped area, a complete icon identifier cannot be displayed due to irregularity of the special-shaped area, and thus, the object identifier needs to be processed. Specifically, the electronic device may narrow down the object identifier or replace the object identifier with another identifier.
And 303, displaying the processed display object identifier in the special-shaped area.
Here, the step 303 of displaying the processed display object identifier in the special-shaped area may be implemented by a processor of the electronic device.
The information processing method provided by the embodiment of the invention can judge the display area of the object identifier, which needs to be displayed, after the object identifier is obtained, and process the object identifier if the display area of the object identifier is the special-shaped area; and displaying the processed display object identifier in the special-shaped area. Like this, can handle the object identification, show in special-shaped region, consequently can not produce the problem that hinders the object identification and carry out the demonstration, special-shaped region shows in the make full use of display screen, has improved the utilization ratio of display screen to and the regional demonstration flexibility ratio of special-shaped.
Based on the foregoing embodiments, an embodiment of the present invention provides an information processing method, which is shown in fig. 6 and includes the following steps:
step 601, obtaining an object identifier.
In the embodiment provided by the present invention, the object identifier may be an icon identifier corresponding to a new notification message received by the electronic device, for example, an icon identifier of a mail; or icon identifiers generated when a new function is enabled, such as icon identifiers of bluetooth, navigation and the like.
In another embodiment, the object identifier may also be an already displayed icon identifier.
Step 602, if the display area of the object identifier is a special-shaped area, the object identifier is reduced according to the target scale.
Wherein the target proportion is related to the area of the profiled region.
In an exemplary embodiment, the electronic device can determine whether the display region of the object identifier is a shaped region based on the available display region area of the status bar in the current display output region. Specifically, when the area of the available display area in the status bar is smaller than the preset area, it is determined that the display area of the object identifier is the special-shaped area. The preset area may be an area size of one standard icon logo.
In other embodiments of the present invention, when it is determined that the display area of the object identifier is the special-shaped area, the object identifier may be reduced according to the target scale. Specifically, when the display area of the object identifier is determined to be the special-shaped area, determining the available display area of the special-shaped area; and determining the target proportion of the object identification based on the available display area in the special-shaped area.
Step 603, displaying the display object identifier reduced according to the target scale in the special-shaped area.
In one embodiment, the electronic device may display the display object identifier directly in the special-shaped area according to the target scale.
For example, the description is made with reference to the display interface shown in fig. 7; when the electronic device receives a new short message, first obtaining the area of the available display area in the status bar 701 in fig. 7(a), and when the area of the available display area in the status bar 701 is smaller than the area of the short message icon identifier; determining a display area of the short message icon identification as a special-shaped area; further, the target proportion of the short message icon identification is determined to be 80% according to the area of the available display area. Then, the electronic device reduces the short message icon to 80% of the size of the original icon label, and displays the short message icon in the special-shaped area 702 shown in fig. 7 (b).
In another embodiment, the electronic device may gradually reduce the display object identifier from the default size to the target scale for displaying, and the process is a dynamic process.
In other embodiments of the present invention, the method further comprises the steps of:
and step 604, if the display area of the object identifier is the standard area, displaying the object identifier in the standard area.
Wherein the standard area belongs to a display output area of the display screen. Here, the standard area may be a display area other than the abnormal area in the electronic device status bar or the notification bar.
Here, based on step 602, the electronic device may obtain an available display area of the status bar or the notification bar in the current display output area, and when the area of the available display area in the status bar or the notification bar is not smaller than a preset area, it may be considered that there is enough space in the standard area of the current status bar or the notification bar for displaying the icon identifier; therefore, the electronic equipment determines the display area of the object identifier as a standard area; further, the electronic device may directly display the object identification in a standard area of the corresponding status bar or notification bar.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The information processing method provided by the embodiment of the invention can judge the display area of the object identifier, which needs to be displayed, after the object identifier is obtained, if the display area of the object identifier is the special-shaped area, the proportion of the object identifier is determined and adjusted according to the area of the special-shaped area, and therefore, the icon identifier displayed in the special-shaped area is reduced to a certain extent so as to be suitable for displaying in the special-shaped area. Therefore, the special-shaped area in the display screen is fully utilized for displaying, the utilization rate of the display screen is improved, and the display flexibility of the special-shaped area is improved.
Based on the foregoing embodiments, an embodiment of the present invention provides an information processing method, including:
step 801, responding to the movement instruction.
Here, the moving instruction may be an instruction triggered by the user sliding an icon identifier in the status bar or the notification bar, or may be an instruction triggered when the electronic device receives a new notification message, for example, the electronic device triggers the moving instruction when receiving a new short message; it may also be an instruction that is triggered when a user activates a new function that requires the generation of a new icon identification, for example, a move instruction is triggered when a bluetooth, navigation, etc. function is turned on.
And step 802, taking the icon identification in the standard area as an object identification.
Wherein the standard area is adjacent to the special-shaped area in the moving direction indicated by the moving instruction.
In the embodiment provided by the invention, the electronic equipment can integrally translate the displayed icon identification according to the sliding direction of the user. Or when a new icon identification appears, the electronic equipment can integrally translate the displayed icon identification to give an empty position to the new icon identification.
Based on this, when the displayed icon identification is translated integrally, due to the irregularity of the display area of the special-shaped area, the electronic device needs to zoom at least part of the displayed icon identification to a certain extent, so that the translated at least part of the displayed icon identification can be matched with the edge curve of the special-shaped area.
Here, when the icon indicator is translated as a whole, a part of the icon indicator in the standard area closest to the special-shaped area may be translated to the special-shaped area, and thus, the part of the icon indicator needs to be adjusted. As such, in this embodiment, the electronic device may use the icon identifier in the standard area as the object identifier.
Step 803, if the display area of the object identifier is the special-shaped area, the object identifier is reduced according to different adjustment scales, and the different adjustment scales correspond to different sub-areas in the plurality of sub-areas of the special-shaped area, so that the object identifiers with different sizes are displayed in the moving process of the object identifier in the special-shaped area.
The special-shaped area comprises a plurality of sub-areas, wherein a vertex angle of each sub-area belongs to a curve of the special-shaped area, the areas of the sub-areas are different, and the sub-areas are continuously arranged; the plurality of sub-regions are partially overlapped or are not overlapped.
And 804, displaying the object identifications with different sizes in the corresponding sub-areas in the special-shaped area in the moving process of the object identifications.
For example, the electronic device may divide the irregular area into a plurality of sub-areas according to the manner shown in fig. 9, but the invention is not limited thereto. Specifically, a rectangular coordinate system is established with the lower left corner of the irregular region shown in fig. 9(a) and 9(b) as the origin and with the two sides forming the right angle of the irregular region as the X axis and the Y axis, respectively. In fig. 9(a), by using any point in the curve included in the special-shaped region as a vertex and making a perpendicular line toward the X axis and the Y axis or the side of the adjacent sub-region parallel to the Y axis, a plurality of sub-regions that are continuously arranged and do not overlap can be obtained. In fig. 9(b), any point in the curve included in the special-shaped region is taken as the vertex of the sub-region, and lines parallel to the X axis and the Y axis are respectively drawn to form a rectangle, so that a plurality of sub-regions which are continuously arranged and overlapped can be obtained.
As can be seen from fig. 9, since the curve in the irregular region has a certain radian and curvature, the area of each divided sub-region is different. The size of the area in a sub-area can determine the scaling of the object identification in that sub-area.
Therefore, the reduction of the object identifier according to different adjustment scales can be understood as that when the object identifier is in the sub-regions with different areas, the reduction scales of the object identifier are different; that is, the size of the display is different when the object identifiers are in different sub-regions.
In other embodiments of the present invention, the icon identifications shrunk to the predetermined ratio are replaced with point identifications when the object identifications are shrunk to the predetermined ratio. When the area of the sub-region in the special-shaped region is small, the icon identification cannot be recognized by naked eyes after the sub-region is reduced according to the corresponding adjustment proportion; in this embodiment, the point identification may be used instead.
For example, the electronic device may adjust the object id according to the display structure shown in fig. 10. Specifically, in the display state of fig. 10(a), when the electronic device receives a new notification message, it needs to display the icon identifier corresponding to the notification message in the left status bar in fig. 10(a), and it needs to pan the icon identifier already displayed in the status bar to the right, and then a movement instruction is triggered. In the display state of fig. 10(b), the electronic device moves the icon id already displayed in the status bar to the right in response to the movement instruction, and makes room for the new icon id 1001, and displays the new icon id. In the display state of fig. 10(c), the icon indicator 1002 in the standard region adjacent to the special-shaped region is used as the object indicator, the display region of the icon indicator 1002 is determined to be the special-shaped region, and the icon indicator 1002 is reduced according to the adjustment ratio, for example, 20%, corresponding to the sub-region of the special-shaped region where the icon indicator 1002 is located after moving; the icon logo 1002 reduced to 80% of the original size is displayed in the sub-area corresponding to the abnormal area. In the display state of fig. 10(d), a new icon indicator 1003 appears in the left status bar of the electronic device, and the electronic device moves the icon indicator already displayed in the status bar to the right in response to the movement instruction, so as to make room for the new icon indicator 1003 and display the new icon indicator 1003. In the display state of fig. 10(e), the icon indicator 1002 and the icon indicator 1004 in the standard area adjacent to the special-shaped area are used as object indicators, and the icon indicator 1002 is reduced according to the adjustment ratio, for example, 40%, corresponding to the sub-area of the special-shaped area where the icon indicator 1002 is located after moving; at this time, the reduced proportion of the icon identifier 1002 is smaller than the preset proportion, so the point identifier 1005 is used to replace the icon identifier 1002; displaying the point mark in a sub-area corresponding to the special-shaped area; in addition, the icon mark 1004 is reduced by 40% according to the adjustment ratio corresponding to the sub-area of the special-shaped area where the icon mark 1004 is moved, for example, 40%; the icon 1004 reduced to the original size of 60% is displayed in the sub-area corresponding to the abnormal area.
Fig. 10 illustrates a display method in which after the new icon logo appears, the rest icons move to the right as a whole, and the rightmost icon is squeezed into the special-shaped area in a dynamic form. Here, the squeezed icon identifies a notification center that may be displayed after the slide down status bar.
In another exemplary embodiment of the present invention, when the edge of the display output region of the display screen includes an outer edge contour and an inner edge contour, the inner edge contour is a closed curve, and the special-shaped region includes all curves of the closed curve, the object indication may be uniformly displayed on both sides of the closed curve. In addition, the object markers with different sizes are displayed in the sub-areas corresponding to the peripheries of the closed curves in the moving process of the object markers; and when the object identifier moves to the lowest end of the closed curve, replacing the object identifier with a point identifier.
Illustratively, the display output area of the display screen shown in FIG. 11 includes an outer edge contour 1101 on the outside and an inner edge contour 1102 around the cutout. The digging hole is positioned in the middle of the top end of the display screen, and the special-shaped area comprises all the curves of the closed curve. Icon logos may be displayed on both sides of the closed curve as shown in fig. 11. In fig. 11, in the process of moving an object identifier from left to right, the object identifier is reduced according to the corresponding adjustment ratio of the sub-region where the object identifier is located after moving, and the closer the object identifier is to the closed region in the moving process, the smaller the size of the object identifier is; at the lowest end of the closed curve, point identification can be used to replace object identification due to the small area of the sub-region; here, the object identifier may also continue to move to the right of the closed curve. In the process of moving to the right side of the closed curve, the farther the closed curve is, the larger the size of the object identifier is.
In a further embodiment of the invention, the reduction scale is different when the object identifiers are located in different sub-regions. And the adjustment proportion between the continuous sub-areas is consistent. Thus, during the continuous translation of the object marker in the special-shaped area, the position and size of the object marker are visually changed along the curve of the special-shaped area.
For example, the electronic device may adjust the object id according to the display structure shown in fig. 12. Specifically, in the display state of fig. 12(a), when the electronic device receives a new notification message, it needs to display the icon identifier corresponding to the notification message in the left status bar in fig. 12(a), and it needs to pan the icon identifier already displayed in the status bar to the right, and then a movement instruction is triggered. In the display state of fig. 12(b), the electronic device moves the icon id already displayed in the status bar to the right in response to the movement instruction, and makes room for the new icon id 1201 to display the new icon id. In the display states of fig. 12(c) to 12(f), the icon identifier 1202 in the standard region adjacent to the special-shaped region is used as the object identifier, the position where the icon identifier 1202 is finally displayed is determined, and the icon identifier 1202 is moved, and in the moving process, the icon identifier 1202 successively passes through three sub-regions of the special-shaped region; specifically, the icon indicator 1202 in fig. 12(c) moves from the original position to the first sub-area of the irregular area, and at the same time, the electronic device reduces the icon indicator 1202 from the original size (indicated by the dashed line indicator in the figure) to 90% of the original size according to the adjustment ratio corresponding to the first sub-area. Similarly, the icon 1202 in fig. 12(d) moves from the first sub-area to the second sub-area of the irregular area, and at the same time, the icon 1202 is reduced from 90% of the original size (indicated by the dashed line in the figure) to 75% of the original size according to the corresponding adjustment scale of the second sub-area. Similarly, the icon 1202 in fig. 12(e) moves from the second sub-area to the third sub-area of the irregular area, and at the same time, the electronic device reduces the icon indicator 1202 from 75% of the original size (indicated by the dashed line indicator in the figure) to 60% of the original size according to the adjustment scale corresponding to the third sub-area. Fig. 12(f) shows the display interface after the adjustment of the icon 1202 is completed.
Fig. 12 illustrates that in the process of continuously translating the object identifier from left to right from the size of the object identifier in the special-shaped area, the position and the size of the object identifier are visually changed along the curve of the special-shaped area, so that the user experience is effectively improved.
Based on the foregoing embodiments, an embodiment of the present invention provides an electronic device, as shown in fig. 13, where the electronic device 130 includes: display 1301, processor 1302, and memory 1303;
the display screen 1301 is provided with a display output area, the edge of the display output area comprises a curve, the display output area comprises a special-shaped area, and the special-shaped area comprises at least part of the curve;
the processor 1302 is configured to execute a program of an information processing method in the memory, so as to implement the following steps:
obtaining an object identifier;
if the display area of the object identification is a special-shaped area, processing the object identification; the special-shaped area belongs to a display output area of the display screen, the edge of the display output area comprises a curve, and the special-shaped area comprises at least part of the curve;
and displaying the processed display object identifier in the special-shaped area.
In other embodiments of the present invention, the display output area of the display screen 1301 further comprises a standard area;
the processor 1302 is further configured to implement the following steps:
and if the display area of the object identifier is the standard area, displaying the object identifier in the standard area.
In other embodiments of the present invention, the edge of the display output area of the display screen 1301 includes an outer edge contour and an inner edge contour, the shape of the outer edge contour being different from the shape of the inner edge contour; the inner edge contour is a closed curve, and the special-shaped area comprises at least part of the curve of the closed curve;
or,
the edge of the display output area of the display screen 1301 includes an edge contour, a part of the edge contour is a curve, and the irregular area includes all curves of the curve.
In other embodiments of the present invention, when the processor 1302 executes the processing object identifier, it is specifically configured to implement the following steps:
reducing the object identification according to the target proportion; the target ratio is related to the area of the profiled region.
In other embodiments of the present invention, the processor 1302, when executing the obtaining of the object identifier, is specifically configured to implement the following steps:
responding to the moving instruction;
and taking the icon mark in the standard area as an object mark, wherein the standard area and the special-shaped area are adjacent in the moving direction indicated by the moving instruction.
In other embodiments of the present invention, when the processor 1302 executes processing of the object identifier, the following steps are specifically implemented:
reducing the object identification according to different adjustment proportions, wherein the different adjustment proportions correspond to different sub-areas in the plurality of sub-areas of the special-shaped area, so that icon object identifications with different sizes are displayed in the moving process of the object identification in the special-shaped area; wherein; the special-shaped area comprises a plurality of sub-areas, one vertex angle of each sub-area belongs to a curve of the special-shaped area, the areas of the sub-areas are different, and the sub-areas are continuously arranged; partial overlapping among a plurality of sub-areas or non-overlapping among a plurality of sub-areas;
and when the object identification is reduced to a preset proportion, the icon identification reduced to the preset proportion is replaced by the point identification.
In other embodiments of the present invention, the processor 1302, when executing displaying the processed display object identifier in the special-shaped area, is specifically configured to implement the following steps:
and displaying the object markers with different sizes in the sub-areas corresponding to the special-shaped areas in the moving process of the object markers.
The electronic device provided by the embodiment of the invention can judge the display area of the object identifier, which needs to be displayed, after the object identifier is obtained, and process the object identifier if the display area of the object identifier is the special-shaped area; and displaying the processed display object identifier in the special-shaped area. Like this, can handle the object identification, show in special-shaped region, consequently can not produce the problem that hinders the object identification and carry out the demonstration, special-shaped region shows in the make full use of display screen, has improved the utilization ratio of display screen to and the regional demonstration flexibility ratio of special-shaped.
For the notch screen and the hole digging screen configured on the electronic equipment in the prior art, the display area including the curve is wasted due to the curve caused by the notch or the hole digging. If the screen is a full screen, the four arc vertex angles of the full screen also cause waste of display area (including curves). Embodiments of the present invention can display the icon of the icon/status bar in a shaped area that includes the curve. And the display effect of the icons can be continuously changed in the special-shaped area in the moving process of the status bar icons, so that the user can determine that the continuous change effect in the special-shaped area is matched with the curvature of the curve, and the utilization rate of the effective display area is increased compared with the prior art by fully utilizing the display area of the display screen.
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as a memory, including a computer program, which is executable by a processor of an output control apparatus to perform the steps of the aforementioned method. The computer-readable storage medium may be a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an erasable Programmable Read-Only Memory (EPROM), an electrically erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), among other memories.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. An information processing method, the method comprising:
obtaining an object identifier;
if the display area of the object identification is a special-shaped area, processing the object identification; the special-shaped area belongs to a display output area of a display screen, the edge of the display output area comprises a curve, and the special-shaped area comprises at least part of the curve;
and displaying the processed display object identifier in the special-shaped area.
2. The method of claim 1, further comprising:
if the display area of the object identifier is a standard area, displaying the object identifier in the standard area; the standard area belongs to a display output area of the display screen.
3. The method of claim 1, wherein:
an edge of the display output area of the display screen includes an outer edge contour and an inner edge contour, the shape of the outer edge contour being different from the shape of the inner edge contour; the inner edge profile is a closed curve, and the special-shaped area comprises at least part of the closed curve;
or,
the edge of the display output area of the display screen comprises an edge profile, part of the edge profile is a curve, and the special-shaped area comprises all curves of the curve.
4. The method of claim 1, wherein the processing the object identification comprises:
reducing the object identification according to a target scale; the target ratio is related to an area of the shaped region.
5. The method of claim 2, wherein obtaining the object identification comprises:
responding to the moving instruction;
and taking an icon mark in a standard area as the object mark, wherein the standard area and the special-shaped area are adjacent in the moving direction indicated by the moving instruction.
6. The method of claim 5, the processing the object identification comprising:
reducing the object identifier according to different adjustment proportions, wherein the different adjustment proportions correspond to different sub-areas in the plurality of sub-areas of the special-shaped area, so that the object identifier with different sizes is displayed in the moving process of the object identifier in the special-shaped area; wherein; the special-shaped area comprises a plurality of sub-areas, one vertex angle of each sub-area belongs to a curve of the special-shaped area, the areas of the sub-areas are different, and the sub-areas are continuously arranged; the plurality of sub-regions are partially overlapped or are not overlapped;
wherein the icon marks reduced to the predetermined ratio are replaced with point marks when the object marks are reduced to the predetermined ratio.
7. The method of claim 6, wherein displaying the processed display object identifier in the shaped region comprises:
and displaying the object identifications with different sizes in the sub-area corresponding to the special-shaped area in the moving process of the object identifications.
8. An electronic device, the electronic device comprising: a display screen, a processor and a memory;
the display screen is provided with a display output area, the edge of the display output area comprises a curve, the display output area comprises a special-shaped area, and the special-shaped area comprises at least part of the curve;
the processor is used for executing the program of the information processing method in the memory so as to realize the following steps:
obtaining an object identifier;
if the display area of the object identification is the special-shaped area, processing the object identification; the special-shaped area belongs to a display output area of a display screen, the edge of the display output area comprises a curve, and the special-shaped area comprises at least part of the curve;
and displaying the processed display object identifier in the special-shaped area.
9. The electronic device of claim 8, wherein:
the display output area of the display screen also comprises a standard area;
the processor is further configured to implement the steps of:
and if the display area of the object identifier is the standard area, displaying the object identifier in the standard area.
10. A computer-readable storage medium characterized by storing one or more programs, which are executable by one or more processors, to implement the steps of the information processing method according to any one of claims 1 to 7.
CN201910251599.9A 2019-03-29 2019-03-29 Information processing method, electronic equipment and computer storage medium Active CN110007995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910251599.9A CN110007995B (en) 2019-03-29 2019-03-29 Information processing method, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910251599.9A CN110007995B (en) 2019-03-29 2019-03-29 Information processing method, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN110007995A true CN110007995A (en) 2019-07-12
CN110007995B CN110007995B (en) 2021-10-22

Family

ID=67169068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910251599.9A Active CN110007995B (en) 2019-03-29 2019-03-29 Information processing method, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN110007995B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813488A (en) * 2020-07-22 2020-10-23 北京达佳互联信息技术有限公司 Content display method, content processing method and related equipment
CN112422734A (en) * 2019-08-23 2021-02-26 中移雄安信息通信科技有限公司 Content display method, device, terminal, screen adaptive gateway and communication equipment
CN114610195A (en) * 2020-11-24 2022-06-10 荣耀终端有限公司 Icon display method, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153503A (en) * 2017-12-20 2018-06-12 广东欧珀移动通信有限公司 Display control method and related product
CN108182043A (en) * 2018-01-19 2018-06-19 维沃移动通信有限公司 A kind of method for information display and mobile terminal
CN108536407A (en) * 2018-03-02 2018-09-14 广东欧珀移动通信有限公司 Text display method, device and mobile terminal
CN108803965A (en) * 2018-06-08 2018-11-13 Oppo广东移动通信有限公司 Show method, apparatus, terminal and the storage medium of icon
CN108874485A (en) * 2018-06-08 2018-11-23 Oppo广东移动通信有限公司 icon display method, device and terminal
US20190004661A1 (en) * 2017-06-30 2019-01-03 Samsung Electronics Co., Ltd. Electronic device for providing service and operating method thereof
CN109407920A (en) * 2018-09-27 2019-03-01 维沃移动通信有限公司 A kind of Status icons display methods, Status icons processing method and relevant device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190004661A1 (en) * 2017-06-30 2019-01-03 Samsung Electronics Co., Ltd. Electronic device for providing service and operating method thereof
CN108153503A (en) * 2017-12-20 2018-06-12 广东欧珀移动通信有限公司 Display control method and related product
CN108182043A (en) * 2018-01-19 2018-06-19 维沃移动通信有限公司 A kind of method for information display and mobile terminal
CN108536407A (en) * 2018-03-02 2018-09-14 广东欧珀移动通信有限公司 Text display method, device and mobile terminal
CN108803965A (en) * 2018-06-08 2018-11-13 Oppo广东移动通信有限公司 Show method, apparatus, terminal and the storage medium of icon
CN108874485A (en) * 2018-06-08 2018-11-23 Oppo广东移动通信有限公司 icon display method, device and terminal
CN109407920A (en) * 2018-09-27 2019-03-01 维沃移动通信有限公司 A kind of Status icons display methods, Status icons processing method and relevant device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422734A (en) * 2019-08-23 2021-02-26 中移雄安信息通信科技有限公司 Content display method, device, terminal, screen adaptive gateway and communication equipment
CN111813488A (en) * 2020-07-22 2020-10-23 北京达佳互联信息技术有限公司 Content display method, content processing method and related equipment
CN111813488B (en) * 2020-07-22 2024-08-23 北京达佳互联信息技术有限公司 Content display method, content processing method and related equipment
CN114610195A (en) * 2020-11-24 2022-06-10 荣耀终端有限公司 Icon display method, electronic device and storage medium
CN116450006A (en) * 2020-11-24 2023-07-18 荣耀终端有限公司 Icon display method, electronic device and storage medium

Also Published As

Publication number Publication date
CN110007995B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN110007995B (en) Information processing method, electronic equipment and computer storage medium
CN104866206B (en) The moving method and mobile terminal of a kind of image data
CN103677589A (en) Terminal screen picture rotation control method and device
CN110362242B (en) Map display method and terminal equipment
CN110989879B (en) Auxiliary line prompting method and device, readable storage medium and electronic equipment
CN107133002B (en) Information processing method and electronic equipment
CN109117241B (en) Display direction control method, system and mobile terminal
CN108415646B (en) Touch function setting method and device
CN111190677A (en) Information display method, information display device and terminal equipment
CN108108078B (en) Electronic equipment, display control method and related product
CN104615331A (en) Corner mark processing method
CN116071377A (en) Map labeling method and device and map labeling device
CN109062471A (en) Mobile display method, device, equipment and medium for page elements
CN112083858A (en) Method and device for adjusting display position of control
CN104142786A (en) Prompt box display method and terminal
CN111782114A (en) Element display method, device, equipment and medium in manuscript editing application
CN106909272B (en) Display control method and mobile terminal
US20080143673A1 (en) Method and Apparatus For Moving Cursor Using Numerical Keys
CN111744181B (en) Method and device for displaying information in game, game client and medium
CN110659090B (en) Method, device and system for adjusting goods channel of vending machine and computer equipment
CN113082699B (en) Game display control method and device and electronic terminal
CN112732377A (en) Image display method and device and storage medium
CN107335218B (en) Game scene moving method and device, storage medium, processor and terminal
CN109766530A (en) Generation method, device, storage medium and the electronic equipment of chart frame
CN111783180B (en) Drawing splitting method and related device

Legal Events

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