CN108111687B - Display control method and related product - Google Patents

Display control method and related product Download PDF

Info

Publication number
CN108111687B
CN108111687B CN201711409666.2A CN201711409666A CN108111687B CN 108111687 B CN108111687 B CN 108111687B CN 201711409666 A CN201711409666 A CN 201711409666A CN 108111687 B CN108111687 B CN 108111687B
Authority
CN
China
Prior art keywords
display
display area
posture
controls
screen
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.)
Active
Application number
CN201711409666.2A
Other languages
Chinese (zh)
Other versions
CN108111687A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711409666.2A priority Critical patent/CN108111687B/en
Publication of CN108111687A publication Critical patent/CN108111687A/en
Application granted granted Critical
Publication of CN108111687B publication Critical patent/CN108111687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application discloses a display control method, which is applied to electronic equipment with a touch display screen being a special-shaped screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the method comprises the following steps: detecting a use gesture of the electronic equipment, and if the use gesture is a preset use gesture, acquiring a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment; grouping the plurality of functional controls to obtain a first functional control set and a second functional control set, displaying the display content corresponding to the first functional control set in the first display area, and displaying the display content corresponding to the second functional control set in the second display area. By the adoption of the method and the device, display flexibility of the special-shaped area and convenience in operation can be improved.

Description

Display control method and related product
Technical Field
The application relates to the technical field of electronic equipment, and mainly relates to a display control method and a related product.
Background
With the popularization and application of smart phones in a large number, smart phones can support more and more applications and have more and more powerful functions, and smart phones develop towards diversification and individuation and become indispensable electronic products in user life.
In the prior art, a hole is formed right above a touch display screen by adopting a special-shaped pointed comprehensive screen technology, and components such as a front camera and a light sensor are embedded into the center of the top end of the touch display screen, so that better function experience and visual effect are achieved. The structure divides the touch display screen into the special-shaped area and the regular area, and how to display the function control of the first application running on the electronic device by using the special-shaped area is a technical problem to be solved by technical personnel in the field.
Disclosure of Invention
The embodiment of the application provides a display control method and a related product, which can respectively utilize a first display area and a second display area in a special-shaped area to display a function control of a first application running on an electronic device, and improve the convenience of operation.
In a first aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device in which a touch display screen is an irregular screen, where the touch display screen includes an irregular area and a regular area, and the irregular area includes a first display area and a second display area, and the method includes:
detecting a use gesture of the electronic device, the use gesture including one of: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
if the using posture is a preset using posture, acquiring a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment;
grouping the plurality of functional controls to obtain a first functional control set and a second functional control set, displaying the display content corresponding to the first functional control set in the first display area, and displaying the display content corresponding to the second functional control set in the second display area.
In a second aspect, an embodiment of the present application provides an electronic device, including a processor, a memory connected to the processor, a gravitational acceleration sensor, and a touch display screen, where the touch display screen includes a special-shaped area and a regular area, the special-shaped area includes a first display area and a second display area, where:
the memory is used for storing preset using postures;
the gravity acceleration sensor is used for detecting the use posture of the electronic equipment, and the use posture comprises one of the following items: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
the processor is configured to acquire a plurality of function controls corresponding to a first application running on a foreground in the electronic device if the usage posture is the preset usage posture; grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
the touch display screen is used for displaying the display content corresponding to the first function control set in the first display area and displaying the display content corresponding to the second function control set in the second display area.
In a third aspect, an embodiment of the present application provides a display control apparatus, which is applied to an electronic device in which a touch display screen is an irregular screen, where the touch display screen includes an irregular area and a regular area, the irregular area includes a first display area and a second display area, and the apparatus includes:
a detection unit configured to detect a use posture of the electronic device, the use posture including one of: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
the obtaining unit is used for obtaining a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment if the using posture is a preset using posture;
the grouping unit is used for grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
and the display unit is used for displaying the display content corresponding to the first function control set in the first display area and displaying the display content corresponding to the second function control set in the second display area.
In a fourth aspect, an embodiment of the present application provides another display control method, which is applied to an electronic device including a processor, a memory connected to the processor, a gravitational acceleration sensor, and a touch display screen, where the touch display screen includes a special-shaped area and a regular area, the special-shaped area includes a first display area and a second display area, where:
the memory stores preset using postures;
the gravity acceleration sensor detects a use posture of the electronic device, and the use posture comprises one of the following items: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
if the using gesture is the preset using gesture, the processor acquires a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment; grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
and the touch display screen displays the display content corresponding to the first function control set in the first display area, and displays the display content corresponding to the second function control set in the second display area.
In a fifth aspect, an embodiment of the present application provides another electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for some or all of the steps described in the first aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program makes a computer perform some or all of the steps as described in the first aspect of the present application.
In a seventh aspect, this application embodiment provides a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of this application embodiment. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
after the display control method and the related products are adopted, the method is applied to the electronic equipment with the touch display screen being the special-shaped screen, the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, if the detected use posture of the electronic equipment is the preset use posture, a plurality of function controls corresponding to a first application running on a foreground in the electronic equipment are obtained, the plurality of function controls are grouped to obtain a first function control set and a second function control set, display content corresponding to the first function control set is displayed in the first display area, and display content corresponding to the second function control set is displayed in the second display area. That is to say, when the electronic equipment satisfies the preset use gesture, the plurality of function controls corresponding to the current application are respectively displayed on two sides of the special-shaped area, the display space of the touch display screen of the electronic equipment is fully utilized, and the display flexibility and regularity of the special-shaped area are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 1A is a schematic diagram of a gravitational acceleration sensor disclosed in an embodiment of the present application;
fig. 1B is a scene schematic diagram of an electronic device in an inverted vertical screen use posture disclosed in an embodiment of the present application;
fig. 1C is a scene schematic diagram of a selection page for each use gesture of an electronic device disclosed in the embodiment of the present application;
fig. 1D is a schematic view of a scene of an electronic device in a normal-vertical screen use posture disclosed in an embodiment of the present application;
fig. 1E is a schematic flowchart of a display control method according to an embodiment of the present disclosure;
fig. 1F is a scene schematic diagram based on a display control method disclosed in an embodiment of the present application;
fig. 1G is a scene schematic diagram based on a display control method disclosed in an embodiment of the present application;
fig. 2 is a schematic flowchart of another display control method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a display control apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 5 is a schematic flowchart of another display control method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal devices), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The embodiment of the application provides a display control method and a related product, which can respectively utilize a first display area and a second display area in an abnormal area to display, and improve the convenience of operation. Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application, where the electronic device 100 includes: the touch screen comprises a shell 110, a circuit board 120, a battery 130 and a cover plate 140, wherein the circuit board 120, the battery 130 and the cover plate 140 are arranged on the shell 110, the cover plate 140 comprises a first area 141 and a second area 142 except the first area 141, a touch display screen 150 is arranged on the inner surface of the first area 141, the touch display screen 150 comprises a special-shaped area 151 and a regular area 152, the special-shaped area 151 comprises a first display area 153 and a second display area 154, the circuit board 120 is further provided with a circuit 160 connected with the touch display screen 150, and the circuit 160 comprises a memory 1601 and a processor 1602.
The memory 1601 may be used for storing software programs and modules, and the processor 1602 executes various functional applications and data processing of the electronic device 100 by operating the software programs and modules stored in the memory 1601. The memory 1601 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 1601 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1602 is a control center of the electronic apparatus 100, connects various parts of the whole electronic apparatus 100 by various interfaces and lines, and performs various functions of the electronic apparatus 100 and processes data by running or executing software programs and/or modules stored in the memory 1601 and calling data stored in the memory 1601, thereby performing overall monitoring of the electronic apparatus. The processor 1602 may integrate an application processor that handles primarily the operating system, user interface, applications, etc., and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The positions of the first display region 153 and the second display region 154 may be switched, that is, the display content corresponding to the first display region 153 may be switched with the display content corresponding to the second display region 154.
In the embodiment of the present application, the use gesture of the electronic device 100 includes one of: the front transverse screen using posture, the back transverse screen using posture, the front vertical screen using posture and the back vertical screen using posture.
The landscape screen using posture refers to a state that the special-shaped area 151 is on the left side of the regular area 152; the inverted landscape screen use posture refers to a state where the irregular area 151 is on the right side of the regular area 152; the normal-portrait screen use posture refers to a state where the shaped area 151 is on the upper side of the regular area 152; the inverted portrait use posture refers to a state in which the shaped area 151 is on the lower side of the regular area 152.
It should be noted that the front landscape screen usage posture and the inverted landscape screen usage posture are collectively referred to as a landscape screen usage posture, and the front portrait screen usage posture and the inverted portrait screen usage posture are collectively referred to as a portrait screen usage posture.
Optionally, the use posture of the electronic device 100 is detected by a gravity acceleration sensor built in the electronic device 100. Referring to fig. 1A, an X axis and a Y axis are parallel to a plane of the electronic device 100, the X axis is a width direction of the electronic device 100, the Y axis is a length direction of the electronic device 100, and the Z axis is perpendicular to the plane of the electronic device 100, and a gravity acceleration sensor detects gravity acceleration values of the electronic device 100 in three predefined directions, namely the X axis, the Y axis, and the Z axis, and determines a usage posture of the electronic device 100 according to the gravity acceleration values corresponding to the three directions, namely the X axis, the Y axis, and the Z axis.
For example, when the electronic device is in a normal vertical screen use posture, the gravity acceleration values in the three directions of the X axis, the Y axis and the Z axis are respectively 0, -9.8 and 0; when the electronic equipment is in the use posture of the inverted vertical screen, the gravity acceleration values in the X axis direction, the Y axis direction and the Z axis direction are respectively 0, +9.8 and 0; when the electronic equipment is in the using posture of the front landscape screen, the gravity acceleration values in the X axis direction, the Y axis direction and the Z axis direction are respectively-9.8, 0 and 0; when the electronic equipment is in the inverted transverse screen using posture, the gravity acceleration values in the X axis direction, the Y axis direction and the Z axis direction are +9.8, 0 and 0 respectively.
It can be understood that, when the detected use gesture of the electronic device 100 changes and the use gesture is a use gesture allowed to be opened by the electronic device 100 and the current application, the display direction of the display content is adjusted according to the use gesture; otherwise, the display direction cannot be adjusted along with the use posture.
It should be noted that, in the switching process of the use posture of the electronic device 100, the gravitational acceleration values in the three directions of the X axis, the Y axis and the Z axis are detected according to the gravitational acceleration sensor, and if the gravitational acceleration values in the three directions satisfy the preset condition, the display direction of the display content may be adjusted according to the preset condition instead of waiting for the gravitational acceleration values in the three directions to be respectively adjusted according to the preset values corresponding to the use posture, so that the adjustment efficiency is improved. And under the lock screen state, the display direction can not be adjusted along with the use gesture.
The method for acquiring the use gesture started by the current application is not limited, the use gesture started by the current application generally comprises a vertical screen use gesture, a horizontal screen use gesture needs to be judged whether to be needed, and the current application is started according to different display contents, so that the visual interference caused by mistaken switching is avoided. For example: video applications generally allow gestures to be used with a landscape, social applications generally do not allow gestures to be used with a landscape, and when images or videos are clicked, gestures are allowed to be used with a landscape.
The embodiment of the present application does not limit the method for obtaining the use gesture of the electronic device 100, and the use gesture can be obtained by detecting the setting parameter corresponding to the use gesture.
For example, the screen flipping function corresponding to the existing flipping control is expanded, when the flipping function is turned on, the use posture is determined by the gravity acceleration sensor, and the display direction of the display content in the touch display screen 150 is adjusted according to the use posture. That is to say, the positive horizontal screen that has been opened on the basis of just erecting the screen and using the gesture and the horizontal screen that falls uses the gesture to current upset controlling part, and the upset controlling part that this application improved still can open and fall and erect the screen and use the gesture, as shown in FIG. 1B promptly, when the electronic equipment that the user used is falling and erects the screen and use the gesture, can directly operate touch-control display screen falling and erects the screen and use the gesture to the convenience of operation has been improved.
Referring to fig. 1C, fig. 1C is a schematic view of a selection page for each use posture of an electronic device provided in the present application. As shown in fig. 1C, the four use postures are respectively provided with an on-off selection button, and only when the use posture is opened, the user can operate the touch display screen in the corresponding use posture, and each use posture is opened or closed under a specific scene or by personal habits, so that the practicability is improved, and the visual interference caused by mis-switching is avoided.
For example: when the electronic device 100 is in the normal vertical screen use posture, the special-shaped area 151 is included right above the touch display screen 150, and the user is used to display contents with regular areas right above, the user closes the normal vertical screen use posture through the selected page, that is, when the electronic device 100 is in the normal vertical screen use posture, as shown in fig. 1D, the display direction of the touch display screen is consistent with the display direction of the inverted vertical screen use posture, that is, the display contents are in an inverted state.
Referring to fig. 1E, fig. 1E is a schematic flowchart illustrating a display control method according to an embodiment of the present disclosure. Applied to the electronic device shown in fig. 1, as shown in fig. 1E, includes:
101: the use posture of the electronic equipment is detected.
The operation posture of the electronic device is detected by the gravity acceleration sensor as described above, and is not described herein again.
102: and if the use gesture is a preset use gesture, acquiring a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment.
Each application comprises a corresponding function control, each function control at least corresponds to one virtual key, and the appointed function of the function control is realized through at least one virtual key. For example: the function controls of the video application comprise a sound control, a brightness control, a playing control, a setting control and the like, the function controls of the reading application comprise a setting control, a book importing control, a font management control and a cache management control, the function controls of the game application comprise a prop store control, a sound effect management control, a setting control and the like, and the setting control usually comprises a plurality of function controls.
In the embodiment of the application, an application running in the foreground in the electronic device is used as a first application, that is, a current application displayed in the touch display screen. The plurality of function controls corresponding to the first application are not limited, and may be function controls provided by the electronic device for the first application, or function controls screened and set by the user.
The embodiment of the application is not limited to the preset using posture, and can be the using posture of a positive transverse screen or any using posture of a reverse transverse screen, the using posture of a positive vertical screen and the using posture of a reverse vertical screen. When the detected using posture of the electronic equipment is a preset using posture, acquiring a plurality of function controls corresponding to the first application.
It should be noted that the functional control can be displayed independently, which is convenient for a user to search, thereby improving the searching efficiency; the touch screen display can be integrated in an auxiliary function control, namely the function control included in the auxiliary function control is expanded by clicking the auxiliary function control, so that the function controls can be conveniently sorted and summarized, and only one display position of the touch screen display is occupied, so that the display range of other display contents in the current application is expanded, and the display efficiency is improved.
103: grouping the plurality of functional controls to obtain a first functional control set and a second functional control set, displaying the display content corresponding to the first functional control set in the first display area, and displaying the display content corresponding to the second functional control set in the second display area.
In the embodiment of the application, the first display area is used for displaying display content corresponding to the first set of functionality controls, and the second display area is used for displaying display content corresponding to the second set of functionality controls. The display content corresponding to the first function control set or the second function control set can be an independent function control, and can also be an auxiliary function control integrated with a plurality of function controls, namely the function controls contained in the auxiliary function control are expanded by clicking the auxiliary function control, so that the plurality of function controls can be conveniently sorted and summarized, and only one display position is occupied, therefore, more display areas are provided for other function controls, and the display efficiency is improved.
For example, as shown in fig. 1F, the usage posture of the electronic device is a normal vertical screen usage posture, assuming that the preset usage posture is a normal vertical screen usage posture, the first application is a video application, and the function controls corresponding to the video application include a sound control, a brightness control, a play control, a setting control, and a pop-up switch control, if the first function control set includes a sound control, a brightness control, and a setting control; the second function control set comprises a playing control and a bullet screen switch control. Because the sound control and the brightness control can be adjusted through the touch control gesture, the sound control and the brightness control are integrated in the setting control, the setting control is displayed in the first display area, and the control and the bullet screen switch control are played in the second display area.
Optionally, a first display area corresponding to the first function control set is obtained; and if the first display area is larger than the display area of the first display area, integrating the functional controls contained in the first functional control set to obtain a first auxiliary functional control, and displaying the first auxiliary functional control in the first display area.
The display area corresponding to each function control only displays one function control, the display area corresponds to a preset display area, and the first display area is the display area corresponding to a plurality of function controls contained in the first function control set. When the first display area is larger than the display area of the first display area, part of the function controls are easily blocked or the display of the first display area fails, and the function controls corresponding to the first function control set cannot be directly displayed in the first display area.
For example, as shown in fig. 1G, the usage posture of the electronic device is a normal vertical screen usage posture, assuming that the preset usage posture is a normal vertical screen usage posture, the first application is a video application, and the function controls corresponding to the video application include a sound control, a brightness control, a play control, a setting control, and a pop-up screen switch control, if the first function control set includes a sound control, a brightness control, and a setting control; the second function control set comprises a playing control and a bullet screen switch control. When the first display area corresponding to the sound control, the brightness control and the setting control is larger than the display area of the first display area, the sound control, the brightness control and the setting control are integrated in the first auxiliary function control, and then the first auxiliary function control, the second display area playing control and the bullet screen switch control are displayed in the first display area.
Through the function controls that contain in the integrated first function control set, expand the function controls that contain in the first function control set through clicking first function control set promptly, be convenient for arrange in order and conclude first function control set, and first display area shows first supplementary function control, rather than a plurality of function controls, has improved display effect.
Consistent with the foregoing embodiment, the displaying, in the second display area, the display content corresponding to the second set of functionality controls includes: acquiring a second preset display area corresponding to the second function control set; and if the second preset display area is larger than the display area of the second display area, integrating the function controls contained in the second function control set to obtain a second auxiliary function control, and displaying the second auxiliary function control in the second display area.
The grouping method of the multiple function controls is not limited, and the multiple function controls can be grouped according to the function attributes (category, preset touch area, use frequency and the like) of the multiple function controls, namely the same function attribute is divided into a group, and if the area of a display area is insufficient, the same function attribute can be integrated into an auxiliary function control for display; the function controls can also be grouped according to the use habits of the user, for example, when the electronic equipment is in an inverted vertical screen use state, the user habits are that the return function controls are used on the right side in the first display area; when the electronic equipment is in the normal and horizontal screen using state, the user is used to use the return function control on the upper side in the second display area; the functional controls with strong relevance can be displayed separately, the functional controls with weak relevance are integrated and displayed with the auxiliary functional controls, and the like.
Optionally, obtaining an association value of each of the plurality of functionality controls with the first application to obtain a plurality of association values; and grouping the plurality of functional controls according to the plurality of associated values to obtain the first functional control set and the second functional control set.
The method for acquiring the associated value is not limited, and the associated value of each function control can be calculated by the associated value of each dimension in a plurality of dimensions, such as the function attribute, the use frequency, the resource occupation rate, the use habit of the user and the like, related to the function control and the first application or the current display content of the first application, and by combining a preset weight corresponding to each dimension.
Optionally, obtaining an association value of the target function control and each of the multiple dimensions to obtain multiple sub-association values; and acquiring the associated value corresponding to the target function control according to the plurality of sub-associated values and the preset weight value corresponding to each dimension in the plurality of dimensions.
The target function control is any one of a plurality of function controls. The sub-association value between each function control and each dimension of the multiple dimensions is obtained, the sub-association value corresponding to each dimension and the preset weight are weighted and calculated to obtain the association value corresponding to each sub-association value, namely, the association value is calculated by integrating all the dimensions, and therefore the accuracy of obtaining the association value is improved.
The preset weight of each dimension in the plurality of dimensions is associated with the main function of the first application, i.e. the greater the association, the greater the preset weight. Among them, the main function is the most important function in the first application, for example: the main functions of the video application are a playing function, the main functions of the mail application are a function of receiving and sending mails, and the main functions of the chat application are a function of receiving and sending messages and the like. The weight value of each dimension is determined through the relevance with the main function, so that the accuracy of the relevance value is further improved.
The method is not limited for grouping according to a plurality of associated values, a threshold value can be preset, when the associated value is larger than the threshold value, the group is classified into a first function control set, otherwise, the group is a second function control set; the multiple associated values can also be sorted according to the sizes, the large associated value is divided into a first function control set, and the small associated value is divided into a second function control set; the largest and smallest can also be placed into the first set of functionality controls, the middle placed into the second set of functionality controls, and so on.
For example, the first application is a video application, the function controls corresponding to the video application include a sound control, a brightness control, a playing control, a setting control, and a bullet screen switch control, the multiple dimensions are the use frequency and the use habit of the first display area, the preset weight of the use frequency is 0.4, and the preset weight of the use habit is 0.6. If the sub-association values corresponding to the sound control, the brightness control, the playing control, the setting control, the bullet screen switch control and the use frequency are respectively 0.2, 0.1, 0.5, 0.4 and 0.4, and the sub-association values corresponding to the sound control, the brightness control, the playing control, the setting control, the bullet screen switch control and the use habit are respectively 0.2, 0.6, 0.5 and 0.5, the corresponding association values of the sound control, the brightness control, the playing control, the setting control and the bullet screen switch control are respectively 0.2, 0.16, 0.56, 0.46 and 0.46. And grouping according to the plurality of correlation values, wherein the first function control set comprises a playing control, a setting control and a bullet screen switch control, the second function control set comprises a sound control and a brightness control, the first function control set is displayed in the first display area, and the second function control set is displayed in the second display area.
The display method has the advantages that the function controls are divided into two function control sets, the display contents corresponding to the first function control set are displayed through the first display area respectively, the display contents corresponding to the second function control set are displayed in the second display area, the corresponding function controls are convenient to search, the special-shaped area is reasonably utilized to display, and accordingly the display flexibility of the special-shaped area is improved.
Optionally, a touch operation for the first display area or the second display area is detected; and acquiring a target display area corresponding to the touch operation, and displaying corresponding display content on the target display area.
That is to say, when a touch operation is detected in the first display area, the first function control set is lighted up, that is, the display content corresponding to the first function control set is displayed; when touch operation is detected in the second display area, the second function control set is lightened, namely display content corresponding to the second function control set is displayed, so that electric quantity is saved, and power consumption of the electronic equipment is improved.
In the method shown in fig. 1, the method is applied to an electronic device whose touch display screen is a special-shaped screen, where the touch display screen includes a special-shaped area and a regular area, the special-shaped area includes a first display area and a second display area, and if the detected usage posture of the electronic device is a preset usage posture, a plurality of function controls corresponding to a first application running on a foreground in the electronic device are obtained, the plurality of function controls are grouped to obtain a first function control set and a second function control set, display content corresponding to the first function control set is displayed in the first display area, and display content corresponding to the second function control set is displayed in the second display area. That is to say, when the electronic equipment satisfies the preset use gesture, the plurality of function controls corresponding to the current application are respectively displayed on two sides of the special-shaped area, the display space of the touch display screen of the electronic equipment is fully utilized, and the display flexibility and regularity of the special-shaped area are improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of another display control method according to an embodiment of the present disclosure. As shown in fig. 2, the display control method includes the steps of:
201: the use posture of the electronic equipment is detected.
202: and if the use gesture is a preset use gesture, acquiring a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment.
The above steps 201-202 can refer to the embodiment provided in fig. 1E, and are not described herein again.
203: and receiving a notification message sent by a second application running in the background in the electronic equipment.
The second application is not limited in the embodiment of the present application, and may be any application other than the first application. The notification message sent by the second application is also not limited, for example: instant information corresponding to the chat application, an update prompt message for the video application, a promotional activity push message for the shopping application, or a notification message associated with the first application, etc.
It should be noted that the step 203 may be executed after the step 202, or may be executed after the step 103, that is, after the notification message is received, the multiple functionality controls are grouped and displayed again.
204: grouping the notification message and the plurality of functional controls to obtain a first group of display contents and a second group of display contents, displaying the first group of display contents in the first display area, and displaying the second group of display contents in the second display area.
And after the electronic equipment receives the notification message sent by the second application, displaying the notification message in the special-shaped area for reminding the user of receiving the notification message. The display content corresponding to the notification message in the special-shaped area may be key information corresponding to the notification message, for example: the icon of the second application or the summary information of the notification message and the like reduce the display area occupied by the display content corresponding to the notification message by displaying the key information corresponding to the notification message, thereby improving the display efficiency of the special-shaped area.
Optionally, when a touch operation is detected in a display area corresponding to the notification message, jumping to a link page corresponding to the notification message.
That is to say, when the touch operation is detected in the display area corresponding to the notification message in the special-shaped area, the display page of the touch display screen is jumped to the page corresponding to the notification message, that is, the current application of the electronic device is switched from the first application to the second application.
In the method shown in fig. 2, if the detected usage posture of the electronic device is the preset usage posture and a notification message sent by a second application running in the background of the electronic device is received, a plurality of function controls corresponding to a first application running in the foreground of the electronic device are obtained, the notification message and the plurality of function controls are grouped to obtain a first group of display content and a second group of display content, the first group of display content is displayed in a first display area, and the second group of display content is displayed in a second display area. That is to say, when the electronic device meets the preset use posture and receives the notification message sent by the background application, the plurality of function controls and the notification message corresponding to the current application are respectively displayed on two sides of the special-shaped area, the display space of the touch display screen of the electronic device is fully utilized, and the display flexibility and regularity of the special-shaped area are improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a display control device according to an embodiment of the present disclosure, which is identical to the embodiment shown in fig. 1E or fig. 2. As shown in fig. 3, the display control apparatus 300 includes:
a detection unit 301, configured to detect a usage posture of the electronic device, where the usage posture includes one of: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
an obtaining unit 302, configured to obtain, if the usage posture is a preset usage posture, a plurality of function controls corresponding to a first application running on a foreground in the electronic device;
a grouping unit 303, configured to group the multiple function controls to obtain a first function control set and a second function control set;
a display unit 304, configured to display, in the first display area, display content corresponding to the first set of functionality controls, and display, in the second display area, display content corresponding to the second set of functionality controls.
In a possible example, the obtaining unit 302 is further configured to obtain a plurality of associated values of each of the plurality of functionality controls associated with the first application; the grouping unit 303 is specifically configured to group the plurality of function controls according to the plurality of associated values to obtain the first function control set and the second function control set.
In a possible example, the first application includes a plurality of dimensions, and the obtaining unit 302 is specifically configured to obtain a plurality of sub-associated values of an associated value of a target functionality control with each of the plurality of dimensions, where the target functionality control is any one of the plurality of functionality controls; and acquiring the associated value corresponding to the target function control according to the plurality of sub-associated values and the preset weight value corresponding to each dimension in the plurality of dimensions.
In a possible example, the obtaining unit 302 is further configured to obtain a first display area corresponding to the first set of functionality controls; the display control apparatus 300 further includes an integrating unit 305, configured to integrate the function controls included in the first function control set to obtain a first auxiliary function control if the first display area is larger than the display area of the first display area; displaying, by the display unit 304, the first auxiliary functionality control in the first display area.
In one possible example, the display control apparatus 300 further includes a receiving unit 306, configured to receive a notification message sent by a second application running in the background in the electronic device; the grouping unit 303 is further configured to group the notification message and the plurality of function controls to obtain a first group of display contents and a second group of display contents; the first set of display content is displayed in the first display area and the second set of display content is displayed in the second display area by the display unit 304.
In the apparatus shown in fig. 3, the apparatus is applied to an electronic device whose touch display screen is an irregular screen, where the touch display screen includes an irregular area and a regular area, the irregular area includes a first display area and a second display area, and if a detected usage posture of the electronic device is a preset usage posture, a plurality of function controls corresponding to a first application running on a foreground in the electronic device are obtained, the plurality of function controls are grouped to obtain a first function control set and a second function control set, display content corresponding to the first function control set is displayed in the first display area, and display content corresponding to the second function control set is displayed in the second display area. That is to say, when the electronic equipment satisfies the preset use gesture, the plurality of function controls corresponding to the current application are respectively displayed on two sides of the special-shaped area, the display space of the touch display screen of the electronic equipment is fully utilized, and the display flexibility and regularity of the special-shaped area are improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, which is consistent with the embodiment shown in fig. 1E or fig. 2. As shown in fig. 4, the electronic device 400 includes a processor 410, a memory 420 connected to the processor 410, a gravitational acceleration sensor 430, and a touch display screen 440, where the touch display screen 440 includes a special-shaped area and a regular area, and the special-shaped area includes a first display area and a second display area, where:
the memory 420 is used for storing preset using gestures;
the gravitational acceleration sensor 430 is configured to detect a usage posture of the electronic device, where the usage posture includes one of: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
the processor 410 is configured to, if the usage posture is the preset usage posture, obtain a plurality of function controls corresponding to a first application running in a foreground in the electronic device 400; grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
the touch display screen 440 is configured to display, in the first display area, display content corresponding to the first set of function controls, and display, in the second display area, display content corresponding to the second set of function controls.
In a possible example, in the aspect that the grouping of the multiple functionality controls obtains a first functionality control set and a second functionality control set, the processor 410 is specifically configured to obtain an association value of each functionality control in the multiple functionality controls with the first application to obtain multiple association values; and grouping the plurality of functional controls according to the plurality of associated values to obtain the first functional control set and the second functional control set.
In a possible example, the memory 420 is further configured to store the first application including a plurality of dimensions and a preset weight corresponding to each of the plurality of dimensions, and in the aspect of obtaining a plurality of associated values obtained by obtaining the associated value of each of the plurality of functionality controls and the first application, the processor 410 is specifically configured to obtain a plurality of sub-associated values obtained by obtaining an associated value of a target functionality control and each of the plurality of dimensions, where the target functionality control is any one of the plurality of functionality controls; and acquiring the associated value corresponding to the target function control according to the plurality of sub-associated values and the preset weight value corresponding to each dimension in the plurality of dimensions.
In a possible example, the memory 420 is further configured to store a first display area corresponding to the first function control set and a display area of the first display area, and in terms of displaying, in the first display area, display content corresponding to the first function control set, the processor 410 is further configured to integrate the function controls included in the first function control set to obtain a first auxiliary function control if the first display area is larger than the display area of the first display area; the touch display screen 440 is further configured to display the first auxiliary function control in the first display area.
In one possible example, the processor 410 is further configured to receive a notification message sent by a second application running in the background in the electronic device; grouping the notification message and the plurality of functional controls to obtain a first group of display contents and a second group of display contents; the touch display screen 440 is further configured to display the first set of display content in the first display area and display the second set of display content in the second display area.
In the electronic device shown in fig. 4, the electronic device is applied to an electronic device in which a touch display screen is an irregular screen, the touch display screen includes an irregular area and a regular area, the irregular area includes a first display area and a second display area, if the detected use posture of the electronic device is a preset use posture, a plurality of function controls corresponding to a first application running on a foreground in the electronic device are obtained, the plurality of function controls are grouped to obtain a first function control set and a second function control set, display content corresponding to the first function control set is displayed in the first display area, and display content corresponding to the second function control set is displayed in the second display area. That is to say, when the electronic equipment satisfies the preset use gesture, the plurality of function controls corresponding to the current application are respectively displayed on two sides of the special-shaped area, the display space of the touch display screen of the electronic equipment is fully utilized, and the display flexibility and regularity of the special-shaped area are improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of another display control method according to the present application, consistent with the embodiment shown in fig. 1E or fig. 2. The method is applied to the electronic device described in fig. 4, that is, the electronic device includes a processor, a memory, a gravity acceleration sensor, and a touch display screen, where the touch display screen includes a special-shaped area and a regular area, as shown in fig. 5, and includes:
501: the memory stores preset using postures;
502: the gravity acceleration sensor detects the use posture of the electronic equipment;
503: if the using gesture is the preset using gesture, the processor acquires a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment; grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
504: and displaying the display content corresponding to the first function control set in a first display area and displaying the display content corresponding to the second function control set in a second display area by the touch display screen.
In one possible example, the grouping the plurality of functionality controls to obtain a first set of functionality controls and a second set of functionality controls includes:
the processor obtains a plurality of association values of each of the plurality of functional controls and the first application; and grouping the plurality of functional controls according to the plurality of associated values to obtain the first functional control set and the second functional control set.
In one possible example, the obtaining, by the processor, an association value of each of the plurality of functionality controls with the first application to obtain a plurality of association values includes:
the memory stores a plurality of dimensions and preset weights corresponding to each dimension in the plurality of dimensions, wherein the first application comprises the preset weights;
the processor obtains a plurality of sub-associated values of a target function control and an associated value of each dimension of the plurality of dimensions, wherein the target function control is any one of the plurality of function controls; and acquiring the associated value corresponding to the target function control according to the plurality of sub-associated values and the preset weight value corresponding to each dimension in the plurality of dimensions.
In one possible example, the first display area displays display content corresponding to the first set of functionality controls, including:
the memory stores a first display area corresponding to the first set of functionality controls and a display area of the first display region;
if the first display area is larger than the display area of the first display area, the processor integrates the function controls contained in the first function control set to obtain a first auxiliary function control;
and the touch display screen displays the first auxiliary function control in the first display area.
In one possible example, the method further comprises:
the processor receives a notification message sent by a second application running in the background in the electronic equipment; grouping the notification message and the plurality of functional controls to obtain a first group of display contents and a second group of display contents;
the touch display screen displays the first group of display contents in the first display area, and displays the second group of display contents in the second display area.
In the method shown in fig. 5, the method is applied to an electronic device whose touch display screen is a special-shaped screen, where the touch display screen includes a special-shaped area and a regular area, the special-shaped area includes a first display area and a second display area, and if the detected usage posture of the electronic device is a preset usage posture, a plurality of function controls corresponding to a first application running on a foreground in the electronic device are obtained, the plurality of function controls are grouped to obtain a first function control set and a second function control set, display content corresponding to the first function control set is displayed in the first display area, and display content corresponding to the second function control set is displayed in the second display area. That is to say, when the electronic equipment satisfies the preset use gesture, the plurality of function controls corresponding to the current application are respectively displayed on two sides of the special-shaped area, the display space of the touch display screen of the electronic equipment is fully utilized, and the display flexibility and regularity of the special-shaped area are improved.
Referring to fig. 6, in accordance with the embodiment shown in fig. 1E or fig. 2, fig. 6 is a schematic structural diagram of another electronic device provided in the embodiment of the present application. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, a communication interface 630, and one or more programs 640, wherein the one or more programs 640 are stored in the memory 620 and configured to be executed by the processor 610, the programs 640 including instructions for performing the steps of:
detecting a use gesture of the electronic device, the use gesture including one of: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
if the using posture is a preset using posture, acquiring a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment;
grouping the plurality of functional controls to obtain a first functional control set and a second functional control set, displaying the display content corresponding to the first functional control set in the first display area, and displaying the display content corresponding to the second functional control set in the second display area.
In one possible example, in the grouping the plurality of functionality controls to obtain the first functionality control set and the second functionality control set, the program 640 is specifically configured to execute the following steps:
acquiring a correlation value between each of the plurality of functional controls and the first application to obtain a plurality of correlation values;
and grouping the plurality of functional controls according to the plurality of associated values to obtain the first functional control set and the second functional control set.
In one possible example, the first application includes a plurality of dimensions, and in the obtaining of the associated value of each of the plurality of functionality controls with the first application to obtain a plurality of associated values, the program 640 is specifically configured to execute the following steps:
acquiring a target function control and an associated value of each dimension in the plurality of dimensions to obtain a plurality of sub-associated values, wherein the target function control is any one of the plurality of function controls;
and acquiring the associated value corresponding to the target function control according to the plurality of sub-associated values and the preset weight value corresponding to each dimension in the plurality of dimensions.
In one possible example, in terms of displaying, in the first display area, display content corresponding to the first set of functionality controls, the program 640 is specifically configured to execute the following steps:
acquiring a first display area corresponding to the first function control set;
and if the first display area is larger than the display area of the first display area, integrating the function controls contained in the first function control set to obtain a first auxiliary function control, and displaying the first auxiliary function control in the first display area.
In one possible example, the program 640 is further for instructions to perform the steps of:
receiving a notification message sent by a second application running in the background in the electronic equipment;
grouping the notification message and the plurality of functional controls to obtain a first group of display contents and a second group of display contents, displaying the first group of display contents in the first display area, and displaying the second group of display contents in the second display area.
In the electronic device shown in fig. 6, the electronic device is applied to an electronic device in which a touch display screen is an irregular screen, the touch display screen includes an irregular area and a regular area, the irregular area includes a first display area and a second display area, if the detected use posture of the electronic device is a preset use posture, a plurality of function controls corresponding to a first application running on a foreground in the electronic device are obtained, the plurality of function controls are grouped to obtain a first function control set and a second function control set, display content corresponding to the first function control set is displayed in the first display area, and display content corresponding to the second function control set is displayed in the second display area. That is to say, when the electronic equipment satisfies the preset use gesture, the plurality of function controls corresponding to the current application are respectively displayed on two sides of the special-shaped area, the display space of the touch display screen of the electronic equipment is fully utilized, and the display flexibility and regularity of the special-shaped area are improved.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for causing a computer to execute a part or all of the steps of any one of the methods as described in the method embodiments, and the computer includes an electronic device.
Embodiments of the application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the method embodiments. The computer program product may be a software installation package and the computer comprises the electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a cell is merely a logical division, and an actual implementation may have another division, for example, a plurality of cells or controls may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A display control method is applied to an electronic device with a touch display screen being a special-shaped screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the method comprises the following steps:
detecting a use gesture of the electronic device, the use gesture including one of: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
if the using posture is a preset using posture, acquiring a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment;
grouping the plurality of functional controls to obtain a first functional control set and a second functional control set, displaying display contents corresponding to the first functional control set in the first display area, and displaying display contents corresponding to the second functional control set in the second display area;
displaying the display content corresponding to the first set of functionality controls in the first display area, including:
acquiring a first display area corresponding to the first function control set; and if the first display area is larger than the display area of the first display area, integrating the function controls contained in the first function control set to obtain a first auxiliary function control, and displaying the first auxiliary function control in the first display area.
2. The method of claim 1, wherein grouping the plurality of functionality controls to obtain a first set of functionality controls and a second set of functionality controls comprises:
acquiring a correlation value between each of the plurality of functional controls and the first application to obtain a plurality of correlation values;
and grouping the plurality of functional controls according to the plurality of associated values to obtain the first functional control set and the second functional control set.
3. The method of claim 2, wherein the first application comprises a plurality of dimensions, and wherein obtaining the associated value of each of the plurality of functionality controls with the first application to obtain a plurality of associated values comprises:
acquiring a target function control and an associated value of each dimension in the plurality of dimensions to obtain a plurality of sub-associated values, wherein the target function control is any one of the plurality of function controls;
and acquiring the associated value corresponding to the target function control according to the plurality of sub-associated values and the preset weight value corresponding to each dimension in the plurality of dimensions.
4. The method according to any one of claims 1-3, further comprising:
receiving a notification message sent by a second application running in the background in the electronic equipment;
grouping the notification message and the plurality of functional controls to obtain a first group of display contents and a second group of display contents, displaying the first group of display contents in the first display area, and displaying the second group of display contents in the second display area.
5. An electronic device, comprising: the processor, with memory, gravity acceleration sensor and touch-control display screen that the processor is connected, the touch-control display screen includes special-shaped area and regular zone, the special-shaped area includes first display area and second display area, wherein:
the memory is used for storing preset using postures;
the gravity acceleration sensor is used for detecting the use posture of the electronic equipment, and the use posture comprises one of the following items: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
the processor is configured to acquire a plurality of function controls corresponding to a first application running on a foreground in the electronic device if the usage posture is the preset usage posture; grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
the touch display screen is used for displaying the display content corresponding to the first function control set in the first display area and displaying the display content corresponding to the second function control set in the second display area;
the memory is further configured to store a first display area corresponding to the first function control set and a display area of the first display area, and in terms of displaying display content corresponding to the first function control set in the first display area, the processor is further configured to integrate the function controls included in the first function control set to obtain a first auxiliary function control if the first display area is larger than the display area of the first display area; the touch display screen is further used for displaying the first auxiliary function control in the first display area.
6. The electronic device of claim 5, wherein, in the grouping of the plurality of functionality controls into a first functionality control set and a second functionality control set, the processor is specifically configured to obtain a plurality of association values for each of the plurality of functionality controls with the first application; and grouping the plurality of functional controls according to the plurality of associated values to obtain the first functional control set and the second functional control set.
7. The electronic device according to claim 6, wherein the memory is further configured to store a plurality of dimensions and preset weights corresponding to each of the plurality of dimensions, and in the aspect of obtaining the associated value of each of the plurality of functionality controls and the first application to obtain a plurality of associated values, the processor is specifically configured to obtain a plurality of sub-associated values of the associated value of a target functionality control and each of the plurality of dimensions, where the target functionality control is any one of the plurality of functionality controls; and acquiring the associated value corresponding to the target function control according to the plurality of sub-associated values and the preset weight value corresponding to each dimension in the plurality of dimensions.
8. The electronic device according to any of claims 5-7, wherein the processor is further configured to receive a notification message sent by a second application running in the background in the electronic device; grouping the notification message and the plurality of functional controls to obtain a first group of display contents and a second group of display contents; the touch display screen is further configured to display the first group of display contents in the first display area, and display the second group of display contents in the second display area.
9. The display control device is applied to electronic equipment with a touch display screen being a special-shaped screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the device comprises:
a detection unit configured to detect a use posture of the electronic device, the use posture including one of: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
the obtaining unit is used for obtaining a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment if the using posture is a preset using posture;
the grouping unit is used for grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
a display unit, configured to display, in the first display area, display content corresponding to the first set of functionality controls, and display, in the second display area, display content corresponding to the second set of functionality controls;
displaying the display content corresponding to the first set of functionality controls in the first display area, including:
acquiring a first display area corresponding to the first function control set; and if the first display area is larger than the display area of the first display area, integrating the function controls contained in the first function control set to obtain a first auxiliary function control, and displaying the first auxiliary function control in the first display area.
10. A display control method is applied to an electronic device comprising a processor, a memory connected with the processor, a gravity acceleration sensor and a touch display screen, wherein the touch display screen comprises a special-shaped area and a regular area, the special-shaped area comprises a first display area and a second display area, and the method comprises the following steps:
the memory stores preset using postures;
the gravity acceleration sensor detects a use posture of the electronic device, and the use posture comprises one of the following items: the using posture of the horizontal screen, the using posture of the inverted horizontal screen, the using posture of the vertical screen and the using posture of the inverted vertical screen are correct;
if the using gesture is the preset using gesture, the processor acquires a plurality of functional controls corresponding to a first application running on a foreground in the electronic equipment; grouping the plurality of functional controls to obtain a first functional control set and a second functional control set;
the touch display screen displays display content corresponding to the first function control set in the first display area, and displays display content corresponding to the second function control set in the second display area;
displaying the display content corresponding to the first set of functionality controls in the first display area, including:
acquiring a first display area corresponding to the first function control set; and if the first display area is larger than the display area of the first display area, integrating the function controls contained in the first function control set to obtain a first auxiliary function control, and displaying the first auxiliary function control in the first display area.
11. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-4.
12. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.
CN201711409666.2A 2017-12-20 2017-12-20 Display control method and related product Active CN108111687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711409666.2A CN108111687B (en) 2017-12-20 2017-12-20 Display control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711409666.2A CN108111687B (en) 2017-12-20 2017-12-20 Display control method and related product

Publications (2)

Publication Number Publication Date
CN108111687A CN108111687A (en) 2018-06-01
CN108111687B true CN108111687B (en) 2020-06-16

Family

ID=62212547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711409666.2A Active CN108111687B (en) 2017-12-20 2017-12-20 Display control method and related product

Country Status (1)

Country Link
CN (1) CN108111687B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108803973B (en) * 2018-06-01 2021-01-26 强春娟 Video information component grouping display method for mobile terminal
CN108874485A (en) 2018-06-08 2018-11-23 Oppo广东移动通信有限公司 icon display method, device and terminal
CN108924362A (en) * 2018-07-17 2018-11-30 维沃移动通信有限公司 A kind of notification event processing method and terminal
CN109144341A (en) * 2018-08-10 2019-01-04 维沃移动通信有限公司 A kind of application operating method and mobile terminal
CN109413260A (en) * 2018-08-20 2019-03-01 中兴通讯股份有限公司 The display methods and device of display screen
CN109144649B (en) 2018-08-22 2020-12-29 Oppo广东移动通信有限公司 Icon display method and device, terminal and storage medium
CN109327604B (en) * 2018-08-29 2020-11-10 努比亚技术有限公司 Status bar information display method and equipment and computer readable storage medium
CN109525705B (en) * 2018-09-27 2021-01-08 维沃移动通信有限公司 Display method and terminal equipment
CN118079382A (en) * 2022-11-28 2024-05-28 荣耀终端有限公司 Game service management method and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095226A (en) * 2016-06-01 2016-11-09 广州三星通信技术研究有限公司 The method and apparatus of application program is run in electric terminal
CN107102835A (en) * 2017-02-10 2017-08-29 珠海市魅族科技有限公司 A kind of display control method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4865355B2 (en) * 2006-02-21 2012-02-01 キヤノン株式会社 Broadcast receiving apparatus and method for controlling broadcast receiving apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095226A (en) * 2016-06-01 2016-11-09 广州三星通信技术研究有限公司 The method and apparatus of application program is run in electric terminal
CN107102835A (en) * 2017-02-10 2017-08-29 珠海市魅族科技有限公司 A kind of display control method and system

Also Published As

Publication number Publication date
CN108111687A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN108111687B (en) Display control method and related product
US10917515B2 (en) Method for switching applications in split screen mode, computer device and computer-readable storage medium
CN107219976B (en) Application display method and related product
CN106528745B (en) Method and device for recommending resources on mobile terminal and mobile terminal
CN108008896B (en) Display control method and related product
US10775979B2 (en) Buddy list presentation control method and system, and computer storage medium
EP2849042A1 (en) Method, apparatus and electronic device for displaying notice information
CN108153503B (en) Display control method and related product
CN108885525A (en) Menu display method and terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN104238918B (en) List View component slippage display methods and device
CN104239535A (en) Method and system for matching pictures with characters, server and terminal
CN108121493B (en) Display control method and related product
CN106200970B (en) The method and terminal of a kind of split screen display available
CN108932093A (en) Split screen application switching method, device, storage medium and electronic equipment
CN107402804B (en) background process control method and device, storage medium and electronic equipment
CN111913620A (en) Notification message display method and device, storage medium and mobile terminal
CN109067981A (en) Split screen application switching method, device, storage medium and electronic equipment
CN109829070A (en) A kind of image lookup method and terminal device
CN109032732A (en) Notify display methods, device, storage medium and electronic equipment
CN108932094A (en) Split screen application switching method, device, storage medium and electronic equipment
CN107943361B (en) A kind of application icon display methods, device and mobile terminal
EP3582450B1 (en) Message notification method and terminal
CN108345674A (en) A kind of file management method and mobile terminal
CN110012152A (en) A kind of interface display method and terminal 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant