CN108037887A - Construction method, terminal and the computer-readable recording medium of terminal virtual key - Google Patents

Construction method, terminal and the computer-readable recording medium of terminal virtual key Download PDF

Info

Publication number
CN108037887A
CN108037887A CN201711234822.6A CN201711234822A CN108037887A CN 108037887 A CN108037887 A CN 108037887A CN 201711234822 A CN201711234822 A CN 201711234822A CN 108037887 A CN108037887 A CN 108037887A
Authority
CN
China
Prior art keywords
virtual key
terminal
information
angle
bending direction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711234822.6A
Other languages
Chinese (zh)
Other versions
CN108037887B (en
Inventor
侯穆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711234822.6A priority Critical patent/CN108037887B/en
Publication of CN108037887A publication Critical patent/CN108037887A/en
Application granted granted Critical
Publication of CN108037887B publication Critical patent/CN108037887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of construction method of terminal virtual key, terminal and computer-readable recording medium, the described method includes:When detecting the bending of terminal flexible screen, the bending direction and angle of bend of terminal flexible screen are determined;Judge the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and bending direction, determine the structure face of terminal virtual key;Virtual key structure information is received, the structure position in structure face is determined according to virtual key structure information, in the structure position structure virtual key.The bending direction and angle of bend that this programme passes through terminal flexible screen, determine the structure face of virtual key, because requirement of the different terminal users to bending direction and angle of bend is different, so as to determine structure face according to bending direction and angle of bend, users ' individualized requirement can be embodied;When virtual key is built the region outside screen, virtual key is not take up the display space of screen, avoid the indication range of screen from reducing.

Description

Construction method, terminal and the computer-readable recording medium of terminal virtual key
Technical field
The present invention relates to intelligent terminal technical field, more particularly to a kind of construction method of terminal virtual key, terminal and Computer-readable recording medium.
Background technology
At present, the screen of the terminal such as smart mobile phone, tablet computer is glass material, and screen cannot be folded arbitrarily, by this The limitation of screen material, the virtual key in terminal are all disposed within screen front, occupy the display space of screen, make screen Indication range is reduced;The position of virtual key is fixed at the same time, it is impossible to the position for virtual key of being arranged according to user demand, it is impossible to full The individual demand of sufficient user, reduces user experience.
The content of the invention
It is a primary object of the present invention to provide a kind of construction method of terminal virtual key, terminal and computer-readable deposit Storage media, it is intended to solve the problems, such as that terminal virtual key takes screen display space in the prior art.
To achieve the above object, a kind of construction method of terminal virtual key provided by the invention, the terminal are virtually pressed The construction method of key comprises the following steps:
When detecting the bending of terminal flexible screen, the bending direction and angle of bend of terminal flexible screen are determined;
Judge the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and bending direction, Determine the structure face of terminal virtual key;
Virtual key structure information is received, the structure position in structure face is determined according to virtual key structure information, described Build position structure virtual key.
Alternatively, the reception virtual key structure information, the structure in structure face is determined according to virtual key structure information Position, includes in the step of structure position structure virtual key:
When receiving virtual key structure information, positional information and virtual key in virtual key structure information are determined Type information;
The structure position in structure face is determined according to the positional information, in structure position structure and virtual key type The corresponding virtual key of information.
Alternatively, it is described when receiving virtual key structure information, determine the position letter in virtual key structure information The step of breath and virtual key type information, includes:
When receiving virtual key structure information, the current display scene of terminal flexible screen is determined, according to described current Display scene determines virtual key type information;
According to each virtual key to be built in virtual key type information in the trigger position of terminal, positional information is determined.
Alternatively, the structure position that structure face is determined according to virtual key structure information, in the structure position structure Include after the step of building virtual key:
By the virtual key of structure and current display scene relating;
When detecting that terminal flexible screen is being switched to current display scene, corresponding virtual key is called.
Alternatively, bending direction includes positive bending, described according to the magnitude relationship and bending direction, determines terminal The step of structure face of virtual key, includes:
When the bending direction bends to be positive, and magnitude relationship is less than predetermined angle for angle of bend, terminal is determined The back side is the structure face of terminal virtual key;
When the bending direction bends to be positive, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, really Determine the structure face that terminal front side is terminal virtual night.
Alternatively, bending direction includes back-flexing, described according to the magnitude relationship and bending direction, determines terminal The step of structure face of virtual key, includes:
When the bending direction is back-flexing, and magnitude relationship is less than predetermined angle for angle of bend, terminal is determined Front is the structure face of terminal virtual key;
When the bending direction is back-flexing, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, really Determine the structure face that the terminal back side is terminal virtual night.
Alternatively, the structure position that structure face is determined according to virtual key structure information, in the structure position structure Include after the step of building virtual key:
Display whether to confirm the prompt message in the structure position structure virtual key in terminal flexible screen;
When receiving the confirmation instruction based on prompt message transmission, the structure of terminal virtual key is completed.
Alternatively, it is described to display whether to confirm the prompting in the structure position structure virtual key in terminal flexible screen Include after the step of information:
When receiving adjust instruction, the virtual key of structure is adjusted according to adjust instruction.
In addition, to achieve the above object, the present invention also proposes a kind of structure terminal of terminal virtual key, the terminal is empty Intending the structure terminal of button includes:Memory, processor, communication bus and the terminal that is stored on the memory virtually by The construction procedures of key:
The communication bus is used for realization the connection communication between processor and memory;
The processor is used for the construction procedures for performing the terminal virtual key, to realize following steps:
When detecting the bending of terminal flexible screen, the bending direction and angle of bend of terminal flexible screen are determined;
Judge the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and bending direction, Determine the structure face of terminal virtual key;
Virtual key structure information is received, the structure position in structure face is determined according to virtual key structure information, described Build position structure virtual key.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer-readable recording medium Storage medium be stored with one either more than one program the one or more programs can by one or one with On processor perform for:
When detecting the bending of terminal flexible screen, the bending direction and angle of bend of terminal flexible screen are determined;
Judge the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and bending direction, Determine the structure face of terminal virtual key;
Virtual key structure information is received, the structure position in structure face is determined according to virtual key structure information, described Build position structure virtual key.
The construction method of the terminal virtual key of technical solution of the present invention, when detecting the bending of terminal flexible screen, determines The bending direction and angle of bend of the terminal flexible screen, and judge the magnitude relationship of angle of bend and predetermined angle, with according to big Small relation and bending direction, determine the structure face of terminal virtual key;It is empty according to this when receiving virtual key structure information Intend the structure position that button structure information determines structure, the structure of virtual key is carried out on structure position.This programme passes through end The bending direction and angle of bend of flexible screen are held, determines the structure face of virtual key, because different terminal users is flexible to terminal The requirement of the bending direction and angle of bend of screen is different, so that structure face is determined according to bending direction and angle of bend, can body The individual demand at current family;When building virtual key in the region outside screen, virtual key is set to be not take up screen Display space, avoids the indication range of screen from reducing;And the structure position in structure face is determined according to virtual key structure information, Virtual key structure is carried out on this structure position, because virtual key structure information is sent by user, according to its definite structure Position then further meets user demand.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the present invention;
Fig. 2 is the wireless telecommunication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram of the construction method first embodiment of terminal virtual key of the present invention;
Fig. 4 is the flow diagram of the construction method second embodiment of terminal virtual key of the present invention;
Fig. 5 is the flow diagram of the construction method 3rd embodiment of terminal virtual key of the present invention;
Fig. 6 is the first schematic diagram of a scenario of construction method of terminal virtual key of the present invention;
Fig. 7 is the second schematic diagram of a scenario of construction method of terminal virtual key of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " component " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the component such as memory 109, processor 110 (such as CPU), communication bus 1002 and power supply 111.Those skilled in the art It is appreciated that the mobile terminal structure shown in Fig. 1 does not form the restriction to mobile terminal, mobile terminal can be included than figure Show more or fewer components, either combine some components or different components arrangement.Such as increase user interface, network connects Mouth, shooting are first-class.Wherein user interface can include display screen (Display), input unit such as keyboard (Keyboard), can User interface is selected to include standard wireline interface and wireless interface.Network interface can optionally include the wired of standard Interface, wave point (such as WI-FI interfaces).
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication Standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 Formula, speech recognition mode, broadcast reception mode when under isotype, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exports,.Moreover, audio output unit 103 The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound The noise produced during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used for the information for showing by information input by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment device is driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, when contact panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection A part, by running or performing the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Communication bus 1002 is used for realization the connection communication between processor 110 and memory 109.Memory 109 can be with It is high-speed RAM memory or the memory (non-volatile memory) of stabilization, such as magnetic disk storage.Storage Device 109 optionally can also be the storage device independently of aforementioned processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
As shown in Figure 1, it can lead to as in a kind of memory 109 of computer-readable storage medium including operating system, network Believe the construction procedures of module and terminal virtual key.Operating system is that management and the structure terminal of control terminal virtual key are hard The program of part and software resource, supports the construction procedures of terminal virtual key and the operation of other softwares and/or program.Network Communication module is used for realization the communication between each component in the inside of memory 109, and with the structure terminal of terminal virtual key Communicate between other hardware and softwares.
In the structure terminal of the terminal virtual key shown in Fig. 1, processor 110 is used to perform to store in memory 109 Terminal virtual key construction procedures, realize following steps:
When detecting the bending of terminal flexible screen, the bending direction and angle of bend of terminal flexible screen are determined;
Judge the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and bending direction, Determine the structure face of terminal virtual key;
Virtual key structure information is received, the structure position in structure face is determined according to virtual key structure information, described Build position structure virtual key.
Further, the reception virtual key structure information, the structure in structure face is determined according to virtual key structure information Position is built, is included in the step of structure position structure virtual key:
When receiving virtual key structure information, positional information and virtual key in virtual key structure information are determined Type information;
The structure position in structure face is determined according to the positional information, in structure position structure and virtual key type The corresponding virtual key of information.
Further, it is described when receiving virtual key structure information, determine the position in virtual key structure information The step of information and virtual key type information, includes:
When receiving virtual key structure information, the current display scene of terminal flexible screen is determined, according to described current Display scene determines virtual key type information;
According to each virtual key to be built in virtual key type information in the trigger position of terminal, positional information is determined.
Further, the structure position that structure face is determined according to virtual key structure information, in the structure position After the step of building virtual key, processor 110 is used for the structure journey for performing the terminal virtual key stored in memory 109 Sequence, realizes following steps:
By the virtual key of structure and current display scene relating;
When detecting that terminal flexible screen is being switched to current display scene, corresponding virtual key is called.
Further, bending direction includes positive bending, described according to the magnitude relationship and bending direction, determines eventually The step of structure face for holding virtual key, includes:
When the bending direction bends to be positive, and magnitude relationship is less than predetermined angle for angle of bend, terminal is determined The back side is the structure face of terminal virtual key;
When the bending direction bends to be positive, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, really Determine the structure face that terminal front side is terminal virtual night.
Further, bending direction includes back-flexing, described according to the magnitude relationship and bending direction, determines eventually The step of structure face for holding virtual key, includes:
When the bending direction is back-flexing, and magnitude relationship is less than predetermined angle for angle of bend, terminal is determined Front is the structure face of terminal virtual key;
When the bending direction is back-flexing, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, really Determine the structure face that the terminal back side is terminal virtual night.
Further, the structure position that structure face is determined according to virtual key structure information, in the structure position After the step of building virtual key, processor 110 is used for the structure journey for performing the terminal virtual key stored in memory 109 Sequence, realizes following steps:
Display whether to confirm the prompt message in the structure position structure virtual key in terminal flexible screen;
When receiving the confirmation instruction based on prompt message transmission, the structure of terminal virtual key is completed.
Further, it is described to display whether to confirm carrying in the structure position structure virtual key in terminal flexible screen After the step of showing information, processor 110 is used for the construction procedures for performing the terminal virtual key stored in memory 109, real Existing following steps:
When receiving adjust instruction, the virtual key of structure is adjusted according to adjust instruction.
The structure terminal embodiment of terminal virtual key of the present invention and the construction method of following terminal virtual keys Each embodiment is essentially identical, and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite includes UE (User Equipment, the use for communicating connection successively for the LTE system of universal mobile communications technology, the LTE system Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used in relation to service features, data rate etc. The dedicated information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, the structure side of proposition terminal virtual key of the present invention Each embodiment of method.
With reference to Fig. 3, the present invention provides a kind of construction method of terminal virtual key, in the construction method of terminal virtual key In first embodiment, the construction method of the terminal virtual key includes:
Step S10, when detecting the bending of terminal flexible screen, determines the bending direction and angle of bend of terminal flexible screen Degree;
The structure of the terminal virtual key of the present embodiment is suitable for carrying out the terminal using flexible screen the structure of virtual key Build, terminal can be smart mobile phone, can also be the tablet computer with call function, it uses flexible screen, have it is flexible, The good feature of pliability.After being installed to because of terminal flexible screen in terminal, it is overall structure with terminal, if only this flexible screen It can be bent, other structures cannot be bent, then can not achieve the effect of terminal bend.Flexibility is used so as to the circuit board of terminal Circuit board, casing frame also using soft bendable material, realize the bending of terminal entirety, the i.e. bending of terminal flexible screen in fact Matter is the bending of terminal fuselage.The mode of different terminals user's using terminal has differences, and the bending direction being accustomed to differs, Some terminal user's customs bend terminal flexible screen towards screen orientation, make the visual effect that flexible screen is in compressive state;And Other terminal users custom bends terminal flexible screen away from screen orientation, makes the visual effect that flexible screen is in extended state. The angle of bend that same different terminals user is accustomed to also differs, and certain user's custom bends terminal flexible screen larger Amplitude, and terminal flexible screen is bent less amplitude by other terminal users custom.The present embodiment in order to meet this difference use The use habit at family, root carry out the structure of virtual key according to its use habit.It is detected to whether terminal flexible screen bends, Fuselage state when terminal flexible screen is not bent state by default, when the default conditions for detecting fuselage change, then says Bright fuselage state change, i.e. terminal flexible screen bend.It should be noted that terminal flexible screen can be with the length of terminal screen Degree direction is bent, and can also be bent with the width of terminal screen, without limitation.Detecting that terminal is soft Property screen bending when, determine its bending direction and angle of bend.Specifically, bending side is determined by the state of detection terminal flexible screen To detection terminal flexible screen is in compressive state or extended state, when curved towards screen orientation then to illustrate during compressive state It is bent;When then illustrate for extended state away from screen orientation bend.And for angle of bend, determine that terminal flexible screen bends When, the folding line of crooked radian maximum, this folding line can be the line parallel with terminal both ends or with terminal both ends The line intersected, terminal flexible screen are bent using this folding line as boundary, are bent into two intersecting curved surfaces, this two intersecting The angle that curved surface is formed is the angle of bend obtained by terminal flexible screen bends.Realize when terminal flexible screen is bent, Determine the bending direction and angle of bend of its terminal flexible screen, that is, determine the use habit of terminal user, used with root according to it Custom carries out the structure of virtual key.
Step S20, judges the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and curved Qu Fangxiang, determines the structure face of terminal virtual key;
Understandably, no matter terminal flexible screen bends towards screen orientation or is bent away from screen orientation, when its bending When angle is excessive, the space that bending is formed between terminal both ends can be made to diminish, if by virtual key structure between the ends In curved negative camber, user can be made to be inconvenient to operate.So as to which the present embodiment pre-sets predetermined angle, for judging angle of bend Whether degree is user-friendly.Experience when can be operated by gathering different user, determines the size of this predetermined angle, to meet The operational requirements of most of user.The angle of bend that terminal flexible screen is formed is contrasted with predetermined angle, is judged between the two Magnitude relationship.When this external cause terminal user operates terminal flexible screen, its operation object being directed to is terminal flexible screen, Terminal flexible screen can be because of the difference of bending direction, and the position where it is different.When bending direction is towards screen, terminal flexible screen Bent between terminal both ends in formed space;And when bending direction deviates from screen, terminal flexible screen is located at terminal Bent between both ends on the outside of formed space.If it is according only to the magnitude relationship judgement between angle of bend and predetermined angle It is no user-friendly, determine the structure face of virtual key, the structure of virtual key can be made still unreasonable.So as to the present embodiment With reference to the magnitude relationship and bending direction between angle of bend and predetermined angle, the structure face of terminal virtual key is determined, with Make operating with for the more convenient terminal user of structure of terminal virtual key.
Step S30, receives virtual key structure information, and the structure position in structure face is determined according to virtual key structure information Put, in the structure position structure virtual key.
Further, after the structure face of terminal virtual key is determined, detect whether to receive button structure information in real time, This button structure information is operation information of the finger to terminal of terminal user, as terminal user is accustomed in terminal flexible screen Operating position, and each operating position corresponds to the function of realizing, this operating position and corresponding function, it is substantially virtually pressed The position of key and corresponding function, i.e. virtual key build information.It is empty according to this when receiving such virtual key structure information Intend virtual key position included in button structure information, the structure position on structure face is determined, to build position herein Upper structure virtual key.In addition, in another embodiment, virtual key can also be built in the circumferential side frame of terminal, i.e., by four Peripheral frame is as structure face.Because circumferential side frame includes the upper side frame at the top of terminal, the lower frame of terminal bottom, terminal left side Left frame and terminal on the right side of left frame so that using circumferential side frame as during structure face, it is thus necessary to determine that specific frame.Inspection The mode that terminal user grips terminal is surveyed, when using left-handed terminal, then using left frame as structure face;When using the right hand When gripping terminal, then using left frame as structure face;When gripping terminal using both hands transverse screen mode, then by upper side frame and below Frame is as structure face.Structure face is determined with specific reference to the use habit of user, after circumferential side frame is determined structure face, Operation information, i.e. virtual key structure information are further then determined, to be built according to virtual key according to the operating habit of user Information determines the structure position in structure face face, in structure position structure virtual key.Virtually pressed by circumferential side frame structure at the same time During key, circumferential side frame is also required to be formed by the device with inducing function, such as touch screen or inductor, can sense the behaviour of user Instruct, virtual key is built in circumferential side frame to ensure to realize, meets the different demands of different user.
The construction method of the terminal virtual key of technical solution of the present invention, when detecting the bending of terminal flexible screen, determines The bending direction and angle of bend of the terminal flexible screen, and judge the magnitude relationship of angle of bend and predetermined angle, with according to big Small relation and bending direction, determine the structure face of terminal virtual key;It is empty according to this when receiving virtual key structure information Intend the structure position that button structure information determines structure, the structure of virtual key is carried out on structure position.This programme passes through end The bending direction and angle of bend of flexible screen are held, determines the structure face of virtual key, because different terminal users is flexible to terminal The requirement of the bending direction and angle of bend of screen is different, so that structure face is determined according to bending direction and angle of bend, can body The individual demand at current family;When building virtual key in the region outside screen, virtual key is set to be not take up screen Display space, avoids the indication range of screen from reducing;And the structure position in structure face is determined according to virtual key structure information, Virtual key structure is carried out on this structure position, because virtual key structure information is sent by user, according to its definite structure Position then further meets user demand.
Further, in another embodiment of the construction method of terminal virtual key of the present invention, the reception is virtually pressed Key builds information, and the structure position in structure face is determined according to virtual key structure information, and in the structure position, structure is virtually pressed The step of key, includes:
Step S31, when receive virtual key structure information when, determine virtual key structure information in positional information and Virtual key type information;
Step S32, the structure position in structure face is determined according to the positional information, in structure position structure and virtually The corresponding virtual key of push-button type information.
Further, the virtual key structure information of the present embodiment includes the positional information and virtual key class of virtual key Type information, positional information are used to indicate structure position of the virtual key on structure face, and virtual key type information is used to indicate The function that each virtual key is realized.When receiving the operation information as the terminal user of button structure information, such as terminal User's one hand is clamped terminal, or both hands with vertical screen mode and is operated with transverse screen mode gripping terminal.When singlehanded portrait layout clamps When, the mode of operation of its finger custom is located at terminal flexibility screen front, other three finger positions for thumb and little finger In the terminal flexible screen screen back side, terminal is clamped, terminal flexible screen can be carried out by other three fingers various types of The operation of type.The operation information such as operating position that such terminal user is accustomed to and action type, is the position of virtual key Confidence ceases and the function achieved by it, i.e. virtual key structure information.When corresponding both hands transverse screen mode grips terminal, its hand Refer to the mode of operation of custom, terminal flexibility screen is positive, other four fingers are located at terminal flexibility as both hands thumb is located at The screen back side, grips terminal, can be combined operation by thumb and other fingers, its operative position being accustomed to Put, and the operation information such as each action type, it is the positional information of virtual key and the function achieved by it, i.e., virtually presses Key builds information.After such virtual key structure information is received, positional information therein and virtual key type letter are determined Breath.Structure position of the virtual key on structure face is determined according to positional information, builds structure and virtual key on position herein The corresponding virtual key of type information.Positional information as definite includes tri- positions of a, b, c, that is, need to build three virtually by Key, the function that each virtual key indicated by each virtual key type information is realized is returns to page up, back to homepage face and more Task switches, so that three virtual keys are built in tri- positions of terminal a, b, c, and the function of three virtual keys is respectively to return Return page up, back to homepage face and multitask switching.Because structure position and virtual key type information are all in accordance with terminal user's Operation determines, is bonded with the demand of terminal user, and the satisfaction of terminal user is high.
Further, it is described to receive void in another embodiment of the construction method of terminal virtual key of the present invention When intending button structure information, determine that the step of virtual key builds positional information and virtual key type information in information is wrapped Include:
Step S311, when receiving virtual key structure information, determines the current display scene of terminal flexible screen, according to The current display scene determines virtual key type information;
Step S312, according to each virtual key to be built in virtual key type information terminal trigger position, determine Positional information.
Understandably, the function that virtual key is realized is related to the content shown by terminal flexible screen, as terminal is flexible When the shown content of screen be wechat interface, its virtual key type be wechat, address list, discovery and I four;When it shows When the content shown is interface, its virtual key type is directionkeys, operated key and technical ability key.That is virtual key type information It is related to the display content of terminal flexible screen, so that when receiving virtual key structure information, there is the demand for building virtual key When, determine the current display scene of terminal flexible screen, it is current to show that scene is the content that terminal flexible screen is currently displaying, this The content of display is different, and virtual key type information can be caused different, so as to determine virtual key according to this current display scene Type information, i.e., the function that currently virtual key required for display scene is realized, the direction virtual key as required for scene of game Realize the walking motion of game, virtual key type information includes the virtual key to be built that needs are built, to pass through This virtual key to be built realizes the function of current display scene.This external cause virtual key type information is used to indicate each virtually to press The function that key is realized, and different user differs the custom degree of the position of each virtual key realization of functions, is such as accustomed to Virtual key is arranged in by the user operated using the right hand and the client of left-handed operation accustomed to using, user's custom of left-handed operation Left side, and virtual key is arranged in right side by user's custom of right hand operation.So as to definite virtual key type information In each virtual key when being arranged, it is necessary to determine different positions for different terminal users.Specifically, because of terminal user Operation information for button build information, and button structure information in carry virtual key type information so that virtual key Type information is determined by the operation information of terminal user.Terminal user operates terminal flexible screen, this operation is to void Intend push-button type information in each virtual key to be built terminal triggering command, and this operation trigger position be void to be built Intend the position of button, i.e. positional information.According to each virtual key to be built in virtual key type information when realizing operation In the trigger position of terminal, positional information is determined.
Further, Fig. 4 is refer to, on the basis of the construction method first embodiment of terminal virtual key of the present invention, It is proposed the construction method second embodiment of terminal virtual key of the present invention, it is in a second embodiment, described according to virtual key structure The structure position that information determines structure face is built, is included after the step of structure position structure virtual key:
Step S40, by the virtual key of structure and current display scene relating;
Step S50, when detecting that terminal flexible screen is being switched to current display scene, calls corresponding virtual key.
Currently showing that scene determines virtual key type information according to terminal flexible screen, it is empty with this in structure position structure After intending the corresponding virtual key of push-button type information., can when this current display scene is subsequently reused in view of terminal user There can be identical virtual key demand, so that the virtual key of this structure is shown scene relating with current.When subsequent detection arrives Terminal flexible screen calls the virtual key with this current display scene relating, without again when being switched to this current display scene Virtual key is rebuild, improves the utilization ratio of virtual key.
Further, in another embodiment of the construction method of terminal virtual key of the present invention, bending direction is included just Described according to the magnitude relationship and bending direction to bending, the step of structure face for determining terminal virtual key, includes:
Step S21, when the bending direction bends to be positive, and magnitude relationship is less than predetermined angle for angle of bend, Determine the structure face that the terminal back side is terminal virtual key;
Step S22, when the bending direction bends to be positive, and magnitude relationship is greater than or equal to preset angle for angle of bend When spending, the structure face that terminal front side is terminal virtual key is determined.
Terminal flexible screen is bent towards the curved bending direction of screen orientation as forward direction in the present embodiment, forward direction bending When terminal flexible screen be in compressive state visual effect.At this time if when bending amplitude it is excessive, make curved two curved surfaces institute shape Into angle of bend it is too small, such as less than 45 °, if by virtual key structure between terminal both ends in curved negative camber, because Angle of bend is too small to cause end users operation inconvenient.So as to be bent when angle of bend to be positive, at the same angle of bend with it is pre- If the magnitude relationship of angle is less than predetermined angle for angle of bend, the terminal back side is determined as to the structure of terminal virtual key Face.The terminal back side is the face opposite with face where flexible screen, it is formed by the device with inducing function, such as touch screen or sensing Device etc., can sense the operational order of user, to ensure to realize the structure of virtual key according to operation information.By terminal virtual key Structure is avoided virtual key structure in the front where flexible screen, because of the too small and bad behaviour of angle of bend on the terminal back side Make.And when the magnitude relationship of angle of bend and predetermined angle is greater than or equal to predetermined angle for angle of bend, Fig. 6 is refer to, Terminal front side is determined as to the structure face of terminal virtual key.Terminal front side is the face where flexible screen, at this time because of angle of bend Larger, such as larger than 45 °, face virtual key being built directly in where flexible screen, facilitates user's intuitive operation.
Further, in another embodiment of the construction method of terminal virtual key of the present invention, bending direction includes anti- Described according to the magnitude relationship and bending direction to bending, the step of structure face for determining terminal virtual key, includes:
Step S23, when the bending direction is back-flexing, and magnitude relationship is less than predetermined angle for angle of bend, Determine the structure face that terminal front side is terminal virtual key;
Step S24, when the bending direction is back-flexing, and magnitude relationship is greater than or equal to preset angle for angle of bend When spending, the structure face that the terminal back side is terminal virtual night is determined.
Further, terminal flexible screen is deviated from into the curved bending direction of screen orientation as reversely curved in the present embodiment Song, terminal flexible screen is in the visual effect of extended state during back-flexing.At this time if when bending amplitude it is excessive, make curved two The angle of bend that a curved surface is formed is too small, such as less than 45 °, if virtual key built curved interior between terminal both ends In curved surface, cause end users operation inconvenient because angle of bend is too small.So as to be back-flexing when angle of bend, bend at the same time When the magnitude relationship of angle and predetermined angle is less than predetermined angle for angle of bend, terminal front side is determined as terminal virtual key Structure face.Terminal front side face where flexible screen, by terminal virtual key structure in terminal front side, avoids virtual key Structure is in the reverse side opposite with flexible screen, because of the too small and bad operation of angle of bend.And when angle of bend and predetermined angle When magnitude relationship is greater than or equal to predetermined angle for angle of bend, Fig. 7 is refer to, the terminal back side is determined as terminal virtual key Structure face.The terminal back side face opposite for flexible screen, it is formed by the device with inducing function, such as touch screen or sensing Device etc., can sense the operational order of user, to ensure to realize the structure of virtual key according to operation information.Because of terminal flexible screen Angle of bend is larger, such as larger than 45 °, and virtual key is built in the face opposite with flexible screen, is not take up the display of flexible screen Space, maximizes the indication range of flexible screen.
Further, Fig. 5 is refer to, in the base of the construction method first or second embodiments of terminal virtual key of the present invention On plinth, the construction method 3rd embodiment of terminal virtual key of the present invention is proposed, in the third embodiment, the basis is virtually pressed Key structure information determines the structure position in structure face, includes after the step of structure position structure virtual key:
Step S60, displays whether to confirm the prompting letter in the structure position structure virtual key in terminal flexible screen Breath;
Step S70, when receiving the confirmation instruction based on prompt message transmission, completes the structure of terminal virtual key.
Understandably, structure face structure position carry out virtual key structure operation after, may constructed by it is virtual Button can not meet end-user demands, and the position of such as virtual key of structure is undesirable, or certain position is virtual The function of button is undesirable, goes back or the discrepancy of quantity of structure is closed and required.So that after structure operation is carried out, it is soft in terminal Property screen display prompt message, prompt message is used for true to being carried out in the virtual key constructed by structure position for terminal user Recognize, it is shown in the form of dialog box in terminal flexible screen.Terminal user according to prompt message to the virtual key of structure into Performing check, when virtual key meets its demand, then sends the confirmation instruction of confirmation into the dialog box of display.When receiving base When the confirmation instruction that prompt message is sent, illustrate that the virtual key of structure meets the requirement of terminal user, it is virtual to complete terminal The structure of button.In addition, the virtual key of structure may be unsatisfactory for the demand of terminal user, so that described in terminal flexible screen Display whether to confirm to include after the step of prompt message of the structure position structure virtual key:
Step S80, when receiving adjust instruction, is adjusted the virtual key of structure according to adjust instruction.
When the virtual key of structure cannot meet end-user demands, terminal user can pass through the virtual key to structure Operate to be adjusted.The type of operation is determined by the type for being unsatisfactory for end-user demands, such as when the virtual key position built When putting undesirable, moving operation can be carried out to the virtual key of structure.Or when the function of the virtual key of certain position is not inconsistent Close and require, the function of the virtual key of this position of end user requirements is returns to page up, but its actual function of realizing is to return Return homepage.The set-up mode to virtual key function is stored with terminal, is configured when needing the function to virtual key When, set-up mode can be transferred from terminal, and it is included in flexible screen.It is long-press such as to the set-up mode for returning to page up Virtual key, is double-click virtual key to the set-up mode for returning to homepage.According to this set-up mode, master is returned to actual realize The virtual key of page function carries out long-press operation, using the return page up by its function setting as end-user demands.Will This generic operation received believes firmly adjustment, so that it meets according to this adjust instruction as adjust instruction to structure volume virtual key The demand of terminal user.
The present invention provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or More than one program of person, the one or more programs can also be performed by one or more than one processor with In:
When detecting the bending of terminal flexible screen, the bending direction and angle of bend of terminal flexible screen are determined;
Judge the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and bending direction, Determine the structure face of terminal virtual key;
Virtual key structure information is received, the structure position in structure face is determined according to virtual key structure information, described Build position structure virtual key.
Further, the reception virtual key structure information, the structure in structure face is determined according to virtual key structure information Position is built, is included in the step of structure position structure virtual key:
When receiving virtual key structure information, positional information and virtual key in virtual key structure information are determined Type information;
The structure position in structure face is determined according to the positional information, in structure position structure and virtual key type The corresponding virtual key of information.
Further, it is described when receiving virtual key structure information, determine the position in virtual key structure information The step of information and virtual key type information, includes:
When receiving virtual key structure information, the current display scene of terminal flexible screen is determined, according to described current Display scene determines virtual key type information;
According to each virtual key to be built in virtual key type information in the trigger position of terminal, positional information is determined.
Further, the structure position that structure face is determined according to virtual key structure information, in the structure position After the step of building virtual key, the one or more programs can also be by one or more than one processor Perform for:
By the virtual key of structure and current display scene relating;
When detecting that terminal flexible screen is being switched to current display scene, corresponding virtual key is called.
Further, bending direction includes positive bending, described according to the magnitude relationship and bending direction, determines eventually The step of structure face for holding virtual key, includes:
When the bending direction bends to be positive, and magnitude relationship is less than predetermined angle for angle of bend, terminal is determined The back side is the structure face of terminal virtual key;
When the bending direction bends to be positive, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, really Determine the structure face that terminal front side is terminal virtual night.
Further, bending direction includes back-flexing, described according to the magnitude relationship and bending direction, determines eventually The step of structure face for holding virtual key, includes:
When the bending direction is back-flexing, and magnitude relationship is less than predetermined angle for angle of bend, terminal is determined Front is the structure face of terminal virtual key;
When the bending direction is back-flexing, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, really Determine the structure face that the terminal back side is terminal virtual night.
Further, the structure position that structure face is determined according to virtual key structure information, in the structure position After the step of building virtual key, the one or more programs can also be by one or more than one processor Perform for:
Display whether to confirm the prompt message in the structure position structure virtual key in terminal flexible screen;
When receiving the confirmation instruction based on prompt message transmission, the structure of terminal virtual key is completed.
Further, it is described to display whether to confirm carrying in the structure position structure virtual key in terminal flexible screen After the step of showing information, the one or more programs can also be performed by one or more than one processor with For:
When receiving adjust instruction, the virtual key of structure is adjusted according to adjust instruction.
Computer-readable recording medium embodiment of the present invention and each reality of construction method of above-mentioned terminal virtual key It is essentially identical to apply example, details are not described herein.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. construction method of terminal virtual key, it is characterised in that the construction method of the terminal virtual key include with Lower step:
    When detecting the bending of terminal flexible screen, the bending direction and angle of bend of terminal flexible screen are determined;
    Judge the magnitude relationship of the angle of bend and predetermined angle, and according to the magnitude relationship and bending direction, determine The structure face of terminal virtual key;
    Virtual key structure information is received, the structure position in structure face is determined according to virtual key structure information, in the structure Position builds virtual key.
  2. 2. the construction method of terminal virtual key as claimed in claim 1, it is characterised in that the reception virtual key structure Information, the structure position in structure face is determined according to virtual key structure information, in the step of the structure position structure virtual key Suddenly include:
    When receiving virtual key structure information, the positional information and virtual key type in virtual key structure information are determined Information;
    The structure position in structure face is determined according to the positional information, in structure position structure and virtual key type information Corresponding virtual key.
  3. 3. the construction method of terminal virtual key as claimed in claim 2, it is characterised in that described to receive virtual key When building information, determine that the step of virtual key builds positional information and virtual key type information in information includes:
    When receiving virtual key structure information, the current display scene of terminal flexible screen is determined, according to the current display Scene determines virtual key type information;
    According to each virtual key to be built in virtual key type information in the trigger position of terminal, positional information is determined.
  4. 4. the construction method of terminal virtual key as claimed in claim 3, it is characterised in that described to be built according to virtual key Information determines the structure position in structure face, includes after the step of structure position structure virtual key:
    By the virtual key of structure and current display scene relating;
    When detecting that terminal flexible screen is being switched to current display scene, corresponding virtual key is called.
  5. 5. such as the construction method of claim 1-4 any one of them terminal virtual keys, it is characterised in that bending direction includes The step of forward direction is bent, described according to the magnitude relationship and bending direction, the structure face for determining terminal virtual key includes:
    When the bending direction bends to be positive, and magnitude relationship is less than predetermined angle for angle of bend, the terminal back side is determined For the structure face of terminal virtual key;
    When the bending direction bends to be positive, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, determine eventually Rectify the structure face that face is terminal virtual night.
  6. 6. such as the construction method of claim 1-4 any one of them terminal virtual keys, it is characterised in that bending direction includes Back-flexing, described according to the magnitude relationship and bending direction, the step of structure face for determining terminal virtual key, includes:
    When the bending direction is back-flexing, and magnitude relationship is less than predetermined angle for angle of bend, terminal front side is determined For the structure face of terminal virtual key;
    When the bending direction is back-flexing, and magnitude relationship is greater than or equal to predetermined angle for angle of bend, determine eventually Hold the structure face that the back side is terminal virtual night.
  7. 7. such as the construction method of claim 1-4 any one of them terminal virtual keys, it is characterised in that the basis is virtual Button structure information determines the structure position in structure face, includes after the step of structure position structure virtual key:
    Display whether to confirm the prompt message in the structure position structure virtual key in terminal flexible screen;
    When receiving the confirmation instruction based on prompt message transmission, the structure of terminal virtual key is completed.
  8. 8. the construction method of terminal virtual key as claimed in claim 7, it is characterised in that described to be shown in terminal flexible screen Show whether confirm to include after the step of prompt message of the structure position structure virtual key:
    When receiving adjust instruction, the virtual key of structure is adjusted according to adjust instruction.
  9. 9. a kind of structure terminal of terminal virtual key, it is characterised in that the structure terminal of the terminal virtual key includes:Deposit Reservoir, processor, the construction procedures of communication bus and the terminal virtual key being stored on the memory:
    The communication bus is used for realization the connection communication between processor and memory;
    The processor is used for the construction procedures for performing the terminal virtual key, to realize such as any one of claim 1-8 The step of construction method of the terminal virtual key.
  10. 10. a kind of computer-readable recording medium, it is characterised in that terminal void is stored with the computer-readable recording medium Intend the construction procedures of button, realized when the construction procedures of the terminal virtual key are executed by processor as in claim 1-8 The step of construction method of any one of them terminal virtual key.
CN201711234822.6A 2017-11-30 2017-11-30 Method for constructing virtual key of terminal, terminal and computer readable storage medium Active CN108037887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711234822.6A CN108037887B (en) 2017-11-30 2017-11-30 Method for constructing virtual key of terminal, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711234822.6A CN108037887B (en) 2017-11-30 2017-11-30 Method for constructing virtual key of terminal, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108037887A true CN108037887A (en) 2018-05-15
CN108037887B CN108037887B (en) 2021-06-18

Family

ID=62094488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711234822.6A Active CN108037887B (en) 2017-11-30 2017-11-30 Method for constructing virtual key of terminal, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108037887B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976628A (en) * 2019-02-27 2019-07-05 Oppo广东移动通信有限公司 Adjust method, electronic equipment and the storage medium of virtual key display position
CN109992189A (en) * 2019-02-22 2019-07-09 华为技术有限公司 Screen control method, electronic equipment and storage medium
CN110035154A (en) * 2019-04-15 2019-07-19 珠海格力电器股份有限公司 Virtual key interaction method and system based on folding screen mobile terminal and mobile terminal
CN110413181A (en) * 2019-07-22 2019-11-05 维沃移动通信有限公司 A kind of control method of mobile terminal, device and mobile terminal
CN110456864A (en) * 2019-10-08 2019-11-15 芯海科技(深圳)股份有限公司 Control method, flexible apparatus and the storage medium of flexible apparatus
CN111142767A (en) * 2019-12-16 2020-05-12 华为技术有限公司 User-defined key method and device of folding device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382822A (en) * 2008-10-31 2009-03-11 华硕电脑股份有限公司 Folding type mobile operation apparatus and operation method applying thereon
CN101470461A (en) * 2007-12-26 2009-07-01 怡利电子工业股份有限公司 Ultra-folding portable electronic device
CN101674361A (en) * 2008-09-09 2010-03-17 Lg电子株式会社 Mobile terminal and operation method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470461A (en) * 2007-12-26 2009-07-01 怡利电子工业股份有限公司 Ultra-folding portable electronic device
CN101674361A (en) * 2008-09-09 2010-03-17 Lg电子株式会社 Mobile terminal and operation method thereof
CN101382822A (en) * 2008-10-31 2009-03-11 华硕电脑股份有限公司 Folding type mobile operation apparatus and operation method applying thereon

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992189A (en) * 2019-02-22 2019-07-09 华为技术有限公司 Screen control method, electronic equipment and storage medium
CN109976628A (en) * 2019-02-27 2019-07-05 Oppo广东移动通信有限公司 Adjust method, electronic equipment and the storage medium of virtual key display position
CN110035154A (en) * 2019-04-15 2019-07-19 珠海格力电器股份有限公司 Virtual key interaction method and system based on folding screen mobile terminal and mobile terminal
CN110413181A (en) * 2019-07-22 2019-11-05 维沃移动通信有限公司 A kind of control method of mobile terminal, device and mobile terminal
CN110456864A (en) * 2019-10-08 2019-11-15 芯海科技(深圳)股份有限公司 Control method, flexible apparatus and the storage medium of flexible apparatus
CN111142767A (en) * 2019-12-16 2020-05-12 华为技术有限公司 User-defined key method and device of folding device and storage medium
CN111142767B (en) * 2019-12-16 2021-06-01 华为技术有限公司 User-defined key method and device of folding device and storage medium
WO2021121036A1 (en) * 2019-12-16 2021-06-24 华为技术有限公司 Key customization method and device for folding device, and storage medium
US11899929B2 (en) 2019-12-16 2024-02-13 Huawei Technologies Co., Ltd. Method for customizing key of foldable device, device, and storage medium

Also Published As

Publication number Publication date
CN108037887B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN108268195A (en) One-handed performance display methods, mobile terminal and computer readable storage medium
CN108037887A (en) Construction method, terminal and the computer-readable recording medium of terminal virtual key
CN108052302A (en) Association display methods, terminal and the computer readable storage medium of double-sided screen
CN108037883A (en) Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN109213401A (en) Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN108322612A (en) Icon display method, mobile terminal and computer readable storage medium
CN107203305A (en) It is switched fast method, mobile terminal and the computer-readable recording medium of application
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN108008904A (en) Wearable flexible screen display methods, mobile terminal and computer-readable recording medium
CN108108081A (en) Method for information display, mobile terminal and readable storage medium storing program for executing based on double-sided screen
CN108304109A (en) Icon protrusion forming method, mobile terminal and computer readable storage medium
CN108040168A (en) Mobile terminal operating method, mobile terminal and computer-readable recording medium
CN107908355A (en) Touch control method, mobile terminal and the storage medium of mobile terminal
CN108108109A (en) A kind of terminal operation method, mobile terminal and computer readable storage medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN107463324A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107967056A (en) Control method, terminal and the computer-readable recording medium of flexible screen
CN108228034A (en) Control method, mobile terminal and the computer readable storage medium of mobile terminal
CN108319487A (en) Image display method, mobile terminal and computer readable storage medium
CN107229410A (en) Interactive operation method, mobile terminal and computer-readable recording medium
CN107979667A (en) Double-screen display method, mobile terminal and computer-readable recording medium
CN108334266A (en) Control method, flexible terminal and the computer readable storage medium of flexible terminal
CN108196758A (en) Icon amplification method, mobile terminal and computer readable storage medium
CN107340949A (en) Aligning method, mobile terminal and the computer-readable recording medium of application icon
CN107566608A (en) A kind of system air navigation aid, equipment and computer-readable recording 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
GR01 Patent grant
GR01 Patent grant