CN108040179A - Screen switching and Related product - Google Patents

Screen switching and Related product Download PDF

Info

Publication number
CN108040179A
CN108040179A CN201711424889.6A CN201711424889A CN108040179A CN 108040179 A CN108040179 A CN 108040179A CN 201711424889 A CN201711424889 A CN 201711424889A CN 108040179 A CN108040179 A CN 108040179A
Authority
CN
China
Prior art keywords
electronic equipment
use state
screen
length direction
acceleration value
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
CN201711424889.6A
Other languages
Chinese (zh)
Other versions
CN108040179B (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711424889.6A priority Critical patent/CN108040179B/en
Publication of CN108040179A publication Critical patent/CN108040179A/en
Application granted granted Critical
Publication of CN108040179B publication Critical patent/CN108040179B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of screen switching and Related product, and method therein is applied to the electronic equipment for including touching display screen, the control circuit of the control touching display screen and memory, and method includes:Obtain gravity acceleration value of the electronic equipment in the length direction of the electronic equipment;Based on the gravity acceleration value in length direction, the use state of the electronic equipment is determined, the use state includes positive portrait layout use state and the use state of falling portrait layout;Based on the definite use state, switch the screen of the electronic equipment.The embodiment of the present application is conducive to be lifted the flexibility of electronic equipment screen switching, is user-friendly.

Description

Screen switching and Related product
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of screen switching and Related product.
Background technology
With a large amount of popularization and applications of smart mobile phone, the application that smart mobile phone can be supported is more and more, and function is increasingly Powerful, smart mobile phone develops towards variation, personalized direction, becomes indispensable appliance and electronic in user's life.
The content of the invention
An embodiment of the present invention provides a kind of screen switching and Related product, to lift electronic equipment screen switching Flexibility, be user-friendly.
In a first aspect, the embodiment of the present application provides a kind of electronic equipment, including touching display screen, the control touch-control are shown The control circuit and memory of screen;
The memory, for storing the mapping relations of gravity acceleration value and the use state of the electronic equipment;
The control circuit, for obtaining acceleration of gravity of the electronic equipment in the length direction of the electronic equipment Value;Based on the gravity acceleration value in length direction, the use state of the electronic equipment, the use state bag are determined Include positive portrait layout use state and the use state of falling portrait layout;Based on the definite use state, switch the screen of the electronic equipment Curtain.
Second aspect, the embodiment of the present application provide a kind of screen switching, and the screen switching is applied to electronics Equipment, the electronic equipment include touching display screen, the control circuit and memory of the control touching display screen, the side Method includes:
Obtain gravity acceleration value of the electronic equipment in the length direction of the electronic equipment;
Based on the gravity acceleration value in length direction, the use state of the electronic equipment, the use are determined State includes positive portrait layout use state and the use state of falling portrait layout;
Based on the definite use state, switch the screen of the electronic equipment.
The third aspect, the embodiment of the present application provide a kind of screen switching mechanism, and the screen switching mechanism is applied to electricity Sub- equipment, the electronic equipment includes touching display screen, the control circuit and memory of the control touching display screen, described Device includes:
Acquiring unit, for obtaining gravity acceleration value of the electronic equipment in the length direction of the electronic equipment;
Determination unit, for based on the gravity acceleration value in length direction, determining the use of the electronic equipment State, the use state include positive portrait layout use state and the use state of falling portrait layout;
Switch unit, for based on the definite use state, switching the screen of the electronic equipment.
Fourth aspect, the embodiment of the present application provide a kind of screen switching, and the screen switching is applied to electricity Sub- equipment, the electronic equipment include touching display screen, the control circuit and memory of the control touching display screen;It is described Method includes:
The control circuit obtains the gravity acceleration value of length direction of the electronic equipment in the electronic equipment;
Weight of the control circuit based on memory in the gravity acceleration value in length direction and the memory Power acceleration magnitude and the mapping relations of the use state of the electronic equipment, determine the use state of the electronic equipment, described Use state includes positive portrait layout use state and the use state of falling portrait layout;
The control circuit switches the screen of the electronic equipment based on the definite use state.
5th aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface with And one or more programs, wherein, said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned Processor performs, and above procedure includes being used for the instruction for performing the step in second aspect of the embodiment of the present invention.
6th aspect, the embodiment of the present application provide a kind of computer-readable recording medium, wherein, above computer is readable Computer program of the storage medium storage for electronic data interchange, wherein, above computer program causes computer to perform such as The described part or all of step of the embodiment of the present application second aspect, above computer include electronic equipment.
7th aspect, the embodiment of the present application provide a kind of computer program product, wherein, above computer program product Non-transient computer-readable recording medium including storing computer program, above computer program are operable to make calculating Machine performs such as the described part or all of step of the embodiment of the present application second aspect.The computer program product can be one Software installation bag, above computer include electronic equipment.
As can be seen that screen switching provided by the embodiments of the present application is applied to electronic equipment, the electronic equipment bag Include touching display screen, the control circuit and memory of the control touching display screen, in the embodiment that the application provides, electricity Sub- equipment obtains the gravity acceleration value of length direction of the electronic equipment in the electronic equipment, based on described in length side To gravity acceleration value, determine the use state of the electronic equipment, the use state include positive portrait layout use state and The use state of falling portrait layout, based on the definite use state, switches the screen of the electronic equipment.As it can be seen that electronic equipment energy Enough gravity acceleration value toggle screens according in length direction so that electronic equipment is no matter under positive portrait layout and the state of falling portrait layout Can normal use, improve the flexibility of screens switch, be user-friendly.
Brief description of the drawings
In order to illustrate more clearly of the technical solution in the embodiment of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the unit composition frame chart of a kind of electronic equipment disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow diagram of screen switching disclosed in the embodiment of the present application;
Fig. 2-1 is a kind of principle schematic of three axis gravity perception chip disclosed in the embodiment of the present application;
Fig. 2-2 is the effect diagram of the touching display screen before a kind of switching disclosed in the embodiment of the present application;
Fig. 2-3 is the effect diagram of the touching display screen after a kind of switching disclosed in the embodiment of the present application;
Fig. 2-4 is the effect diagram of the touching display screen before a kind of switching disclosed in the embodiment of the present application;
Fig. 2-5 is the effect diagram of the touching display screen after a kind of switching disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of another screen switching disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of another screen switching disclosed in the embodiment of the present application;
Fig. 5 is a kind of unit composition frame chart of screen switching mechanism disclosed in the embodiment of the present application;
Fig. 6 is the structure diagram of a kind of electronic equipment disclosed in the embodiment of the present application.
Embodiment
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present application Attached drawing, is clearly and completely described the technical solution in the embodiment of the present application, it is clear that described embodiment is only Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without creative efforts, belong to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are to be used to distinguish Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive include.Such as contain the process of series of steps or unit, method, operating system, product or set Standby the step of being not limited to list or unit, but the step of not listing or unit are alternatively further included, or alternatively Further include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In order to be best understood from a kind of screen switching and Related product disclosed in the embodiment of the present application, below to the application Embodiment describes in detail.
Electronic equipment involved by the embodiment of the present application can include the various handheld devices with wireless communication function, Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.
Referring to Fig. 1, Fig. 1 is that an embodiment of the present invention provides the structure diagram of a kind of electronic equipment 100, above-mentioned electronics Equipment 100 includes:The control circuit 120 and memory 130 of touching display screen 110, the control touching display screen;
In one embodiment, the touching display screen 110 includes irregular shaped region 111 and regular domain 112 (such as Fig. 1 institutes Show);In one embodiment, the touching display screen 110 can also only include regular domain (not shown).
The memory 130, for storing the mapping relations of gravity acceleration value and the use state of the electronic equipment;
The control circuit 120, adds for obtaining the electronic equipment in the gravity of the length direction of the electronic equipment Velocity amplitude;Based on the gravity acceleration value in length direction, the use state of the electronic equipment is determined, it is described to use shape State includes positive portrait layout use state and the use state of falling portrait layout;Based on the definite use state, switch the electronic equipment Screen.
Wherein, memory 130 can be used for storage software program and module, and control circuit 120 is stored in by operation The software program and module of reservoir, so as to perform various function application and the data processing of electronic equipment.Memory can be led To include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function Application program etc.;Storage data field can be stored uses created data etc. according to electronic equipment.In addition, memory can wrap High-speed random access memory is included, nonvolatile memory, for example, at least disk memory, a flash memories can also be included Part or other volatile solid-state parts.
Wherein, control circuit 120 is the control centre of electronic equipment, is set using various interfaces and the whole electronics of connection Standby various pieces, by running or performing the software program and/or module that are stored in memory, and call and are stored in Data in reservoir, perform the various functions and processing data of electronic equipment, so as to carry out integral monitoring to electronic equipment.
In one embodiment, the touching display screen 110 includes irregular shaped region 111 and regular domain 112, i.e., so-called " abnormity screen ", wherein, the irregular shaped region includes symmetrically arranged first irregular shaped region and the second irregular shaped region.The heteromorphic regions Domain 111 and regular domain 112 form the touching display screen 110, that is to say, that the work(of irregular shaped region 111 and regular domain 112 Can be identical, you can to detect touch control operation, content can also be carried out and shown.
As it can be seen that in this example, due to being symmetrically arranged with the first irregular shaped region and the second irregular shaped region on cover board, electricity Sub- equipment can also correspondingly be symmetrical arranged first assembly set and the second assembly set
The first functional unit set and the second functional unit set include loudspeaker and microphone;
The first functional unit set or the second functional unit set further include following at least one:Preposition shooting Head, face identification device, close to functional unit, ambient light functional unit.
As it can be seen that in this example, since electronic equipment is symmetrically arranged with functional unit, so as to support the phone work(of different zones Can, i.e. whichever region can be adapted to supporting telephone function close to human ear, and since plurality of positions is provided with loudspeaker, Construction stereophonic field is also helped, improves audio result of broadcast.
In another embodiment, the touching display screen 110 can also only include 112 (not shown) of regular domain, i.e., So-called " screen comprehensively ".
As can be seen that electronic equipment provided by the embodiments of the present application includes touching display screen, the control touching display screen Control circuit and memory, in the embodiment that the application provides, electronic equipment obtains the electronic equipment in the electricity The gravity acceleration value of the length direction of sub- equipment, based on the gravity acceleration value in length direction, determines the electronics The use state of equipment, the use state includes positive portrait layout use state and the use state of falling portrait layout, based on described definite Use state, switches the screen of the electronic equipment.As it can be seen that electronic equipment can be according to the gravity acceleration value in length direction Toggle screen so that electronic equipment no matter under positive portrait layout and the state of falling portrait layout can normal use, improve screens switch Flexibility, is user-friendly.
In one embodiment, for based on the gravity acceleration value in length direction, determining that the electronics is set During standby use state, the control circuit 120 is specifically used for:
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the first preset range, The use state for determining the electronic equipment is positive portrait layout use state;If the electronic equipment is in the length of the electronic equipment The gravity acceleration value in direction determines that the use state of the electronic equipment uses shape for portrait layout in the second preset range State.
In one embodiment, for based on the definite use state, when switching the screen of the electronic equipment, The control circuit 120 is specifically used for:
Based on the definite use state, the touching display screen is controlled to show wall corresponding with the use state Paper, and on the wallpaper, show application icon corresponding with the use state.
In one embodiment, for based on the gravity acceleration value in length direction, determining that the electronics is set After standby use state, the control circuit 120 is additionally operable to:
Based on the definite use state, the operating system of the electronic equipment is switched to and the use state pair The operating system answered.
In a possible example, the touching display screen 110 includes touch screen and display screen, and the display screen includes Organic light-emitting diode (OLED) display screen OLED.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of screen switching provided by the embodiments of the present application, the screen Curtain switching method is applied to the electronics for including touching display screen, the control circuit of the control touching display screen and memory volume Equipment.As shown in Fig. 2, the screen switching in the embodiment of the present application comprises the following steps:
S201, the gravity acceleration value for obtaining length direction of the electronic equipment in the electronic equipment.
Screen switching provided by the embodiments of the present application is applied to include touching display screen for screen shape or abnormity comprehensively Shield shape electronic equipment, wherein, comprehensively screen refer to superelevation screen accounting electronic equipment (ideally, comprehensively screen be electronics Equipment front panel accounting 100%), abnormity screen refers to cut away part on the basis of comprehensive screen, for placing front camera, people Face identification device, close to functional unit, ambient light functional unit etc..
In one embodiment, the abnormity screen in the embodiment of the present application, can symmetrically cut away on the basis of comprehensive screen Two parts.Since electronic equipment is symmetrically arranged with functional unit, so as to support the telephony feature of different zones, i.e., whichever Region can be adapted to supporting telephone function, and since plurality of positions is provided with loudspeaker, it is vertical to also help construction close to human ear Body sound field, improves audio result of broadcast.
Electronic equipment can determine length of the electronic equipment in the electronic equipment by three built-in axis gravity sensing chips The gravity acceleration value in direction is spent, concrete principle is please referred to Fig.2 shown in -1.Three axis gravity sensing chips can measure X-axis respectively, The gravity acceleration value in three directions of Y-axis and Z axis, wherein, X-axis and Y-axis are parallel with electronic equipment plane, and X-axis is electronic equipment Width, Y-axis be electronic equipment length direction, Z axis is perpendicular to electronic equipment plane.
When the touching display screen of electronic equipment is kept flat on the table upward, X-axis, the gravity in three directions of Y-axis and Z axis add Velocity amplitude is respectively 0,0 and -9.8 (acceleration of gravity 9.8);
When the touching display screen of electronic equipment is kept flat on the table downward, X-axis, the gravity in three directions of Y-axis and Z axis add Velocity amplitude is respectively 0,0 and 9.8;
When the touching display screen of electronic equipment, which erects vertical table surface, to be placed, X-axis, the gravity in three directions of Y-axis and Z axis add Velocity amplitude is respectively 0, -9.8 and 0 or 0,9.8 and 0.
S202, based on the gravity acceleration value in length direction, the electronic equipment determine the electronic equipment Use state, the use state include positive portrait layout use state and the use state of falling portrait layout.
Wherein, when electronic equipment determines electronic equipment in X-axis, Y-axis and Z axis three by three built-in axis gravity sensing chips The gravity acceleration value in a direction is respectively 0, -9.8 and 0, then can determine that the use state of electronic equipment uses shape for positive portrait layout State;
Wherein, when electronic equipment determines electronic equipment in X-axis, Y-axis and Z axis three by three built-in axis gravity sensing chips The gravity acceleration value in a direction is respectively 0,9.8 and 0, then can determine that the use state of electronic equipment uses shape for portrait layout State.
S203, the electronic equipment switch the screen of the electronic equipment based on the definite use state.
Specifically, the electronic equipment is switched in the display shown on electronic equipment based on the definite use state The display direction of appearance.Specifically refer to shown in Fig. 2-2 to Fig. 2-5, wherein, Fig. 2-2 and Fig. 2-4 is are that the embodiment of the present application discloses A kind of switching before touching display screen effect diagram, Fig. 2-3 and Fig. 2-5 is are that one kind is cut disclosed in the embodiment of the present application The effect diagram of touching display screen after changing.
As can be seen that screen switching provided by the embodiments of the present application be applied to include touching display screen, control described in The control circuit of touching display screen and the electronic equipment of memory, in the embodiment that the application provides, electronic equipment obtains The electronic equipment is added based on the gravity in length direction in the gravity acceleration value of the length direction of the electronic equipment Velocity amplitude, determines the use state of the electronic equipment, and the use state includes positive portrait layout use state and the use of falling portrait layout State, based on the definite use state, switches the screen of the electronic equipment.As it can be seen that electronic equipment can be according in length Spend the gravity acceleration value toggle screen in direction so that no matter electronic equipment can normally make under positive portrait layout and the state of falling portrait layout With improving the flexibility of screens switch, be user-friendly.
In one embodiment, electronic equipment determines the electronics based on the gravity acceleration value in length direction The specific implementation of the use state of equipment can be:
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the first preset range, The use state for determining the electronic equipment is positive portrait layout use state;
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the second preset range, The use state for determining the electronic equipment is the use state of falling portrait layout.
In one embodiment, electronic equipment switches the screen of the electronic equipment based on the definite use state Specific implementation can be:
Based on the definite use state, wallpaper corresponding with the use state is shown;On the wallpaper, display Application icon corresponding with the use state.
Specifically, electronic equipment can correspond to different wallpapers under different use states, be made based on described definite With state, wallpaper corresponding with the use state is shown, and on the wallpaper, display is corresponding with the use state should With icon, the different wallpaper can be used for reminding the use state of electronics to have occurred and that change.Alternatively, electronic equipment is not With use state under can correspond to identical wallpaper, based on the definite use state, adjust the display direction of wallpaper, and On the wallpaper, the display direction of the application icon of each application is adjusted, so that current wallpaper and application icon are with making With condition adapted.
In one embodiment, electronic equipment determines the electronics based on the gravity acceleration value in length direction After the use state of equipment, following operation can also carry out:
Based on the definite use state, the operating system of the electronic equipment is switched to and the use state pair The operating system answered.
Specifically, electronic equipment can be with corresponding different operation system in positive portrait layout use state and the use state of falling portrait layout System, for example, positive portrait layout use state corresponds to the first operating system the second operating system corresponding with the use state of falling portrait layout, the first behaviour Different application programs can be provided with by making system and the second operating system, alternatively, the first operating system and the second operating system Save the different setting of user.
In one embodiment, the abnormity screen includes the first irregular shaped region, the second irregular shaped region and regular domain, described First irregular shaped region and second irregular shaped region are symmetrical.
It is consistent with the embodiment shown in above-mentioned Fig. 2, referring to Fig. 3, Fig. 3 is another screen provided by the embodiments of the present application The flow diagram of curtain switching method, the screen switching in the embodiment of the present application are applied to include touching display screen, control The control circuit of the touching display screen and the electronic equipment of memory.As shown in figure 3, the screen in the embodiment of the present application is cut The method of changing comprises the following steps:
S301, the gravity acceleration value for obtaining length direction of the electronic equipment in the electronic equipment.
Wherein, the abnormity screen includes the first irregular shaped region, the second irregular shaped region and regular domain, first heteromorphic regions Domain and second irregular shaped region are symmetrical.
If S302, the electronic equipment preset model in the gravity acceleration value of the length direction of the electronic equipment first In enclosing, the use state for determining the electronic equipment is positive portrait layout use state.
If S303, the electronic equipment preset model in the gravity acceleration value of the length direction of the electronic equipment second In enclosing, the use state for determining the electronic equipment is the use state of falling portrait layout.
Wherein, electronic equipment can perform step S304 to S305, or perform step after use state is determined S306。
S304, based on the definite use state, show wallpaper corresponding with the use state.
S305, on the wallpaper, show corresponding with use state application icon.
S306, based on the definite use state, the operating system of the electronic equipment is switched to and the use The corresponding operating system of state.
As can be seen that screen switching provided by the embodiments of the present application be applied to include touching display screen, control described in The control circuit of touching display screen and the electronic equipment of memory, in the embodiment that the application provides, electronic equipment obtains The electronic equipment is added based on the gravity in length direction in the gravity acceleration value of the length direction of the electronic equipment Velocity amplitude, determines the use state of the electronic equipment, and the use state includes positive portrait layout use state and the use of falling portrait layout State, based on the definite use state, switches the screen of the electronic equipment.As it can be seen that electronic equipment can be according in length Spend the gravity acceleration value toggle screen in direction so that no matter electronic equipment can normally make under positive portrait layout and the state of falling portrait layout With improving the flexibility of screens switch, be user-friendly.
It is consistent with the embodiment shown in above-mentioned Fig. 2 or Fig. 3, referring to Fig. 4, Fig. 4 is provided by the embodiments of the present application another A kind of flow diagram of screen switching, the screen switching in the embodiment of the present application are applied to include touch-control to show Shield, control the control circuit of the touching display screen and the electronic equipment of memory.As shown in figure 4, in the embodiment of the present application Screen switching comprise the following steps:
S401, the control circuit obtain the acceleration of gravity of length direction of the electronic equipment in the electronic equipment Value.
S402, the control circuit are based on memory in the gravity acceleration value in length direction and the memory Gravity acceleration value and the electronic equipment use state mapping relations, determine the use state of the electronic equipment, The use state includes positive portrait layout use state and the use state of falling portrait layout.
S403, the control circuit switch the screen of the electronic equipment based on the definite use state.
In one embodiment, the control circuit is based on the gravity acceleration value in length direction and the storage The mapping relations of the gravity acceleration value of memory and the use state of the electronic equipment, determine the electronic equipment in device The specific implementation of use state can be:
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the first preset range, The control circuit determines that the use state of the electronic equipment is positive portrait layout use state;
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the second preset range, The control circuit determines that the use state of the electronic equipment is the use state of falling portrait layout.
In one embodiment, the control circuit switches the electronic equipment based on the definite use state The specific implementation of screen can be:
Based on the definite use state, wallpaper corresponding with the use state is shown;On the wallpaper, display Application icon corresponding with the use state.
In one embodiment, the control circuit is based on the gravity acceleration value in length direction and the storage The mapping relations of the gravity acceleration value of memory and the use state of the electronic equipment, determine the electronic equipment in device Use state, can also carry out following operation:
Based on the definite use state, the operating system of the electronic equipment is switched to and the use state pair The operating system answered.
In one embodiment, the abnormity screen includes the first irregular shaped region, the second irregular shaped region and regular domain, described First irregular shaped region and second irregular shaped region are symmetrical.
As can be seen that screen switching provided by the embodiments of the present application be applied to include touching display screen, control described in The control circuit of touching display screen and the electronic equipment of memory, in the embodiment that the application provides, electronic equipment obtains The electronic equipment is added based on the gravity in length direction in the gravity acceleration value of the length direction of the electronic equipment Velocity amplitude, determines the use state of the electronic equipment, and the use state includes positive portrait layout use state and the use of falling portrait layout State, based on the definite use state, switches the screen of the electronic equipment.As it can be seen that electronic equipment can be according in length Spend the gravity acceleration value toggle screen in direction so that no matter electronic equipment can normally make under positive portrait layout and the state of falling portrait layout With improving the flexibility of screens switch, be user-friendly.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is realized for performing the method for the present invention embodiment Method, the screen switching mechanism be applied to include touching display screen, the control circuit for controlling the touching display screen and The electronic equipment of memory.Referring to Fig. 5, Fig. 5 is a kind of unit composition of screen switching mechanism disclosed in the embodiment of the present application Block diagram, as shown in figure 5, the screen switching mechanism can include acquiring unit 501, determination unit 502 and switch unit 503, its In:
Acquiring unit 501, for obtaining acceleration of gravity of the electronic equipment in the length direction of the electronic equipment Value;
Wherein, above-mentioned acquiring unit 501 can be with three axis acceleration of gravity induction chips or gyroscope etc., the embodiment of the present application It is not restricted.
Determination unit 502, for based on the gravity acceleration value in length direction, determining making for the electronic equipment With state, the use state includes positive portrait layout use state and the use state of falling portrait layout;
Switch unit 503, for based on the definite use state, switching the screen of the electronic equipment.
Above-mentioned determination unit 502 and switch unit 503, can be processor or circuit etc., the embodiment of the present application is not made Limitation.
In one embodiment, the determination unit 502 is specifically used for:
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the first preset range, The use state for determining the electronic equipment is positive portrait layout use state;
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the second preset range, The use state for determining the electronic equipment is the use state of falling portrait layout.
In one embodiment, the switch unit 503, is specifically used for:
Based on the definite use state, wallpaper corresponding with the use state is shown;
On the wallpaper, application icon corresponding with the use state is shown.
In one embodiment, the switch unit 503, is additionally operable to:
Based on the definite use state, the operating system of the electronic equipment is switched to and the use state pair The operating system answered.
In one embodiment, the abnormity screen includes the first irregular shaped region, the second irregular shaped region and regular domain, described First irregular shaped region and second irregular shaped region are symmetrical.
Specifically, the specific implementation of above-mentioned unit, which refers to Fig. 2 to Fig. 4, corresponds to retouching for correlation step in embodiment State, this will not be repeated here.
It should be noted that the described screen switching mechanism of apparatus of the present invention embodiment is to be in the form of functional unit It is existing.Term " unit " used herein above should be understood to implication as most wide as possible, and it is described to be used for realization each " unit " The object of function for example can be integrated circuit ASIC, single circuit, for performing one or more softwares or firmware program Its of above-mentioned function is realized in processor (shared, dedicated or chipset) and memory, combinational logic circuit, and/or offer His suitable component.
As can be seen that screen switching mechanism provided by the embodiments of the present application be applied to include touching display screen, control described in The control circuit of touching display screen and the electronic equipment of memory.In the embodiment that the application provides, screen switching mechanism Gravity acceleration value of the electronic equipment in the length direction of the electronic equipment is obtained, based on the weight in length direction Power acceleration magnitude, determines the use state of the electronic equipment, and the use state includes positive portrait layout use state and portrait layout Use state, based on the definite use state, switches the screen of the electronic equipment.As it can be seen that electronic equipment being capable of basis In the gravity acceleration value toggle screen of length direction so that no matter electronic equipment can be just under positive portrait layout and the state of falling portrait layout Often use, improve the flexibility of screens switch, be user-friendly.
It is consistent with the embodiment shown in above-mentioned Fig. 2, Fig. 3, Fig. 4, referring to Fig. 6, Fig. 6 is provided in an embodiment of the present invention The structure diagram of a kind of electronic equipment, as shown in the figure, the electronic equipment includes processor, memory, communication interface and one A or multiple programs, wherein, said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing Device performs, and above procedure includes being used for the instruction for performing following steps;
Obtain gravity acceleration value of the electronic equipment in the length direction of the electronic equipment;
Based on the gravity acceleration value in length direction, the use state of the electronic equipment, the use are determined State includes positive portrait layout use state and the use state of falling portrait layout;
Based on the definite use state, switch the screen of the electronic equipment.
In one embodiment, based on the gravity acceleration value in length direction, the electronic equipment is determined In terms of use state, the instruction in described program is specifically used for performing following operation:
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the first preset range, The use state for determining the electronic equipment is positive portrait layout use state;
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the second preset range, The use state for determining the electronic equipment is the use state of falling portrait layout.
In one embodiment, in terms of the screen of the electronic equipment based on the definite use state, is switched, institute The instruction in program is stated to be specifically used for performing following operation:
Based on the definite use state, wallpaper corresponding with the use state is shown;
On the wallpaper, application icon corresponding with the use state is shown.
In one embodiment, described program further includes instructions for performing the following operations:
Based on the definite use state, the operating system of the electronic equipment is switched to and the use state pair The operating system answered.
In one embodiment, the abnormity screen includes the first heteromorphic regions domain name, the second irregular shaped region and regular domain, institute State the first irregular shaped region and second irregular shaped region is symmetrical.
Specifically, the specific implementation of above-mentioned unit, which refers to Fig. 2 to Fig. 4, corresponds to retouching for correlation step in embodiment State, this will not be repeated here.
As can be seen that screen switching provided by the embodiments of the present application be applied to include touching display screen, control described in The control circuit of touching display screen and the electronic equipment of memory.In the embodiment that the application provides, electronic equipment obtains The electronic equipment is added based on the gravity in length direction in the gravity acceleration value of the length direction of the electronic equipment Velocity amplitude, determines the use state of the electronic equipment, and the use state includes positive portrait layout use state and the use of falling portrait layout State, based on the definite use state, switches the screen of the electronic equipment.As it can be seen that electronic equipment can be according in length Spend the gravity acceleration value toggle screen in direction so that no matter electronic equipment can normally make under positive portrait layout and the state of falling portrait layout With improving the flexibility of screens switch, be user-friendly.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform such as above-mentioned side The part or all of step of any type screen switching described in method embodiment.
The embodiment of the present application also provides a kind of computer-readable storage medium, wherein, which can be stored with journey Sequence, the part or all of step including any type screen switching described in above method embodiment when which performs Suddenly.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another operating system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to contribute to the prior art or the technical solution all or part can in the form of software product body Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment the method for the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (read-only memory, ROM), random access memory (random access memory, RAM), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct relevant hardware to complete by program, which can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (read-only memory, ROM), random access device (random access Memory, RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help to understand method and its core concept of the invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in conclusion this specification content should not be construed as limiting the invention.

Claims (14)

1. a kind of electronic equipment, it is characterised in that including touching display screen, the control touching display screen control circuit and Memory;
The memory, for storing the mapping relations of gravity acceleration value and the use state of the electronic equipment;
The control circuit, for obtaining gravity acceleration value of the electronic equipment in the length direction of the electronic equipment; Based on the gravity acceleration value in length direction, the use state of the electronic equipment is determined, the use state includes Positive portrait layout use state and the use state of falling portrait layout;Based on the definite use state, switch the screen of the electronic equipment.
2. equipment according to claim 1, it is characterised in that for based on the acceleration of gravity in length direction Value, when determining the use state of the electronic equipment, the control circuit is specifically used for:
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the first preset range, determine The use state of the electronic equipment is positive portrait layout use state;If the electronic equipment is in the length direction of the electronic equipment Gravity acceleration value in the second preset range, the use state for determining the electronic equipment is the use state of falling portrait layout.
3. equipment as claimed in claim 1 or 2, it is characterised in that for based on the definite use state, switching institute When stating the screen of electronic equipment, the control circuit is specifically used for:
Based on the definite use state, the touching display screen is controlled to show wallpaper corresponding with the use state, and On the wallpaper, application icon corresponding with the use state is shown.
4. such as claims 1 to 3 any one of them equipment, it is characterised in that for based on the weight in length direction Power acceleration magnitude, after the use state for determining the electronic equipment, the control circuit is additionally operable to:
Based on the definite use state, the operating system of the electronic equipment is switched to corresponding with the use state Operating system.
5. such as Claims 1-4 any one of them equipment, it is characterised in that the touching display screen include irregular shaped region and Regular domain, the irregular shaped region include the first irregular shaped region and the second irregular shaped region, first irregular shaped region and described Two irregular shaped regions are symmetrical.
6. a kind of screen switching, it is characterised in that the screen switching is applied to electronic equipment, the electronic equipment Control circuit and memory including touching display screen, the control touching display screen, the screen switching include:
Obtain gravity acceleration value of the electronic equipment in the length direction of the electronic equipment;
Based on the gravity acceleration value in length direction, the use state of the electronic equipment, the use state are determined Including positive portrait layout use state and the use state of falling portrait layout;
Based on the definite use state, switch the screen of the electronic equipment.
7. method as claimed in claim 6, it is characterised in that it is described based on the gravity acceleration value in length direction, Determine the use state of the electronic equipment, including:
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the first preset range, determine The use state of the electronic equipment is positive portrait layout use state;
If the electronic equipment the length direction of the electronic equipment gravity acceleration value in the second preset range, determine The use state of the electronic equipment is the use state of falling portrait layout.
8. method as claimed in claims 6 or 7, it is characterised in that it is described based on the definite use state, described in switching The screen of electronic equipment, including:
Based on the definite use state, wallpaper corresponding with the use state is shown;
On the wallpaper, application icon corresponding with the use state is shown.
9. such as claim 6 to 8 any one of them method, it is characterised in that described based on the gravity in length direction Acceleration magnitude, after the use state for determining the electronic equipment, the method further includes:
Based on the definite use state, the operating system of the electronic equipment is switched to corresponding with the use state Operating system.
10. the method as described in claim 6 to 9 any one of them method, it is characterised in that the abnormity screen includes first Irregular shaped region, the second irregular shaped region and regular domain, first irregular shaped region and second irregular shaped region are symmetrical.
11. a kind of screen switching mechanism, it is characterised in that the screen switching mechanism is applied to electronic equipment, and the electronics is set Standby control circuit and memory including touching display screen, the control touching display screen, described device include:
Acquiring unit, for obtaining gravity acceleration value of the electronic equipment in the length direction of the electronic equipment;
Determination unit, for based on the gravity acceleration value in length direction, determining the use state of the electronic equipment, The use state includes positive portrait layout use state and the use state of falling portrait layout;
Switch unit, for based on the definite use state, switching the screen of the electronic equipment.
12. a kind of screen switching, it is characterised in that the screen switching is applied to electronic equipment, and the electronics is set Standby control circuit and memory including touching display screen, the control touching display screen;The described method includes:
The control circuit obtains the gravity acceleration value of length direction of the electronic equipment in the electronic equipment;
The control circuit is added based on the gravity acceleration value in length direction and the gravity of memory in the memory Velocity amplitude and the mapping relations of the use state of the electronic equipment, determine the use state of the electronic equipment, the use State includes positive portrait layout use state and the use state of falling portrait layout;
The control circuit switches the screen of the electronic equipment based on the definite use state.
13. a kind of electronic equipment, it is characterised in that including processor, memory, communication interface and one or more program, Wherein, one or more of programs are stored in the memory, and are configured to be performed by the processor, the journey Sequence includes being used for the instruction for the step that perform claim is required in 6 to 10 any one methods.
A kind of 14. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the method as any one of claim 6 to 10.
CN201711424889.6A 2017-12-25 2017-12-25 Screen switching method and related product Expired - Fee Related CN108040179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711424889.6A CN108040179B (en) 2017-12-25 2017-12-25 Screen switching method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711424889.6A CN108040179B (en) 2017-12-25 2017-12-25 Screen switching method and related product

Publications (2)

Publication Number Publication Date
CN108040179A true CN108040179A (en) 2018-05-15
CN108040179B CN108040179B (en) 2021-02-09

Family

ID=62101135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711424889.6A Expired - Fee Related CN108040179B (en) 2017-12-25 2017-12-25 Screen switching method and related product

Country Status (1)

Country Link
CN (1) CN108040179B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189244A (en) * 2018-08-02 2019-01-11 珠海格力电器股份有限公司 Terminal display method and device, terminal and readable storage medium
CN109710150A (en) * 2018-12-25 2019-05-03 维沃移动通信有限公司 Key control method and terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998693A (en) * 2009-08-19 2011-03-30 深圳富泰宏精密工业有限公司 Mobile telephone
CN103294358A (en) * 2013-05-17 2013-09-11 北京小米科技有限责任公司 Method, device and equipment for controlling screen to rotate
CN103428350A (en) * 2012-05-23 2013-12-04 希姆通信息技术(上海)有限公司 Handheld terminal and method for judging posture of handheld terminal
CN103718148A (en) * 2013-01-24 2014-04-09 华为终端有限公司 Screen display module determining method and terminal device
CN104038589A (en) * 2014-06-04 2014-09-10 朱良学 Mobile phone with symmetrical user experience and IO (Input Output) device switching method thereof
CN104182191A (en) * 2014-08-06 2014-12-03 深圳市同洲电子股份有限公司 Control method and control terminal for screen content
CN104978115A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Content display method and device
CN105260093A (en) * 2015-09-15 2016-01-20 广东欧珀移动通信有限公司 Method and device for intelligently setting screen rotation and mobile terminal
WO2016017062A1 (en) * 2014-07-28 2016-02-04 Sony Corporation Information processing for motion sickness prevention in an image display system
CN105630595A (en) * 2015-12-21 2016-06-01 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998693A (en) * 2009-08-19 2011-03-30 深圳富泰宏精密工业有限公司 Mobile telephone
CN103428350A (en) * 2012-05-23 2013-12-04 希姆通信息技术(上海)有限公司 Handheld terminal and method for judging posture of handheld terminal
CN103718148A (en) * 2013-01-24 2014-04-09 华为终端有限公司 Screen display module determining method and terminal device
CN103294358A (en) * 2013-05-17 2013-09-11 北京小米科技有限责任公司 Method, device and equipment for controlling screen to rotate
CN104978115A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Content display method and device
CN104038589A (en) * 2014-06-04 2014-09-10 朱良学 Mobile phone with symmetrical user experience and IO (Input Output) device switching method thereof
WO2016017062A1 (en) * 2014-07-28 2016-02-04 Sony Corporation Information processing for motion sickness prevention in an image display system
CN104182191A (en) * 2014-08-06 2014-12-03 深圳市同洲电子股份有限公司 Control method and control terminal for screen content
CN105260093A (en) * 2015-09-15 2016-01-20 广东欧珀移动通信有限公司 Method and device for intelligently setting screen rotation and mobile terminal
CN105630595A (en) * 2015-12-21 2016-06-01 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189244A (en) * 2018-08-02 2019-01-11 珠海格力电器股份有限公司 Terminal display method and device, terminal and readable storage medium
CN109189244B (en) * 2018-08-02 2020-07-07 珠海格力电器股份有限公司 Terminal display method and device, terminal and readable storage medium
CN109710150A (en) * 2018-12-25 2019-05-03 维沃移动通信有限公司 Key control method and terminal

Also Published As

Publication number Publication date
CN108040179B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
EP2869594B1 (en) Method and device for controlling terminal by using headset wire, and apparatus
CN102232211B (en) Handheld terminal device user interface automatic switching method and handheld terminal device
EP2851779A1 (en) Method, device, storage medium and terminal for displaying a virtual keyboard
CN108574775A (en) Detect the method for the expansion of battery and the electronic equipment using this method
MX2014008742A (en) Notification message display method and apparatus, and electronic device.
CN108519851A (en) A kind of interface switching method and mobile terminal
CN108111687A (en) Display control method and related product
US20150089431A1 (en) Method and terminal for displaying virtual keyboard and storage medium
CN108170356A (en) Using split screen method and Related product
CN109375889B (en) Display control method and related product
CN106951850A (en) The method and mobile terminal of a kind of control fingerprint recognition module
CN106200970A (en) A kind of method of split screen display available and terminal
CN108958606A (en) Multi-screen display method, device, storage medium and electronic equipment
CN109739394A (en) A kind of processing method of SAR value, mobile terminal
CN104346028B (en) Address field display methods, device and mobile terminal
CN108108113A (en) Webpage switching method and device
CN108121641A (en) State information display method and relevant device
CN108040179A (en) Screen switching and Related product
CN108196781A (en) The display methods and mobile terminal at interface
CN108184015A (en) Irregular shaped region display methods and Related product
CN108038359A (en) Unlocking method and related product
CN106210344A (en) A kind of call mode method to set up and mobile terminal
CN111010853B (en) Anti-interference heat dissipation structure and mobile terminal
CN109451336B (en) Video playing method and related product
CN110036539A (en) A kind of equipment with USB port

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

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

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

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

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210209