CN108769396A - Display control method, device, electronic device and storage medium - Google Patents

Display control method, device, electronic device and storage medium Download PDF

Info

Publication number
CN108769396A
CN108769396A CN201810470292.3A CN201810470292A CN108769396A CN 108769396 A CN108769396 A CN 108769396A CN 201810470292 A CN201810470292 A CN 201810470292A CN 108769396 A CN108769396 A CN 108769396A
Authority
CN
China
Prior art keywords
user
electronic device
region
handed performance
operational mode
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
CN201810470292.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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810470292.3A priority Critical patent/CN108769396A/en
Publication of CN108769396A publication Critical patent/CN108769396A/en
Pending legal-status Critical Current

Links

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

Abstract

The embodiment of the present application discloses a kind of display control method, device, electronic device and storage medium, is related to technical field of electronic equipment.Wherein, this method includes:Detect whether the electronic device is under the one-handed performance of user;If the electronic device is under the one-handed performance of user, the corresponding one-hand operating format of current one-handed performance is determined;The human-computer interaction element of display interface is adjusted to the corresponding predetermined registration operation region of the one-hand operating format, the predetermined registration operation region is corresponded to the one-hand operating format by user and divided in advance.The program can make the operation of electronic device more convenient.

Description

Display control method, device, electronic device and storage medium
Technical field
This application involves technical field of electronic equipment, are filled more particularly, to a kind of display control method, device, electronics It sets and storage medium.
Background technology
For mobile phone as current main hand-held interactive device, size is increasing, after comprehensive screen is gradually universal, screen The usable range also bigger of curtain, often many scene operations must also be operated by both hands, be otherwise difficult to realize the friendship with mobile phone Mutually.But in some cases, the possible inconvenient both hands operation of user, to generate inconvenience to the operation of mobile phone.
Invention content
In view of the above problems, present applicant proposes a kind of display control method, device, electronic device and storage mediums, use In user to the one-handed performance of electronic device, improve the above problem.
In a first aspect, the embodiment of the present application provides a kind of display control method, it is applied to electronic device, the method packet It includes:Detect whether the electronic device is under the one-handed performance of user;If the electronic device is in the one-handed performance of user Under, determine the corresponding one-hand operating format of current one-handed performance;The human-computer interaction element of display interface is adjusted to the one hand The corresponding predetermined registration operation region of operation mode, the predetermined registration operation region are corresponded to the one-hand operating format by user and drawn in advance Point.
Second aspect, the embodiment of the present application provide a kind of display control unit, are applied to electronic device, described device packet It includes:Detection module, for detecting whether the electronic device is under the one-handed performance of user;Mode decision module, if for The electronic device is under the one-handed performance of user, determines the corresponding one-hand operating format of current one-handed performance;Interface adjusts Module, for the human-computer interaction element of display interface to be adjusted to the corresponding predetermined registration operation region of the one-hand operating format, institute It states predetermined registration operation region and corresponds to the one-hand operating format division in advance by user.
The third aspect, the embodiment of the present application provide a kind of electronic device, including display screen, memory and processor, institute It states display screen and the memory is couple to the processor, the display screen is described to deposit for being shown to display interface Reservoir store instruction, when executed by the processor the processor execute above-mentioned method.
Fourth aspect, the embodiment of the present application provide it is a kind of with processor can perform program code it is computer-readable Storage medium, said program code make the processor execute above-mentioned method.
Display control method, device, electronic device and storage medium provided by the present application are grasped when electronic device is in singlehanded The human-computer interaction element of display interface, is adjusted to that one-hand operating format is corresponding, corresponds to the one hand in advance by user by operation mode The predetermined registration operation region that operation mode divides, so that user can carry out electronic device one-handed performance, operation is more convenient.
These aspects or other aspects of the application can more straightforward in the following description.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the flow chart for the display control method that the application first embodiment proposes;
Fig. 2 shows a kind of inclination schematic diagrames of electronic device in the embodiment of the present application;
Fig. 3 shows that the another of electronic device tilts schematic diagram in the embodiment of the present application;
Fig. 4 shows a kind of schematic diagram of display interface in the application first embodiment;
Fig. 5 shows the flow chart for the display control method that the application second embodiment proposes;
Fig. 6 shows the first schematic diagram of display interface in the application second embodiment;
Fig. 7 shows second of schematic diagram of display interface in the application second embodiment;
Fig. 8 shows the third schematic diagram of display interface in the application second embodiment;
Fig. 9 shows the 4th kind of schematic diagram of display interface in the application second embodiment;
Figure 10 shows the 5th kind of schematic diagram of display interface in the application second embodiment;
Figure 11 shows the 6th kind of schematic diagram of display interface in the application second embodiment;
Figure 12 shows the functional block diagram for the display control unit that the application 3rd embodiment proposes;
Figure 13 shows a kind of structure diagram for the electronic device that the embodiment of the present application proposes;
Figure 14 shows a kind of structure chart for the electronic device that the embodiment of the present application proposes;
Figure 15 shows the electronics for executing the display control method according to the embodiment of the present application of the embodiment of the present application The block diagram of device.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall in the protection scope of this application.
As mobile phone screen size increases and shields, accounting is increasing, and certain human-computer interaction elements may be from user's one hand When operation finger can touch area farther out, it is inconvenient, it is necessary to which that two hands are simultaneously to mobile phone operation.Wherein, human-computer interaction member Element is element that display interface of mobile phone is shown, being interacted for user and mobile phone, such as input frame, button, handle icon.
But in some cases, user may only have a hand to be conveniently operated mobile phone, and therefore, mobile phone can be arranged One-hand operating format.One-hand operating format is performed with one hand the pattern of operation for the convenience of the user, such as one-hand operating format packet Include left operational mode and right operational mode, the pattern of left operational mode left-handed operation for the convenience of the user, right hand operation The pattern that pattern operates for convenience of the right hand.
If under one-hand operating format, display area is reduced, such as display area is narrowed down into some direction, background is set For black.Although in this way, facilitating one-handed performance, display effect is poor, has violated raising screen accounting plus large display screen Original intention, and more than once additional operating cost.
Inventor has found, when screen is larger, the difficulty of one-handed performance essentially consists in one hand to certain human-computer interaction elements hardly possible To touch, if under one-hand operating format, human-machine operation element is only subjected to position adjustment, adjusts to one hand and is easy to touch-control Position had not only facilitated the one-handed performance of user, but also did not changed the size of display interface.Therefore, the embodiment of the present application provides one kind Display control method, device, electronic device and storage medium, for realizing one-handed performance mould by adjusting human-computer interaction element Formula.It is carried out below in conjunction with attached drawing and by specific embodiment to display control method provided by the embodiments of the present application and device Explanation.
First embodiment
Referring to Fig. 1, the application first embodiment provides a kind of display control method.The display control method is used for Under singlehanded pattern, the facility of one-handed performance is realized by adjusting the position of human-computer interaction element.It is advance by user in this method The corresponding one-hand operating format divides predetermined registration operation region, and the human-computer interaction element of display interface is adjusted to the singlehanded behaviour The corresponding predetermined registration operation region of operation mode.In the particular embodiment, the display control method is applied to as shown in figure 12 Display control unit and the electronic device 400 (Figure 13, Figure 14) for being corresponding with display control unit 300.Above-mentioned display control Method can specifically include following steps:
Step S110:Detect whether the electronic device is under the one-handed performance of user.
Step S120:If the electronic device is under the one-handed performance of user, the corresponding list of current one-handed performance is determined Hand operation mode.
Electronic device detects whether active user is carrying out one-handed performance.Specific detection mode does not limit, such as can be with It is the active operation according to user or the grip according to user.If detecting, electronic device is in the one-handed performance of user Under, it may be determined that the corresponding one-hand operating format of the one-handed performance.
As an implementation, when user needs to carry out one-handed performance, can confirm in electronic device active operation needs Want one-handed performance.For example, user clicks one-handed performance button, user carries out the default behaviour such as sliding, slide to the right to the left in display interface It makes a sign with the hand.Electronic device receives user and confirms the touch-control for needing one-handed performance, it may be determined that present mode is one-handed performance mould Formula.If it is currently left-handed operation that user, which confirms, electronic device enters left operational mode, is currently grasped for the right hand if user confirms Make, then electronic device enters right operational mode.
As an implementation, when user is hold by one hand mobile phone, usually mobile phone can incline to a direction during the hold Tiltedly, whether electronic device can also confirm user in one-handed performance according to the grip of user.Therefore, if detecting the electricity Tilt down on the left of sub-device display area, as shown in Fig. 2, tilted down on the right side of display area, as shown in figure 3, statistics Ramping time length.If the ramping time length tilted down on the left of display area is more than preset duration or display area is right The ramping time length being sloped downwardly is more than preset duration, it is possible to determine that the electronic device is in the one-handed performance of user Under.
According to the posture of shaking hands of user to which the influence generated to the posture of electronic device determines whether electronic device is located In the case of one-handed performance, it can determine that user is in left operational mode or right operational mode according to specific posture. For example, user's both hands are shaken hands when machine, mobile phone in the lateral direction gradient it is low either it is not long-term to the left or a right side To inclination;When user's left-handed mobile phone, electronic device is tilted to the right, to which the high the right in the left side is low;User's right hand holds mobile phone When, electronic device is tilted to the left, to which the high left side in the right is low.Therefore, if the ramping time tilted down on the left of display area is long Degree is more than preset duration, it may be determined that and current one-handed performance corresponds to left operational mode, if tilted down on the right side of display area Ramping time length is more than preset duration, it may be determined that current one-handed performance corresponds to right operational mode.
In this embodiment, it is left-handed operation when display area is tilted toward which direction, is the right side when which direction tilts Hand operates, and can also be pre-set according to itself use habit by user.
Wherein, a left side and the right side for display area is that display area is left with respect to user or right, such as shown in Fig. 4, the sides a are The upper of display area, the sides b are under display area, then the sides c are a left side for display area, right side of the sides d in display area.In addition, Determination for display area inclined direction, can be by the attitude transducer in electronic device, such as accelerometer, gyroscope Deng not limiting herein.
As an implementation, if user shifts to an earlier date the fingerprint of typing difference hand, electronic device is detected in current time The fingerprint of finger that is operated of a period of time inherence display interface be the same hand fingerprint, then judge that electronic device is in Under one-handed performance.And it is possible to determine that current one-hand operating format is the corresponding one-hand operating format of the hand.That is, It is left hand fingerprint in the fingerprint of the finger of display interface operation if within a period of time of current time, it is determined that current One-hand operating format is left operational mode;It is right hand fingerprint in the fingerprint of the finger of display interface operation, it is determined that current One-hand operating format be right operational mode.
As an implementation, when user is in display interface one-handed performance, the region of the usual touch-control of left hand is close The region on the display interface left side, and the region of the usual touch-control of the right hand is the region on the right of display interface, it therefore, can be aobvious Show that interface carries out the division in left and right region, it includes left region relative to each other and right region to make display interface.The left region Positioned at the display interface left side, the right region is located on the right of the display interface.Left region and right region be two simultaneously Disjoint region.Such as shown in Fig. 4, the region on 1 left side of longitudinal axis L of display interface or so boundary can be used as left area The region in domain, the right can be used as right region.It is of course also possible to using a part of region on 1 left side of longitudinal axis L as left area Domain, a part of region on 1 the right of longitudinal axis L is as right region.If user can count in electronic device display interface touch-control The touch-control number that the touch-control number and right region that left region receives in preset time period receive, if left region and right area The touch-control number difference that domain receives is larger, then can be determined that user is in one-handed performance state.Wherein, which exists It is not limited in the embodiment of the present application, such as 1 minute, 2 minutes, 5 minutes.
If specifically, the touch-control number that receives of left region be more than the touch-control that the right region receives and state number, can Using the corresponding one-hand operating format of the current one-handed performance of determination as left operational mode;If the touch-control that the right region receives Number is more than the touch-control number that the left region receives, it may be determined that the corresponding one-hand operating format of current one-handed performance is the right hand Operation mode.Wherein, being more than between touch-control number can differ being more than for predetermined threshold value, for example, what left region received When touch-control number states number big predetermined threshold value than the touch-control that right region receives, judge that the touch-control number that left region receives is more than The touch-control that right region receives states number, and the size of the predetermined threshold value does not limit in this application.In addition, between touch-control number Be more than, can also be to differ preset ratio value to be more than, for example, the touch-control number that left region receives is received than right region Touch-control when stating the preset ratio in the big right region of number, judge that the touch-control number that left region receives is more than what right region received Touch-control states number, and the occurrence of the preset ratio does not limit.
Step S130:The human-computer interaction element of display interface is adjusted to the corresponding predetermined registration operation of the one-hand operating format Region, the predetermined registration operation region are corresponded to the one-hand operating format by user and divided in advance.
After determining one-hand operating format, the adjustment of human-computer interaction element is carried out in display interface, makes the man-machine of display interface Interactive elements are convenient for the corresponding one-handed performance of the one-hand operating format.That is, human-computer interaction element is adjusted to singlehanded behaviour In the corresponding region of operation mode, if the one-hand operating format is left operational mode, human-computer interaction element is adjusted to convenient for a left side In the region of hand operation;If the one-hand operating format is right operational mode, human-computer interaction element is adjusted to grasp convenient for the right hand In the region of work.
Wherein, the corresponding region of one-hand operating format can be the region that user corresponds to one-hand operating format division in advance, That is, user can be that left operational mode divides the region for being convenient for left-handed operation in advance, divided for right operational mode Convenient for the region of right hand operation.
It is corresponding as left operational mode alternatively, it is also possible to the region on the central axes left side that display interface or so is demarcated Predetermined registration operation region, the region on the right is as the corresponding predetermined registration operation region of left operational mode.
In the embodiment of the present application, when detecting that electronic device is under one-handed performance, corresponding one-handed performance mould is determined Formula, and the human-computer interaction element of display interface is adjusted in the corresponding predetermined registration operation region of the one-hand operating format, it improves The convenience of one-handed performance.
Second embodiment
The embodiment of the present application provides a kind of display control method, includes being determined according to the setting of user in the method Predetermined registration operation region.Specifically, referring to Fig. 5, this method includes:
Step S210:The predetermined registration operation region that corresponding left operational mode divides is received, the corresponding right hand operation is received The predetermined registration operation region of mode division.
It is the region that user is convenient for touch-control for ease of the corresponding operating area of one-hand operating format, it can be right in advance by user Answer one-hand operating format that corresponding predetermined registration operation region is set.
Specifically, in setting, user can according to oneself can it is singlehanded can touch-control range, sliding on a display screen determines One region, using the region as corresponding singlehanded predetermined registration operation region.
When corresponding left operational mode divides predetermined registration operation region, the slide of user on the display screen is received; The closed area that the left margin of the corresponding sliding trace of the slide and the display screen is formed is determined, as the left side The corresponding predetermined registration operation region of hand operation mode.
Wherein, if the left margin itself of sliding trace and display interface forms closed area, such as l1 pairs of sliding trace in Fig. 6 Shown in the closed area B1 answered;Or as shown in fig. 7, sliding trace l2 and display interface coboundary, display interface lower boundary And closed area B2 is collectively formed in left margin, then using the closed area as the corresponding predetermined registration operation area of left operational mode Domain.
If sliding trace with does not directly form closed area with the left margin of display interface, can be along sliding trace not The endpoint to connect with display interface boundary does the parallel lines of coboundary or lower boundary, to form closed area.As shown in figure 8, empty Line is the display interface coboundary parallel lines made along sliding trace l3 upper extreme points, and sliding trace l3 can form closing with left margin Region B3.
Likewise, when corresponding right operational mode divides predetermined registration operation region, user can be received on the display screen Slide;Determine the enclosed area that the right margin of the corresponding sliding trace of the slide and the display screen is formed Domain, as the corresponding predetermined registration operation region of the right operational mode.Specific setting can answer left operational mode to set with reference pair Predetermined registration operation region is set, details are not described herein.
Optionally, in the present embodiment, user is when predetermined registration operation region is arranged in corresponding one-hand operating format, if passing through cunning It is dynamic form sliding trace after, do not click on confirmation using the sliding trace as the sliding trace for forming predetermined registration operation region, can be with Continue slide on the basis of the sliding trace formed and forms new sliding trace.It finally can be by all slidings Track combination forms corresponding predetermined registration operation region at a sliding trace, with the boundary of display interface.
Step S220:Detect whether the electronic device is under the one-handed performance of user.
Step S230:If the electronic device is under the one-handed performance of user, the corresponding list of current one-handed performance is determined Hand operation mode.
Step S240:The human-computer interaction element of display interface is adjusted to the corresponding predetermined registration operation of the one-hand operating format Region, the predetermined registration operation region are corresponded to the one-hand operating format by user and divided in advance.
It, then can be by the man-machine friendship of display interface during using electronic device after determining one-hand operating format Mutual element is adjusted in the corresponding predetermined registration operation region of the one-hand operating format.
If for example, current one-hand operating format be left operational mode, in interactive interface as shown in Figure 9, including Human-computer interaction element " cancellation " and " continuation ", then the man-machine interactive elements be adjusted to the corresponding default behaviour of left operational mode Make in region, as shown in Figure 10;If current one-hand operating format is right operational mode, in interactive interface as shown in Figure 9 In, including human-computer interaction element " cancellation " and " continuation ", then the man-machine interactive elements be adjusted to right operational mode correspondence Predetermined registration operation region in, as shown in figure 11.
It should be understood that after determining one-hand operating format, if the position of the human-computer interaction element setting in display interface In the corresponding predetermined registration operation region of the one-hand operating format, then the man-machine interactive elements can not be adjusted.
Optionally, if display space shared by human-computer interaction element is excessive, may exceed user's one hand can touch-control region, Such as in the case where keyboard etc. has multiple human-computer interaction elements to be arranged in order.Therefore, in the embodiment of the present application, if the electricity Sub-device is under the one-handed performance of user, the human-computer interaction element of display interface can also be reduced by preset ratio, made one Machine hands over display space smaller shared by interactive elements, user's one hand to be easier to touch.
In the embodiment of the present application, the corresponding predetermined registration operation region of different one-hand operating formats can be single according to itself by user Hand finger can touch area setting, to ensure under one-hand operating format that user can carry out touch-control to each man-machine interactive elements, And at the same time not changing the size of display area, ensure corresponding Showing Effectiveness On Screen.
3rd embodiment
The embodiment of the present application provides a kind of display control unit 300, is applied to electronic device.As shown in figure 12, described Device 300 includes:Detection module 310, for detecting whether the electronic device is under the one-handed performance of user;Pattern determines Module 320 determines the corresponding one-handed performance of current one-handed performance if being under the one-handed performance of user for the electronic device Pattern;Interface adjusts module 330, corresponding for the human-computer interaction element of display interface to be adjusted to the one-hand operating format Predetermined registration operation region, the predetermined registration operation region are corresponded to the one-hand operating format by user and divided in advance.
Optionally, the display interface includes left region relative to each other and right region, and the left region is located at described The display interface left side, the right region are located on the right of the display interface, and the one-hand operating format includes left operational mode And right operational mode.Mode decision module 320 may include number statistic unit, for counting institute in preset time period State the touch-control number that left region receives and the touch-control number that the right region receives.Pattern determining unit, if being used for institute It states the touch-control number that left region receives and is more than the touch-control number that the right region receives, determine that current one-handed performance is corresponding One-hand operating format is left operational mode, if the touch-control number that the right region receives is more than what the left region received Touch-control number determines that the corresponding one-hand operating format of current one-handed performance is right operational mode.
Optionally, detection module 310 can be used for, if tilting down or showing on the left of the electronic device display area It is tilted down on the right side of region, counts ramping time length;If the ramping time length tilted down on the left of display area is more than pre- If the ramping time length tilted down on the right side of duration or display area is more than preset duration, judge at the electronic device Under the one-handed performance of user.
Optionally, mode decision module 320 can be also used for, if the ramping time length tilted down on the left of display area More than preset duration, determine that current one-handed performance corresponds to left operational mode, if display area on the right side of tilt down inclination when Between length be more than preset duration, determine that current one-handed performance corresponds to right operational mode.
Optionally, in the embodiment of the present application, can also include, region division module, for receiving the corresponding left hand behaviour The predetermined registration operation region that operation mode divides receives the predetermined registration operation region that the corresponding right operational mode divides.
Wherein, region division module can receive the slide of user on the display screen;Determine the slide The closed area that the left margin of corresponding sliding trace and the display screen is formed, it is corresponding as the left operational mode Predetermined registration operation region.In addition, region division module can also receive the slide of user on the display screen;Determine the cunning The closed area that the right margin of the dynamic corresponding sliding trace of operation and the display screen is formed, as the right operational mode Corresponding predetermined registration operation region.
In conclusion in the embodiment of the present application, user interface (UI, User Interface) is held according to active user The posture of mobile phone is laid out dynamically to adjust current interface, so that primary operational can facilitate singlehanded completion.Under one-hand operating format, By the human-computer interaction element of display interface be adjusted to from it is corresponding it is singlehanded closer to predetermined registration operation region in, promote the side of one-handed performance Just property.
Fourth embodiment
Referring to Figure 13, based on above-mentioned display control method and device, the embodiment of the present application also provides a kind of electricity Sub-device 400.As shown in figure 13, which includes display screen 120, memory 104 and processor 102, the display Screen 120 and the memory 104 are couple to the processor 102, and the display screen 120 is used to show display interface, 104 store instruction of the memory, when described instruction is executed by the processor 102, the processor 102 executes above-mentioned Method described in one embodiment and second embodiment.
Specifically, as shown in figure 14, which may include electronic body portion 10, the electronic body portion 10 Including shell 12 and the display screen being arranged on the shell 12 120.Metal, such as steel, aluminium alloy can be used in the shell 12 It is made.In the present embodiment, the display screen 120 generally includes display panel 111, may also comprise for responding to the display surface Plate 111 carries out the circuit etc. of touch control operation.The display panel 111 can be a liquid crystal display panel (Liquid Crystal Display, LCD), in some embodiments, the display panel 111 is a touch screen 109 simultaneously.
Please refer to Figure 15, in actual application scenarios, the electronic device 400 can be used as intelligent mobile phone terminal into It exercises and uses, the electronic body portion 10 also typically includes one or more (only showing one in figure) processors in this case 102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module 118, power module 122.It will appreciated by the skilled person that structure shown in figure 15 is only to illustrate, not to institute The structure for stating electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include it is more than shown in Figure 15 or The less component of person, or with the correspondence different from shown in Figure 15.
It will appreciated by the skilled person that for the processor 102, every other component belongs to It is coupled by multiple Peripheral Interfaces 124 between peripheral hardware, the processor 102 and these peripheral hardwares.The Peripheral Interface 124 can Based on following standard implementation:Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/ Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit, I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described Detached in Peripheral Interface 124, and be integrated in the processor 102 or corresponding peripheral hardware in.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation The software program and module in memory 104 are stated, to perform various functions application and data processing.The memory 104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10 Or the display screen 120.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication And combinations thereof.
The RF modules 106 are used to receive and transmit electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, to It is communicated with communication network or other equipment.The RF modules 106 may include various existing for executing these functions Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, memory etc..The RF modules 106 can be carried out with various networks such as internet, intranet, wireless network Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless LAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/ Or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, Instant Messenger The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet Agreement.
Voicefrequency circuit 110, loud speaker 101, microphone 103, microphone 105 provide user and the electronic body portion jointly Audio interface between 10 or described display screens 120.
The setting of the sensor 114 is in the electronic body portion 10 or in the display screen 120, the sensor 114 Example include but is not limited to:Acceleration transducer 114F, gyroscope 114G, magnetometer 114H and other sensors.
In the present embodiment, the input module 118 may include being arranged the touch screen 109 on the display screen 120, The touch screen 109 collect user on it or neighbouring touch operation (for example user is suitble to using finger, stylus etc. are any Object or attachment operation on the touch screen 109 or near the touch screen 109), it is hereby achieved that user Touch gestures, and corresponding attachment device is driven according to a pre-set procedure, therefore, user can pass through touching in display screen Control operation selected target region.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.Wherein, institute The touch orientation of touch detecting apparatus detection user is stated, and detects the signal that touch operation is brought, transmits a signal to described touch Touch controller;The touch controller receives touch information from the touch detecting apparatus, and the touch information is converted into Contact coordinate, then give the processor 102, and order that the processor 102 is sent can be received and executed.In addition, The touch detection that the multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize the touch screen 109 may be used Function.In addition to the touch screen 109, in other change embodiments, the input module 118 can also include other inputs Equipment, such as button 107.The button 107 for example may include the character keys for inputting character, and for triggering control work( The control button of energy.The example of the control button includes " returning to main screen " button, on/off button etc..
The information and the electronics sheet that the display screen 120 is used to show information input by user, is supplied to user The various graphical user interface in body portion 10, these graphical user interface can be by figure, text, icon, number, video and Qi Ren Meaning combines to constitute.In an example, the touch screen 109 may be disposed on the display panel 111 to be shown with described Show that panel 111 constitutes an entirety.
The power module 122 is used to provide supply of electric power to the processor 102 and other each components.Specifically, The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit, Power-fail detection circuit, inverter, indicator of the power supply status and any other and electronic body portion 10 are described aobvious The generation, management of electric power and the relevant component of distribution in display screen 120.
The electronic device 400 further includes locator 119, and the locator 119 is for determining 400 institute of the electronic device The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the electronic device 400 using positioning service, The positioning service, it should be understood that the location information of the electronic device 400 is obtained by specific location technology (as passed through Latitude coordinate), it is marked on the electronic map by the technology of the position of positioning object or service.
It should be understood that above-mentioned electronic device 400 is not limited to intelligent mobile phone terminal, should refer to can move The computer equipment used in dynamic.Specifically, electronic device 400, refers to the mobile computer for being equipped with intelligent operating system Equipment, electronic device 400 include but not limited to smart mobile phone, smartwatch, tablet computer, etc..
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description See the part explanation of embodiment of the method.For arbitrary processing mode described in embodiment of the method, in device reality It applies in example and no longer can be one by one repeated in device embodiment by corresponding processing modules implement.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.In addition, in each embodiment of the application In each functional unit can be integrated in a processing module, can also be that each unit physically exists alone, can also two A or more than two units are integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is realized, also may be used It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as Independent product sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of application Type.
Finally it should be noted that:Above example is only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding:It still can be with Technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;And These modifications or replacements, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (11)

1. a kind of display control method, which is characterized in that it is applied to electronic device, the method includes:
Detect whether the electronic device is under the one-handed performance of user;
If the electronic device is under the one-handed performance of user, the corresponding one-hand operating format of current one-handed performance is determined;
The human-computer interaction element of display interface is adjusted to the corresponding predetermined registration operation region of the one-hand operating format, it is described default Operating area is corresponded to the one-hand operating format by user and divided in advance.
2. according to the method described in claim 1, it is characterized in that, the one-hand operating format include left operational mode and Right operational mode, the detection electronic installation whether in user one-handed performance under before, further include:
The predetermined registration operation region that the corresponding left operational mode divides is received,
Receive the predetermined registration operation region that the corresponding right operational mode divides.
3. according to the method described in claim 2, it is characterized in that, described receive the pre- of the corresponding left operational mode division If operating area includes:
Receive the slide of user on the display screen;
The closed area that the left margin of the corresponding sliding trace of the slide and the display screen is formed is determined, as institute State the corresponding predetermined registration operation region of left operational mode.
4. according to the method described in claim 2, it is characterized in that, described receive the pre- of the corresponding right operational mode division If operating area includes:
Receive the slide of user on the display screen;
The closed area that the right margin of the corresponding sliding trace of the slide and the display screen is formed is determined, as institute State the corresponding predetermined registration operation region of right operational mode.
5. according to the method described in claim 1, it is characterized in that, the display interface include left region relative to each other and Right region, the left region are located at the display interface left side, and the right region is located on the right of the display interface, the one hand Operation mode includes left operational mode and right operational mode, the corresponding one-handed performance mould of the current one-handed performance of determination Formula, including:
The touch-control number that the touch-control number and the right region that the left region receives in statistics preset time period receive;
If the touch-control number that the left region receives is more than the touch-control number that the right region receives, current singlehanded behaviour is determined It is left operational mode to make corresponding one-hand operating format,
If the touch-control number that the right region receives is more than the touch-control number that the left region receives, current singlehanded behaviour is determined It is right operational mode to make corresponding one-hand operating format.
6. according to the method described in claim 1, it is characterized in that, whether the detection electronic device is in the list of user Under hand operation, including:
If being tilted down on the left of the electronic device display area or display area right side tilting down, statistics ramping time is long Degree;
It is tilted down if the ramping time length tilted down on the left of display area is more than on the right side of preset duration or display area Ramping time length be more than preset duration, judge that the electronic device is under the one-handed performance of user.
7. according to the method described in claim 6, it is characterized in that, the one-hand operating format include left operational mode and Right operational mode, the corresponding one-hand operating format of the current one-handed performance of determination, including:
If the ramping time length tilted down on the left of display area is more than preset duration, determine that current one-handed performance corresponds to left hand Operation mode,
If the ramping time length tilted down on the right side of display area is more than preset duration, determine that current one-handed performance corresponds to the right hand Operation mode.
8. according to the method described in claim 1, it is characterized in that, the method further includes:
If the electronic device is under the one-handed performance of user, the human-computer interaction element of display interface is contracted by preset ratio It is small.
9. a kind of display control unit, which is characterized in that be applied to electronic device, described device includes:
Detection module, for detecting whether the electronic device is under the one-handed performance of user;
Mode decision module determines that current one-handed performance corresponds to if being under the one-handed performance of user for the electronic device One-hand operating format;
Interface adjusts module, corresponding default for the human-computer interaction element of display interface to be adjusted to the one-hand operating format Operating area, the predetermined registration operation region are corresponded to the one-hand operating format by user and divided in advance.
10. a kind of electronic device, which is characterized in that including display screen, memory and processor, the display screen and the storage Device is couple to the processor, and the display screen is for showing display interface, the memory store instruction, when described Instruction 1 to 8 any one of them method of processor perform claim requirement when being executed by the processor.
11. a kind of computer readable storage medium for the program code that can perform with processor, which is characterized in that described program Code makes the processor perform claim require 1 to 8 any one of them method.
CN201810470292.3A 2018-05-16 2018-05-16 Display control method, device, electronic device and storage medium Pending CN108769396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810470292.3A CN108769396A (en) 2018-05-16 2018-05-16 Display control method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810470292.3A CN108769396A (en) 2018-05-16 2018-05-16 Display control method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN108769396A true CN108769396A (en) 2018-11-06

Family

ID=64008262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810470292.3A Pending CN108769396A (en) 2018-05-16 2018-05-16 Display control method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN108769396A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416226A (en) * 2020-11-19 2021-02-26 珠海格力电器股份有限公司 Button display method and device, storage medium and electronic device
CN113961132A (en) * 2021-09-23 2022-01-21 北京百度网讯科技有限公司 Interaction processing method and device, electronic equipment and storage medium
CN114356119A (en) * 2021-11-16 2022-04-15 北京乐我无限科技有限责任公司 Control method and device of application operation interface, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530049A (en) * 2013-04-15 2014-01-22 Tcl集团股份有限公司 Method and system for one-handed operation processing of mobile terminal with touch screen
CN106126039A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 Operation interface display method and mobile terminal
EP3176998A1 (en) * 2015-12-01 2017-06-07 Xiaomi Inc. Touch control method and apparatus for function key, computer program and recording medium
CN107219987A (en) * 2017-05-25 2017-09-29 北京珠穆朗玛移动通信有限公司 Display changeover method, electronic equipment and the storage device of electronic equipment screen
US20180039403A1 (en) * 2016-08-05 2018-02-08 Beijing Xiaomi Mobile Software Co., Ltd. Terminal control method, terminal, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530049A (en) * 2013-04-15 2014-01-22 Tcl集团股份有限公司 Method and system for one-handed operation processing of mobile terminal with touch screen
EP3176998A1 (en) * 2015-12-01 2017-06-07 Xiaomi Inc. Touch control method and apparatus for function key, computer program and recording medium
CN106126039A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 Operation interface display method and mobile terminal
US20180039403A1 (en) * 2016-08-05 2018-02-08 Beijing Xiaomi Mobile Software Co., Ltd. Terminal control method, terminal, and storage medium
CN107219987A (en) * 2017-05-25 2017-09-29 北京珠穆朗玛移动通信有限公司 Display changeover method, electronic equipment and the storage device of electronic equipment screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416226A (en) * 2020-11-19 2021-02-26 珠海格力电器股份有限公司 Button display method and device, storage medium and electronic device
CN113961132A (en) * 2021-09-23 2022-01-21 北京百度网讯科技有限公司 Interaction processing method and device, electronic equipment and storage medium
CN113961132B (en) * 2021-09-23 2023-07-25 北京百度网讯科技有限公司 Interactive processing method and device, electronic equipment and storage medium
CN114356119A (en) * 2021-11-16 2022-04-15 北京乐我无限科技有限责任公司 Control method and device of application operation interface, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10324604B2 (en) Electronic device and method for controlling zooming of displayed object
EP2720135B1 (en) Data transmission method, data transmission device and terminal provided with touch screen
CN108108081B (en) Information display method based on double-sided screen, mobile terminal and readable storage medium
CN108777731A (en) Key configurations method, apparatus, mobile terminal and storage medium
CN108664190A (en) page display method, device, mobile terminal and storage medium
CN108990105A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN108769506A (en) Image-pickup method, device, mobile terminal and computer-readable medium
CN108762859A (en) Wallpaper displaying method, device, mobile terminal and storage medium
CN108646959A (en) Screen control method, device and mobile terminal
CN108769396A (en) Display control method, device, electronic device and storage medium
CN108512997A (en) Display methods, device, mobile terminal and storage medium
CN108769299A (en) Screen control method, device and mobile terminal
CN109062478A (en) Read display control method, mobile terminal and computer readable storage medium
CN108647050A (en) Application program launching method, device and mobile terminal
CN108717325A (en) Operating gesture setting method, device and mobile terminal
CN108880751A (en) transmission rate adjusting method, device and electronic device
CN110221882A (en) Display methods, device, mobile terminal and storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN108762645A (en) content switching method, device, mobile terminal and storage medium
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server
CN109714483B (en) Screen locking interface message processing method and device, mobile terminal and storage medium
CN108882335A (en) Method for connecting network, device and electronic device
CN108683812A (en) volume adjusting method, device and mobile terminal
CN109101163A (en) The method, device and mobile terminal of long screenshotss
CN108667962A (en) Display methods, device, mobile terminal and storage medium

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

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication