CN111176464B - Processing method and processing device - Google Patents

Processing method and processing device Download PDF

Info

Publication number
CN111176464B
CN111176464B CN201911130143.3A CN201911130143A CN111176464B CN 111176464 B CN111176464 B CN 111176464B CN 201911130143 A CN201911130143 A CN 201911130143A CN 111176464 B CN111176464 B CN 111176464B
Authority
CN
China
Prior art keywords
state
electronic device
parameter
information
condition
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
CN201911130143.3A
Other languages
Chinese (zh)
Other versions
CN111176464A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911130143.3A priority Critical patent/CN111176464B/en
Publication of CN111176464A publication Critical patent/CN111176464A/en
Application granted granted Critical
Publication of CN111176464B publication Critical patent/CN111176464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/211Input arrangements for video game devices characterised by their sensors, purposes or types using inertial sensors, e.g. accelerometers or gyroscopes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a processing method, which comprises the following steps: obtaining first information, wherein the first information at least represents an attitude parameter of the electronic equipment; adjusting display content of the electronic equipment from a first state to a second state at least based on the first information when a first condition is met; wherein the first condition is related to at least a state parameter of an operating body of the electronic device; the display content includes a plurality of display objects, wherein at least one display object has a different display parameter in a first state than in a second state. The application also discloses a processing device. The method and the device solve the problem that misoperation processing of user data is easily caused when the mobile terminal executes task processing based on the parameter information sent by the single sensor in the related art.

Description

Processing method and processing device
Technical Field
The present application relates to the field of mobile terminals, and in particular, to a processing method and a processing apparatus.
Background
With the increasing types and the increasing sensitivity of sensors configured by the mobile terminal sensor, the mobile terminal can acquire parameter information acquired and uploaded by the sensor at any time in many occasions and execute task processing based on the parameter information. On the other hand, with the increasing strength of various functions of mobile terminals, mobile terminal users use mobile terminals to process information anytime and anywhere, when users are in a non-static state, parameter information acquired by various sensors changes rapidly with changes of user states, and at this time, when the mobile terminals execute task processing based on the parameter information sent by a single sensor, misoperation processing of user data is easily caused, and thus, processing results completely different from or even opposite to expectations of the users are generated.
Disclosure of Invention
The technical scheme of the application is realized as follows:
a method of processing, comprising:
obtaining first information, wherein the first information at least represents an attitude parameter of the electronic equipment;
adjusting display content of the electronic equipment from a first state to a second state at least based on the first information when a first condition is met;
wherein the first condition is related to at least a state parameter of an operating body of the electronic device; the display content includes a plurality of display objects, wherein at least one display object has a different display parameter in a first state than in a second state.
Optionally, the operating body is determined to be in a motion state based on the state parameter, and the posture change information of the electronic device is determined to meet a second condition based on the posture parameter, and it is determined that the first condition is met;
wherein the second condition represents that the posture change information is not matched with the motion state parameters of the operation body.
Optionally, it is determined that the operation body is in a non-motion state based on the state parameter, and it is determined that the posture change information of the electronic device meets a third condition based on the posture parameter, and it is determined that the first condition is met;
wherein the third condition is related to at least one of an attitude change amplitude, an attitude change rate, and an attitude change frequency.
Optionally, it is detected that a holding state parameter of the operation body acting on the electronic device satisfies a first holding condition, and it is determined that a rotation angle of the electronic device in a first plane satisfies a first angle threshold based on the posture parameter, and it is determined that the first condition is satisfied;
wherein the first plane faces a visible range of the operation body.
Optionally, it is detected that a wearing state parameter of the operation body acting on the electronic device satisfies a first wearing condition, and it is determined that a moving distance of the electronic device in a first direction satisfies a first distance threshold based on the posture parameter, and it is determined that the first condition is satisfied;
the first direction is a direction in which the operating body approaches or departs from the visual range in the moving process.
Optionally, when it is determined that the operation body is in a motion state based on the state parameter, determining, based on the posture change information of the electronic device determined by the posture parameter, a sensitivity of the electronic device for performing state adjustment; or the like, or, alternatively,
and determining the sensitivity of the electronic equipment for state adjustment based on the attitude change information of the electronic equipment determined by the attitude parameters and the current running application information of the electronic equipment.
Optionally, adjusting the display content of the electronic device from the first state to the second state includes:
adjusting at least one display object currently displayed by the electronic equipment from a first position to a second position; wherein the first position and the second position are in the same display area or different display areas.
Optionally, the at least one display object currently displayed by the electronic device is sorted based on the holding direction of the operation body to the electronic device and/or the posture parameter of the electronic device determined by the state parameter.
Optionally, in a case that it is determined that the operating body is in a non-moving state based on the state parameter, the method further includes:
editing the current display content of the electronic equipment based on the posture change information of the electronic equipment determined by the posture parameters.
In another aspect, the present application provides a processing apparatus, comprising: the information acquisition module is used for acquiring first information, and the first information at least represents an attitude parameter of the electronic equipment;
the adjusting module is used for adjusting the display content of the electronic equipment from a first state to a second state at least based on the first information when a first condition is met;
wherein the first condition is related to at least a state parameter of an operating body of the electronic device; the display content includes a plurality of display objects, wherein at least one display object has a different display parameter in a first state than in a second state.
In a third aspect, an electronic device is provided that includes a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is adapted to execute the computer program in the memory to implement the steps of the processing method as described above.
In a fourth aspect, the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the processing method as described above.
The processing method provided by the embodiment of the application includes the steps of firstly obtaining first information, and when a first condition is met, adjusting display content of the electronic equipment from a first state to a second state at least based on the first information, wherein the first condition is at least related to state parameters of an operation body of the electronic equipment, the display content comprises a plurality of display objects, and the display parameters of at least one display object in the first state are different from those in the second state.
According to the processing method provided by the embodiment of the application, in the process of adjusting the display content of the electronic equipment from the first state to the second state, the influence of the state parameter of the operation body of the electronic equipment is considered, so that when the electronic equipment adjusts the display content, not only the attitude parameter of the electronic equipment acquired and uploaded by the sensor is adopted, but also the influence of the state parameter of the operation body acquired and uploaded by the sensor on the attitude parameter of the sensor is fully considered, the misoperation processing of user data based on single sensor parameter information in the adjustment process of the electronic equipment is reduced, the problem that the processing result is different from the expected processing result of a user can be reduced, and the accuracy of state switching of the electronic equipment is improved.
Drawings
FIG. 1 is a flow chart of a first processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of a second processing method according to an embodiment of the present application;
FIG. 3 is a block diagram of a first processing apparatus according to an embodiment of the present application;
fig. 4 is a structural diagram of a second processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be appreciated that reference throughout this specification to "an embodiment of the present application" or "an embodiment described previously" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in the embodiments of the present application" or "in the embodiments" in various places throughout this specification are not necessarily all referring to the same embodiments. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the embodiments of the present application, 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 to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, for descriptions of steps (or concepts) that are the same as or correspond to those in other embodiments in this application, reference may be made to descriptions in other embodiments, and further description is omitted here.
The embodiment of the application provides a processing method, and relates to the field of mobile terminals. At present, with more and more application occasions and wider application range of the mobile terminal, users have more and more high requirements on the diversity and flexibility of functions, the durability of information processing capacity and the stability of performance of the mobile terminal. In order to meet the above requirements of users on the mobile terminal and to implement the function implementation of some applications closely related to environmental parameters, more and more sensors are configured in the mobile terminal, including a vibration sensor, a temperature sensor, a displacement sensor, an acceleration sensor, and the like, so as to achieve the timely acquisition of information such as vibration, temperature, displacement, and the like in the surrounding environment when the mobile terminal is used.
In the current mobile terminal sensor, the gyroscope is widely used. A gyroscope is an angular motion detection device using a moment-of-momentum sensitive housing of a high-speed rotating body about one or two axes orthogonal to the axis of rotation with respect to the inertial space. Of course, angular motion detection devices made using other principles may be referred to as gyroscopes, which may serve the same function. In fact, a gyroscope is a mechanical device, the main part of which is a rotor rotating at very high angular speed about a rotation axis, the rotor being housed in a frame; an inner ring frame is added on a central shaft of the rotor, so that the gyroscope can freely move around the two planar shafts; then, adding an outer ring frame outside the inner ring frame; the gyroscope has two gimbal rings that are free to move about three planar axes, thereby forming a complete gyroscope.
Gyroscopes were originally used for marine navigation, but with the development of scientific technology, they have also found widespread use in other fields. The gyro instrument can be used not only as an indicating instrument, but also as a sensitive element in an automatic control system, namely as a signal sensor. The gyroscope can provide accurate signals of azimuth, level, position, speed, acceleration and the like according to requirements. In addition, the gyroscope has small volume, light weight, low cost, high reliability and low power consumption, and therefore, the gyroscope has been widely applied to mobile terminals to acquire and transmit information such as azimuth, level, position, speed and acceleration.
In mobile terminal, the gyroscope can be used with the camera cooperation, for example anti-shake, the stability of maintaining the image when shooing prevents because the shake of hand is to the influence of the quality of shooing, when pressing the shutter, records the shake action of hand, feeds back the shake of hand to image processor, can let the cell-phone catch more clear stable picture.
In the mobile terminal, the gyroscope can also be used as a sensor for various games, such as a flying game, a sports game and even a shooting game with a certain first visual angle, and the gyroscope can completely monitor the displacement of the hands of a player, so that various game operation effects can be realized.
In the mobile terminal, the gyroscope can also be used as an input device, the gyroscope is equivalent to a three-dimensional mouse, the function is similar to that of a game sensor in the third big application, and the selection of menus and catalogues and the execution of operations are realized by tilting the mobile phone with small amplitude and deflecting the mobile phone.
In the mobile terminal, the gyroscope can also realize a navigation function, and when the mobile terminal is located near a tunnel or an urban high-rise building, which causes a weak Global Positioning System (GPS) signal or the mobile terminal cannot detect the GPS signal, the gyroscope can be used to measure the yaw or linear motion displacement of the current position of the mobile terminal at the current moment, so as to continue navigation.
Just because the gyroscope has the excellent characteristics and a wide application scene, the current mobile terminal considers determining specific task processing steps by acquiring parameter information acquired by the gyroscope in more and more function realization. However, when the mobile terminal is in a static state, the mobile terminal collects sensing signals of sensors such as a gyroscope and the like to execute task processing, and generally, no task processing deviation occurs.
Based on this, the embodiment of the application provides a processing method, which can achieve the purpose that when a user carries a mobile terminal in a motion state, data processing can be accurately executed. Referring to fig. 1, the method includes the steps of:
step 101, obtaining first information.
Wherein the first information characterizes at least a pose parameter of the electronic device.
In step 101, the operation of obtaining the first information may be implemented by a processor of the electronic device cooperating with a sensor of the electronic device.
In the embodiment of the present application, the electronic device may be an intelligent mobile terminal, such as a smart phone, a tablet computer (Pad), a small portable computer (Laptop), and the like.
In step 101, the attitude parameter of the electronic device may be parameter information collected by a sensor configured in the electronic device itself and uploaded to a microprocessor of the mobile device.
In one embodiment, the attitude parameter of the electronic device may be an attitude parameter of the electronic device in a static state, such as the electronic device being placed on a table, a sofa, or the like.
In one embodiment, the posture parameter of the electronic device may be a posture parameter of the electronic device in a non-stationary state, such as walking or running of a user carrying the electronic device, and the posture parameter of the electronic device may also change along with a motion state of the user carrying the electronic device.
In one embodiment, the attitude parameter of the electronic device may be parameter information uploaded by a gyroscope, and the parameter information may include data such as whether the electronic device is currently moving, a moving direction, a moving speed, a moving acceleration and the like; the parameter information may also include parameter information such as a current angular velocity direction, an angular velocity magnitude, an acceleration of the angular velocity in a certain direction, and the like of the electronic device; the parameter information may also include parameter information such as whether the electronic device is currently moving, a moving direction, a moving speed, a moving acceleration, and the like, and parameter information such as a current angular velocity direction, an angular velocity magnitude in a certain direction or directions, and an angular velocity acceleration in a certain direction or directions of the electronic device.
In one embodiment, the attitude parameters of the electronic device may further include parameter information collected by a GPS sensor, the parameter information representing parameters of the electronic device position information.
In one embodiment, the attitude parameters of the electronic device may also be a set of parameter information collected by a gyroscope and parameter information collected by a GPS sensor.
In an embodiment of the present application, the attitude parameters of the electronic device may be acquired by the first sensor device and uploaded to a processor of the electronic device.
In one embodiment, a sensor of the electronic device acquires state parameters of the electronic device and sends the state parameters to a processor of the electronic device, and the processor of the electronic device performs analysis and calculation on the state parameters to obtain first information at least representing attitude parameters of the electronic device. The state parameter of the electronic device may be used to indicate current displacement information, vibration information, temperature information, angle information, position information, and the like of the electronic device.
In an implementation manner, a sensor of the electronic device may also acquire device state parameters, and send the acquired state parameters to a processor of the electronic device after simple calculation, and the processor of the electronic device determines the calculated state parameters to obtain first information representing at least attitude parameters of the electronic device.
Step 102, when a first condition is met, adjusting the display content of the electronic equipment from a first state to a second state at least based on first information.
Wherein the first condition is at least related to a state parameter of an operation body of the electronic equipment; the display content includes a plurality of display objects, wherein at least one display object has a different display parameter in the first state than in the second state.
In step 102, adjusting the first state of the display content of the electronic device to the second state may be implemented by a processor of the electronic device.
The electronic equipment judges a first condition related to the state parameter of the current operation body, if the first condition is met, the display content of the electronic equipment is adjusted, and the operation of adjusting the display content of the electronic equipment from the first state to the second state is executed.
The electronic equipment judges a first condition related to the state parameter of the current operation body, and if the first condition is not met, the display content of the electronic equipment is not adjusted.
In step 102, the display content of the electronic device may represent data information currently displayed by the electronic device, and the data information may be a file list displayed based on a certain application program, and the file list may include a plurality of files, such as a song being played by a music player, and a picture set displayed by a file manager; the contact person in the WeChat, or the session information in the WeChat, such as a call record display interface of the electronic device.
Accordingly, the plurality of display objects displaying the content may be a plurality of files in a file list, such as a song list, a picture set, a contact information entry, a plurality of session information, and the like.
In one embodiment, the display content of the electronic device may also be a display interface in a current standby state of the electronic device.
Accordingly, the plurality of display objects of the display content may be icons of a plurality of applications displayed on the display interface in the current standby state of the electronic device.
In step 102, the first state and the second state of the electronic device may represent different display states when the electronic device currently displays data, for example, when the electronic device displays a call record, the first state may be that the screen is in a lit state, and the second state may be that the screen is in an unlit state. Accordingly, the display parameter in the first state and the display parameter in the second state are screen luminance, but the values of the screen luminance are different.
Then, the adjusting of the display content of the electronic device from the first state to the second state may be adjusting a call record displayed by the electronic device from a screen-on state to a screen-locked state, or adjusting a value screen to be darkened.
In one embodiment, the first state and the second state of the electronic device may also represent different processing states when the electronic device displays current data, such as in a playing interface of a music player, the first state may be a playing state, and the second state may be a playing pause state. Accordingly, the display parameter in the first state and the display parameter in the second state are the processing states of the data, the display parameter in the first state is the playing state, and the display parameter in the second state is the pause playing state.
Then, the adjusting the display content of the electronic device from the first state to the second state may be adjusting a music player interface displayed by the electronic device from a playing state to a pause playing state, or adjusting to a state different from the playing state.
In one embodiment, the first state and the second state of the electronic device may also represent different display manners of any display interface of the electronic device, for example, the first state may represent that the current display interface of the electronic device is a warm tone, and the second state may represent that the current display interface of the electronic device is a cool tone; for another example, the first state may indicate that the display interface of the current electronic device is a first color, and the second state may indicate that the display interface of the current electronic device is a second color, where the first color and the second color are different colors. Accordingly, the display parameter in the first state and the display parameter in the second state are display colors, and the display parameter in the first state and the display parameter in the second state represent different display colors.
Then, adjusting the display content of the electronic device from the first state to the second state may be adjusting the display content of the electronic device from the first color tone to the second color tone; or adjusting the display content of the electronic equipment from the first color to the second color.
In one embodiment, the first state and the second state of the electronic device may also indicate different standby modes of the electronic device, for example, the first state may indicate that the standby mode of the electronic device is a low power consumption mode, and the second state may indicate that the standby mode of the electronic device is a non-low power consumption mode. Accordingly, the display parameter in the first state and the display parameter in the second state are in the standby mode, and the display parameter in the first state is in the low power consumption mode, and the display parameter in the second state is in the non-low power consumption mode, and the display parameters in the two modes are different.
Then, the adjusting the display content of the electronic device from the first state to the second state may be adjusting the standby mode of the electronic device from a low power consumption mode to a non-low power consumption mode or adjusting the non-low power consumption mode to the low power consumption mode on an interface of the electronic device displaying a plurality of application icons.
In one embodiment, the first state and the second state of the electronic device may also be different alert modes of the electronic device, for example, the first state may indicate that the alert mode of the current electronic device is a silent mode, and the second state may indicate that the alert mode of the current electronic device is a vibration mode or a ring mode, etc. Correspondingly, the display parameters in the first state and the display parameters in the second state are a reminding mode, the display parameters in the first state are a mute mode, and the mode is different from the display parameters in the second state, namely a vibration mode or a ring mode.
In one embodiment, the first state and the second state of the electronic device may also be different scene modes of the electronic device, for example, the first state may indicate that the current scene mode of the electronic device is an office mode, and the second state may indicate that the current scene mode of the electronic device is a home mode, etc. Accordingly, the display parameter in the first state and the display parameter in the second state are scene modes, and the display parameter in the first state is an office mode, which is different from the home mode, which is the display parameter in the second state.
Then, the display content of the electronic device is adjusted from the first state to the second state, and the electronic device may be adjusted from the office mode to the home mode on the display content interface of the electronic device.
In the embodiment of the present application, the second state is a state different from the first state, and the display parameters in the second state and the first state are not necessarily completely opposite.
In step 102, the operation body may refer to a user carrying the electronic device or an extremity of the user, such as a palm, and may also refer to other devices of the device body carrying the electronic device, for example, the electronic device is placed in a traveling car, and then the car itself is the operation body, which is not limited in this embodiment of the present application.
In one embodiment, the state parameter of the operation body may be used to indicate whether the operation body is currently in a motion state, such as whether the operation body is currently in a stationary state or a non-stationary state.
In one embodiment, the state parameter of the operation body may be used to indicate a current motion state of the operation body, such as a static state, a slow motion state, or a fast motion state of the operation body; the slow motion state can be the operation of walking, slowly waving hands and the like, and the fast motion state can be the state of running and the like.
In the embodiment of the application, the state parameter of the operation body may be further used to indicate a holding state of the operation body acting on the electronic device, and may be further used to indicate a wearing state of the operation body acting on the electronic device.
In one embodiment, the state parameter of the operation body may be acquired by a sensor device of the electronic device, sent to a processor of the electronic device, and calculated by the processor of the electronic device.
In one embodiment, the state parameter of the operation body may be acquired by a second sensor device of the electronic device and transmitted to a processor of the electronic device. Wherein the second sensor device is a different sensor device than the first sensor device, for example, the first sensor device is a displacement sensor, and the second sensor device is a gyroscope sensor; alternatively, the first sensor device is a first gyro sensor and the second sensor device is a second gyro sensor.
In step 102, the electronic device obtains the first information through the parameter information collected by the sensor, and adjusts the display content of the electronic device from the first state to the second state based on the first information under the condition that the first condition related to the state parameter of the operating body of the electronic device is met, that is, in the process of adjusting the display content of the electronic device, not only the attitude parameter of the electronic device collected by the first sensor device is used, but also the state parameter of the operating body collected by the second sensor device is fully considered, so that when the operating body is in a motion state and the parameter information collected by the sensor changes, the risk that the electronic device misoperates the data information based on the attitude parameter of the electronic device is reduced, and the accuracy of state switching of the electronic device is improved.
In step 102, the first condition is a condition related to a state parameter of an operation body of the electronic device. In the following, different first conditions for different application scenarios will be enumerated and explained in detail.
In one embodiment, the first condition may be determined by:
determining that the operation body is in a motion state based on the state parameters, and determining that the posture change information of the electronic equipment meets a second condition based on the posture parameters, and determining that the first condition is met; and the second condition represents that the posture change information is not matched with the motion state parameters of the operation body.
In the above determination that the first condition is satisfied, the determination that the operating body is in the motion state based on the state parameter may be implemented by cooperation of a processor of the electronic device and a sensor apparatus of the electronic device, and specifically, may be implemented by cooperation of the processor of the electronic device and a second sensor apparatus of the electronic device.
Optionally, determining that the operation body is in a motion state based on the state parameter, and determining that the posture change information of the electronic device does not meet the second condition based on the posture parameter, determining that the first condition is not met; at this time, the electronic apparatus does not perform the state adjustment.
In one embodiment, when the second sensor device of the electronic device detects that the operating body is in a moving state, the second sensor device collects parameter information that the operating body is in the moving state and sends the parameter information to the processor of the electronic device, and the processor of the electronic device obtains the state parameter of the operating body according to the parameter information and determines that the operating body is in the moving state at present based on the state parameter.
In one embodiment, the second sensor device of the electronic device detects that the operating body is in a moving state, and may send identification information indicating that the operating body is in the moving state to the processor of the electronic device, and the processor of the electronic device determines that the operating body of the electronic device is currently in the moving state according to the identification information.
In one embodiment, the second sensor device of the electronic device continuously detects the motion state of the operation body for multiple times in a preset period, and if the detection result of the multiple times identifies that the operation body is currently in the motion state, the identification information that the operation body is in the motion state is sent to the processor of the electronic device, or the current parameter information of the operation body is collected and subjected to smooth calculation, and then the information is sent to the processor of the electronic device.
In the process of determining that the first condition is met, the posture change information is used for representing change information which is acquired based on the first information and used for representing the posture parameter of the electronic equipment. The posture change information may be acquired at a certain time interval within a certain time period, and the time period may be equal to or greater than twice the time interval, for example, the posture change information may be acquired by sampling the first information at a time interval of 3 seconds within a time of 10 seconds based on the first information, or the posture change information may be acquired by continuously sampling the first information at a time interval of 2 seconds within a time of 1 minute based on the first information.
In one embodiment, the posture change information may be obtained by acquiring the first sensor device of the electronic device at a fixed time interval within a certain time period, sending the acquired information to a processor of the electronic device, and calculating the acquired information by the processor.
In an embodiment, the posture change information may be obtained by continuously acquiring parameter information by a first sensor device of the electronic device within a certain time period, sending the parameter information to a processor of the electronic device, and sampling the parameter information by the processor of the electronic device based on a certain sampling frequency.
In an embodiment, the posture change information may be angular velocity values or velocity values of various directions acquired by the first sensor device of the electronic device at a fixed time interval within a certain time period, such as a plurality of first angular velocity values, second angular velocity values, and third angular velocity values of a first angular direction, a second angular direction, and a third angular direction uploaded by a gyroscope, or a plurality of first velocity values, second velocity values, and third velocity values of a first direction, a second direction, and a third direction.
In an embodiment, the posture change information may also be a plurality of angular velocity values of one direction or two directions acquired by the first sensor device of the electronic device at a fixed time interval within a certain time period.
In one embodiment, the posture change information may also be processor parameter information that is obtained by a first sensor device of the electronic device, such as an accelerometer, at a fixed time interval within a certain period of time and sent to the electronic device. Wherein, the parameter information can be acceleration values of three directions acquired by the accelerometer. In one embodiment, the parameter information may also be acceleration values of one or two directions acquired by the accelerometer.
In the above process of determining that the first condition is satisfied, the second condition indicates that the posture change information does not match with the motion parameter of the operation body, and is used for indicating that the first sensor device of the electronic equipment detects that the state of the electronic equipment is changed, but the change is different from the current motion state of the operation body. That is, the posture change information finally obtained by the processor of the electronic device is used for representing the state change of the electronic device. In other words, the second condition is used to indicate that the processor of the electronic device obtains the attitude change information according to the parameter information acquired by the first sensor device, and is used to indicate the state change of the electronic device, and the electronic equipment processor obtains the state parameter of the operation body according to the parameter information acquired by the second sensor device, the two parameters are mutually independent and are used for representing the motion state of the operation body, the posture change information and the state parameter and respectively reflecting the state of the electronic equipment, and a state in which the operation body acts on the electronic device, and the second sensor device is preferably provided outside the electronic device, for example, on a second electronic device in association with the electronic device, the state parameters of the operation body can be obtained more accurately, and therefore the accuracy of state switching of the electronic equipment is improved.
In one embodiment, the first sensor device of the electronic device is different from the second sensor device, the first sensor device is used for detecting the posture information of the electronic device, and the second sensor device is used for detecting the state parameter of the operating body.
In one embodiment, when an operating body of the electronic device is in a motion state, a first sensor device and a second sensor device of the electronic device respectively acquire and upload respective parameter information to a processor of the electronic device, and the processor of the electronic device respectively receives the two kinds of parameter information and performs calculation to offset a parameter information portion affected by the motion state of the operating body in the parameter information uploaded by the first sensor device.
In the process of determining that the first condition is met, the influence of the motion state of the operation body on the parameter information acquired by the electronic equipment sensor is fully considered, so that the factor of the motion state of the operation body can be reduced, and in the process of adjusting the display content of the electronic equipment from the first state to the second state, the data are mistakenly operated by the electronic equipment due to the motion state of the operation body, so that the user experience is improved, and the operation of the electronic equipment is more convenient and more accurate.
In one embodiment, the first condition may be determined by:
determining that the operation body is in a non-motion state based on the state parameters, determining that the posture change information of the electronic equipment meets a third condition based on the posture parameters, and determining that the first condition is met; wherein the third condition is related to at least one of an attitude change amplitude, an attitude change rate, and an attitude change frequency.
The above process of determining that the first condition is fulfilled, determining that the operation body is in a non-moving state based on the state parameter, may be carried out by a processor of the electronic device in cooperation with a second sensor arrangement of the electronic device.
Optionally, it is determined that the operation body is in a non-motion state based on the state parameter, and it is determined that the posture change information of the electronic device does not meet the third condition based on the posture parameter, it is determined that the first condition is not met, and at this time, the electronic device does not perform the state adjustment.
In an embodiment, the processor of the electronic device detects whether the parameter information uploaded by the second sensor device is acquired within a certain time period, for example, within 1 minute or within an effective time of the timer, and if the parameter information uploaded by the second sensor device is not received, the processor may determine that the operating body of the electronic device is currently in a non-moving state.
In one embodiment, if the second sensor device of the electronic device does not detect the motion state information of the operation body within a certain period of time, for example, within 1 minute, the second sensor device may upload the identification information that the operation body is currently in the non-motion state to the processor, and the processor of the electronic device determines that the operation body is currently in the non-motion state according to the identification information.
In one embodiment, within a certain period of time, for example, 1 minute, or within the effective time of the timer, although it may be detected that the operating body has changed in a certain direction, certain directions, or a certain angle, certain angles, but the change magnitude does not exceed the corresponding motion state threshold value within the certain period of time, it is determined that the operating body is currently in a non-motion state, and the identification information that the operating body is in the non-motion state is sent to the processor, or no information is sent to the processor.
In the process of determining that the first condition is satisfied, determining the posture change information of the electronic device based on the posture parameter may be implemented by cooperation of a processor of the electronic device and a first sensor device of the electronic device, that is, the posture change information is obtained by the processor of the electronic device based on first information, which is acquired and reported by the first sensor device and at least represents the posture parameter, of the electronic device itself and is used for representing the change information of the posture parameter of the electronic device itself.
In one embodiment, after obtaining the attitude parameters, the processor of the electronic device performs a certain frequency sampling on the attitude parameters received multiple times to obtain attitude change information.
In one embodiment, after obtaining the attitude parameters, the processor of the electronic device compares the attitude parameters obtained each time within a specified time interval, and discretizes the attitude change parameters to obtain the attitude change information if the variation amplitude of the attitude parameters exceeds a specified threshold.
In one embodiment, the processor of the electronic device may obtain one or more attitude change parameters based on one or more components of the attitude parameters. For example, if the posture parameter includes displacements in three directions, displacement changes in one or two directions, i.e., velocities in one or more directions, are obtained according to the displacement in one or two directions; or the attitude parameter includes angles in three directions, and attitude change information including an angular velocity change value in one or two directions is obtained according to the angle in one or two directions.
In one embodiment, the processor of the electronic device may obtain all the pose change parameters based on all the components in the pose change parameters, correspondingly. For example, the attitude parameters include displacements in three directions, and displacement changes in the three directions, that is, velocities in the three directions, are obtained according to the displacements in the three directions; or the attitude parameters include angles in three directions, and attitude change information including angular velocity change values in the three directions is obtained according to the angles in the three directions.
In the above determining that the first condition is satisfied, determining that the posture change information of the electronic device satisfies the third condition based on the posture parameter may be implemented by a processor of the electronic device.
In one embodiment, the third condition is related to at least one of a magnitude of the change in the attitude, a rate of the change in the attitude, and a frequency of the change in the attitude, and may be set during a manufacturing process of the electronic device.
In one embodiment, the third condition is related to at least one of the attitude change amplitude, the attitude change rate and the attitude change frequency, and can be set by the user according to the use habit of the user.
In one embodiment, the third condition is related to at least one of a gesture change amplitude, a gesture change rate, and a gesture change frequency, and can be set by the user according to different usage scenarios.
In one embodiment, the third condition may indicate that the attitude change information includes attitude change component information, and should be not less than at least one of an attitude change amplitude, an attitude change rate, and an attitude change frequency preset in the third condition.
In one embodiment, the type and number of the posture change component information included in the posture change information may be consistent with the type and number of the posture change component threshold used when the determination is performed in the third condition, for example, at least one of the posture change amplitude, the posture change rate and the posture change frequency is included in the posture change information, and correspondingly, at least one of the posture change amplitude threshold, the posture change rate threshold and the posture change frequency threshold should be included in the third condition.
Correspondingly, the components corresponding to the third condition in the posture change information are compared, and if the corresponding components in the posture change information are not smaller than the corresponding component threshold in the third condition, the first condition is considered to be met. For example, if the posture change information includes a posture change amplitude and a posture change rate, the posture change amplitude and the posture change rate are respectively compared with a preset posture change amplitude threshold and a preset posture change rate threshold in the third condition, and if any one posture change information component exceeds a corresponding component threshold in the third condition, the first condition is considered to be satisfied, or if any combination of more than one posture change information component exceeds a corresponding component threshold in the third condition, the first condition is considered to be satisfied.
The process of determining that the first condition is met is performed based on the condition that the operation body is in the non-motion state, and in the process, the influence of the posture change information of the electronic equipment on the first condition is fully considered, so that various motion state information of the electronic equipment can be determined more accurately, and the next operation of current data processing of the electronic equipment can be determined quickly and accurately.
In one embodiment, the first condition may be determined by:
detecting that holding state parameters of an operation body acting on the electronic equipment meet a first holding condition, determining that a rotation angle of the electronic equipment in a first plane meets a first angle threshold value based on the posture parameters, and determining that the first condition is met; wherein the first plane faces a visible range of the operation body.
The above-mentioned process of determining that the first condition is fulfilled is carried out by a processor of the electronic device in cooperation with a first sensor arrangement and a second sensor arrangement of the electronic device.
Accordingly, it is detected that the holding state parameter of the operation body acting on the electronic device does not satisfy the first holding condition, or it is determined that the rotation angle of the electronic device in the first plane does not satisfy the first angle threshold based on the posture parameter, and it is determined that the first condition is not satisfied, and at this time, the electronic device does not perform the state adjustment.
In one embodiment, the holding state parameter acted on the electronic device by the operating body may be realized by a processor of the electronic device and a second sensor device in cooperation. The second sensor device may also have a function of detecting whether or not the operation body holds the electronic apparatus. When the second sensor device detects the holding operation of the operation body in one or more areas of the electronic equipment and detects that the holding force corresponding to the holding operation is larger than the gravity of the electronic equipment, the second sensor device sends the detected identification information of the holding operation of the operation body to the processor of the electronic equipment.
In one embodiment, when the second sensor device of the electronic device detects a holding operation of the operating body in one or several areas of the electronic device, and a holding force corresponding to the holding operation is greater than the gravity of the electronic device, the holding operation and the holding force are sent to a processor of the electronic device, and the processor of the electronic device judges that the operating body is currently in a state of holding the electronic device based on the parameter information.
In one embodiment, the processor of the electronic device needs to determine that the second sensor device detects and uploads the holding operation to the processor at least twice within a certain time period, and when the corresponding holding forces are all greater than or equal to the gravity of the electronic device, it is determined that the holding state parameter of the operating body acting on the electronic device satisfies the first holding condition.
In an embodiment, the first holding condition may be set during the production of the electronic device, and the first holding condition may also be set by the user himself, and the user may set the first holding condition according to the use habit of the user himself, or according to different application scenarios.
In the above process of determining that the first condition is satisfied, the first plane is a plane facing the visible range of the operation body, and specifically, the first plane may be a display interface facing the operation body, so that it is ensured that the process of adjusting the display content of the electronic device from the first state to the second state when the first condition is satisfied is visible to the operation body.
Determining the angle of rotation of the electronic device in the first plane based on the attitude parameter may be performed by a processor of the electronic device in cooperation with the first sensor arrangement.
In one embodiment, when the electronic device rotates in the first plane, the first sensor device detects the rotation operation of the electronic device and sends rotation parameter information to a processor of the electronic device in real time, and the processor obtains attitude information according to the rotation parameter information and obtains a rotation angle based on the attitude information.
In one embodiment, the processor may obtain angle information of the electronic device included in the posture information obtained twice in succession, and perform a difference on the angle information obtained twice, thereby obtaining a rotation angle of the electronic device.
In an embodiment, the first angle threshold may be set when the electronic device is produced, and may also be set by the user himself or herself, and the user may set the first angle threshold according to the use habit of the user himself or according to different application scenarios.
When the electronic equipment rotates in the first plane, the rotation angle obtained by the processor exceeds a first angle threshold value, and then the current rotation angle of the electronic equipment is considered to meet a first condition.
In the present embodiment, it is determined that the first condition is satisfied when it is detected that the holding state parameter of the operation body acting on the electronic apparatus satisfies the first holding condition, and it is determined that the rotation angle of the electronic apparatus in the first plane satisfies the first angle threshold value based on the posture parameter. Therefore, when the first condition is determined, parameter information acquired and uploaded by the first sensor device and the second sensor device in the electronic equipment is fully utilized, so that the aim of executing operation only depending on the acquired information of a certain sensor device is fulfilled, in the process, the effect that the rotation angle of the electronic equipment in the first plane meets the first angle threshold is strengthened, and therefore misoperation caused by the fact that a small rotation angle, namely an adjustment state, is detected can be avoided.
In one embodiment, the first condition may be determined by:
detecting that wearing state parameters of an operation body acting on the electronic equipment meet first wearing conditions, determining that the moving distance of the electronic equipment in a first direction meets a first distance threshold value based on the posture parameters, and determining that the first conditions are met; the first direction is a direction in which the operation body approaches or departs from the visual range in the moving process.
The above-mentioned process of determining that the first condition is satisfied may be implemented by a processor of the electronic device in cooperation with the first sensor device and the second sensor device.
Accordingly, it is detected that the wearing state parameter of the operation body acting on the electronic device does not satisfy the first wearing condition, or it is determined that the moving distance of the electronic device in the first direction does not satisfy the first distance threshold value based on the posture parameter, and it is determined that the first condition is not satisfied.
In one embodiment, the detecting of the operation body function and the wearing state of the electronic device may be realized by a processor of the electronic device and a first sensor device in cooperation. When the first sensor device detects that the operation body performs the preset operation at the preset position of the electronic device, it can be determined that the state of the operation body acting on the electronic device is the wearing state. The process of sending the information parameter to the processor by the first sensor device has already been described in the foregoing embodiments, and is not described herein again.
In one embodiment, the electronic device processor needs to determine that the wearing state of the operation body acting on the electronic device satisfies the first wearing condition for several times continuously within a preset time period, and then performs the subsequent determination.
In an implementation manner, the first wearing condition and the first distance threshold may be set when the electronic device is produced, and may also be set by the user himself or herself, and the user may set according to the use habit of the user himself or according to different application scenarios.
In one embodiment, the processor obtains the attitude parameters including the moving distance of the electronic device in the first direction, and the attitude parameters are determined based on the parameter information in the first direction collected by the first sensor device and sent to the processor.
In one embodiment, the first direction may be a direction in which the operation body wears the electronic device, and the operation body approaches or departs from the visible range during movement when the wearing state satisfies the first wearing condition.
In one embodiment, the first direction may be a direction in which the operating body controls the body part of the electronic device to approach or depart from the visible range when the operating body wears the electronic device and the wearing state satisfies the first wearing condition, for example, when the operating body wears the electronic device on a wrist, then a direction in which the wrist is lifted up or down is the first direction.
In this embodiment, when it is detected that the wearing state parameter of the operation body acting on the electronic device satisfies the first wearing condition, it is further determined that the moving distance of the electronic device in the first direction satisfies the first distance threshold based on the posture parameter, and it is determined that the first condition is satisfied. In this way, in the process of determining that the first condition is satisfied, when the wearing state of the operation body acting on the electronic device is fully considered, the moving distance of the operation body in the first direction also needs to be considered, so that when the electronic device is worn by the operation body, the electronic device can be prevented from mishandling the current data due to small-scale operation of the operation body.
In one embodiment, after determining that the first condition is satisfied, a sensitivity of the electronic device state adjustment may also be set. The specific setting mode is as follows:
determining the sensitivity of the electronic equipment for state adjustment based on the attitude change information of the electronic equipment determined by the attitude parameters under the condition that the operating body is determined to be in the motion state based on the state parameters; or determining the sensitivity of the electronic equipment for state adjustment based on the attitude change information of the electronic equipment determined by the attitude parameters and the current running application information of the electronic equipment.
The above operation of determining the sensitivity of the electronic device to perform the state adjustment is implemented by a processor of the electronic device.
The sensitivity of the state adjustment of the electronic equipment can be used for indicating different response speeds of the electronic equipment in the state adjustment under different conditions; or, under different conditions, the electronic device adjusts the state at different adjusting speeds; or, under different conditions, the electronic device adjusts the state in different adjusting modes; or different adjustment operations of the electronic device under different conditions, and the like.
In one embodiment, in a case where it is determined that the operation body is in the motion state based on the state parameter, the sensitivity of the electronic device for the state adjustment may be determined based on the posture change information of the electronic device determined by the posture parameter.
In one embodiment, the sensitivity of the electronic device state adjustment is based on an initialized sensitivity stored in a processor of the electronic device before the initial state adjustment, and the electronic device re-determines the sensitivity.
In one embodiment, if the posture change information determined based on the posture parameters indicates that the state change of the electronic device fluctuates little or the posture change information does not exceed the posture change threshold, the sensitivity of the state adjustment may be kept unchanged.
In one embodiment, the corresponding relationship between different attitude change information sections and different sensitivities may be set in advance, and when the attitude change information satisfies the first section, the sensitivity parameter of the state adjustment may be set to the first sensitivity; when the posture change information meets a second interval, setting the sensitivity parameter of the state adjustment as a second sensitivity, and so on; and when the posture change information exceeds the highest threshold value, keeping the sensitivity of the current state adjustment unchanged, or setting the sensitivity of the state adjustment to be preset sensitivity.
In an embodiment, the correspondence between different gesture change information intervals and different sensitivities may be set during the production process of the electronic device, or may be set by the user according to the need.
In one embodiment, in the case that the operating body is determined to be in the motion state based on the state parameter, the sensitivity of the electronic device for performing the state adjustment may also be determined based on the posture change information determined by the state parameter information and the application information currently running by the electronic device.
For a user, the importance level of data in some applications is relatively high, the importance level of data in some applications is relatively low, and there may be more than one application currently opened by the electronic device, and when the user is in a moving state and switches between applications with different importance levels of data, it is necessary to hope that the data with higher importance level can be better protected, that is, unnecessary uncertain data operation is avoided as much as possible.
Therefore, when the posture change information represents that the current electronic equipment can adjust the sensitivity, the sensitivity of the electronic equipment state adjustment can be determined by combining the application currently operated by the electronic equipment. For example, the data in the first application is of higher importance to the user, and when the user is in a motion state and the posture change information represents that the current electronic device can adjust the sensitivity, the sensitivity corresponding to the application can be set to a lower level; or, the data in the second application is of lower importance to the user, and when the user is in a motion state and the posture change information indicates that the current electronic device can adjust the sensitivity, the sensitivity corresponding to the application may be set to a higher level, or the current sensitivity may be kept unchanged.
In one embodiment, in each application, a sensitivity-related option may be reserved, and a set of sensitivity change intervals desired by a user for selecting the application is provided so that the user can set the option when the application is started for the first time.
In an embodiment, after each application is installed, in a setting module of the electronic device, a sensitivity level corresponding to the application may be set as a preset sensitivity, and a user is prompted to set the sensitivity corresponding to the application.
In one embodiment, after installing an application, a user may set an importance level of the application in the electronic device, and a processor of the electronic device automatically generates a corresponding sensitivity interval set according to the importance level of the application.
In one embodiment, in the case that the operating body is determined to be in the motion state based on the state parameter, determining the sensitivity of the electronic device for state adjustment based on the attitude change information of the electronic device determined by the attitude parameter; or determining the sensitivity of the electronic equipment for state adjustment based on the attitude change information of the electronic equipment determined by the attitude parameters and the current running application information of the electronic equipment.
In one embodiment, if it is determined that the operating body is currently in the fast moving state based on the state parameters, the sensitivity of the electronic device for performing the state adjustment is correspondingly reduced, so as to avoid the misoperation caused in the fast moving process. For example, when the user wears or carries the electronic device and does not want to quickly adjust the displayed content during the quick running process, the sensitivity of the state adjustment of the electronic device may be reduced.
In one embodiment, if it is determined that the operating body is currently in a slow motion state based on the state parameter, accordingly, the sensitivity of the device for state adjustment may be increased. For example, when the user wears or carries the electronic device to walk at a slow speed, the sensitivity of the device for adjusting the state can be properly improved, and the user can conveniently process data by combining the state parameters of the user.
In the implementation of the sensitivity adjustment, a user may select different adjustment modes according to the needs of the user, or determine different adjustment modes according to different application scenarios.
In this embodiment, the sensitivity of the state adjustment of the electronic device is determined by combining the posture change information of the electronic device or the posture change information with the application information currently running by the electronic device, so that the determined sensitivity can be associated with the state of the electronic device itself or the state of the electronic device itself and the application program currently running by the electronic device.
In the above embodiment of the present application, first information representing at least an attitude parameter of the electronic device is obtained, when a first condition is satisfied, display content of the electronic device is adjusted from a first state to a second state based on the first information, and in determining the first condition, a condition that attitude change information of the electronic device needs to be satisfied in a motion state and a non-motion state of the operation body is considered, and further, when the state is adjusted, attitude change information of the electronic device or the attitude change information and a sensitivity of state adjustment corresponding to a currently running application may be further set. Therefore, in the process of adjusting the state of the electronic equipment, the parameter information of the sensors is acquired and adopted, further calculation and judgment processing are further carried out on the parameter information, and different conditions can be further judged according to different application programs, different states of the electronic equipment and different motion states of the operation body.
Based on the foregoing embodiments, the present application provides a processing method, which may include the steps of:
step 201, first information is obtained.
Step 202, when a first condition is met, at least one display object currently displayed by the electronic equipment is adjusted from a first position to a second position at least based on the first information.
Wherein the first position and the second position are in the same display area or different display areas.
In step 202, satisfying the first condition, adjusting at least one display object currently displayed by the electronic device from a first position to a second position based on at least the first information is implemented by a processor of the electronic device. Wherein the first condition includes the determination process regarding the first condition in the foregoing embodiment.
In one embodiment, the first position and the second position may be different display areas in a current display screen of the electronic device. Correspondingly, the adjusting of the at least one display object from the first position to the second position may be from the first display area to the second display area of the display screen.
In one embodiment, the first position may be in a first display screen area of the current electronic device, and the second position may be in a second display screen area of the current electronic device, for example, the first position is disposed on a side B of the mobile phone or the notebook computer, the second position is disposed on a side a of the mobile phone or the notebook computer, or the second position is disposed on a side C of the mobile phone or the notebook computer. Furthermore, when the mobile phone and the notebook computer are covered, at least a part of the surface B and the surface C are in a fit state, and the surface A and the surface B are in a departing state at any time.
In one embodiment, the first position may be a display screen area of the current electronic device, and the second position may be a display area of another electronic device different from the current electronic device, i.e., a second electronic device or a third electronic device. Correspondingly, at least one display object is adjusted from a first position to a second position, and the at least one display object in a first area on a display screen of the electronic equipment can be adjusted to a second area on a display screen of the second electronic equipment in a wired or wireless connection mode, for example, the at least one display object is sent to a television and is presented on the display screen of the television by the television; the at least one display object may also be sent to the third electronic device through a wireless signal in a wired or wireless connection manner, and the third electronic device displays the at least one display object based on its own display manner, for example, the at least one display object may be sent to a projector, and the projector projects the at least one display object to a target projection area.
In one embodiment, the current display content of the electronic device can be edited based on the posture change information of the electronic device determined by the posture parameters.
When the display content includes an application program, the editing of the display content may further include installation, uninstallation, update, and the like.
The attitude change information of the electronic device determined based on the attitude parameters may include a moving speed of the electronic device in at least one direction, or a moving acceleration in at least one direction, or an angular speed, an acceleration, and the like in at least one direction. If any component or any several components in the posture change information exceed the corresponding threshold value, the content currently displayed by the electronic equipment can be edited.
In one implementation, a corresponding relationship between different gesture change information component variation ranges and different editing operations may also be preset, and when the gesture change information component exceeds a corresponding threshold, the corresponding editing operation is performed based on the corresponding relationship, for example, a corresponding relationship between an acceleration in the first direction and a deletion operation is preset, and when the acceleration in the first direction exceeds a first acceleration threshold, the deletion operation is performed.
In one implementation, correspondence between different combinations of posture change information components and different editing operations may also be preset, and when a combination of posture change information components exceeds a corresponding threshold combination, a corresponding editing operation is performed based on the correspondence. For example, the correspondence relationship between the acceleration in the first direction, the angular acceleration in the second direction, and the deletion operation is set in advance, and the deletion operation is performed when the acceleration in the first direction exceeds a first acceleration threshold value and the angular acceleration in the second direction exceeds an angular acceleration threshold value in the second direction.
And step 203, sequencing at least one display object currently displayed by the electronic equipment based on the holding direction of the operating body to the electronic equipment and/or the posture parameter of the electronic equipment determined by the state parameter.
Step 203 is performed by a processor of the electronic device.
In one embodiment, at least one display object currently displayed by the electronic device may be sorted based on the holding direction of the electronic device by the operating body determined by the state parameter.
In one implementation, when the processor of the electronic device determines that the operation body is currently performing a holding operation on the electronic device based on the parameter information transmitted by the second sensor device, and may determine a holding direction of the electronic device by the operation body based on the parameter information, it may be determined whether to sort the at least one display object in combination with a holding distance included in the parameter information. When the holding distance exceeds a preset holding distance, at least one display object can be sequenced; otherwise, the current display mode of at least one display object is kept unchanged.
In one implementation, the processor of the electronic device may further sort the at least one display object when determining that the change of the holding direction angle exceeds the preset holding angle based on the holding direction parameter included in the parameter information sent by the second sensor device for multiple times.
In one embodiment, at least one display object currently displayed by the electronic device may be ordered based on a pose parameter of the electronic device.
As can be seen from the foregoing embodiments, the attitude parameters of the electronic device may include at least one moving direction of the electronic device, or a velocity in at least one moving direction, or an angular velocity, an acceleration, and the like in at least one direction. If any one or more of the electronic device pose parameters exceeds the corresponding threshold, it may be determined that at least one currently displayed display object needs to be sorted.
In other embodiments, at least one display object currently displayed by the electronic device may also be sorted according to the viewed direction of the electronic device, such as keeping the sorting mode synchronous or asynchronous with the viewed mode.
In this application, the ordering method is not limited.
Moreover, in the embodiment of the present application, the implementation orders of step 202 and step 203 may be adjusted to each other.
In the embodiment of the application, the first information is acquired, when a first condition is met, at least one display object is adjusted from a first position to a second position based on the first information, direction and/or posture parameters can be held, at least one display object of the electronic device is sequenced, and in addition, current display content can be edited based on posture change information, that is, in the process of adjusting, sequencing and editing at least one display object, parameter information acquired by a plurality of sensor devices is fully considered, so that the process of adjusting, sequencing and editing at least one display object by the electronic device is more accurate, and misoperation on user data is avoided.
Based on the foregoing embodiment, the present invention provides a processing apparatus, as shown in fig. 3, where the processing apparatus 3 includes an information obtaining module 31 and an adjusting module 32, where the information obtaining module 31 is configured to obtain first information, and the first information at least represents an attitude parameter of an electronic device; an adjusting module 32, configured to adjust display content of the electronic device from a first state to a second state based on at least the first information when the first condition is satisfied; the first condition at least relates to the state parameter of an operation body of the electronic equipment, and the display content comprises a plurality of display objects, wherein the display parameter of at least one display object in the first state is different from that in the second state.
The information acquiring module 31 may be a sensor device, such as the first sensor device and the second sensor device described above, and specifically may be a gyroscope, an accelerometer, or the like; the adjusting module 32 may be implemented by a controller or a processor, such as a Central Processing Unit (CPU) or a microprocessor.
In one embodiment, the information obtaining module 31 is configured to determine that the operation body is in a motion state based on the state parameter, determine that the posture change information of the electronic device meets a second condition based on the posture parameter, and determine that the first condition is met; and the second condition represents that the posture change information is not matched with the motion state parameters of the operation body.
In one embodiment, the information obtaining module 31 is configured to determine that the operation body is in a non-motion state based on the state parameter, determine that the posture change information of the electronic device meets a third condition based on the posture parameter, and determine that the first condition is met; wherein the third condition is related to at least one of an attitude change amplitude, an attitude change rate, and an attitude change frequency.
In one embodiment, the information obtaining module 31 is configured to determine that a first condition is satisfied when it is detected that a holding state parameter of the operation body acting on the electronic device satisfies a first holding condition and it is determined that a rotation angle of the electronic device in a first plane satisfies a first angle threshold based on the posture parameter; wherein the first plane faces the visible range of the operating body.
In one embodiment, the information obtaining module 31 is configured to determine that a first condition is satisfied when it is detected that a wearing state parameter of the operation body acting on the electronic device satisfies a first wearing condition and it is determined that a moving distance of the electronic device in a first direction satisfies a first distance threshold value based on the posture parameter; the first direction is a direction in which the operation body approaches or departs from the visual range in the moving process.
In one embodiment, the adjusting module 32 is configured to, in a case where it is determined that the operation body is in the motion state based on the state parameter, determine the sensitivity of the electronic device for performing the state adjustment based on the posture change information of the electronic device determined by the posture parameter; or determining the sensitivity of the electronic equipment for state adjustment based on the attitude change information of the electronic equipment determined by the attitude parameters and the current running application information of the electronic equipment.
In one embodiment, the adjusting module 32 adjusts the display content of the electronic device from a first state to a second state, including: adjusting at least one display object currently displayed by the electronic equipment from a first position to a second position; wherein the first position and the second position are in the same display area or different display areas.
In one embodiment, the adjusting module 32 is further configured to sort at least one display object currently displayed by the electronic device based on the holding direction of the operating body on the electronic device and/or the posture parameter of the electronic device, which is determined by the state parameter.
In an embodiment, the adjusting module 32 is further configured to, in a case that it is determined that the operation body is in the non-motion state based on the state parameter, further include: editing the current display content of the electronic equipment based on the posture change information of the electronic equipment determined by the posture parameters.
In the processing apparatus provided in the embodiment of the present application, the information obtaining module 31 is configured to obtain first information, and when a first condition is satisfied, the adjusting module 32 adjusts display content of the electronic device from a first state to a second state based on at least the first information, where the first condition is at least related to a state parameter of an operation body of the electronic device, and the display content includes a plurality of display objects, and a display parameter of at least one display object in the first state is different from a display parameter in the second state.
Based on the foregoing embodiments, the present application provides a processing apparatus, as shown in fig. 4, the processing apparatus 4 including: a processor 41, a memory 42 and a communication bus 43. Wherein:
a communication bus 43 for implementing a communication connection between the processor 41 and the memory 42.
The processor 41 is configured to execute an information processing method program stored in the memory 42 to implement the steps of the processing method shown in fig. 1 to 2.
Based on the foregoing embodiments, the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the processing method as shown in fig. 1 to 2.
In the processing apparatus provided in the embodiment of the present application, the first information is acquired, and when a first condition is satisfied, the display content of the electronic device is adjusted from a first state to a second state based on at least the first information, where the first condition is at least related to a state parameter of an operation body of the electronic device, and the display content includes a plurality of display objects, and a display parameter of at least one display object in the first state is different from a display parameter in the second state.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A method of processing, comprising:
obtaining first information, wherein the first information at least represents a current attitude parameter of the electronic equipment;
the method comprises the steps that a first condition is met, and display content of the electronic equipment is adjusted from a current first state to a second state at least based on first information;
the first condition is at least related to the current state parameter of an operation body of the electronic equipment, a sensor device for acquiring the state parameter is different from a sensor device for acquiring the attitude parameter, and the state parameter of the operation body is used for indicating whether the operation body is in a motion state currently; the display content includes a plurality of display objects, wherein at least one display object has a different display parameter in a first state than in a second state.
2. The method of claim 1, determining that the operating body is in a motion state based on the state parameter, and determining that the posture change information of the electronic device meets a second condition based on the posture parameter, determining that the first condition is met;
wherein the second condition represents that the posture change information is not matched with the motion state parameters of the operation body.
3. The method of claim 1, determining that the operating body is in a non-motion state based on the state parameters, and determining that pose change information of the electronic device meets a third condition based on the pose parameters, determining that the first condition is met;
wherein the third condition is related to at least one of an attitude change amplitude, an attitude change rate, and an attitude change frequency.
4. The method according to claim 1, detecting that a holding state parameter of the operation body acting on the electronic equipment meets a first holding condition, determining that a rotation angle of the electronic equipment in a first plane meets a first angle threshold value based on the posture parameter, and determining that the first condition is met;
wherein the first plane faces a visible range of the operation body.
5. The method of claim 1, detecting that a wearing state parameter of the operating body acting on the electronic device satisfies a first wearing condition, and determining that a moving distance of the electronic device in a first direction satisfies a first distance threshold based on the posture parameter, determining that the first condition is satisfied;
the first direction is a direction in which the operating body approaches or departs from the visual range in the moving process.
6. The method according to claim 1, wherein in a case where the operation body is determined to be in a motion state based on the state parameter, the sensitivity of the electronic device for state adjustment is determined based on the attitude change information of the electronic device determined by the attitude parameter; or the like, or, alternatively,
and determining the sensitivity of the electronic equipment for state adjustment based on the attitude change information of the electronic equipment determined by the attitude parameters and the current running application information of the electronic equipment.
7. The method of any of claims 1-6, adjusting display content of the electronic device from a first state to a second state, comprising:
adjusting at least one display object currently displayed by the electronic equipment from a first position to a second position; wherein the first position and the second position are in the same display area or different display areas.
8. The method of claim 7, further comprising:
and sequencing at least one display object currently displayed by the electronic equipment based on the holding direction of the operation body to the electronic equipment and/or the posture parameter of the electronic equipment determined by the state parameter.
9. The method of claim 1, further comprising, in the event that the operative body is determined to be in a non-moving state based on the state parameter:
editing the current display content of the electronic equipment based on the posture change information of the electronic equipment determined by the posture parameters.
10. A processing apparatus, comprising:
the information acquisition module is used for acquiring first information, and the first information at least represents the current attitude parameter of the electronic equipment;
the adjusting module is used for adjusting the display content of the electronic equipment from a current first state to a second state at least based on the first information when a first condition is met;
the first condition is at least related to the current state parameter of an operation body of the electronic equipment, a sensor device for acquiring the state parameter is different from a sensor device for acquiring the attitude parameter, and the state parameter of the operation body is used for indicating whether the operation body is in a motion state currently; the display content includes a plurality of display objects, wherein at least one display object has a different display parameter in a first state than in a second state.
CN201911130143.3A 2019-11-18 2019-11-18 Processing method and processing device Active CN111176464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911130143.3A CN111176464B (en) 2019-11-18 2019-11-18 Processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911130143.3A CN111176464B (en) 2019-11-18 2019-11-18 Processing method and processing device

Publications (2)

Publication Number Publication Date
CN111176464A CN111176464A (en) 2020-05-19
CN111176464B true CN111176464B (en) 2022-04-22

Family

ID=70655415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911130143.3A Active CN111176464B (en) 2019-11-18 2019-11-18 Processing method and processing device

Country Status (1)

Country Link
CN (1) CN111176464B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111640395B (en) * 2020-06-30 2022-07-26 联想(北京)有限公司 Electronic device and switching method
CN113518178B (en) * 2021-04-22 2022-09-20 中煤科工集团重庆研究院有限公司 Video image acquisition device for slope safety monitoring
CN114995938A (en) * 2022-06-11 2022-09-02 上海中医药大学 Acousto-optic stimulation regulation and control method and device based on application program and application program
TWI820811B (en) 2022-07-22 2023-11-01 華碩電腦股份有限公司 Electronic device and sensitivity adjustment method for sensor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631494A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN105183538A (en) * 2014-06-03 2015-12-23 联想(北京)有限公司 Information processing method and electronic device
CN107102835A (en) * 2017-02-10 2017-08-29 珠海市魅族科技有限公司 A kind of display control method and system
CN108769393A (en) * 2018-05-14 2018-11-06 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10222866B2 (en) * 2014-03-24 2019-03-05 Beijing Lenovo Software Ltd. Information processing method and electronic device
CN105511750B (en) * 2014-09-26 2020-01-31 联想(北京)有限公司 switching method and electronic equipment
CN105807902B (en) * 2014-12-30 2019-01-18 Tcl集团股份有限公司 Stablize the method and a kind of mobile terminal that mobile terminal screen content is shown
WO2018076323A1 (en) * 2016-10-31 2018-05-03 北京小米移动软件有限公司 Screen control method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631494A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN105183538A (en) * 2014-06-03 2015-12-23 联想(北京)有限公司 Information processing method and electronic device
CN107102835A (en) * 2017-02-10 2017-08-29 珠海市魅族科技有限公司 A kind of display control method and system
CN108769393A (en) * 2018-05-14 2018-11-06 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111176464A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111176464B (en) Processing method and processing device
US10341425B2 (en) Systems, methods, and computer readable media for sharing awareness information
JP7455846B2 (en) Object jump control method, apparatus, computer device and computer program
CN108279832B (en) Image acquisition method and electronic device
US9586682B2 (en) Unmanned aerial vehicle control apparatus and method
US10062212B2 (en) Method and device for providing augmented reality output
WO2019179314A1 (en) Method for displaying marker point position, electronic device, and computer readable storage medium
EP3042275B1 (en) Tilting to scroll
CN108710525B (en) Map display method, device, equipment and storage medium in virtual scene
CN110045827B (en) Method and device for observing virtual article in virtual environment and readable storage medium
US9842254B1 (en) Calibrating inertial measurement units using image data
US10082584B2 (en) Hybrid device location determination system
EP3732871B1 (en) Detecting patterns and behavior to prevent a mobile terminal drop event
CN112402949B (en) Skill releasing method, device, terminal and storage medium for virtual object
JP2021522906A (en) Control methods for interactions between virtual objects and virtual scenes, devices, terminals and computer programs
CN109646944B (en) Control information processing method, control information processing device, electronic equipment and storage medium
US20200278072A1 (en) Gimbal control method, gimbal and machine-readable storage medium
CN112121422A (en) Interface display method, device, equipment and storage medium
US20180253161A1 (en) Spatial motion-based user interactivity
CN111338487B (en) Feature switching method and device in virtual environment, terminal and readable storage medium
KR101622361B1 (en) Method and device for providing game service
CA2802276C (en) Method and device for providing augmented reality output
KR20160050864A (en) Method for providing standby mode for motion recognition and motion recognition apparatus using the same
Toriumi et al. Fast Screen Orientation Adjustment Based on SVM Rotation Inference on Android Smartphones
JP2013200195A (en) Mobile terminal, program and walking speed detection method

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