CN116974382A - Screen rotation control method, device and equipment of tablet personal computer and storage medium - Google Patents
Screen rotation control method, device and equipment of tablet personal computer and storage medium Download PDFInfo
- Publication number
- CN116974382A CN116974382A CN202311228420.0A CN202311228420A CN116974382A CN 116974382 A CN116974382 A CN 116974382A CN 202311228420 A CN202311228420 A CN 202311228420A CN 116974382 A CN116974382 A CN 116974382A
- Authority
- CN
- China
- Prior art keywords
- information
- screen
- determining
- display
- tablet
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000008859 change Effects 0.000 claims abstract description 110
- 230000005236 sound signal Effects 0.000 claims description 49
- 239000013598 vector Substances 0.000 claims description 46
- 230000001133 acceleration Effects 0.000 claims description 28
- 238000006243 chemical reaction Methods 0.000 claims description 15
- 230000007613 environmental effect Effects 0.000 description 6
- 230000005484 gravity Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000000605 extraction Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/10—Pre-processing; Data cleansing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/02—Preprocessing
- G06F2218/04—Denoising
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Software Systems (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention belongs to the technical field of tablet computers, and discloses a method, a device, equipment and a storage medium for controlling screen rotation of a tablet computer. According to the method, the movement speed information and the display information of the tablet personal computer to be controlled in a preset time period are obtained, screen change information corresponding to the tablet personal computer to be controlled is determined according to the movement speed information, whether the screen of the tablet personal computer to be controlled needs to be rotated is judged according to the screen change information, the display information and the screen control instruction, when the screen needs to be rotated, the display information is converted through a rotation algorithm, and the converted information is displayed on the screen. According to the method and the device for controlling the screen of the tablet personal computer, whether the screen of the tablet personal computer to be controlled needs to be rotated is effectively judged according to the screen change information, the display information and the screen control instruction, when the screen needs to be rotated, the display information is converted through a rotation algorithm, the display information can be converted in time according to the user requirements, and user experience is improved.
Description
Technical Field
The present invention relates to the field of tablet computers, and in particular, to a method, an apparatus, a device, and a storage medium for controlling screen rotation of a tablet computer.
Background
At present, a tablet personal computer supports a screen automatic rotation function so as to meet the visual requirement of a user, most tablet personal computers acquire the current posture of the tablet personal computer through a built-in gravity sensor, and calculate the state of the tablet personal computer according to gravity acceleration data continuously reported by the sensor so as to change the screen orientation of the tablet personal computer. However, the gesture, the motion state and the use habit of the user all make the screen orientation of the user will not be the same as the screen orientation automatically provided by the mobile terminal; in addition, it is common that the user does not want to rotate the screen, but the user experience is greatly reduced due to the screen rotation caused by various reasons. Therefore, how to effectively rotate the screen of the tablet pc to improve the user experience becomes a problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a screen rotation control method, device and equipment of a tablet personal computer and a storage medium, and aims to solve the technical problem of how to effectively rotate the screen of the tablet personal computer so as to improve user experience.
In order to achieve the above object, the present invention provides a screen rotation control method for a tablet computer, the screen rotation control method for a tablet computer comprising the steps of:
acquiring movement speed information and display information of a tablet personal computer to be controlled in a preset time period;
determining screen change information corresponding to the tablet personal computer to be controlled according to the movement speed information;
judging whether the screen of the tablet computer to be controlled needs to rotate or not according to the screen change information, the display information and the screen control instruction;
and when the screen is required to rotate, converting the display information through a rotation algorithm, and displaying the converted information on the screen.
Optionally, determining a first judgment result according to the screen control instruction;
acquiring an audio signal at the current time, and acquiring keyword information in the audio signal;
determining a second judgment result according to the screen change information and the keyword information;
determining a display type corresponding to the display information, and determining a third judgment result according to the display type;
and when the first judgment result, the second judgment result and the third judgment result are judged to pass, judging that the screen of the tablet personal computer to be controlled needs to rotate.
Optionally, the step of acquiring the audio signal at the current time and acquiring the keyword information in the audio signal specifically includes:
acquiring an audio signal at the current time, and denoising the audio signal to obtain a target audio signal;
performing vector conversion on the target audio signal to obtain an audio feature vector;
obtaining a keyword feature vector corresponding to a preset keyword;
and determining the vector similarity between the audio feature vector and the keyword feature vector, and determining the keyword information in the target audio signal according to the vector similarity.
Optionally, the step of determining the second judgment result according to the screen change information and the keyword information specifically includes:
determining a change track of the tablet computer to be controlled according to the screen moving direction and the screen rotating direction in the screen change information;
determining distance change information between the tablet personal computer to be controlled and a user according to the change track;
and when the keyword information is matched with the change track and the distance change information meets the preset distance change condition, determining that the second judgment result is passing judgment.
Optionally, when the screen needs to be rotated, converting the display information through a rotation algorithm, and displaying the converted information on the screen, which specifically includes:
when the screen needs to rotate, determining a display mode of the screen according to the screen change information;
determining an information display template according to the display mode;
and converting the display information according to the information display template, and displaying the converted information on the screen.
Optionally, the step of converting the display information according to the information display template and displaying the converted information on the screen specifically includes:
determining an information type set corresponding to the display information;
priority ordering is carried out on each information type in the information type set based on the display mode, and ordered information types are obtained;
and converting the display information according to the information display template and the ordered information types, and displaying the converted information on the screen.
Optionally, the step of determining the screen change information corresponding to the tablet pc to be controlled according to the movement speed information specifically includes:
Acquiring acceleration information and angular velocity information in the motion velocity information;
selecting target acceleration information of each axial direction from the acceleration information, and determining a screen moving direction corresponding to the tablet computer to be controlled according to the target acceleration information;
determining a screen rotation direction corresponding to the tablet personal computer to be controlled according to the angular speed information;
and determining screen change information according to the screen moving direction and the screen rotating direction.
In addition, in order to achieve the above object, the present invention further provides a screen rotation control device of a tablet computer, the screen rotation control device of the tablet computer includes:
the information acquisition module is used for acquiring movement speed information and display information of the tablet personal computer to be controlled in a preset time period;
the information determining module is used for determining screen change information corresponding to the tablet computer to be controlled according to the movement speed information;
the rotation judging module is used for judging whether the screen of the tablet computer to be controlled needs to rotate or not according to the screen change information, the display information and the screen control instruction;
and the information conversion module is used for converting the display information through a rotation algorithm when the screen needs to be rotated, and displaying the converted information on the screen.
In addition, in order to achieve the above object, the present invention also provides a screen rotation control device of a tablet computer, the screen rotation control device of the tablet computer includes: the screen rotation control method comprises the steps of a memory, a processor and a screen rotation control program of a tablet computer, wherein the screen rotation control program of the tablet computer is stored on the memory and can run on the processor and is configured to realize the screen rotation control method of the tablet computer.
In addition, in order to achieve the above object, the present invention further provides a storage medium, on which a screen rotation control program of a tablet computer is stored, which when executed by a processor, implements the steps of the screen rotation control method of a tablet computer as described above.
According to the method, the movement speed information and the display information of the tablet personal computer to be controlled in a preset time period are obtained, screen change information corresponding to the tablet personal computer to be controlled is determined according to the movement speed information, whether the screen of the tablet personal computer to be controlled needs to be rotated is judged according to the screen change information, the display information and the screen control instruction, when the screen needs to be rotated, the display information is converted through a rotation algorithm, and the converted information is displayed on the screen. According to the method and the device for controlling the screen change of the tablet personal computer, the screen change information corresponding to the tablet personal computer to be controlled is determined according to the movement speed information, whether the tablet personal computer to be controlled moves and rotates can be determined, whether the screen of the tablet personal computer to be controlled needs to rotate is effectively judged according to the screen change information, the display information and the screen control instruction, when the screen needs to rotate, the display information is converted through a rotation algorithm, the display information can be converted in time according to the user requirement, the converted information is displayed on the screen, and user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a screen rotation control device of a tablet computer in a hardware running environment according to an embodiment of the present invention;
fig. 2 is a flowchart of a first embodiment of a screen rotation control method of a tablet computer according to the present invention;
fig. 3 is a flowchart of a second embodiment of a screen rotation control method of a tablet computer according to the present invention;
fig. 4 is a flowchart of a third embodiment of a screen rotation control method of a tablet computer according to the present invention;
fig. 5 is a block diagram of a first embodiment of a screen rotation control device of a tablet computer according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a screen rotation control device of a tablet computer in a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the screen rotation control device of the tablet computer may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the screen rotation control device of the tablet computer, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a screen rotation control program of a tablet computer may be included in the memory 1005 as one type of storage medium.
In the screen rotation control device of the tablet computer shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the screen rotation control device of the tablet computer can be arranged in the screen rotation control device of the tablet computer, and the screen rotation control device of the tablet computer invokes the screen rotation control program of the tablet computer stored in the memory 1005 through the processor 1001 and executes the screen rotation control method of the tablet computer provided by the embodiment of the invention.
Based on the screen rotation control device of the tablet computer, the embodiment of the invention provides a screen rotation control method of the tablet computer, and referring to fig. 2, fig. 2 is a flow chart of a first embodiment of the screen rotation control method of the tablet computer.
In this embodiment, the method for controlling screen rotation of the tablet pc includes the following steps:
step S10: and acquiring movement speed information and display information of the tablet personal computer to be controlled in a preset time period.
It should be noted that, the execution body of the present embodiment may be a processor inside the tablet computer, for example, a central processing unit (Central Processing Unit, CPU), a micro control unit (Microcontroller Unit, MCU), and the like.
It may be understood that the tablet computer to be controlled refers to a tablet computer that needs to determine whether to rotate a screen, and the preset time period refers to a preset time period for determining whether the user wants to rotate the tablet computer to be controlled, where the duration of the time period may be 10 seconds, 20 seconds, etc., and the preset time period may be from the first 20 seconds to the current time, or from the first 10 seconds to the last 10 seconds, etc., which is not limited in this embodiment.
It should be understood that the motion speed information refers to acceleration information and angular speed information of the tablet computer to be controlled in a preset time period, the acceleration information is related to a moving distance, the angular speed information is related to a rotating angle, the acceleration information can be obtained through a gravity sensor, the angular speed information can be obtained through a gyroscope, the gravity sensor and the gyroscope can be installed inside the tablet computer to be controlled, and the installation positions, models, numbers and the like of the gravity sensor and the gyroscope are not limited in particular.
In a specific implementation, the display information refers to display information of a screen of the tablet computer to be controlled within a preset period of time, preferably display information of a screen at the current moment, for example, video, pictures, tables, and the like.
Step S20: and determining screen change information corresponding to the tablet personal computer to be controlled according to the movement speed information.
It can be understood that the screen change information refers to movement conditions and rotation conditions of the tablet computer to be controlled, namely information such as movement distance and rotation angle, and the like, and can be specifically determined according to the movement speed information.
Further, in order to accurately determine the screen change information, in the present embodiment, the step S20 includes: acquiring acceleration information and angular velocity information in the motion velocity information; selecting target acceleration information of each axial direction from the acceleration information, and determining a screen moving direction corresponding to the tablet computer to be controlled according to the target acceleration information; determining a screen rotation direction corresponding to the tablet personal computer to be controlled according to the angular speed information; and determining screen change information according to the screen moving direction and the screen rotating direction.
It should be understood that the acceleration information may be obtained through a gravity sensor installed inside the tablet computer to be controlled, the acceleration information may include target acceleration information in each axial direction, that is, target acceleration information corresponding to X, Y, Z axes respectively, a screen moving direction corresponding to the tablet computer to be controlled may be obtained according to the target acceleration information in each axial direction, that is, a moving direction of the tablet computer to be controlled in a preset time period, specifically, total acceleration information may be calculated according to the target acceleration information corresponding to X, Y, Z axes respectively, and a direction of the total acceleration information may be obtained, that is, a screen moving direction.
It can be understood that the angular velocity information can be obtained through a gyroscope installed in the tablet computer to be controlled, and the screen rotation direction can be obtained according to the angular velocity information. The screen moving direction and the screen rotating direction may be used as screen change information.
Step S30: judging whether the screen of the tablet computer to be controlled needs to rotate or not according to the screen change information, the display information and the screen control instruction.
It should be understood that the screen control instruction refers to an instruction for controlling the screen rotation of the tablet computer to be controlled, specifically, whether the user opens the automatic rotation button on the tablet computer to be controlled is determined, if the user opens the automatic rotation button, the corresponding screen control instruction is a screen rotation instruction, and if the user does not open the automatic rotation button, the corresponding screen control instruction is a screen locking instruction.
It can be understood that when the screen control instruction is a screen rotation instruction, whether the screen of the tablet computer to be controlled needs to be rotated can be further determined according to the screen change information and the display information, specifically, whether the display information is information capable of rotating the screen can be determined first, for example, the display information is video, picture, etc., the screen rotation can be performed, the display information is music, and the user cannot perform the screen rotation while typing. When the display information is information capable of rotating a screen, whether the screen of the tablet computer to be controlled needs to be rotated or not can be further judged according to the screen change information, specifically, when the screen rotation direction meets a preset rotation condition, the screen can be rotated, the preset rotation condition can be rotated by 90 degrees, the screen can be rotated by 100 degrees and the like in the direction capable of rotating the screen, when the screen movement direction meets a preset movement condition, the screen can be rotated, the movement direction can be changed by 90 degrees, 100 degrees and the like, and the preset rotation condition and the preset movement condition are not particularly limited in this embodiment.
Step S40: and when the screen is required to rotate, converting the display information through a rotation algorithm, and displaying the converted information on the screen.
It should be understood that the rotation algorithm refers to an algorithm for rotating display information, for example, a conversion relationship between a pixel point in a horizontal screen and a pixel point in a vertical screen may be set, and then coordinates of each pixel point are changed according to the conversion relationship, so that each pixel point in the display information may be converted, and converted information is obtained and displayed on a screen on a tablet computer to be controlled.
According to the method, the device and the system, movement speed information and display information of the tablet personal computer to be controlled in a preset time period are obtained, screen change information corresponding to the tablet personal computer to be controlled is determined according to the movement speed information, whether a screen of the tablet personal computer to be controlled needs to be rotated is judged according to the screen change information, the display information and a screen control instruction, when the screen needs to be rotated, the display information is converted through a rotation algorithm, and the converted information is displayed on the screen. According to the method and the device for controlling the tablet personal computer, the screen change information corresponding to the tablet personal computer to be controlled is determined according to the movement speed information, whether the tablet personal computer to be controlled moves and rotates can be determined, whether the screen of the tablet personal computer to be controlled needs to rotate is effectively judged according to the screen change information, the display information and the screen control instruction, when the screen needs to rotate, the display information is converted through a rotation algorithm, the display information can be timely converted according to the user requirement, the converted information is displayed on the screen, and user experience is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a screen rotation control method of a tablet computer according to a second embodiment of the present invention.
Based on the first embodiment, in this embodiment, the step S30 includes:
step S301: and determining a first judgment result according to the screen control instruction.
It can be understood that, when the screen control instruction is a screen rotation instruction, the first judgment result may be a judgment pass; when the screen control instruction is a screen lock instruction, the first judgment result may be that the judgment is failed.
Step S302: and acquiring an audio signal at the current time, and acquiring keyword information in the audio signal.
It should be understood that, in this embodiment, whether the screen of the tablet computer to be controlled needs to be rotated may be further determined by combining the audio signal output by the user.
It is understood that the audio signal refers to an audio signal collected by the tablet computer to be controlled at the current time, and may include an audio signal sent by a user using the tablet computer to be controlled, and the keyword information refers to keywords in the audio signal, for example, keywords such as left and right keywords.
In a specific implementation, the manner of acquiring the keyword information in the audio signal may be to perform voice recognition on the audio signal through a voice recognition model to obtain text information corresponding to the audio signal, where the voice recognition model may be a deep-separation convolution recursive short-time memory network model (DFSMN), a hidden markov model, etc., then the keyword information is extracted from the text information, specifically, which keywords may be included may be preset, and then the keyword information identical to the preset keyword may be extracted from the text information.
Further, in order to obtain the keyword information effectively, in this embodiment, the step S302 includes: acquiring an audio signal at the current time, and denoising the audio signal to obtain a target audio signal; performing vector conversion on the target audio signal to obtain an audio feature vector; obtaining a keyword feature vector corresponding to a preset keyword; and determining the vector similarity between the audio feature vector and the keyword feature vector, and determining the keyword information in the target audio signal according to the vector similarity.
It can be understood that the denoising processing refers to removing noise in an audio signal, specifically, environmental noise in the audio signal can be removed first, a usage scenario of a tablet computer to be controlled, such as an indoor quiet environment, an indoor noisy environment, an outdoor quiet environment, an outdoor noisy environment, an environment with a large traffic flow, etc., can be obtained first, then all environmental noise types under the usage scenario, such as industrial noise, building noise, traffic noise, social life noise, etc., are determined, and then environmental noise corresponding to the environmental noise types is determined, so that the environmental noise in the audio signal can be removed. Then, the audio signal subjected to the environmental noise rejection can be further subjected to denoising processing through a denoising algorithm, wherein the denoising algorithm comprises wavelet transform denoising, adaptive filtering denoising, spectral subtraction denoising and the like, so that a target audio signal is obtained.
It should be understood that the target audio signal may be subjected to vector conversion to obtain an audio feature vector, and in particular, the target audio signal may be subjected to vector conversion by a preset speech feature extraction network, where the preset speech feature extraction network is a preset deep learning network for extracting feature vectors of speech, for example, a linear prediction coding network, a convolutional neural network, and the like, where the feature vectors can reflect speech information of speaking.
In a specific implementation, the keyword feature vector refers to a feature vector corresponding to a preset keyword, and the preset keyword may be a keyword related to screen rotation, for example, left, right, and the like. The vector similarity refers to the similarity between the audio feature vector and the keyword feature vector, and the formula for calculating the vector similarity can refer to the prior art, which is not repeated in this embodiment. Specifically, the audio feature vectors can be segmented, then the similarity between each segment of audio feature vectors and each keyword feature vector is calculated, when the similarity is larger than a preset threshold value, the fact that keywords exist in the segment of audio feature vectors is indicated, and since the keyword feature vectors corresponding to the keywords are known in advance, keywords corresponding to the keyword feature vectors which are similar to the segment of audio feature vectors can be used as keyword information.
Step S303: and determining a second judging result according to the screen change information and the keyword information.
It should be understood that the second determination result may include determining that the pass and the fail are determined according to the screen change information and the keyword information together, and specifically, whether the screen change information and the keyword information are matched or not may be determined, for example, the screen change information is that the screen rotation direction is left, and the keyword information is that the screen change information is right, and when the screen change information and the keyword information are not matched, the second determination result is that the fail is determined.
Further, in order to effectively obtain the second determination result, in this embodiment, the step S303 includes: determining a change track of the tablet computer to be controlled according to the screen moving direction and the screen rotating direction in the screen change information; determining distance change information between the tablet personal computer to be controlled and a user according to the change track; and when the keyword information is matched with the change track and the distance change information meets the preset distance change condition, determining that the second judgment result is passing judgment.
It can be understood that the change track refers to a movement track of the tablet computer to be controlled within a preset period of time, and specifically can be determined according to a screen movement direction and a screen rotation direction, for example, the screen movement direction is downward, the screen rotation direction is counterclockwise, and the change track is counterclockwise and downward.
It should be understood that the distance change information refers to a change condition of a distance between a user and a tablet computer to be controlled, and specifically can be determined according to a proximity sensor installed in the tablet computer to be controlled, wherein the proximity sensor can acquire the distance between the tablet computer to be controlled and other objects, and also includes the distance between the tablet computer to be controlled and the user, and the distance change information is obtained according to the change condition of the distance. According to the embodiment, the distance change information can be determined according to the change track, for example, the change track is anticlockwise forward, and the distance change information is gradually close when the user is in front of the tablet computer to be controlled.
In a specific implementation, it may be determined whether the keyword information matches the change track, for example, the change track moves counterclockwise and downward, and if the keyword information includes a left turn, it is indicated that the change track matches the keyword information. The preset distance change condition may be a preset condition, for example, a distance from the user gradually becomes smaller, or a distance from the user gradually becomes larger but does not exceed a preset value, or the distance from the user is unchanged, if the distance from the user is larger, the user does not necessarily see the screen clearly, the screen is not rotated, and when the distance change information satisfies the preset distance change condition and the keyword information is matched with the change track, the second judgment result is determined to be passing. If the keyword information is not acquired, determining that the second judgment result is passing when the distance change information meets the preset distance change condition. If the keyword information is acquired, determining that the second judgment result is not passed when the distance change information does not meet the preset distance change condition or the keyword information is not matched with the change track.
Step S304: and determining a display type corresponding to the display information, and determining a third judgment result according to the display type.
It may be appreciated that the display type may include a type of a picture, a video, music, etc., and the third determination result may be determined according to the display type, for example, when the display type is a picture or a video, the third determination result may be determined as a pass determination; when the display type is music, it may be determined that the third determination result is that the determination is not passed.
Step S305: and when the first judgment result, the second judgment result and the third judgment result are judged to pass, judging that the screen of the tablet personal computer to be controlled needs to rotate.
In a specific implementation, when the first judgment result, the second judgment result and the third judgment result are all judgment passing, the screen of the tablet personal computer to be controlled can be determined to be required to rotate, and if one judgment result is judgment not passing, the screen of the tablet personal computer to be controlled is determined not to be required to rotate.
According to the embodiment, a first judgment result is determined according to a screen control instruction, then an audio signal at the current moment is acquired, keyword information in the audio signal is acquired, then a second judgment result is determined according to screen change information and the keyword information, then a display type corresponding to display information is determined, a third judgment result is determined according to the display type, and when the first judgment result, the second judgment result and the third judgment result are judged to pass, the screen of the tablet computer to be controlled is judged to need to rotate. According to the method and the device, whether the screen of the tablet personal computer to be controlled needs to be rotated or not is judged together according to the first judging result, the second judging result and the third judging result, so that whether the screen of the tablet personal computer to be controlled needs to be rotated or not can be effectively judged.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of a screen rotation control method of a tablet computer according to the present invention.
Based on the above embodiments, in this embodiment, the step S40 includes:
step S401: when the screen needs to rotate, determining a display mode of the screen according to the screen change information;
it is understood that the display modes may include a landscape display mode and a portrait display mode, and may be specifically determined according to a screen rotation direction in the screen change information.
Step S402: determining an information display template according to the display mode;
it should be understood that, the horizontal screen display mode and the vertical screen display mode correspond to different information display templates, and the two information display templates can be preset, so that the specific template setting mode is not limited in this embodiment, and when the display scheme needs to be adjusted, the information display template can be adjusted.
Step S403: and converting the display information according to the information display template, and displaying the converted information on the screen.
It is understood that the information presentation template may convert the display information, for example, when the display information is a table, the display information may be different for the landscape display mode and the portrait display mode, for example, the display information may have different sizes of rows and columns, the number of rows and columns displayed may be different, and so on.
Further, in order to effectively obtain the converted information, in this embodiment, the step S403 includes: determining an information type set corresponding to the display information; priority ordering is carried out on each information type in the information type set based on the display mode, and ordered information types are obtained; and converting the display information according to the information display template and the ordered information types, and displaying the converted information on the screen.
It should be understood that the information type set refers to a set of information types corresponding to each display information, and for example, the information types include a lesson time, a lesson name, a lesson place, and the like.
It will be appreciated that the information types may be prioritized based on display mode, e.g., highest priority for the lesson time when the display mode is a portrait display mode; and when the display mode is a horizontal screen display mode, taking the section as the highest priority.
In a specific implementation, the display information can be converted according to the information display template and the ordered information types, the display information can be converted according to the information display template to obtain the information after primary conversion, the information after primary conversion is screened according to the ordered information types, namely, what kind of information is displayed preferentially, the converted information is obtained, and the information is displayed on a screen of the tablet computer to be controlled.
When the screen needs to rotate, the display mode of the screen is determined according to the screen change information, then the information display template is determined according to the display mode, the display information is converted according to the information display template, and the converted information is displayed on the screen. According to the method and the device, the display mode of the screen is determined according to the screen change information, then the information display template is determined according to the display mode, the display information is converted according to the information display template, the converted display information which can be effectively displayed can be obtained when the screen needs to be rotated, and user experience is improved.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of a screen rotation control device for a tablet computer according to the present invention.
As shown in fig. 5, a screen rotation control device for a tablet pc according to an embodiment of the present invention includes:
the information acquisition module 10 is used for acquiring movement speed information and display information of the tablet personal computer to be controlled in a preset time period;
the information determining module 20 is configured to determine screen change information corresponding to the tablet computer to be controlled according to the movement speed information;
the rotation judging module 30 is configured to judge whether the screen of the tablet computer to be controlled needs to be rotated according to the screen change information, the display information and the screen control instruction;
And the information conversion module 40 is used for converting the display information through a rotation algorithm when the screen needs to be rotated, and displaying the converted information on the screen.
According to the method, the device and the system, movement speed information and display information of the tablet personal computer to be controlled in a preset time period are obtained, screen change information corresponding to the tablet personal computer to be controlled is determined according to the movement speed information, whether a screen of the tablet personal computer to be controlled needs to be rotated is judged according to the screen change information, the display information and a screen control instruction, when the screen needs to be rotated, the display information is converted through a rotation algorithm, and the converted information is displayed on the screen. According to the method and the device for controlling the tablet personal computer, the screen change information corresponding to the tablet personal computer to be controlled is determined according to the movement speed information, whether the tablet personal computer to be controlled moves and rotates can be determined, whether the screen of the tablet personal computer to be controlled needs to rotate is effectively judged according to the screen change information, the display information and the screen control instruction, when the screen needs to rotate, the display information is converted through a rotation algorithm, the display information can be timely converted according to the user requirement, the converted information is displayed on the screen, and user experience is improved.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in the present embodiment may refer to the screen rotation control method of the tablet computer provided in any embodiment of the present invention, which is not described herein.
Based on the first embodiment of the screen rotation control device of the tablet computer, a second embodiment of the screen rotation control device of the tablet computer is provided.
In this embodiment, the rotation judging module 30 is further configured to determine a first judging result according to the screen control instruction; acquiring an audio signal at the current time, and acquiring keyword information in the audio signal; determining a second judgment result according to the screen change information and the keyword information; determining a display type corresponding to the display information, and determining a third judgment result according to the display type; and when the first judgment result, the second judgment result and the third judgment result are judged to pass, judging that the screen of the tablet personal computer to be controlled needs to rotate.
Further, the rotation judging module 30 is further configured to obtain an audio signal at a current time, and perform denoising processing on the audio signal to obtain a target audio signal; performing vector conversion on the target audio signal to obtain an audio feature vector; obtaining a keyword feature vector corresponding to a preset keyword; and determining the vector similarity between the audio feature vector and the keyword feature vector, and determining the keyword information in the target audio signal according to the vector similarity.
Further, the rotation judging module 30 is further configured to determine a change track of the tablet computer to be controlled according to a screen moving direction and a screen rotating direction in the screen change information; determining distance change information between the tablet personal computer to be controlled and a user according to the change track; and when the keyword information is matched with the change track and the distance change information meets the preset distance change condition, determining that the second judgment result is passing judgment.
Further, the information conversion module 40 is further configured to determine, when the screen needs to be rotated, a display mode of the screen according to the screen change information; determining an information display template according to the display mode; and converting the display information according to the information display template, and displaying the converted information on the screen.
Further, the information conversion module 40 is further configured to determine an information type set corresponding to the display information; priority ordering is carried out on each information type in the information type set based on the display mode, and ordered information types are obtained; and converting the display information according to the information display template and the ordered information types, and displaying the converted information on the screen.
Further, the information determining module 20 is further configured to obtain acceleration information and angular velocity information in the motion velocity information; selecting target acceleration information of each axial direction from the acceleration information, and determining a screen moving direction corresponding to the tablet computer to be controlled according to the target acceleration information; determining a screen rotation direction corresponding to the tablet personal computer to be controlled according to the angular speed information; and determining screen change information according to the screen moving direction and the screen rotating direction.
Other embodiments or specific implementation manners of the screen rotation control device of the tablet pc of the present invention may refer to the above method embodiments, and will not be described herein again.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a screen rotation control program of the tablet personal computer, and the screen rotation control program of the tablet personal computer realizes the steps of the screen rotation control method of the tablet personal computer when being executed by a processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of embodiments, it will be clear to a person skilled in the art that the above embodiment method may be implemented by means of software plus a necessary general hardware platform, but may of course also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read-only memory/random-access memory, magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (10)
1. The screen rotation control method of the tablet personal computer is characterized by comprising the following steps of:
acquiring movement speed information and display information of a tablet personal computer to be controlled in a preset time period;
determining screen change information corresponding to the tablet personal computer to be controlled according to the movement speed information;
judging whether the screen of the tablet computer to be controlled needs to rotate or not according to the screen change information, the display information and the screen control instruction;
and when the screen is required to rotate, converting the display information through a rotation algorithm, and displaying the converted information on the screen.
2. The method for controlling screen rotation of a tablet computer according to claim 1, wherein the step of determining whether the screen of the tablet computer to be controlled needs to be rotated according to the screen change information, the display information and the screen control instruction specifically comprises:
Determining a first judgment result according to the screen control instruction;
acquiring an audio signal at the current time, and acquiring keyword information in the audio signal;
determining a second judgment result according to the screen change information and the keyword information;
determining a display type corresponding to the display information, and determining a third judgment result according to the display type;
and when the first judgment result, the second judgment result and the third judgment result are judged to pass, judging that the screen of the tablet personal computer to be controlled needs to rotate.
3. The method for controlling screen rotation of a tablet pc according to claim 2, wherein the step of obtaining an audio signal at a current time and obtaining keyword information in the audio signal specifically includes:
acquiring an audio signal at the current time, and denoising the audio signal to obtain a target audio signal;
performing vector conversion on the target audio signal to obtain an audio feature vector;
obtaining a keyword feature vector corresponding to a preset keyword;
and determining the vector similarity between the audio feature vector and the keyword feature vector, and determining the keyword information in the target audio signal according to the vector similarity.
4. The method for controlling screen rotation of a tablet pc according to claim 2, wherein the step of determining the second determination result according to the screen change information and the keyword information specifically includes:
determining a change track of the tablet computer to be controlled according to the screen moving direction and the screen rotating direction in the screen change information;
determining distance change information between the tablet personal computer to be controlled and a user according to the change track;
and when the keyword information is matched with the change track and the distance change information meets the preset distance change condition, determining that the second judgment result is passing judgment.
5. The method for controlling screen rotation of a tablet pc according to claim 1, wherein the step of converting the display information by a rotation algorithm and displaying the converted information on the screen when the screen is required to be rotated comprises:
when the screen needs to rotate, determining a display mode of the screen according to the screen change information;
determining an information display template according to the display mode;
and converting the display information according to the information display template, and displaying the converted information on the screen.
6. The method for controlling screen rotation of a tablet computer according to claim 5, wherein the step of converting the display information according to the information presentation template and displaying the converted information on the screen comprises:
determining an information type set corresponding to the display information;
priority ordering is carried out on each information type in the information type set based on the display mode, and ordered information types are obtained;
and converting the display information according to the information display template and the ordered information types, and displaying the converted information on the screen.
7. The method for controlling screen rotation of a tablet pc according to any one of claims 1 to 6, wherein the step of determining screen change information corresponding to the tablet pc to be controlled according to the movement speed information specifically includes:
acquiring acceleration information and angular velocity information in the motion velocity information;
selecting target acceleration information of each axial direction from the acceleration information, and determining a screen moving direction corresponding to the tablet computer to be controlled according to the target acceleration information;
Determining a screen rotation direction corresponding to the tablet personal computer to be controlled according to the angular speed information;
and determining screen change information according to the screen moving direction and the screen rotating direction.
8. The utility model provides a screen rotation controlling means of panel computer which characterized in that, the screen rotation controlling means of panel computer includes:
the information acquisition module is used for acquiring movement speed information and display information of the tablet personal computer to be controlled in a preset time period;
the information determining module is used for determining screen change information corresponding to the tablet computer to be controlled according to the movement speed information;
the rotation judging module is used for judging whether the screen of the tablet computer to be controlled needs to rotate or not according to the screen change information, the display information and the screen control instruction;
and the information conversion module is used for converting the display information through a rotation algorithm when the screen needs to be rotated, and displaying the converted information on the screen.
9. A screen rotation control apparatus of a tablet computer, the apparatus comprising: a memory, a processor, and a screen rotation control program of a tablet computer stored on the memory and executable on the processor, the screen rotation control program of the tablet computer configured to implement the steps of the screen rotation control method of a tablet computer according to any one of claims 1 to 7.
10. A storage medium, wherein a screen rotation control program of a tablet computer is stored on the storage medium, and the screen rotation control program of the tablet computer, when executed by a processor, implements the steps of the screen rotation control method of a tablet computer according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311228420.0A CN116974382B (en) | 2023-09-22 | 2023-09-22 | Screen rotation control method, device and equipment of tablet personal computer and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311228420.0A CN116974382B (en) | 2023-09-22 | 2023-09-22 | Screen rotation control method, device and equipment of tablet personal computer and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116974382A true CN116974382A (en) | 2023-10-31 |
CN116974382B CN116974382B (en) | 2024-01-02 |
Family
ID=88479932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311228420.0A Active CN116974382B (en) | 2023-09-22 | 2023-09-22 | Screen rotation control method, device and equipment of tablet personal computer and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116974382B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103345352A (en) * | 2013-06-05 | 2013-10-09 | 上海斐讯数据通信技术有限公司 | Mobile terminal image rotating system and mobile terminal image rotating method |
CN103677589A (en) * | 2013-12-30 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal screen picture rotation control method and device |
WO2014183546A1 (en) * | 2013-05-17 | 2014-11-20 | 小米科技有限责任公司 | Method, device, and apparatus for controlling screen rotation |
US20140362117A1 (en) * | 2013-06-06 | 2014-12-11 | Microsoft Corporation | Display Rotation Management |
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
US9342143B1 (en) * | 2012-04-17 | 2016-05-17 | Imdb.Com, Inc. | Determining display orientations for portable devices |
CN107256135A (en) * | 2017-06-07 | 2017-10-17 | 黄之 | A kind of processing of displaying information on screen, display methods and system |
CN107765973A (en) * | 2017-11-16 | 2018-03-06 | 珠海市魅族科技有限公司 | Control method and device, computer installation and the storage medium in screen display direction |
WO2018045743A1 (en) * | 2016-09-06 | 2018-03-15 | 中兴通讯股份有限公司 | Method and apparatus for adjusting display direction of screen, storage medium, and device |
US20220253262A1 (en) * | 2021-02-11 | 2022-08-11 | Nokia Technologies Oy | Apparatus, a method and a computer program for rotating displayed visual information |
-
2023
- 2023-09-22 CN CN202311228420.0A patent/CN116974382B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9342143B1 (en) * | 2012-04-17 | 2016-05-17 | Imdb.Com, Inc. | Determining display orientations for portable devices |
WO2014183546A1 (en) * | 2013-05-17 | 2014-11-20 | 小米科技有限责任公司 | Method, device, and apparatus for controlling screen rotation |
CN103345352A (en) * | 2013-06-05 | 2013-10-09 | 上海斐讯数据通信技术有限公司 | Mobile terminal image rotating system and mobile terminal image rotating method |
US20140362117A1 (en) * | 2013-06-06 | 2014-12-11 | Microsoft Corporation | Display Rotation Management |
CN103677589A (en) * | 2013-12-30 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal screen picture rotation control method and device |
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
WO2018045743A1 (en) * | 2016-09-06 | 2018-03-15 | 中兴通讯股份有限公司 | Method and apparatus for adjusting display direction of screen, storage medium, and device |
CN107256135A (en) * | 2017-06-07 | 2017-10-17 | 黄之 | A kind of processing of displaying information on screen, display methods and system |
CN107765973A (en) * | 2017-11-16 | 2018-03-06 | 珠海市魅族科技有限公司 | Control method and device, computer installation and the storage medium in screen display direction |
US20220253262A1 (en) * | 2021-02-11 | 2022-08-11 | Nokia Technologies Oy | Apparatus, a method and a computer program for rotating displayed visual information |
Also Published As
Publication number | Publication date |
---|---|
CN116974382B (en) | 2024-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8228292B1 (en) | Flipping for motion-based input | |
US11315259B2 (en) | Efficient human pose tracking in videos | |
CN104808794B (en) | lip language input method and system | |
US9122353B2 (en) | Kind of multi-touch input device | |
US20100153890A1 (en) | Method, Apparatus and Computer Program Product for Providing a Predictive Model for Drawing Using Touch Screen Devices | |
US10049625B1 (en) | Context-based rendering | |
JP2015519675A (en) | Text recognition driven functionality | |
CN102103457B (en) | Briefing operating system and method | |
CN112543936B (en) | Motion structure self-attention-drawing convolution network model for motion recognition | |
JP2019012526A (en) | Image processing method, computer program, and recording medium | |
EP3340188A1 (en) | Information processing device, information processing method, and program | |
KR20190105403A (en) | An external device capable of being combined with an electronic device, and a display method thereof. | |
CN108564274B (en) | Guest room booking method and device and mobile terminal | |
CN110427849B (en) | Face pose determination method and device, storage medium and electronic equipment | |
US20190064938A1 (en) | User Interface for Digital Ink Modification | |
JPWO2016151956A1 (en) | Information processing system and information processing method | |
JPWO2018087971A1 (en) | MOBILE BODY CONTROL DEVICE AND MOBILE BODY CONTROL PROGRAM | |
CN107368181B (en) | Gesture recognition method and device | |
CN112020694A (en) | Method, system, and non-transitory computer-readable recording medium for supporting object control | |
WO2012173973A2 (en) | Method of inferring navigational intent in gestural input systems | |
EP3239976A1 (en) | Information processing device, information processing method, and program | |
WO2018139036A1 (en) | Information processing device, information processing method, and program | |
CN116974382B (en) | Screen rotation control method, device and equipment of tablet personal computer and storage medium | |
JP6914724B2 (en) | Information processing equipment, information processing methods and programs | |
CN106547339B (en) | Control method and device of computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |