CN118012548A - Interface jump method, electronic device and storage medium - Google Patents

Interface jump method, electronic device and storage medium Download PDF

Info

Publication number
CN118012548A
CN118012548A CN202410008262.6A CN202410008262A CN118012548A CN 118012548 A CN118012548 A CN 118012548A CN 202410008262 A CN202410008262 A CN 202410008262A CN 118012548 A CN118012548 A CN 118012548A
Authority
CN
China
Prior art keywords
interface
application program
skip
electronic equipment
application
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.)
Pending
Application number
CN202410008262.6A
Other languages
Chinese (zh)
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.)
Wuhan Xingji Meizu Technology Co ltd
Original Assignee
Wuhan Xingji Meizu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Xingji Meizu Technology Co ltd filed Critical Wuhan Xingji Meizu Technology Co ltd
Priority to CN202410008262.6A priority Critical patent/CN118012548A/en
Publication of CN118012548A publication Critical patent/CN118012548A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interface jump method, which belongs to the technical field of terminals, and comprises the following steps: the electronic equipment starts an application program, wherein the screen opening interface of the application program is jumped and intercepted to be opened; during the display of the screen opening interface by the application program, a request of the application program for acquiring sensor information acquired by the inertial sensor from the electronic equipment is intercepted, so that the electronic equipment cannot jump among applications due to shaking operation in the process of displaying the screen opening interface.

Description

Interface jump method, electronic device and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an interface jump method, an electronic device, and a storage medium.
Background
With the popularization of electronic devices and the development of electronic device technologies, product functions realized by the electronic devices are increasing, and user operations required for realizing the functions tend to be complex.
For example, a user may trigger an interface jump of a cell phone through an interaction of "pan", "twist", "tilt" or the like. Although the interaction mode is more convenient and faster than the traditional button clicking or gesture operation, a certain misoperation risk exists, and a user can trigger interface jump carelessly, so that the user is puzzled.
Disclosure of Invention
In a first aspect, an embodiment of the present application provides an interface jumping method, which is applied to an electronic device, and includes:
The electronic equipment starts an application program, wherein the screen opening interface skip interception of the application program is started;
And intercepting a request of the application program for acquiring sensor information acquired by the inertial sensor from the electronic equipment during the display of the screen opening interface by the application program, so that the electronic equipment cannot jump among applications due to shaking operation in the process of displaying the screen opening interface.
In some embodiments, further comprising:
Starting timing when the application program displays an open screen interface, wherein the first time length of the timing is at least not lower than the second time length of displaying the open screen interface;
and intercepting a request of the application program to acquire sensor information acquired by an inertial sensor from the electronic equipment before the first time period when the skip interception of the screen opening interface is started, so that the electronic equipment cannot skip among applications due to shaking operation within the first time period when the screen opening interface is displayed.
In some embodiments, further comprising:
After the first time period, before the display of the open screen interface is finished, allowing the application program to acquire a request of sensor information acquired by an inertial sensor from the electronic equipment;
And the electronic equipment provides the sensor information acquired by the inertial sensor for the application program, so that the application program triggers an interface of the electronic equipment to jump between applications according to the shaking operation.
In some embodiments, the screen opening interface includes advertisement information, and the inter-application skip is to skip to an interface corresponding to the advertisement information in the screen opening interface.
In some embodiments, further comprising:
Determining that the application program runs continuously, wherein user interface jump interception of the application program is started;
Determining the accumulated occurrence times of the skip among the applications in the continuous running process of the application program;
and responding to a request of the application program for acquiring sensor information acquired by an inertial sensor from the electronic equipment according to the accumulated occurrence times of the skip among the applications.
In some embodiments, the responding to the request of the application program to acquire the sensor information acquired by the inertial sensor from the electronic device according to the accumulated occurrence times of the skip between applications includes:
determining that the accumulated occurrence times of the inter-application jumps are smaller than a preset time threshold, and allowing the application program to acquire a request of sensor information acquired by an inertial sensor from the electronic equipment;
the electronic device provides sensor information collected by the inertial sensor to the application program.
In some embodiments, after providing the sensor information collected by the inertial sensor to the application program, the electronic device further includes:
determining sensor information acquired by the inertial sensor to trigger an interface of the electronic equipment to jump between applications;
And if the accumulated occurrence times of the inter-application skip is equal to the preset times threshold, intercepting a request of the application program for acquiring sensor information acquired by an inertial sensor from the electronic equipment before the continuous running of the application program is finished, so that the electronic equipment cannot skip the inter-application skip due to shaking operation before the continuous running of the application program is finished.
In some embodiments, the user interface includes advertisement information, and the inter-application jump is to jump to an interface corresponding to the advertisement information in the user interface.
In some embodiments, further comprising:
The method comprises the steps that a first function control is displayed through a first function bar, the first function control is used for opening or closing the screen opening interface skip interception, or the first function control and a second function control are displayed through the first function bar, the first function control is used for opening or closing the screen opening interface skip interception, and the second function control is used for opening or closing all the interface skip interception.
In some embodiments, further comprising:
And displaying a third functional control through the second functional bar, wherein the third functional control is used for starting or closing the user interface skip interception under the condition of starting the screen opening interface skip interception.
In a second aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements a method as described in any one of the above when executing the program.
In a third aspect, embodiments of the present application provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the above.
In a fourth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements a method as described in any of the above.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an application scenario for inter-application skip according to an embodiment of the present application;
Fig. 2 is a schematic hardware structure of a mobile phone according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating an interface jumping method according to an embodiment of the present application;
FIG. 4 is a second application scenario diagram illustrating inter-application skip under an open screen interface according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an application scenario of a functionality control according to an embodiment of the present application;
FIG. 6 is a second application scenario diagram of a functionality control according to an embodiment of the present application;
FIG. 7 is a third application scenario diagram of a functionality control according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the "first" and "second" distinguishing between objects generally are not limited in number to the extent that the first object may, for example, be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/" generally means a relationship in which the associated object is an "or" before and after.
With the wide popularization of electronic devices and the continuous progress of technology, the electronic devices have more and more powerful functions, but have more and more complicated user operations. In order to improve user experience and convenience, some electronic devices employ innovative interaction approaches.
For example, an inertial sensor is a common hardware component in electronic devices that can detect physical parameters such as acceleration, angular velocity, and direction of the device. In some applications, inertial sensors are used to implement operations that trigger specific functions through interactions such as "pan-tilt", "twist-twist", "tilt-cell" and the like. For example, many music players now support "pan one" to skip to the next song, or control the volume by tilting the phone, which allows the user to operate more conveniently and increases the interest of the product. In addition, some health monitoring devices, such as smartphones, smartwatches, etc., also employ similar interaction means to perform specific functions, such as measuring heart rate, counting steps, etc., by "twisting" or "tapping" actions.
Interface jumps may also be triggered by interactions such as "pan-tilt", "twist-twist", "tilt-cell" etc. However, with the rapid development of the internet industry, advertising has become an important means for advertisers to improve the popularity and promote products. Nowadays, with the popularization of electronic devices and the advancement of technology, advertisement links are smartly implanted into various applications of the electronic devices, so as to achieve more accurate pushing and higher user engagement.
Currently, in order to improve the sensitivity of an electronic device, a user is given enough interaction perceptibility, and in general, the value of a sensor triggering an interaction action of "interface jump" is usually relatively low, for example, the current "acceleration" (for example, acceleration in the x-axis) of the electronic device is detected to be greater than 1m/s 2, and the "rotation angle" is detected to be greater than 15 °, i.e., interface jump is performed. The interaction is easy to trigger when the user uses the application, and a certain misoperation risk exists, so that the use experience of the user is affected. As shown in fig. 1, assuming that you are using a social media application, in which an advertisement of the third party game application APP1 is embedded, when you browse the social coal application and shake the mobile phone carelessly, you may jump to the game download interface of the third party game application APP1 accidentally, which brings trouble to the user.
To address the above-mentioned concerns, electronic devices typically provide a "reject" setting option to prevent an application from performing a behavior jump without user permission when such interactions are performed by the user.
However, such an arrangement may also have an impact on some applications where it would be desirable to use inertial sensors to provide functionality, for example, some fitness, gaming, etc. applications require the use of inertial sensors to detect user movements to achieve corresponding operation and feedback. If the user disables the rights of the inertial sensors of such applications, some of the functions of these applications will not work properly.
Therefore, the application provides an interface jump method, which is characterized in that a function of ' application program ' is newly added in the electronic equipment for jumping and intercepting the screen opening interface ', and the application program is intercepted to acquire a request of sensor information acquired by an inertial sensor from the electronic equipment during the screen opening interface displaying process, so that the electronic equipment cannot jump among applications due to shaking operation in the screen opening interface displaying process, the interface jump can be effectively prevented from being triggered by a user during unexpected shaking, the subsequent normal work of the application program is not influenced, and the intelligent interface jump interception is realized.
The interface jump method provided by the embodiment of the application can be applied to electronic equipment such as mobile phones, tablet computers, wearable equipment, vehicle-mounted equipment, augmented Reality (Augmented Reality, AR)/Virtual Reality (VR) equipment, notebook computers, ultra-Mobile Personal Computer (UMPC), netbooks, personal digital assistants (Personal DIGITAL ASSISTANT, PDA) and the like, and can also be applied to databases, servers and service response systems based on terminal artificial intelligence.
For example, the electronic device may be a Station (ST) in a WLAN, a cellular telephone, a cordless telephone, a Session initiation protocol (Session InitiationProtocol, SIP) telephone, a wireless local loop (WirelessLocal Loop, WLL) station, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a computer, a laptop computer, a handheld communication device, a handheld computing device, and/or other devices for communicating over a wireless system, as well as next generation communication systems, such as a mobile terminal in a 5G network, a mobile terminal in a future evolved public land mobile network (PublicLand Mobile Network, PLMN), or a mobile terminal in a future evolved Non-terrestrial network (Non-TERRESTRIAL NETWORK, NTN), etc.
As an example and not by way of limitation, when the electronic device is a wearable device, the wearable device may also be a generic name that applies wearable technology to intelligently design daily wear, develop wearable devices, such as gloves, watches, AR ((Augmented Reality, augmented Reality) head-mounted display devices, VR (Virtual Reality) head-mounted display devices, MR (Mixed Reality) head-mounted display devices, or the like, configured with far-field communication modules and/or near-field communication modules.
In some embodiments, the electronic device may be a mobile phone 200 with a hardware structure as shown in fig. 2, and as shown in fig. 2, the mobile phone 200 may specifically include: radio Frequency (RF) circuitry 210, memory 220, input unit 230, display unit 240, sensor 250, audio circuitry 260, short-range wireless communication module 270, processor 280, and power supply 290. It will be appreciated by those skilled in the art that the structure of the handset 200 shown in fig. 2 is not limiting of the electronic device, and the electronic device may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
The following describes the components of the mobile phone in detail with reference to fig. 2:
The RF circuit 210 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, after receiving downlink information of the base station, the downlink information is processed by the processor 280; in addition, the data of the design uplink is sent to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers (Low NoiseAmplifier, LNA), diplexers, and the like. In addition, the RF circuitry 210 may also communicate with networks and other devices via wireless communications. The wireless communications may use any communication standard or protocol, which may include Global System for Mobile communications (Global System For Mobile Communications, GSM), general Packet Radio Service (GPRS), code division multiple Access (Code DivisionMultiple Access, CDMA), wideband code division multiple Access (Wideband Code Division Multiple Access, WCDMA), time division code division multiple Access (Time-Division Code Division Multiple Access, TD-SCDMA), long term evolution (Long Term Evolution, LTE), new Radio (NR), GNSS, FM, low-orbit satellite connection and/or IR technology, and the like. The GNSS may include a global satellite positioning system (Global Positioning System, GPS), a global navigation satellite system (Global Navigation SATELLITE SYSTEM, GLONASS), a Beidou satellite navigation system (BeiDou Navigation SATELLITE SYSTEM, BDS), a Quasi-zenith satellite system (Quasi-Zenithsatellite System, QZSS) and/or a satellite-based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS), and the like.
The memory 220 may be used to store software programs and modules, and the processor 280 performs various functional applications and data processing of the cellular phone by executing the software programs and modules stored in the memory 220. The memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as pictures, audio data, phonebooks, etc.) created according to the use of the cellular phone, etc. In addition, memory 220 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 230 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile phone 200. In particular, the input unit 230 may include a touch panel 231 and other input devices 232. The touch panel 231, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 231 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 231 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 280, and can receive commands from the processor 280 and execute them. In addition, the touch panel 231 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 230 may include other input devices 232 in addition to the touch panel 231. In particular, other input devices 232 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 240 may be used to display information input by a user or information provided to the user and various menus of the mobile phone. The display unit 240 may include a display panel 241, and alternatively, the display panel 241 may be configured in the form of a Liquid crystal display (Liquid CRYSTALDISPLAY, LCD), a Light Emitting Diode (LED), an Organic Light-Emitting Diode (OLED), an Active-Matrix Organic LIGHT EMITTING Diode (AMOLED), or the like. Further, the touch panel 231 may cover the display panel 241, and when the touch panel 231 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 280 to determine the type of the touch event, and then the processor 280 provides a corresponding visual output on the display panel 241 according to the type of the touch event. Although in fig. 2, the touch panel 231 and the display panel 241 are two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 231 and the display panel 241 may be integrated to implement the input and output functions of the mobile phone. For example, the display panel 241 may display an open screen interface, a jump interface, etc. of an application program of the electronic device.
The handset 200 may also include at least one sensor 250, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 241 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 241 and/or the backlight when the mobile phone moves to the ear. Inertial sensors (Inertial Measurement Unit, IMU) in motion sensors include accelerometers to measure force and acceleration, gyroscopes to indicate rotation and/or magnetometers to measure body position, e.g., accelerometer sensors can detect the magnitude of acceleration in various directions (typically three axes), gravity and direction when stationary, applications to recognize handset position (e.g., landscape-portrait screen switching, related games, magnetometer position calibration), vibration recognition related functions (e.g., pedometer, tap), etc.; in the embodiment of the application, when the mobile phone shakes, the accelerometer and the gyroscope in the inertial sensor can detect the movement or the change of inclination, so that corresponding instructions such as jump, shake and the like are executed. Other sensors such as barometer, hygrometer, thermometer, infrared sensor, etc. that may be configured in the mobile phone are not described herein.
Audio circuitry 260, speaker 261, microphone 262 may provide an audio interface between the user and the handset. The audio circuit 260 may transmit the received electrical signal converted from audio data to the speaker 261, and the electrical signal is converted into a sound signal by the speaker 261 to be output; on the other hand, microphone 262 converts the collected sound signals into electrical signals, which are received by audio circuit 260 and converted into audio data, which are processed by audio data output processor 280 for transmission to, for example, another electronic device via RF circuit 210, or which are output to memory 220 for further processing.
Wi-Fi, bluetooth, near Field Communication (NFC) and other Communication technologies belong to short-range wireless transmission technologies, and a mobile phone can help a user to send and receive emails, browse webpages, access streaming media and the like through a short-range wireless module 270, so that wireless broadband Internet access is provided for the user. The short-distance wireless module 270 may include a Wi-Fi chip, a bluetooth chip, and an NFC chip, through which the Wi-Fi chip may implement a Wi-Fi Direct connection function between the mobile phone 200 and other electronic devices, or may enable the mobile phone 200 to operate in an AP mode (Access Point mode) capable of providing wireless Access services and allowing other wireless devices to Access or in a STA mode (Station mode) capable of being connected to an AP and not accepting Access of the wireless devices, so as to establish peer-to-peer communication between the mobile phone 200 and other Wi-Fi devices.
The processor 280 is a control center of the mobile phone, and connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions and processes of the mobile phone by running or executing software programs and/or modules stored in the memory 220, and calling data stored in the memory 220, thereby performing overall monitoring of the mobile phone. Optionally, the processor 280 may include one or more processing units; alternatively, the Processor 280 may include, for example, an application Processor (Application Processor, AP), a modem Processor, a Graphics Processor (Graphics ProcessingUnit, GPU), an image signal Processor (IMAGE SIGNAL Processor, ISP), a controller, a video codec, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), a baseband Processor, and/or a neural network Processor (Neural-Network Processing Unit, NPU), among others. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The handset 200 also includes a power supply 290 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 280 via a power management system so as to provide for the management of charging, discharging, and power consumption by the power management system.
The cell phone 200 may also include a camera. Optionally, the position of the camera on the mobile phone may be front or rear, which is not limited by the embodiment of the present application. The mobile phone can acquire a scene image of a current scene through the camera, and determine scene information and scene types through analyzing the scene image.
Fig. 3 is a schematic flow chart of an interface jumping method according to an embodiment of the present application. As shown in fig. 3, an interface jump method is provided, which includes the following steps: step 110, step 120. The method flow steps are only one possible implementation of the application.
Step 110, the electronic device starts an application program, wherein the screen opening interface of the application program is jumped and intercepted to be opened;
in this embodiment, the open screen interface of the application program is a transitional interface displayed when the user opens the application program, and the interface displayed from the time when the user clicks on the application icon until the loading of the content is completed is generally considered as the open screen interface.
In this embodiment, the application program's screen-opening interface skip interception refers to that during the period when the electronic device displays the application program's screen-opening interface, the screen-opening interface skip interception function is started. The function is to prohibit the application program from performing interface jumping operation due to sensor information acquired by the inertial sensor during the screen opening interface, so as to prevent the user from inadvertently shaking or other factors to cause interface jumping between applications in some cases.
Step 120, during the display of the screen opening interface by the application program, intercepting a request of the application program for acquiring sensor information acquired by the inertial sensor from the electronic device, so that the electronic device cannot jump between applications due to shaking operation in the process of displaying the screen opening interface.
In this embodiment, during the display of the open screen interface by the application program, the control of interface skip is achieved by intercepting a request from the application program to acquire sensor information acquired by the inertial sensor from the electronic device.
When the gesture of the electronic equipment changes, the inertial sensor can sense and record the changes, and corresponding sensor information is acquired. Typically, such sensor information may be used to identify the operational behavior of the electronic device by the user. Thus, the application may utilize these sensor information to interact with the user.
Illustratively, when the application is running, the application may call a system API (Application Programming Interface ) to obtain sensor information collected by the inertial sensor. Taking the android system as an example, the application program can call "SensorManager" to obtain the sensor service, then obtain all the sensor lists through the "getSensorList ()" method, and register the monitor for the sensor (such as an inertial sensor) to be monitored, so that the corresponding sensor data can be obtained. It should be noted that the person skilled in the art may modify the function of the registration listener itself, e.g. to change the frequency of acquisition of sensor data, etc. according to the requirements.
When an application needs to obtain this information, it sends a request to the operating system of the electronic device requesting access to specific sensor information (e.g., accelerometer, gyroscope, etc.). After receiving a request for acquiring sensor information acquired by an inertial sensor, an operating system of the electronic device determines whether to allow the application to access the sensor information according to authority, privacy settings and other factors.
Specifically, when the on-screen interface skip interception of the application program is turned on, the operating system intercepts a request of the application program to acquire the sensor information acquired by the inertial sensor during the on-screen interface, that is, limits the access authority of the application program to the sensor information acquired by the inertial sensor, and temporarily prevents the application program from acquiring the sensor information.
According to the embodiment of the application, the application program is intercepted to acquire the sensor information acquired by the inertial sensor from the electronic equipment during the display of the screen opening interface by newly adding a function of 'the screen opening interface skip interception of the application program' in the electronic equipment, so that the electronic equipment cannot skip among applications due to shaking operation in the process of displaying the screen opening interface, the interface skip can be effectively prevented from being triggered by a user during unexpected shaking, the subsequent normal work of the application program is not influenced, and the user experience is effectively improved.
It should be noted that each embodiment of the present application may be freely combined, exchanged in order, or separately executed, and does not need to rely on or rely on a fixed execution sequence.
In some embodiments, further comprising:
Starting timing when the application program displays an open screen interface, wherein the first time length of the timing is at least not lower than the second time length of displaying the open screen interface;
and intercepting a request of the application program to acquire sensor information acquired by an inertial sensor from the electronic equipment before the first time period when the skip interception of the screen opening interface is started, so that the electronic equipment cannot skip among applications due to shaking operation within the first time period when the screen opening interface is displayed.
In this embodiment, the second duration is a minimum open screen interface skip touch duration set by the application program. It represents the time from the display of the open screen interface after the application is started, until the second time period is reached, during which the shaking operation perceived by the electronic device is usually triggered by a subjective intention of the non-user. In other words, if a sloshing operation occurs during this period, that is likely to be caused by movement of the device or other unintended by the user, rather than being deliberately triggered by the user. By using the second duration, the application program can effectively reduce the occurrence of false touch and improve the user experience.
For example, when a user lifts the electronic device from the desktop and opens application a, application a displays a screen-opening interface. During this process, the user's arm moves upward quickly until it remains relatively stationary after about 3 seconds. During this 3 seconds, the electronic device will perceive a shaking operation, but this is not the operation that the user intended to trigger the electronic device interface to skip between applications.
In this embodiment, by setting the first time period of the timer to be at least not lower than the second time period of the display screen interface, the device may not erroneously recognize these operations as operations triggered by subjective intention of the user, so as to erroneously execute inter-application skip.
In some embodiments, the timing manner may be a positive timing, i.e., the timer starts to count up from 0 until the positive timing reaches the set first duration. The count down may also be counted down, i.e. from the set first time period until the count down reaches 0, which is not limited by the present application.
When the skip interception of the screen opening interface of the application program is started, starting timing by the timer from the time when the screen opening interface is displayed by the application program, intercepting a request of acquiring sensor information acquired by the inertial sensor by the application program in a first time period by the operating system, namely limiting the access authority of the application program to the sensor information acquired by the inertial sensor in the first time period, and temporarily preventing the application program from acquiring the sensor information.
For example, the countdown duration is set to be 10S, and when the monitoring user clicks the starting application program in a mode of a desktop of the electronic device or the like, the electronic device counts down for 10 seconds at the moment. The application cannot access the sensor information collected by the inertial sensor within the 10 seconds, so that the jump between applications is not triggered by the user's shaking operation even if the user performs the shaking operation within the 10 seconds.
According to the embodiment of the application, the skip between applications triggered by the shaking operation of the user in the first time period is avoided, so that the skip between applications triggered by subjective intention of a non-user is greatly reduced, the situation that the application is limited to acquire/access sensor data after entering an actual use interface of the application is avoided, and the use experience of the user is improved.
In some embodiments, further comprising:
After the first time period, before the display of the open screen interface is finished, allowing the application program to acquire a request of sensor information acquired by an inertial sensor from the electronic equipment;
And the electronic equipment provides the sensor information acquired by the inertial sensor for the application program, so that the application program triggers an interface of the electronic equipment to jump between applications according to the shaking operation.
In this embodiment, the request for the application program to acquire the sensor information acquired by the inertial sensor from the electronic device may be a request sent by the application program before the first time period, or may be a request sent after the first time period, which is not limited thereto.
Specifically, after the first period of time, the electronic device may provide the sensor information collected by the inertial sensor to the application program until the display of the open screen interface is finished, and the application program may identify whether a preset shaking operation condition is reached according to the sensor information, and correspondingly trigger the interface to skip between applications.
For example, as shown in fig. 4, the advertisement link of the application program a is implanted into the display screen opening interface of the application program B, the total duration of the display screen opening interface of the application program a is 30S, the set countdown duration is 10S, when the user clicks and starts the application program a on the desktop of the electronic device, the electronic device counts down for 10 seconds at this time, and within 20S after the countdown is finished for 10 seconds, the electronic device can provide sensor information collected by the inertial sensor provided by the application program a, and the application program a can determine whether the user performs the shaking operation according to the sensor information, and trigger the interface of the electronic device to jump from the screen opening interface of the application program a to the download interface of the application program B when the user is identified to perform the shaking operation.
In the embodiment of the application, after timing is finished and before the display of the open screen interface is finished, the application program is allowed to acquire the request of the sensor information acquired by the inertial sensor from the electronic equipment, so that on one hand, the skip among applications triggered by the subjective intention of a non-user can be avoided, on the other hand, the skip among applications triggered by the subjective intention of a user can be avoided, the flexibility of interface skip interception is realized, and the use experience of the user is improved.
In some embodiments, the screen opening interface includes advertisement information, and the inter-application skip is to skip to an interface corresponding to the advertisement information in the screen opening interface.
For example, if the application is a "health assistant" fitness class application, its open screen interface may display promotional advertisements for the fitness product. Then, when the user performs a certain interactive operation, such as shaking, based on the screen opening interface, the electronic device jumps to the interface corresponding to the advertisement information from the screen opening interface of the currently started application program after detecting the shaking operation. This corresponding interface may be a page detailing advertising content or an advertiser's official website or even a page for in-app purchase.
It will be understood that the skip between applications in this embodiment refers to a skip from the open screen interface to an interface of another application, and the interface is not limited to the interface corresponding to the advertisement information in the open screen interface, which is not a limitation of the present application.
In some embodiments, further comprising:
Determining that the application program runs continuously, wherein user interface jump interception of the application program is started;
Determining the accumulated occurrence times of the skip among the applications in the continuous running process of the application program;
and responding to a request of the application program for acquiring sensor information acquired by an inertial sensor from the electronic equipment according to the accumulated occurrence times of the skip among the applications.
In this embodiment, a function "user interface skip interception" is newly added to the electronic device, and if the user starts the function, the electronic device records the cumulative occurrence times of the skip between applications occurring in the continuous running process after the application program is started, and selects and intercepts the request of the application program for acquiring the sensor information acquired by the inertial sensor from the electronic device or allows the request according to the recorded cumulative occurrence times.
Specifically, the application continuous running process refers to a process in which the application is active after being started until the user manually turns it off or the system automatically turns it off.
For example, when a user opens a music player application and selects to play music, the user interface of the application foreground always displays relevant content such as the playing progress of the music, song information, and the like. The user can pause, play, switch songs, etc. through buttons on the interface. The application will continue to run until the user manually shuts down the music player or opts out of the application.
Each time a skip occurs between applications in the process is recorded and accumulated. When the electronic equipment receives a request of the music player application for acquiring the sensor information acquired by the inertial sensor from the electronic equipment, before responding, the electronic equipment can check the current recorded accumulated occurrence times and adopt different responding modes for the request according to the recorded accumulated occurrence times. This cumulative number of occurrences may be used to determine whether the user frequently triggered inter-application jumps during continued operation of the music player application.
For example, in one example, determining that the number of accumulated occurrences of the inter-application jump is less than a preset number of times threshold allows the application to obtain a request for inertial sensor-collected sensor information from the electronic device; the electronic device provides sensor information collected by the inertial sensor to the application program.
For another example, determining that sensor information collected by the inertial sensor triggers an interface of the electronic device to skip between applications; and if the accumulated occurrence times of the inter-application skip is equal to the preset times threshold, intercepting a request of the application program for acquiring sensor information acquired by an inertial sensor from the electronic equipment before the continuous running of the application program is finished, so that the electronic equipment cannot skip the inter-application skip due to shaking operation before the continuous running of the application program is finished.
The preset time threshold value can be flexibly set by a user according to actual conditions, and is not limited.
For example, there is a social media application within which users can browse and share content. However, some advertisement links may be inserted into the social media application, and a shake operation such as "shake-and-shake" may trigger an inter-application jump, forcing the user to access a website or other application.
When the user opens the "user interface skip intercept" function for the social media application, the function sets a preset number of times threshold to 6 times. During the use period of the social media application by the user, before the accumulated occurrence number of the inter-application skip occurring in the period is less than 6, the operating system of the electronic device allows the social media application to normally acquire the sensor information acquired by the inertial sensor. The social media application can trigger an interface of the electronic equipment to skip among applications according to the acquired sensor information. After each jump between applications is completed, the system updates the recorded accumulated occurrence times.
Only when the accumulated occurrence times reach 6 times, an operating system of the electronic equipment can intercept a sensor information request of the social media application for acquiring the sensor information acquired by the inertial sensor, and limit the access authority of the social media application to the sensor information acquired by the inertial sensor. Such restrictions will persist until the social media application ends running or the user actively regains access rights restrictions for the application (e.g., the "user interface jump intercept" function is turned off).
In this embodiment, by recording and judging the cumulative occurrence times of the skip between applications, the application program can intelligently control the request of acquiring the sensor information acquired by the inertial sensor from the electronic device, so as to provide better user experience and operation smoothness. The electronic equipment can intelligently jump between applications according to the use habit and the requirement of the user.
In some embodiments, the user interface includes advertisement information, and the inter-application jump is to jump to an interface corresponding to the advertisement information in the user interface.
If advertisement information exists on a user interface of an application program during the process of using the application program, the user may jump to the interface corresponding to the advertisement information directly when the application jumps.
Suppose we are using a "health assistant" fitness class application on a cell phone that has advertising information on its user interface, such as an advertisement for sports equipment sold in a shopping application. When the user can trigger the interface of the mobile phone to jump from the fitness application program to the shopping application program through shaking operations such as shaking, twisting, tilting and the like, the user can purchase products in the shopping application program.
It will be understood that the inter-application skip in this embodiment refers to a skip from the user interface to an interface of another application, and the interface is not limited to the interface corresponding to the advertisement information in the user interface, which is not a limitation of the present application.
In some embodiments, a first function control is displayed through a first function bar, the first function control is used for opening or closing the screen opening interface skip interception, or the first function control is displayed through the first function bar, the first function control is used for opening or closing the screen opening interface skip interception, and a second function control is used for opening or closing all the interface skip interception.
In this embodiment, the first function bar is a control area for displaying various functions.
In one example, the first function bar includes a first function control, and the main function of the first function control is to provide an option for a user to open or close the screen opening interface to skip and intercept, that is, when the user opens the screen opening interface to skip and intercept function, an application program does not skip between applications under the screen opening interface in the process of displaying the screen opening interface after the application program is started.
For example, as shown in fig. 5, after the user switches the first function control for controlling the screen opening interface skip interception of the APP1, which is displayed in the first function bar, from the "unopened" state to the "opened" state, it is characterized that the user opens the screen opening interface skip interception function of the APP1, and then the APP1 does not perform the inter-application skip operation under the screen opening interface in the process of displaying the screen opening interface after being started.
In another example, the first function bar includes not only a first function control for opening or closing the open screen interface skip interception, but also a second function control for opening or closing all interface skip interception, and it is apparent that the user needs to select between the open screen interface skip interception and all interface skip interception, but cannot enable both functions at the same time.
For example, as shown in fig. 6, a first function control for controlling the skip interception of the open screen interface of APP1 is in an "on" state, when a user switches a second function control for controlling the skip interception of all interfaces of APP1, which is displayed in a first function bar, from an "unopened" state to an "on" state, the first function control is automatically switched from the "on" state to the "unopened" state, and when APP1 starts up, no skip operation between applications under the open screen interface occurs, both under the open screen interface and under the user interface. If the second functional control is switched to an unopened state, the APP1 can not intercept the skip operation between applications under the screen opening interface no matter under the screen opening interface of the application program or under the user interface when starting operation.
In some embodiments, further comprising:
And displaying a third functional control through the second functional bar, wherein the third functional control is used for starting or closing the user interface skip interception under the condition of starting the screen opening interface skip interception.
In this embodiment, after the user opens the screen opening interface skip interception function of a certain application program, the user interface skip interception function of the application program can be further opened or closed through the second function control in the second function bar.
For example, as shown in fig. 7, after the user switches the first function control for controlling the skip interception of the open screen interface of the APP1, which is shown in the first function bar, from the "unopened" state to the "opened" state, the user may further switch the skip interception of the user interface of the APP1 on or off by the third function control, which is shown in the second function bar, if the user switches the third function control to the "opened" state, in the continuous running process of the APP1, the skip request between applications under the user interface of the APP1 is intercepted.
In this embodiment, through the above several functional controls, the electronic device may intelligently process the inter-application jump request according to the usage habit and the setting requirement of the user.
Fig. 8 illustrates a physical structure diagram of an electronic device, as shown in fig. 8, which may include: processor 810, communication interface (Communications Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, memory 830 accomplish communication with each other through communication bus 840. Processor 810 may invoke logic instructions in memory 830 to perform an interface jump method comprising:
The electronic equipment starts an application program, wherein the screen opening interface skip interception of the application program is started;
And intercepting a request of the application program for acquiring sensor information acquired by the inertial sensor from the electronic equipment during the display of the screen opening interface by the application program, so that the electronic equipment cannot jump among applications due to shaking operation in the process of displaying the screen opening interface.
Further, the logic instructions in the memory 830 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present application also provides a computer program product, where the computer program product includes a computer program, where the computer program can be stored on a non-transitory computer readable storage medium, where the computer program when executed by a processor can perform the interface jump method provided by the foregoing method embodiments, and the method includes:
The electronic equipment starts an application program, wherein the screen opening interface skip interception of the application program is started;
And intercepting a request of the application program for acquiring sensor information acquired by the inertial sensor from the electronic equipment during the display of the screen opening interface by the application program, so that the electronic equipment cannot jump among applications due to shaking operation in the process of displaying the screen opening interface.
In yet another aspect, the present application further provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the interface jump method provided by the above method embodiments, the method comprising:
The electronic equipment starts an application program, wherein the screen opening interface skip interception of the application program is started;
And intercepting a request of the application program for acquiring sensor information acquired by the inertial sensor from the electronic equipment during the display of the screen opening interface by the application program, so that the electronic equipment cannot jump among applications due to shaking operation in the process of displaying the screen opening interface.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. An interface jump method applied to electronic equipment comprises the following steps:
The electronic equipment starts an application program, wherein the screen opening interface skip interception of the application program is started;
And intercepting a request of the application program for acquiring sensor information acquired by the inertial sensor from the electronic equipment during the display of the screen opening interface by the application program, so that the electronic equipment cannot jump among applications due to shaking operation in the process of displaying the screen opening interface.
2. The interface jump method of claim 1, further comprising:
Starting timing when the application program displays an open screen interface, wherein the first time length of the timing is at least not lower than the second time length of displaying the open screen interface;
and intercepting a request of the application program to acquire sensor information acquired by an inertial sensor from the electronic equipment before the first time period when the skip interception of the screen opening interface is started, so that the electronic equipment cannot skip among applications due to shaking operation within the first time period when the screen opening interface is displayed.
3. The interface jump method of claim 2, further comprising:
After the first time period, before the display of the open screen interface is finished, allowing the application program to acquire a request of sensor information acquired by an inertial sensor from the electronic equipment;
And the electronic equipment provides the sensor information acquired by the inertial sensor for the application program, so that the application program triggers an interface of the electronic equipment to jump between applications according to the shaking operation.
4. The interface skipping method according to any one of claims 1 to 3, wherein the screen-opening interface comprises advertisement information, and the inter-application skipping is to skip to an interface corresponding to the advertisement information in the screen-opening interface.
5. The interface jump method of claim 1, further comprising:
Determining that the application program runs continuously, wherein user interface jump interception of the application program is started;
Determining the accumulated occurrence times of the skip among the applications in the continuous running process of the application program;
and responding to a request of the application program for acquiring sensor information acquired by an inertial sensor from the electronic equipment according to the accumulated occurrence times of the skip among the applications.
6. The interface jump method according to claim 5, wherein responding to the request from the application program to acquire sensor information acquired by the inertial sensor from the electronic device according to the accumulated number of occurrences of the jump between applications, comprises:
determining that the accumulated occurrence times of the inter-application jumps are smaller than a preset time threshold, and allowing the application program to acquire a request of sensor information acquired by an inertial sensor from the electronic equipment;
the electronic device provides sensor information collected by the inertial sensor to the application program.
7. The interface jump method of claim 6, the electronic device providing sensor information collected by the inertial sensor to the application program, further comprising:
determining sensor information acquired by the inertial sensor to trigger an interface of the electronic equipment to jump between applications;
And if the accumulated occurrence times of the inter-application skip is equal to the preset times threshold, intercepting a request of the application program for acquiring sensor information acquired by an inertial sensor from the electronic equipment before the continuous running of the application program is finished, so that the electronic equipment cannot skip the inter-application skip due to shaking operation before the continuous running of the application program is finished.
8. The interface skipping method according to any one of claims 5 to 7, wherein the user interface includes advertisement information, and the inter-application skipping is to skip to an interface corresponding to the advertisement information in the user interface.
9. The interface jump method of claim 1, further comprising:
The method comprises the steps that a first function control is displayed through a first function bar, the first function control is used for opening or closing the screen opening interface skip interception, or the first function control and a second function control are displayed through the first function bar, the first function control is used for opening or closing the screen opening interface skip interception, and the second function control is used for opening or closing all the interface skip interception.
10. The interface jump method of claim 9, further comprising:
And displaying a third functional control through the second functional bar, wherein the third functional control is used for starting or closing the user interface skip interception under the condition of starting the screen opening interface skip interception.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the interface jump method of any one of claims 1 to 10 when the program is executed by the processor.
12. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the interface jump method according to any one of claims 1 to 10.
CN202410008262.6A 2024-01-03 2024-01-03 Interface jump method, electronic device and storage medium Pending CN118012548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410008262.6A CN118012548A (en) 2024-01-03 2024-01-03 Interface jump method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410008262.6A CN118012548A (en) 2024-01-03 2024-01-03 Interface jump method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN118012548A true CN118012548A (en) 2024-05-10

Family

ID=90941880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410008262.6A Pending CN118012548A (en) 2024-01-03 2024-01-03 Interface jump method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN118012548A (en)

Similar Documents

Publication Publication Date Title
CN108055572A (en) Control method, mobile terminal and the computer readable storage medium of mobile terminal
US10732718B2 (en) Apparatus and method for motion detection in portable terminal
WO2020057234A1 (en) Engine isolation method, related device, and computer-readable storage medium
US20180365443A1 (en) Information Processing Method And Related Products
CN111327914B (en) Interaction method and related device
WO2020087230A1 (en) Method for displaying game page and related product
CN109165074A (en) Game screenshot sharing method, mobile terminal and computer readable storage medium
TW201515682A (en) Methods and terminal for data acquisition
CN110362185B (en) Control method for screen brightness adjustment, terminal and computer readable storage medium
WO2020052307A1 (en) Permission configuration method and related product
CN108305077A (en) Payment method, mobile terminal and computer readable storage medium
CN109165651A (en) A kind of identification code recognition methods, terminal and computer readable storage medium
CN110381202A (en) Vision-control method, mobile terminal and computer readable storage medium
WO2020061824A1 (en) Charging prompt method and related product
CN109947325B (en) Application icon display method, wearable device and computer-readable storage medium
CN110399074B (en) Picture splicing method and device, mobile terminal and storage medium
WO2019041285A1 (en) Associative word recommendation method, mobile terminal, and computer readable storage medium
CN118012548A (en) Interface jump method, electronic device and storage medium
CN111325597A (en) Application program recommendation method and electronic equipment
CN109865280A (en) A kind of game touch-control key control method, terminal and computer readable storage medium
WO2020073205A1 (en) Game icon display method, related device, and computer-readable storage medium
CN108170362B (en) Application running state control method and mobile terminal
CN109753220A (en) False-touch prevention method, mobile terminal and computer readable storage medium
CN118113395A (en) Interface jump method, electronic device and storage medium
CN108595947A (en) The management method of application program, mobile terminal and storage medium in mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination