CN110557503B - Screen display direction switching processing method and device and terminal equipment - Google Patents

Screen display direction switching processing method and device and terminal equipment Download PDF

Info

Publication number
CN110557503B
CN110557503B CN201910748378.2A CN201910748378A CN110557503B CN 110557503 B CN110557503 B CN 110557503B CN 201910748378 A CN201910748378 A CN 201910748378A CN 110557503 B CN110557503 B CN 110557503B
Authority
CN
China
Prior art keywords
screen display
display direction
terminal equipment
direction switching
place
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910748378.2A
Other languages
Chinese (zh)
Other versions
CN110557503A (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.)
Hisense Electronic Technology Wuhan Co ltd
Original Assignee
Hisense Electronic Technology Wuhan 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 Hisense Electronic Technology Wuhan Co ltd filed Critical Hisense Electronic Technology Wuhan Co ltd
Priority to CN201910748378.2A priority Critical patent/CN110557503B/en
Publication of CN110557503A publication Critical patent/CN110557503A/en
Application granted granted Critical
Publication of CN110557503B publication Critical patent/CN110557503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The embodiment of the application provides a method, a device and a terminal device for switching a screen display direction, wherein the method comprises the following steps: determining that the terminal equipment is currently located at a target place; determining whether to switch the screen display direction of the terminal equipment according to the posture of the terminal equipment according to the screen display direction switching mode corresponding to the target place; if yes, switching the screen display direction of the terminal equipment when the posture of the terminal equipment reaches a preset posture. The method can automatically display the screen direction matched with the current scene without manual adjustment of a user, reduces the operation of the user and improves the use experience of the user.

Description

Screen display direction switching processing method and device and terminal equipment
Technical Field
The embodiment of the application relates to an intelligent terminal technology, in particular to a method and a device for switching a screen display direction and a terminal device.
Background
With the continuous development of terminal equipment technologies such as mobile phones, the functions supported by the terminal equipment are more and more, and therefore the usability of the terminal equipment is continuously improved. The method supports automatic switching of the screen display direction of the terminal equipment, and is an important function of the terminal equipment. The screen display direction of the terminal device may include a landscape screen and a portrait screen.
In the prior art, a terminal device may provide an option whether to automatically switch a screen display direction for a user, and if the user selects to automatically switch the screen display direction, the terminal device detects a current orientation of the terminal device through a built-in gravity sensor during a process in which the user uses the terminal device, and adjusts the screen display direction in real time according to the current orientation of the terminal device. If the user selects one screen display direction instead of automatically switching the screen display directions, the terminal equipment always keeps the screen display direction selected by the user in the process of using the terminal equipment by the user.
However, the method using the prior art may make the operation process of the user cumbersome, resulting in poor user experience.
Disclosure of Invention
The embodiment of the application provides a screen display direction switching processing method and device and terminal equipment, which are used for simplifying the process of selecting a screen display direction by a user and improving user experience.
A first aspect of the embodiments of the present application provides a method for switching a screen display direction, including:
determining that the terminal equipment is currently located at a target place;
determining whether to switch the screen display direction of the terminal equipment according to the posture of the terminal equipment according to the screen display direction switching mode corresponding to the target place;
if yes, switching the screen display direction of the terminal equipment when the posture of the terminal equipment reaches a preset posture.
Further, after determining whether to switch the screen display direction of the terminal device according to the gesture of the terminal device according to the screen display direction switching manner corresponding to the target location, the method further includes:
and if not, displaying the object to be displayed on the terminal equipment according to the direction identified by the screen display direction switching mode corresponding to the target place.
Further, the determining that the terminal device is currently located in the target location includes:
and if the information of the wireless network currently connected with the terminal equipment is the information of the wireless network of the target place, determining that the terminal equipment is currently located at the target place.
Further, the determining that the terminal device is currently located in the target location includes:
and if the current position information of the terminal equipment is the position information of the target place, determining that the terminal equipment is currently located in the target place.
Further, the determining that the terminal device is currently located in the target location further includes:
receiving an identifier of a first place to be selected input by a user and a first screen display direction switching mode corresponding to the first place to be selected;
and establishing a corresponding relation between the first to-be-selected place and the first screen display direction switching mode according to the identification of the first to-be-selected place and the first screen display direction switching mode.
Further, the determining that the terminal device is currently located in the target location further includes:
if the number of times that the terminal equipment modifies the screen display direction switching mode to the second screen display direction switching mode in the second candidate place reaches the preset number of times, establishing a corresponding relation between the second candidate place and the second screen display direction switching mode according to the indication information of the user.
Further, the establishing a corresponding relationship between the second place to be selected and the second screen display direction switching manner according to the indication information of the user includes:
outputting first prompt information to a user, wherein the first prompt information is used for prompting establishment of a corresponding relation between the second to-be-selected place and the second screen display direction switching mode;
and establishing a corresponding relation between the second to-be-selected place and the second screen display direction switching mode according to indication information aiming at the first prompt information input by a user, wherein the indication information is used for indicating the establishment of the corresponding relation between the second to-be-selected place and the second screen display direction switching mode.
A second aspect of the embodiments of the present application provides a device for switching a screen display direction, including:
the first determining module is used for determining that the terminal equipment is currently located in a target place;
the second determining module is used for determining whether to switch the screen display direction of the terminal equipment according to the posture of the terminal equipment according to the screen display direction switching mode corresponding to the target place;
and the switching module is used for switching the screen display direction of the terminal equipment when the gesture of the terminal equipment reaches a preset gesture when the screen display direction of the terminal equipment is determined to be switched according to the gesture of the terminal equipment.
Further, the method also comprises the following steps:
and the display module is used for displaying the object to be displayed on the terminal equipment according to the direction marked by the screen display direction switching mode corresponding to the target place when the screen display direction of the terminal equipment is determined not to be switched according to the posture of the terminal equipment.
Further, the first determining module is specifically configured to:
and when the information of the wireless network currently connected with the terminal equipment is the information of the wireless network of the target place, determining that the terminal equipment is currently located at the target place.
Further, the first determining module is specifically configured to:
and when the current position information of the terminal equipment is the position information of the target place, determining that the terminal equipment is currently located at the target place.
Further, the method also comprises the following steps:
the receiving module is used for receiving an identifier of a first place to be selected input by a user and a first screen display direction switching mode corresponding to the first place to be selected;
the first establishing module is used for establishing a corresponding relation between the first place to be selected and the first screen display direction switching mode according to the identification of the first place to be selected and the first screen display direction switching mode.
Further, the method also comprises the following steps:
and the second establishing module is used for establishing a corresponding relation between the second to-be-selected place and the second screen display direction switching mode according to indication information of a user when the number of times that the terminal equipment modifies the screen display direction switching mode into the second screen display direction switching mode in the second to-be-selected place reaches a preset number of times, wherein the indication information is used for indicating the establishment of the corresponding relation between the second to-be-selected place and the second screen display direction switching mode.
Further, the second establishing module is specifically configured to:
outputting first prompt information to a user, wherein the first prompt information is used for prompting establishment of a corresponding relation between the second to-be-selected place and the second screen display direction switching mode; and the number of the first and second groups,
and establishing a corresponding relation between the second to-be-selected place and a second screen display direction switching mode according to the indication information aiming at the first prompt information input by the user.
A third aspect of the embodiments of the present application provides a terminal device, including:
a memory for storing program instructions;
a processor for calling and executing the program instructions in the memory to perform the method steps of the first aspect.
A fourth aspect of embodiments of the present application provides a readable storage medium, in which a computer program is stored, where the computer program is configured to execute the method according to the first aspect.
According to the screen display direction switching processing method, the screen display direction switching processing device and the terminal equipment, the corresponding relation between the place and the screen display direction switching mode is preset, and when a user is located in a target place, whether the screen display direction is automatically switched or not is determined according to the screen display switching mode corresponding to the target place, so that screen direction display matched with a current scene is automatically carried out according to the current scene, manual adjustment of the user is not needed, operation of the user is reduced, and use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and obviously, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic flowchart of a screen display direction switching processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a screen display direction switching processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of the configuration interface;
fig. 4 is a schematic flowchart of a screen display direction switching processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an interface for outputting the first prompt message by the terminal device;
fig. 6 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal device 1000 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The prior art approach may be annoying to the user in some scenarios. In an exemplary scenario, assuming that a user sets a mobile phone to lock a vertical screen display in advance, the user fixes the mobile phone to display an interface to be displayed in the vertical screen display during the process of using the mobile phone. If the user is in a driving scene at present, namely the mobile phone is located in the place of the vehicle, and the mobile phone is placed on the navigation frame in the vehicle, if the navigation frame is placed transversely, the transverse screen display mode is more suitable for the current scene, however, because the user has set locking vertical screen display in advance, the mobile phone still displays in the vertical screen mode at the moment, the user needs to manually modify the setting of the mobile phone, and then the mobile phone is placed on the navigation frame, so that the operation process is complicated, and the user experience is poor. In another exemplary scenario, assuming that a user sets a mobile phone to automatically switch a screen display direction in advance, the mobile phone may detect a gesture of the mobile phone in real time during a process of using the mobile phone, and switch the screen display direction from a landscape screen display to a portrait screen display or from a portrait screen display to a landscape screen display according to a change of the gesture. If the mobile phone is currently located at the home of the user, namely the place of the family, the user sits or lies on the sofa to use the mobile phone, at the moment, only the transverse screen display or the vertical screen display needs to be kept, however, the user sets the automatic screen display switching direction in advance, at the moment, when the user adjusts the posture, the mobile phone may continuously switch the screen display direction, the user needs to manually modify the setting of the mobile phone, so that the mobile phone keeps the screen display direction, when the user moves to other places, the setting of the mobile phone needs to be modified again according to the needs, therefore, the operation process is complicated, and the user experience is poor.
Based on the above problems, the embodiment of the application provides a screen display direction switching processing method, and by presetting a corresponding relation between a place and a screen display direction switching mode, when a user is located in a target place, whether to automatically switch a screen display direction is determined according to the screen display switching mode corresponding to the target place, so that screen direction display matched with a current scene is automatically performed according to the current scene, manual adjustment of the user is not needed, user operation is reduced, and user experience is improved.
Fig. 1 is a flowchart illustrating a screen display direction switching processing method according to an embodiment of the present application, where the method is applied to a terminal device supporting screen display direction switching, such as a mobile phone and a tablet computer. As shown in fig. 1, the method includes:
s101, determining that the terminal equipment is currently located at a target place.
Optionally, the terminal device may detect a current location of the terminal device, where the location of the terminal device may include: vehicles, homes, businesses, malls, stations, etc.
The terminal device may pre-store a correspondence between the identifier of the location and the switching manner of the screen display direction, and a method for generating the correspondence will be described in detail in the following embodiments.
In the embodiment of the application, the screen display direction switching mode can be divided according to different divisions.
In an exemplary division manner, the screen display direction switching manner may include: locking a horizontal screen, locking a vertical screen and automatically switching.
In another exemplary division manner, the screen display direction switching manner may include: locking the vertical screen and automatically switching.
In another exemplary division manner, the screen display direction switching manner may include: locking the current direction and automatically switching.
Optionally, the target location may be one of the locations saved in the corresponding relationship by the terminal device. When the user holds the terminal device and enters a certain place, whether the place is one of the corresponding relations prestored by the terminal device can be judged according to the mark of the place, and if yes, the terminal device can be determined to be in a target place currently.
Optionally, the identifier of the place may uniquely represent information of the place, and for example, the identifier may be location information of the place, an identifier of a wireless network in the place, and the like.
And S102, determining whether to switch the screen display direction of the terminal equipment according to the posture of the terminal equipment according to the screen display direction switching mode corresponding to the target place.
Taking the dividing manner in the first example as an example, the screen display direction switching manner includes locking the horizontal screen, locking the vertical screen, and automatically switching, and the screen display direction switching manner corresponding to the target location may be locking the horizontal screen, locking the vertical screen, and automatically switching. If the screen display direction switching mode corresponding to the target place is automatic switching, it can be determined that the screen display direction of the terminal equipment needs to be automatically switched according to the posture of the terminal equipment in the operation process of the terminal equipment. If the screen display direction switching mode corresponding to the target place is locking the horizontal screen or locking the vertical screen, the screen display direction does not need to be automatically switched according to the posture.
And S103, if so, switching the screen display direction of the terminal equipment when the posture of the terminal equipment reaches a preset posture.
Continuing with the example in step S102, if the screen display direction switching manner corresponding to the target location is automatic switching, it may be determined that the screen display direction of the terminal device needs to be automatically switched according to the posture of the terminal device during the operation of the terminal device. When the screen display direction of the terminal equipment is automatically switched according to the posture of the terminal equipment, the gravity sensor in the terminal equipment can detect the posture of the terminal equipment in real time, when the posture of the terminal equipment reaches the preset posture, the terminal equipment is switched from horizontal placement to vertical placement, or from vertical placement to horizontal placement, and the terminal equipment further switches the screen display direction of the terminal equipment.
Taking the first exemplary scenario as an example, even if the user sets the terminal device to lock the vertical screen display in advance, when the user holds the terminal device and enters the vehicle, the terminal device recognizes that the terminal device is currently located in the vehicle, the terminal device may determine that the screen display direction needs to be automatically switched in the vehicle according to the corresponding relationship between the vehicle and the screen display direction switching manner stored in advance, the terminal device may detect the change of the posture of the terminal device in real time, when the terminal device is horizontally placed on the navigation frame, the terminal device detects that the posture of the terminal device has reached the horizontally placed posture, the terminal device is automatically switched from the vertical screen display to the horizontal screen display, and the user does not need to manually set the terminal device.
Optionally, the terminal device may modify a screen display direction switching manner preset by the user to the screen display direction switching manner corresponding to the target location, so as to implement the processes of steps S102 to S103. And when the terminal equipment leaves the target place, the screen display direction switching mode can be restored to the screen display direction switching mode preset by the user.
In the embodiment, the corresponding relation between the place and the screen display direction switching mode is preset, and when the user is located in the target place, whether the screen display direction is automatically switched or not is determined according to the screen display switching mode corresponding to the target place, so that the screen direction matched with the current scene is automatically displayed according to the current scene, manual adjustment of the user is not needed, the operation of the user is reduced, and the use experience of the user is improved.
In an optional implementation manner, if it is determined in step S102 that the screen display direction of the terminal device is not switched according to the posture of the terminal device, the object to be displayed on the terminal device may be displayed according to the direction identified by the screen display direction switching manner corresponding to the target location.
Continuing with the dividing manner in the first example as an example, the screen display direction switching manner includes locking the horizontal screen, locking the vertical screen, and automatically switching, and the screen display direction switching manner corresponding to the target location includes locking the horizontal screen, locking the vertical screen, and automatically switching. If the screen display direction switching mode corresponding to the target place is the horizontal screen locking mode or the vertical screen locking mode, it can be determined that the screen display direction is not switched according to the posture of the terminal device. The object to be displayed may refer to a picture, an icon, a character, and the like on an interface to be displayed on the terminal device.
In an optional implementation manner, when determining that the terminal device is currently located in the target location in step S101, specifically, the following two manners may be performed.
In the first mode, it may be determined that the terminal device is currently located at the target location according to information of a wireless network to which the terminal device is currently connected.
Specifically, if the information of the wireless network to which the terminal device is currently connected is the information of the wireless network of the target location, it is determined that the terminal device is currently located at the target location.
Optionally, the Wireless network to which the terminal device is currently connected may be a Wireless Fidelity (WiFi) network, a bluetooth network, or the like.
As described above, the terminal device may store the correspondence between the identifier of the location and the switching manner of the screen display direction in advance. In the correspondence, the identity of the venue may be an identity of a wireless network within the venue. If the user enters a place and the terminal device is connected to the WiFi network of the place, the terminal device can judge whether the WiFi network connected currently is the WiFi network of a certain place in the prestored corresponding relation, if so, the terminal device can be determined to be currently located in the place, and the screen display direction switching mode corresponding to the place can be acquired from the corresponding relation.
In the second mode, it may be determined that the terminal device is currently located at the target location according to the current location information of the terminal device.
Specifically, if the current location information of the terminal device is the location information of the target location, it is determined that the terminal device is currently located at the target location.
Optionally, the current location information of the terminal device may be obtained through a Global Positioning System (GPS for short).
As described above, the terminal device may store the correspondence between the identifier of the location and the switching manner of the screen display direction in advance. In the correspondence relationship, the identifier of the place may be position information of the place. If the user enters a place, the terminal device can judge whether the current position is the position of a place in the prestored corresponding relationship, if so, the terminal device can be determined to be currently in the place, and the screen display direction switching mode corresponding to the place can be obtained from the corresponding relationship.
It should be noted that one of the above two modes may be selected, or a combination of the two modes may be implemented. When implemented in combination, it may be determined that the terminal device is currently at the target location based on the currently connected wireless network and the current location information at the same time. For example, if the terminal device is currently connected to a WiFi network corresponding to a user's home, and the location of the terminal device is the location of the user's home, it may be determined that the terminal device is currently located in the user's home.
As described above, the terminal device may store the correspondence between the identifier of the location and the screen display direction switching manner in advance, and the following describes an optional manner in which the terminal device obtains the correspondence.
In the embodiment of the present application, the terminal device may obtain the correspondence relationship in two ways. The two modes can be implemented separately or in combination. The embodiment of the present application is not particularly limited to this.
Fig. 2 is a schematic flow chart of a screen display direction switching processing method provided in an embodiment of the present application, and as shown in fig. 2, an optional manner of generating the correspondence relationship includes:
s201, receiving an identifier of a first place to be selected input by a user and a first screen display direction switching mode corresponding to the first place to be selected.
S202, establishing a corresponding relation between the first to-be-selected place and the first screen display direction switching mode according to the identification of the first to-be-selected place and the first screen display direction switching mode.
Optionally, the terminal device may provide a configuration interface, and the user may input the identifier of the first candidate site and the first screen display direction switching mode corresponding to the first candidate site in the configuration interface.
Fig. 3 is a schematic diagram of the configuration interface, as shown in fig. 3, four entries are displayed on the configuration interface, where one entry of "place name" includes an entry box, and the user can enter the name of the place to be configured in the entry box, for example: home, company, car, etc. The "place wireless network" item includes a selection box, in which names and the like of wireless networks that can be searched by the terminal device currently can be displayed by default, and if no wireless network that the user wishes to establish a corresponding relationship exists in the wireless networks displayed by default, the user can also manually input names and the like of the wireless networks establishing the corresponding relationship. The "location" item includes a selection box, in which the current location and the location where the terminal device has been located in the near future may be displayed by default, and if there is no location where the user wishes to establish a correspondence in the default displayed location, the user may manually input the location where the correspondence is established, and the like. The "screen display switching manner" includes a selection box, in which various possible screen display direction switching manners are displayed for the user to select, and assuming that the first division manner in the step S101 is used, three manners of locking the horizontal screen, locking the vertical screen, and automatically switching may be displayed in the selection box for the user to select. In the two items of 'place wireless network' and 'place position', a user needs to fill in at least one item of information, if one item is filled in, the information is used as a place mark, if the two items are filled in, the two items of information are used as the place mark together, after the user finishes filling in the information click determination button, the terminal equipment receives the mark of a first place to be selected input by the user and a first screen display direction switching mode corresponding to the first place to be selected, and further the terminal equipment stores the corresponding relation between the place mark and the screen display direction switching mode selected by the user. Table 1 below is an example of the above correspondence.
TABLE 1
Figure BDA0002166338340000101
Fig. 4 is a schematic flowchart of a screen display direction switching processing method provided in an embodiment of the present application, and as shown in fig. 4, another optional manner for generating the correspondence relationship includes:
s401, judging whether the frequency of the terminal equipment for modifying the screen display direction switching mode into the second screen display direction switching mode in the second candidate place reaches the preset frequency, if so, executing the step S402.
Optionally, when the user modifies the screen display mode switching mode in one place each time, the terminal device records the identifier of the place where the user is located and the screen display mode switching mode modified by the user, and when the terminal device counts that the user has performed the same modification for multiple times, the following steps may be executed to remind the user to establish the corresponding relationship.
And S403, establishing a corresponding relation between the second to-be-selected place and the second screen display direction switching mode according to the instruction information of the user.
The indication information is used for indicating establishment of a corresponding relation between a second candidate place and a second screen display direction switching mode.
Optionally, the terminal device may output first prompt information to the user, where the first prompt information is used to prompt establishment of a corresponding relationship between the second to-be-selected location and the second screen display direction switching manner, and establish a corresponding relationship between the second to-be-selected location and the second screen display direction switching manner according to instruction information input by the user for the first prompt information.
Fig. 5 is a schematic view of an interface for outputting first prompt information by a terminal device, as shown in fig. 5, when the terminal device determines that the number of times of the same modification performed by the user in a certain location reaches a preset number, the terminal device may output first prompt information "you often modify the screen display direction switching manner in the location to be automatically switched, and whether you agree to automatically adjust to the switching manner when arriving at the location next time", if the user agree, the user may click a determination button in the interface, after clicking, the terminal device receives instruction information of the user for the first prompt information, and according to the instruction information, the terminal device establishes a corresponding relationship between a location identifier and the screen display direction switching manner, and stores the corresponding relationship in the corresponding relationship table shown in table 1. After the storage, the terminal device may output the information of the established correspondence to the user for the user to view. If the user selects "reset", the terminal device may delete the saved record from the correspondence table, and display the interface shown in fig. 3 to the user for the user to reset.
Fig. 6 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application, and as shown in fig. 6, the apparatus includes:
the first determining module 601 is configured to determine that the terminal device is currently located in a target location.
A second determining module 602, configured to determine whether to switch the screen display direction of the terminal device according to the gesture of the terminal device according to the screen display direction switching manner corresponding to the target location.
The switching module 603 is configured to, when it is determined to switch the screen display direction of the terminal device according to the posture of the terminal device, switch the screen display direction of the terminal device when the posture of the terminal device reaches a preset posture.
Fig. 7 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application, and as shown in fig. 7, the apparatus further includes:
and a display module 604, configured to display an object to be displayed on the terminal device according to a direction identified by a screen display direction switching manner corresponding to the target location when it is determined that the screen display direction of the terminal device is not switched according to the posture of the terminal device.
In another embodiment, the first determining module 601 is specifically configured to:
and when the information of the wireless network currently connected with the terminal equipment is the information of the wireless network of the target place, determining that the terminal equipment is currently located at the target place.
In another embodiment, the first determining module 601 is specifically configured to:
and when the current position information of the terminal equipment is the position information of the target place, determining that the terminal equipment is currently located at the target place.
Fig. 8 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application, and as shown in fig. 8, the apparatus further includes:
the receiving module 605 is configured to receive an identifier of a first candidate place input by a user and a first screen display direction switching mode corresponding to the first candidate place.
A first establishing module 606, configured to establish a corresponding relationship between a first place to be selected and the first screen display direction switching manner according to the identifier of the first place to be selected and the first screen display direction switching manner.
Fig. 9 is a block diagram of a screen display direction switching processing apparatus according to an embodiment of the present application, and as shown in fig. 9, the apparatus further includes:
the second establishing module 607 is configured to, when the number of times that the terminal device modifies the screen display direction switching manner to the second screen display direction switching manner in the second candidate location reaches a preset number of times, establish a corresponding relationship between the second candidate location and the second screen display direction switching manner according to instruction information of a user, where the instruction information is used to instruct establishment of a corresponding relationship between the second candidate location and the second screen display direction switching manner.
In another embodiment, the second establishing module 607 is specifically configured to:
and outputting first prompt information to a user, wherein the first prompt information is used for prompting the establishment of the corresponding relationship between the second to-be-selected place and the second screen display direction switching mode, and establishing the corresponding relationship between the second to-be-selected place and the second screen display direction switching mode according to instruction information aiming at the first prompt information input by the user.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the determining module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the determining module is called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Fig. 10 is a schematic structural diagram of a terminal device 1000 according to an embodiment of the present invention. As shown in fig. 10, the terminal device may include: the system comprises a processor 101, a memory 102, a communication interface 103 and a system bus 104, wherein the memory 102 and the communication interface 103 are connected with the processor 101 through the system bus 104 and complete mutual communication, the memory 102 is used for storing computer execution instructions, the communication interface 103 is used for communicating with other devices, and the processor 101 implements the scheme of the embodiment shown in fig. 1 to 5 when executing the computer program.
The system bus mentioned in fig. 10 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may comprise Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor may be a general-purpose processor, including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Optionally, an embodiment of the present invention further provides a storage medium, where instructions are stored in the storage medium, and when the storage medium is run on a computer, the storage medium causes the computer to execute the method according to the embodiment shown in fig. 1 to 5.
Optionally, an embodiment of the present invention further provides a chip for executing the instruction, where the chip is configured to execute the method in the embodiment shown in fig. 1 to 5.
Embodiments of the present invention further provide a program product, where the program product includes a computer program, where the computer program is stored in a storage medium, and at least one processor may read the computer program from the storage medium, and when the at least one processor executes the computer program, the at least one processor may implement the method in the embodiments shown in fig. 1 to 5.
In the embodiments of the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
It is to be understood that the various numerical references referred to in the embodiments of the present invention are merely for convenience of description and distinction and are not intended to limit the scope of the embodiments of the present invention.
It should be understood that, in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A screen display direction switching processing method is characterized by comprising the following steps:
if the number of times that the terminal equipment modifies the screen display direction switching mode into the first screen display direction switching mode in the to-be-selected place reaches a preset number of times, establishing a corresponding relation between the to-be-selected place and the first screen display direction switching mode according to indication information of a user;
determining that the terminal equipment is currently located at a target place;
determining a screen display direction switching mode corresponding to the target place according to corresponding information, wherein the corresponding information comprises the corresponding relation;
determining whether to switch the screen display direction of the terminal equipment according to the posture of the terminal equipment according to the screen display direction switching mode corresponding to the target place;
if yes, switching the screen display direction of the terminal equipment when the posture of the terminal equipment reaches a preset posture.
2. The method according to claim 1, wherein after determining whether to switch the screen display direction of the terminal device according to the gesture of the terminal device according to the screen display direction switching manner corresponding to the target location, the method further comprises:
and if not, displaying the object to be displayed on the terminal equipment according to the direction identified by the screen display direction switching mode corresponding to the target place.
3. The method of claim 1, wherein the determining that the terminal device is currently at the target location comprises:
and if the information of the wireless network currently connected with the terminal equipment is the information of the wireless network of the target place, determining that the terminal equipment is currently located at the target place.
4. The method of claim 1, wherein the determining that the terminal device is currently at the target location comprises:
and if the current position information of the terminal equipment is the position information of the target place, determining that the terminal equipment is currently located in the target place.
5. The method according to claim 1, wherein the establishing a corresponding relationship between the to-be-selected place and the first screen display direction switching manner according to the instruction information of the user comprises:
outputting first prompt information to a user, wherein the first prompt information is used for prompting establishment of a corresponding relation between the to-be-selected place and the first screen display direction switching mode;
and establishing a corresponding relation between the to-be-selected place and the first screen display direction switching mode according to the indication information aiming at the first prompt information input by the user.
6. A screen display direction switching processing apparatus, comprising:
the first determining module is used for determining that the terminal equipment is currently located in a target place;
the second establishing module is used for establishing a corresponding relation between the to-be-selected place and the first screen display direction switching mode according to the indication information of the user when the number of times that the terminal equipment modifies the screen display direction switching mode into the first screen display direction switching mode in the to-be-selected place reaches a preset number of times;
the second determining module is used for determining a screen display direction switching mode corresponding to the target place according to corresponding information, and the corresponding information comprises the corresponding relation; determining whether to switch the screen display direction of the terminal equipment according to the posture of the terminal equipment according to the screen display direction switching mode corresponding to the target place;
and the switching module is used for switching the screen display direction of the terminal equipment when the gesture of the terminal equipment reaches a preset gesture when the screen display direction of the terminal equipment is determined to be switched according to the gesture of the terminal equipment.
7. A terminal device, comprising:
a memory for storing program instructions;
a processor for invoking and executing program instructions in said memory for performing the method steps of any of claims 1-5.
8. A readable storage medium, in which a computer program is stored which is adapted to be executed by a processor to carry out the method of any one of claims 1-5.
CN201910748378.2A 2019-08-14 2019-08-14 Screen display direction switching processing method and device and terminal equipment Active CN110557503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910748378.2A CN110557503B (en) 2019-08-14 2019-08-14 Screen display direction switching processing method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910748378.2A CN110557503B (en) 2019-08-14 2019-08-14 Screen display direction switching processing method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN110557503A CN110557503A (en) 2019-12-10
CN110557503B true CN110557503B (en) 2021-06-08

Family

ID=68737528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910748378.2A Active CN110557503B (en) 2019-08-14 2019-08-14 Screen display direction switching processing method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN110557503B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534589A (en) * 2003-02-07 2004-10-06 �ձ�������ʽ���� Portable electronic apparatus, display direction converting method and recording medium
CN102624986A (en) * 2012-03-20 2012-08-01 深圳市金立通信设备有限公司 System and method for switching contextual models of mobilephone on basis of GPS (Global Positioning System) positioning
CN102736854A (en) * 2012-05-24 2012-10-17 惠州Tcl移动通信有限公司 Mobile communication terminal and screen regulation method based on mobile communication terminal
CN103870289A (en) * 2012-12-10 2014-06-18 联想(北京)有限公司 Display mode adjusting method and electronic device
CN105159640A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Display interface rotation method and device, and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777760A (en) * 2014-02-26 2014-05-07 北京百纳威尔科技有限公司 Method and device for switching screen display direction
CN104898818A (en) * 2014-03-07 2015-09-09 联想(北京)有限公司 Information processing method and electronic equipment
US10055818B2 (en) * 2016-09-30 2018-08-21 Intel Corporation Methods, apparatus and articles of manufacture to use biometric sensors to control an orientation of a display
CN107765973A (en) * 2017-11-16 2018-03-06 珠海市魅族科技有限公司 Control method and device, computer installation and the storage medium in screen display direction
CN109254715A (en) * 2018-08-31 2019-01-22 努比亚技术有限公司 Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534589A (en) * 2003-02-07 2004-10-06 �ձ�������ʽ���� Portable electronic apparatus, display direction converting method and recording medium
CN102624986A (en) * 2012-03-20 2012-08-01 深圳市金立通信设备有限公司 System and method for switching contextual models of mobilephone on basis of GPS (Global Positioning System) positioning
CN102736854A (en) * 2012-05-24 2012-10-17 惠州Tcl移动通信有限公司 Mobile communication terminal and screen regulation method based on mobile communication terminal
CN103870289A (en) * 2012-12-10 2014-06-18 联想(北京)有限公司 Display mode adjusting method and electronic device
CN105159640A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Display interface rotation method and device, and mobile terminal

Also Published As

Publication number Publication date
CN110557503A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
JP6214812B2 (en) Transfer processing method and apparatus
KR101678038B1 (en) Method, apparatus, program, and recording medium for automatically connecting wireless network
WO2017020654A1 (en) Wireless network access method and device
US9591120B2 (en) Method and device for adding application badge
CN109885314B (en) Automatic layout method and device for small programs
US11317302B2 (en) Minimization of drive test configuration method and apparatus
US11720370B2 (en) Electronic apparatus and method of executing application program
US20150339016A1 (en) Tab creation method, device, and terminal
EP3239858A1 (en) Method and apparatus for searching resource
US20150242076A1 (en) Method of editing one or more objects and apparatus for same
US20190258372A1 (en) Multi-window displaying apparatus and method and mobile electronic equipment
US20160171722A1 (en) Method, device, and electronic device for background display
US9380438B2 (en) Method and device for forwarding an incoming call according to a remaining battery capacity
KR20230023002A (en) Cell determination method and cell determination apparatus (CELL DETERMANATION METHOD AND CELL DETERMANATION APPARATUS)
US20160364459A1 (en) Search method and search device
US20170017656A1 (en) Method and device for presenting tasks
EP3768008A1 (en) Method and apparatus for indicating and searching for position of synchronous broadcast block of defined cell, and base station
US20160277917A1 (en) Method and apparatus for automatic detection and selection of an alternative roaming provider
CN110557503B (en) Screen display direction switching processing method and device and terminal equipment
CN107370646B (en) Network sharing method, television and computer readable storage medium
KR102087395B1 (en) Method and apparatus for executing application prograom in an electronic device
JP2020519142A (en) Method and apparatus for accessing a base station
CN108811080B (en) Method, device and storage medium for cell registration
CN109067959B (en) Address book management method and device
CN104284323A (en) Setting method of terminal time

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