CN112104784A - Display method, display device, computer-readable storage medium, and electronic apparatus - Google Patents

Display method, display device, computer-readable storage medium, and electronic apparatus Download PDF

Info

Publication number
CN112104784A
CN112104784A CN202010974985.3A CN202010974985A CN112104784A CN 112104784 A CN112104784 A CN 112104784A CN 202010974985 A CN202010974985 A CN 202010974985A CN 112104784 A CN112104784 A CN 112104784A
Authority
CN
China
Prior art keywords
holding
holding data
display
data
electronic equipment
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.)
Pending
Application number
CN202010974985.3A
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010974985.3A priority Critical patent/CN112104784A/en
Publication of CN112104784A publication Critical patent/CN112104784A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

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

Abstract

The application provides a display method, a display device, a computer-readable storage medium and an electronic apparatus. The method comprises the following steps: acquiring holding data of the electronic equipment in real time, wherein the holding data is data representing whether a user holds or not; determining a current holding end of a user according to the holding data, wherein the holding end is the end of the electronic equipment held by the user; and under the condition that the holding end is determined to be a preset end of the electronic equipment, controlling the display interface to display the target content in a preset display mode. According to the method, the current holding end of the user can be determined through the acquired holding data, and then the display interface is controlled to display the target content in the arrangement display mode from the non-predetermined end to the predetermined end under the condition that the holding end is determined to be the predetermined end.

Description

Display method, display device, computer-readable storage medium, and electronic apparatus
Technical Field
The present application relates to the field of communications technologies, and in particular, to a display method, a display device, a computer-readable storage medium, a processor, and an electronic device.
Background
With the rapid development of mobile communication technology, display components in electronic equipment are larger and larger, the screen occupation ratio is higher and higher, and the content displayed for users is richer and richer. For example, a user may use a cell phone to make a call, view a web page, take a picture of a picture, play a game, and so forth.
At present, the display mode of the display screen of the mobile phone is an arrangement mode of displaying contents from left to right and from top to bottom from the top left corner of the top of the display screen, but in many cases, the display mode can cause the user operation to be more complicated, so that the user experience is not very good.
The above information disclosed in this background section is only for enhancement of understanding of the background of the technology described herein and, therefore, certain information may be included in the background that does not form the prior art that is already known in this country to a person of ordinary skill in the art.
Disclosure of Invention
The application mainly aims to provide a display method, a display device, a computer readable storage medium, a processor and electronic equipment, so as to solve the problem that in the prior art, a display screen is single in display mode and cannot bring better use experience to a user easily.
According to an aspect of an embodiment of the present invention, there is provided a display method including: acquiring holding data of the electronic equipment in real time, wherein the holding data is data representing whether a user holds or not; determining a current holding end of a user according to the holding data, wherein the holding end is the end of the electronic equipment held by the user; and under the condition that the holding end is determined to be a preset end of the electronic equipment, controlling a display interface to display target content in a preset display mode, wherein the preset display mode is an arrangement display mode from a non-preset end to the preset end, and the non-preset end is an opposite end of the preset end.
Optionally, acquiring, in real time, holding data of the electronic device includes: the method includes acquiring first holding data and second holding data, wherein the first holding data represent whether a user holds a first end of the electronic device, the second holding data represent whether the user holds a second end of the electronic device, and the first end and the second end are opposite ends of the electronic device in the length direction.
Optionally, acquiring, in real time, holding data of the electronic device includes: and acquiring third holding data and fourth holding data in real time, wherein the third holding data represents whether a user holds a third end of the electronic equipment, the fourth holding data represents whether the user holds a fourth end of the electronic equipment, and the third end and the fourth end are opposite ends of the electronic equipment in the width direction.
Optionally, determining a current holding end of the user according to the holding data includes: determining whether only one of the grip data is changed; and under the condition that only one piece of the holding data is changed, determining the end corresponding to the changed holding data as the holding end.
Optionally, there are a plurality of the holding data, and after acquiring the holding data of the electronic device in real time, the method further includes: under the condition that all the holding data are changed, the holding data are obtained again until only one holding data is changed; and under the condition that all the holding data are not changed, a plurality of holding data are acquired again until only one holding data is changed.
Optionally, after controlling the display interface to display the target content in the predetermined display manner, the method further includes: determining whether an operation identifier is displayed on a current display interface; determining a holding gesture according to the holding data under the condition that the operation identifier is displayed on the display interface, wherein the holding gesture comprises left-hand holding or right-hand holding; and controlling the operation identifier to be displayed in a predetermined area according to the holding gesture, wherein the predetermined area is an area which can be touched by fingers when a user holds the electronic equipment in the current holding gesture.
According to another aspect of the embodiments of the present invention, there is also provided a display device including: the electronic equipment comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a plurality of holding data of the electronic equipment in real time, and the holding data is data representing whether a user holds or not; the first determining unit is used for determining a current holding end of the user according to the holding data, wherein the holding end is one end of the electronic equipment held by the user; the first control unit is used for controlling a display interface to display target content in a preset display mode under the condition that the holding end is determined to be a preset end of the electronic equipment, wherein the preset display mode is an arrangement display mode from a non-preset end to the preset end, and the non-preset end is an opposite end of the preset end.
According to still another aspect of embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program executes any one of the methods.
According to still another aspect of the embodiments of the present invention, there is further provided a processor, configured to execute a program, where the program executes any one of the methods.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a body structure, a grip sensor, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods, the grip sensor being located at a top of a side of the body structure.
Optionally, the holding sensors are multiple, the first end and the second end are opposite ends of the electronic device in the length direction, the holding sensors are arranged on the first end at intervals, and the holding sensors are arranged on the second end at intervals.
In the embodiment of the invention, firstly, the holding data of the electronic device is acquired, then, the current holding end of the user is determined according to the acquired holding data of the electronic device, and under the condition that the holding end is determined to be the preset end of the electronic device, the display interface of the electronic device is controlled to display the target content, and the target content is displayed in the preset display mode. According to the method, the current holding end of the user can be determined through the acquired holding data, and then the display interface is controlled to display the target content in the arrangement display mode from the non-preset end to the preset end under the condition that the holding end is determined to be the preset end.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 shows a schematic flow diagram of a display method according to an embodiment of the present application;
FIG. 2 shows a schematic structural diagram of a display device according to an embodiment of the present application;
FIG. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 4 shows a flow diagram of another display method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a predetermined display mode;
FIG. 6 is a schematic diagram illustrating another predefined display;
FIG. 7 is a schematic diagram illustrating an operation indicator displayed in a predetermined area; and
fig. 8 is a schematic view showing another operation indicator displayed in a predetermined area.
Wherein the figures include the following reference numerals:
10. a body structure; 20. a grip sensor; 100. a first acquisition unit; 200. a first determination unit; 300. a first control unit.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all 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.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Also, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
As mentioned in the background art, the display mode of the display screen in the prior art is relatively single, and it is difficult to bring a better use experience to a user.
According to an embodiment of the present application, there is provided a display method. Fig. 1 is a flowchart of a display method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, acquiring holding data of the electronic equipment in real time, wherein the holding data is data representing whether a user holds the electronic equipment or not;
step S102, determining a current holding end of a user according to the holding data, wherein the holding end is the end of the electronic equipment held by the user;
step S103, if it is determined that the holding end is a predetermined end of the electronic device, controlling a display interface to display the target content in a predetermined display mode, where the predetermined display mode is an arrangement display mode from a non-predetermined end to the predetermined end, and the non-predetermined end is an end opposite to the predetermined end.
In the method, first, holding data of the electronic device is acquired, then, a current holding end of a user is determined according to the acquired holding data of the electronic device, and under the condition that the holding end is determined to be a preset end of the electronic device, a display interface of the electronic device is controlled to display target content and display the target content in a preset display mode. According to the method, the current holding end of the user can be determined through the acquired holding data, and then the display interface is controlled to display the target content in the arrangement display mode from the non-predetermined end to the predetermined end under the condition that the holding end is determined to be the predetermined end.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In an embodiment of the present application, acquiring, in real time, holding data of an electronic device includes: the method comprises the steps of obtaining first holding data and second holding data, wherein the first holding data indicate whether a user holds a first end of the electronic device, the second holding data indicate whether the user holds a second end of the electronic device, and the first end and the second end are opposite ends of the electronic device in the length direction. In the scheme, the current holding end of the user can be determined more accurately subsequently through the acquired first holding data and second holding data, and for mobile terminals such as mobile phones, the first end and the second end in the length direction are the holding ends which are frequently held by the user, so that the scheme can meet the actual requirements of a plurality of users, and the user experience is better.
In another embodiment of the present application, acquiring, in real time, holding data of an electronic device includes: and acquiring third holding data and fourth holding data in real time, wherein the third holding data represents whether a user holds a third end of the electronic device, the fourth holding data represents whether the user holds a fourth end of the electronic device, and the third end and the fourth end are opposite ends of the electronic device in the width direction. According to the scheme, the current holding end of the user can be determined more accurately subsequently through the acquired third holding data and the fourth holding data. Moreover, for mobile terminals such as mobile phones and tablet computers, the third end and the fourth end in the width direction are frequently held by users, so that the scheme can meet the actual requirements of part of users, and the user experience is better. It should be noted that, this scheme is different from the scheme of the rotation screen in the conventional mobile terminal in the prior art in fact, and the scheme of the rotation screen is realized by relying on the gravity sensor, and it needs the mobile terminal itself to rotate. For example, the mobile phone does not rotate, and the user touches the third end with a hand after moving to another position, so that the mobile phone displays contents in a display manner from the fourth end to the third end.
In another embodiment of the present application, determining a current holding end of a user according to the above-mentioned holding data includes: and determining whether only one piece of the holding data is changed, and determining the end corresponding to the changed holding data as the holding end under the condition that only one piece of the holding data is changed. In the scheme, when a user holds the electronic equipment, only one holding data can be changed, and the corresponding holding end with the changed holding data can be more accurately determined as the current holding end of the user.
In a specific embodiment of the present application, there are a plurality of the holding data, and after acquiring the holding data of the electronic device in real time, the method further includes: when all of the plurality of pieces of the grip data are changed, the plurality of pieces of the grip data are newly acquired until only one piece of the grip data is changed, and when all of the plurality of pieces of the grip data are not changed, the plurality of pieces of the grip data are newly acquired until only one piece of the grip data is changed. In the scheme, under the condition that a plurality of users possibly hold the electronic equipment at the same time, a plurality of holding data may be changed, the holding data is obtained again at the moment, the current holding data can be determined more accurately until only one holding data is changed, the current holding end is further determined subsequently, under the condition that no user holds the electronic equipment, a plurality of holding data may not be changed, the holding data is obtained again at the moment until only one holding data is changed, the current holding data can be determined more accurately, the current holding end is further determined subsequently, the determined holding end can be further ensured to be more accurate, and the display mode of the electronic equipment can be further ensured to better meet the requirements of the users.
In an actual application process, some electronic devices have a large size, and when a user holds the electronic devices with one hand, a range touched by fingers cannot cover display structures such as the whole display screen, so that the user can operate the electronic devices more conveniently under the condition, and user experience is further improved. Determining whether an operation mark is displayed on a current display interface, determining a holding gesture according to the holding data when the operation mark is displayed on the display interface, wherein the holding gesture comprises left-hand holding or right-hand holding, and controlling the operation mark to be displayed in a predetermined area according to the holding gesture, and the predetermined area is an area which can be touched by fingers when a user holds the electronic equipment in the current holding gesture, so that marks such as a floating ball can be operated. According to the scheme, the holding posture can be accurately determined according to the holding data, the operation identifier can be displayed in the preset area according to the holding posture, and a user can conveniently operate the electronic equipment.
The embodiment of the present application further provides a display device, and it should be noted that the display device according to the embodiment of the present application may be used to execute the display method provided by the embodiment of the present application. The following describes a display device provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of a display device according to an embodiment of the present application. As shown in fig. 2, the apparatus includes:
a first obtaining unit 100, configured to obtain, in real time, a plurality of holding data of an electronic device, where the holding data is data representing whether a user holds the electronic device;
a first determining unit 200, configured to determine a current holding end of a user according to the holding data, where the holding end is an end of the electronic device held by the user;
a first control unit 300, configured to control a display interface to display target content in a predetermined display manner when the holding end is determined to be a predetermined end of the electronic device, where the predetermined display manner is an arrangement display manner from a non-predetermined end to the predetermined end, and the non-predetermined end is an end opposite to the predetermined end.
In the device, the first obtaining unit obtains the holding data of the electronic device, the first determining unit determines the current holding end of the user according to the obtained holding data of the electronic device, and the first control unit controls the display interface of the electronic device to display the target content and displays the target content in a preset display mode under the condition that the first control unit determines that the holding end is the preset end of the electronic device. According to the scheme, when the user is in different positions, the electronic equipment does not need to be rotated, the content can be conveniently displayed in a display mode of being conveniently watched or operated by the user according to the handheld end corresponding to the electronic equipment, and therefore good experience effects are brought to the user.
In an embodiment of the application, the first obtaining unit includes a first obtaining module, where the first obtaining module is configured to obtain first holding data and second holding data, where the first holding data indicates whether a user holds a first end of the electronic device, the second holding data indicates whether the user holds a second end of the electronic device, and the first end and the second end are opposite ends of the electronic device in a length direction. In the scheme, the current holding end of the user can be determined more accurately subsequently through the acquired first holding data and second holding data, and for mobile terminals such as mobile phones, the first end and the second end in the length direction are the holding ends which are frequently held by the user, so that the scheme can meet the actual requirements of a plurality of users, and the user experience is better.
In another embodiment of the application, the first obtaining unit includes a second obtaining module, where the second obtaining module is configured to obtain, in real time, third holding data and fourth holding data, where the third holding data indicates whether a user holds a third end of the electronic device, and the fourth holding data indicates whether the user holds a fourth end of the electronic device, where the third end and the fourth end are opposite ends in a width direction of the electronic device. According to the scheme, the current holding end of the user can be determined more accurately subsequently through the acquired third holding data and the fourth holding data. Moreover, for mobile terminals such as mobile phones and tablet computers, the third end and the fourth end in the width direction are frequently held by users, so that the scheme can meet the actual requirements of part of users, and the user experience is better. It should be noted that, this scheme is different from the scheme of the rotation screen in the conventional mobile terminal in the prior art in fact, and the scheme of the rotation screen is realized by relying on the gravity sensor, and it needs the mobile terminal itself to rotate. For example, the mobile phone does not rotate, and the user touches the third end with a hand after moving to another position, so that the mobile phone displays contents in a display manner from the fourth end to the third end.
In still another embodiment of the present application, the first determining unit includes a first determining module and a second determining module, the first determining module is configured to determine whether only one of the pieces of holding data changes, and the second determining module is configured to determine, when only one of the pieces of holding data changes, that an end corresponding to the changed piece of holding data is the holding end. In the scheme, when a user holds the electronic equipment, only one holding data can be changed, and the corresponding holding end with the changed holding data can be more accurately determined as the current holding end of the user.
In a specific embodiment of the present application, the apparatus further includes a second obtaining unit and a third obtaining unit, the second obtaining unit is configured to obtain the holding data of the electronic device in real time, and if all of the holding data changes, obtain the holding data again until only one of the holding data changes, and the third obtaining unit is configured to obtain the holding data again until all of the holding data does not change. In the scheme, under the condition that a plurality of users possibly hold the electronic equipment at the same time, a plurality of holding data may be changed, the holding data is obtained again at the moment, the current holding data can be determined more accurately until only one holding data is changed, the current holding end is further determined subsequently, under the condition that no user holds the electronic equipment, a plurality of holding data may not be changed, the holding data is obtained again at the moment until only one holding data is changed, the current holding data can be determined more accurately, the current holding end is further determined subsequently, the determined holding end can be further ensured to be more accurate, and the display mode of the electronic equipment can be further ensured to better meet the requirements of the users.
In an actual application process, some electronic devices have a larger size, and when a user holds the electronic devices with one hand, a range touched by fingers cannot cover a display structure such as a whole display screen, so that the user can more conveniently operate the electronic devices in such a case, and user experience is further improved, in another embodiment of the present application, the apparatus further includes a second determining unit, a third determining unit, and a second control unit, the second determining unit is configured to determine whether an operation identifier is displayed on a current display interface after controlling the display interface to display target content in a predetermined display manner, the third determining unit is configured to determine a holding posture according to the holding data when the display interface displays the operation identifier, the holding posture includes left-hand holding or right-hand holding, the second control unit is configured to control the operation identifier to be displayed in a predetermined area according to the holding posture, the predetermined area is an area that can be touched by a finger when the user holds the electronic device in the current holding posture. According to the scheme, the holding posture can be accurately determined according to the holding data, the operation identifier can be displayed in the preset area according to the holding posture, and a user can conveniently operate the electronic equipment.
The present application further provides an electronic device, as shown in fig. 3, comprising a body structure 10, a grip sensor 20, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the above methods, and the grip sensor 20 is located at a top of a side of the body structure 10.
It should be noted that, in a specific embodiment, since the grip sensor 20 is actually disposed inside the body structure 10, the grip sensor 20 in fig. 3 and fig. 5 to 8 is represented by a dotted line in a specific position thereof.
In the electronic device, due to the adoption of the method, the holding data of the electronic device can be acquired, the current holding end of the user is determined according to the acquired holding data of the electronic device, and under the condition that the holding end is determined to be the preset end of the electronic device, the display interface of the electronic device is controlled to display the target content, and the target content is displayed in the preset display mode. According to the scheme, when the user is located at different positions, the electronic equipment does not need to be rotated, the display content can be conveniently watched or operated by the user according to the corresponding handheld end on the electronic equipment, and therefore good experience effects are brought to the user.
In still another embodiment of the present application, the plurality of grip sensors are provided, the first end and the second end are opposite ends in a longitudinal direction of the electronic device, the plurality of grip sensors are provided at intervals on the first end, and the plurality of grip sensors are provided at intervals on the second end. The grip data can be accurately acquired by the grip sensor.
In order to make the technical solutions of the present application more clear to those skilled in the art, the technical solutions of the present application will be described below with reference to specific embodiments.
Example 1
The flow chart of the display method is shown in fig. 4, and the specific flow is as follows:
the first step is as follows: a holding sensor for detecting is arranged on the periphery of the frame of the electronic equipment, holding data around the electronic equipment is monitored in real time, and when the holding data changes, the second step is carried out;
the second step is that: only acquiring the holding data of the holding sensor at the bottom, and performing a third step; only acquiring the holding data of the holding sensor at the top, and performing the fourth step; if the bottom holding sensor and the top holding sensor acquire holding data at the same time or do not acquire the holding data at the same time, performing a first step;
the third step: resetting the display mode of the display system to display the target content in a display mode from top to bottom by the display interface of the software system of the electronic equipment, wherein the display effect is as shown in fig. 5, and performing a fifth step;
the fourth step: resetting the display mode of the display system to display the target content in a display mode from bottom to top by the display interface of the software system of the electronic equipment, wherein the display effect is as shown in fig. 6, and performing a sixth step;
the fifth step: only acquiring the holding data of the holding sensor at the bottom of the right side, and performing the eighth step; only acquiring the holding data of the holding sensor at the bottom of the left side, and performing a seventh step;
and a sixth step: only acquiring the holding data of the holding sensor at the top of the right side, and performing the eighth step; only acquiring the holding data of the holding sensor at the top of the left side, and performing a seventh step;
the seventh step: resetting the operation mode of the system to be a left-hand operation mode on the display interface of the software system of the electronic equipment, arranging the commonly used operation identifiers from the left, and performing the first step with the display effect as shown in fig. 7;
eighth step: the operation mode of the system is reset to be a right-hand operation mode by a display interface of a software system of the electronic equipment, the common operation marks are arranged from the right side, the display effect is shown in fig. 8, and the first step is carried out.
According to the scheme, the current holding end of the user can be determined through the acquired holding data, and then under the condition that the holding end is determined to be the preset end, the display interface is controlled to display the target content in the arrangement display mode from the non-preset end to the preset end.
The display device comprises a processor and a memory, wherein the first acquisition unit, the first determination unit, the first control unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and better use experience is brought to a user by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the above display method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the display method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein when the processor executes the program, at least the following steps are realized:
step S101, acquiring holding data of the electronic equipment in real time, wherein the holding data is data representing whether a user holds the electronic equipment or not;
step S102, determining the current holding end of the user according to the holding data;
step S103, if it is determined that the holding end is a predetermined end of the electronic device, controlling a display interface to display the target content in a predetermined display mode, where the predetermined display mode is an arrangement display mode from a non-predetermined end to the predetermined end, and the non-predetermined end is an end opposite to the predetermined end.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, acquiring holding data of the electronic equipment in real time, wherein the holding data is data representing whether a user holds the electronic equipment or not;
step S102, determining the current holding end of the user according to the holding data;
step S103, if it is determined that the holding end is a predetermined end of the electronic device, controlling a display interface to display the target content in a predetermined display mode, where the predetermined display mode is an arrangement display mode from a non-predetermined end to the predetermined end, and the non-predetermined end is an end opposite to the predetermined end.
In the above embodiments of the present invention, 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 technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be 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 through some interfaces, units or modules, and may be in an electrical or other form.
The 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 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 invention 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, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 above methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) according to the display method, firstly, the holding data of the electronic equipment is obtained, then the current holding end of the user is determined according to the obtained holding data of the electronic equipment, and under the condition that the holding end is determined to be the preset end of the electronic equipment, the display interface of the electronic equipment is controlled to display the target content, and the target content is displayed in the preset display mode. According to the method, the current holding end of the user can be determined through the acquired holding data, and then the display interface is controlled to display the target content in the arrangement display mode from the non-predetermined end to the predetermined end under the condition that the holding end is determined to be the predetermined end.
2) According to the display device, the first obtaining unit obtains the holding data of the electronic equipment, the first determining unit determines the current holding end of the user according to the obtained holding data of the electronic equipment, and the first control unit controls the display interface of the electronic equipment to display the target content and displays the target content in a preset display mode under the condition that the first control unit determines that the holding end is the preset end of the electronic equipment. According to the scheme, when the user is in different positions, the electronic equipment does not need to be rotated, the content can be conveniently displayed in a display mode of being conveniently watched or operated by the user according to the handheld end corresponding to the electronic equipment, and therefore good experience effects are brought to the user.
3) Due to the adoption of the method, the electronic equipment can acquire the holding data of the electronic equipment, determine the current holding end of the user according to the acquired holding data of the electronic equipment, and control the display interface of the electronic equipment to display the target content and display the target content in the preset display mode under the condition that the holding end is determined to be the preset end of the electronic equipment. According to the scheme, when the user is located at different positions, the electronic equipment does not need to be rotated, the display content can be conveniently watched or operated by the user according to the corresponding handheld end on the electronic equipment, and therefore good experience effects are brought to the user.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (11)

1. A display method, comprising:
acquiring holding data of the electronic equipment in real time, wherein the holding data is data representing whether a user holds or not;
determining a current holding end of a user according to the holding data, wherein the holding end is the end of the electronic equipment held by the user;
and under the condition that the holding end is determined to be a preset end of the electronic equipment, controlling a display interface to display target content in a preset display mode, wherein the preset display mode is an arrangement display mode from a non-preset end to the preset end, and the non-preset end is an opposite end of the preset end.
2. The display method according to claim 1, wherein acquiring the holding data of the electronic device in real time comprises:
the method includes acquiring first holding data and second holding data, wherein the first holding data represent whether a user holds a first end of the electronic device, the second holding data represent whether the user holds a second end of the electronic device, and the first end and the second end are opposite ends of the electronic device in the length direction.
3. The display method according to claim 1, wherein acquiring the holding data of the electronic device in real time comprises:
and acquiring third holding data and fourth holding data in real time, wherein the third holding data represents whether a user holds a third end of the electronic equipment, the fourth holding data represents whether the user holds a fourth end of the electronic equipment, and the third end and the fourth end are opposite ends of the electronic equipment in the width direction.
4. The display method according to any one of claims 1 to 3, wherein determining the current holding end of the user according to the holding data comprises:
determining whether only one of the grip data is changed;
and under the condition that only one piece of the holding data is changed, determining the end corresponding to the changed holding data as the holding end.
5. The display method according to claim 4, wherein the holding data is plural, and after acquiring the holding data of the electronic device in real time, the method further comprises:
under the condition that all the holding data are changed, the holding data are obtained again until only one holding data is changed;
and under the condition that all the holding data are not changed, a plurality of holding data are acquired again until only one holding data is changed.
6. The display method according to claim 1, wherein after controlling the display interface to display the target content in the predetermined display manner, the method further comprises:
determining whether an operation identifier is displayed on a current display interface;
determining a holding gesture according to the holding data under the condition that the operation identifier is displayed on the display interface, wherein the holding gesture comprises left-hand holding or right-hand holding;
and controlling the operation identifier to be displayed in a predetermined area according to the holding gesture, wherein the predetermined area is an area which can be touched by fingers when a user holds the electronic equipment in the current holding gesture.
7. A display device, comprising:
the electronic equipment comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a plurality of holding data of the electronic equipment in real time, and the holding data is data representing whether a user holds or not;
the first determining unit is used for determining the current holding end of the user according to the holding data;
the first control unit is used for controlling a display interface to display target content in a preset display mode under the condition that the holding end is determined to be a preset end of the electronic equipment, wherein the preset display mode is an arrangement display mode from a non-preset end to the preset end, and the non-preset end is an opposite end of the preset end.
8. A computer-readable storage medium, characterized in that the storage medium comprises a stored program, wherein the program performs the method of any one of claims 1 to 6.
9. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 6.
10. An electronic device, comprising: a body structure, a grip sensor, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of any of claims 1-6, the grip sensor being located at a top of a side of the body structure.
11. The electronic device according to claim 10, wherein the holding sensor is provided in plurality, the first end and the second end are opposite ends of the electronic device in a length direction, the first end is provided with the plurality of holding sensors at intervals, and the second end is provided with the plurality of holding sensors at intervals.
CN202010974985.3A 2020-09-16 2020-09-16 Display method, display device, computer-readable storage medium, and electronic apparatus Pending CN112104784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010974985.3A CN112104784A (en) 2020-09-16 2020-09-16 Display method, display device, computer-readable storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010974985.3A CN112104784A (en) 2020-09-16 2020-09-16 Display method, display device, computer-readable storage medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN112104784A true CN112104784A (en) 2020-12-18

Family

ID=73759386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010974985.3A Pending CN112104784A (en) 2020-09-16 2020-09-16 Display method, display device, computer-readable storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN112104784A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507634A (en) * 2021-06-29 2021-10-15 上海闻泰信息技术有限公司 Video playing method and device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615332A (en) * 2015-01-24 2015-05-13 陆俊 Mobile terminal and application icon arrangement method
CN104850341A (en) * 2015-04-24 2015-08-19 惠州Tcl移动通信有限公司 Mobile terminal and application icon display method thereof
US20150234581A1 (en) * 2014-02-17 2015-08-20 Xerox Corporation Method and apparatus for adjusting and moving a user interface for single handed use on an endpoint device
CN106293328A (en) * 2016-07-28 2017-01-04 乐视控股(北京)有限公司 Icon display method and device
CN106371758A (en) * 2016-09-22 2017-02-01 维沃移动通信有限公司 Mobile terminal holding mode detection method and mobile terminal
CN107704179A (en) * 2016-08-08 2018-02-16 宏达国际电子股份有限公司 Determine the method for picture display direction and use its electronic installation
CN107844231A (en) * 2017-10-31 2018-03-27 努比亚技术有限公司 A kind of interface display method, mobile terminal and computer-readable recording medium
CN108958614A (en) * 2018-07-04 2018-12-07 维沃移动通信有限公司 A kind of display control method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150234581A1 (en) * 2014-02-17 2015-08-20 Xerox Corporation Method and apparatus for adjusting and moving a user interface for single handed use on an endpoint device
CN104615332A (en) * 2015-01-24 2015-05-13 陆俊 Mobile terminal and application icon arrangement method
CN104850341A (en) * 2015-04-24 2015-08-19 惠州Tcl移动通信有限公司 Mobile terminal and application icon display method thereof
CN106293328A (en) * 2016-07-28 2017-01-04 乐视控股(北京)有限公司 Icon display method and device
CN107704179A (en) * 2016-08-08 2018-02-16 宏达国际电子股份有限公司 Determine the method for picture display direction and use its electronic installation
CN106371758A (en) * 2016-09-22 2017-02-01 维沃移动通信有限公司 Mobile terminal holding mode detection method and mobile terminal
CN107844231A (en) * 2017-10-31 2018-03-27 努比亚技术有限公司 A kind of interface display method, mobile terminal and computer-readable recording medium
CN108958614A (en) * 2018-07-04 2018-12-07 维沃移动通信有限公司 A kind of display control method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507634A (en) * 2021-06-29 2021-10-15 上海闻泰信息技术有限公司 Video playing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
EP3312752B1 (en) Electronic device and method for acquiring fingerprint information
US10268302B2 (en) Method and apparatus for recognizing grip state in electronic device
US10747983B2 (en) Electronic device and method for sensing fingerprints
US11061558B2 (en) Touch operation response method and device
US20170192589A1 (en) Method and device for adjusting object attribute information
US20200218393A1 (en) Method for Responding to Touch Operation, Mobile Terminal, and Storage Medium
CN106572207B (en) Device and method for identifying single-hand mode of terminal
US11194425B2 (en) Method for responding to touch operation, mobile terminal, and storage medium
CN109032898A (en) A kind of display methods of icon, device, equipment and storage medium
CN103106007A (en) Icon display method and device
CN108415646B (en) Touch function setting method and device
CN107153546A (en) A kind of video broadcasting method and mobile device
CN106201509A (en) A kind of method for information display, device and mobile terminal
CN112104784A (en) Display method, display device, computer-readable storage medium, and electronic apparatus
CN108427586B (en) Using push terminal, method and the computer readable storage medium of theme
WO2022041606A1 (en) Method and apparatus for adjusting display position of control
CN109101164A (en) Application display method, device, storage medium and electronic equipment
CN106569686B (en) Method for controlling screen capture by rolling ball and related intelligent equipment
CN108268291A (en) A kind of application program delet method and terminal device
CN109002293B (en) UI element display method and device, electronic equipment and storage medium
CN105389108A (en) Identification method and device of touch operation of mobile terminal
CN108134871A (en) Electronic device, display control method and related product
CN108415651A (en) Electronic equipment, display control method and Related product
JP2016095758A (en) Information medium and information processing system
CN110703970B (en) Information processing method and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201218