CN108055401B - Elastic frame processing method and device, storage medium and electronic equipment - Google Patents

Elastic frame processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108055401B
CN108055401B CN201711387921.8A CN201711387921A CN108055401B CN 108055401 B CN108055401 B CN 108055401B CN 201711387921 A CN201711387921 A CN 201711387921A CN 108055401 B CN108055401 B CN 108055401B
Authority
CN
China
Prior art keywords
event
electronic equipment
frame
navigation application
bullet
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
CN201711387921.8A
Other languages
Chinese (zh)
Other versions
CN108055401A (en
Inventor
曾鸿坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711387921.8A priority Critical patent/CN108055401B/en
Publication of CN108055401A publication Critical patent/CN108055401A/en
Application granted granted Critical
Publication of CN108055401B publication Critical patent/CN108055401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The application discloses a bullet frame processing method, a bullet frame processing device, a storage medium and electronic equipment, wherein the method comprises the following steps: when a frame popping event is detected, detecting whether a navigation application is in a working state, and detecting whether the speed of the electronic equipment is within a preset speed range; if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the popup frame event into a background; and not displaying the bullet frame corresponding to the bullet frame event in a preset time period. The method has the advantages that the bullet frame events can be effectively managed when the electronic equipment works in the running process of the automobile and the navigation application works, the bullet frames corresponding to the bullet frame events are not displayed within the preset time period, and the display of the navigation route on the display screen of the electronic equipment is not influenced.

Description

Elastic frame processing method and device, storage medium and electronic equipment
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method and an apparatus for processing a bounding box, a storage medium, and an electronic device.
Background
In the process of driving a vehicle at ordinary times, a user often needs to use an electronic device such as a smart phone for navigation. However, the existing smart phone has a plurality of pop-up frames, and the pop-up frames are often popped up in the navigation process. Frequent pop-up of the pop-up frame not only is very annoying, but also can cover the navigation page to make the route information unclear, thereby causing driving distraction and increasing the risk. Although the pop-up frame is an important function of the smart phone, the current smart phone does not effectively manage the pop-up frame which is visible at any time.
Disclosure of Invention
The application provides a bullet frame processing method and device, a storage medium and electronic equipment, which can effectively manage bullet frames.
In a first aspect, an embodiment of the present application provides a pop-up frame processing method, which is applied to an electronic device, and the method includes:
when a frame popping event is detected, detecting whether a navigation application is in a working state, and detecting whether the speed of the electronic equipment is within a preset speed range;
if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the popup frame event into a background;
and not displaying the bullet frame corresponding to the bullet frame event in a preset time period.
In a second aspect, an embodiment of the present application provides a cartridge frame processing apparatus, including:
the detection module is used for detecting whether the navigation application is in a working state or not and detecting whether the speed of the electronic equipment is within a preset speed range or not when a pop frame event is detected;
the processing module is used for storing the bullet frame event into a background if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range;
and the control module is used for not displaying the bullet frame corresponding to the bullet frame event in a preset time period.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the foregoing pop-up frame processing method.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the foregoing popup frame processing method by calling the computer program.
According to the method for processing the pop-up frame, whether the navigation application is in the working state or not is detected when the pop-up frame event is detected, and whether the speed of the electronic equipment is within a preset speed range or not is detected; if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the popup frame event into a background; and not displaying the bullet frame corresponding to the bullet frame event in a preset time period. The method has the advantages that the bullet frame events can be effectively managed when the electronic equipment works in the running process of the automobile and the navigation application works, the bullet frames corresponding to the bullet frame events are not displayed within the preset time period, and the display of the navigation route on the display screen of the electronic equipment is not influenced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic view of an application scenario of a bullet frame processing apparatus according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a first bullet frame processing method according to an embodiment of the present application.
Fig. 3 is a second flowchart of the pop-up frame processing method according to the embodiment of the present disclosure.
Fig. 4 is a third flowchart illustrating a bullet frame processing method according to an embodiment of the present application.
Fig. 5 is a fourth flowchart illustrating a bullet frame processing method according to an embodiment of the present application.
Fig. 6 is a fifth flowchart illustrating a bullet frame processing method according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a first elastic frame processing device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a second elastic frame processing device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a third elastic frame processing device according to an embodiment of the present application.
Fig. 10 is a schematic diagram of a fourth structure of the elastic frame processing device according to the embodiment of the present application.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 12 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is in terms of particular embodiments of the application illustrated and should not be taken as limiting the application to other embodiments not described in detail herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing subunit of the computer processing represented by electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The term "unit" as used herein may be considered a software object executing on the computing system. The various components, units, engines, and services described herein may be viewed as objects of implementation on the computing system. The apparatus and method described herein may be implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but rather, some embodiments may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An execution main body of the elastic frame processing method may be the elastic frame processing device provided in the embodiment of the present application, or an electronic device integrated with the elastic frame processing device, where the elastic frame processing device may be implemented in a hardware or software manner.
The embodiments of the present application will be described from the perspective of a bezel processing apparatus, which may be specifically integrated in an electronic device. The bullet frame processing method comprises the following steps: when a frame popping event is detected, detecting whether the navigation application is in a working state, and detecting whether the speed of the electronic equipment is within a preset speed range; if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the frame popping event in a background; and not displaying the bullet frame corresponding to the bullet frame event in a preset time period.
Referring to fig. 1, fig. 1 is a schematic view of a scene of a bullet frame processing device according to an embodiment of the present disclosure. The electronic device is in a running automobile, and the navigation application of the electronic device is in a working state, for example, the navigation application is displayed on the foreground and displayed on the display screen of the electronic device. The circles in the figure correspond to the positions of the electronic devices. When the occurrence of the frame popping event is detected, the frame popping event is not responded firstly, namely the frame popping event is stored in the background, the frame popping corresponding to the frame popping event is not displayed on the display screen immediately, and the frame popping corresponding to the frame popping event is not displayed within a preset time period.
It can be understood that the execution subject of the embodiment of the present application may be a terminal device such as a smart phone or a tablet computer or a navigator.
Specifically, please refer to fig. 2, and fig. 2 is a first flowchart of a pop-up frame processing method according to an embodiment of the present disclosure. The elastic frame processing method provided by the embodiment of the application is applied to electronic equipment, and the specific flow can be as follows:
step 101, when a pop frame event is detected, detecting whether a navigation application is in a working state, and detecting whether the speed of the electronic device is within a preset speed range.
The bullet frame event can be a trigger event in the electronic device, and after the bullet frame event is triggered, a bullet frame can be displayed on a display screen of the electronic device, and content is displayed in the bullet frame. For example, regarding the bullet box that the camera calls, show "XX will call your camera, if allowed within the bullet box? "if again, like the pop-up box of the location function, display" XX application needs to open the location function in your mobile phone, whether allowed or not? ", a bullet box event is an event that is triggered within the system before the bullet box is displayed.
The navigation application comprises a navigation electronic map and a service function, the navigation electronic map is firstly displayed on a display screen of the electronic equipment, and the service function comprises the steps of superposing the position of the electronic equipment on the navigation electronic map according to the positioning module and displaying the movement track of the electronic equipment.
The operating state of the navigation application may be that the navigation application is started and is running in the foreground, i.e. a map of the navigation application is displayed on the display screen of the electronic device and a navigation operation is started.
Whether the speed of the electronic equipment is within a preset speed range is detected, the preset speed range is firstly obtained, a speed range can be preset, for example, the general speed range of an automobile can be 30-120 km/h, can be 40-110 km/h, and can also be selected by other values.
Or the speed of the electronic equipment can be acquired at intervals, then the highest value, the lowest value and the average value are taken, if the average value is within the preset speed range and the maximum value does not exceed the numerical values such as 150 km/h or 200 km/h, the electronic equipment can be judged to be on the running automobile instead of walking pedestrians, trains, airplanes and other situations.
When the bullet frame event is detected, the corresponding bullet frame is not displayed firstly. But detects whether the navigation application is in an operating state and also detects whether the speed of the electronic device is within a preset speed range. It should be noted that, whether the navigation application is in the operating state and whether the speed of the electronic device is within the preset speed range may be detected simultaneously, or one of the navigation application and the electronic device may be detected first and then the other navigation application may be detected.
In some embodiments, a step of determining whether the electronic device is on the vehicle may be added, specifically including data communication with the external device and acquiring identity information of the external device; detecting whether the identity information comprises automobile information or not; and if the identity information comprises the automobile information, judging that the electronic equipment is in the automobile.
And communicating data with the external device and obtaining identity information of the external device.
The electronic equipment and the external equipment can be in data communication through two modes, namely wireless data communication and wired data communication. The wireless data communication comprises Bluetooth communication, NFC communication, WIFI communication, broadcast communication and the like. The wired data connection comprises the data communication realized through the data line connection, and if the electronic equipment is connected with an automobile through the vehicle-mounted charger, the charging can be realized, and the data communication can also be realized through the data line.
And then the electronic equipment acquires the identity information of the external equipment after data communication with the external equipment. If the Bluetooth name of the external device is obtained after Bluetooth data communication, the identity information of the external device can be received through Bluetooth communication through a preset Bluetooth communication protocol. Similarly, the identity information of the external device can be acquired through NFC communication, WIFI communication, broadcast communication, data line communication and other modes.
And detecting whether the identity information comprises automobile information.
After the identity information of the external equipment is acquired, whether the identity information comprises the identity information of the automobile is detected. If the identity information of the external device includes the automobile identity information such as the automobile name and the automobile model, a preset code number, such as the number 1010, can be detected.
And if the identity information comprises the automobile information, judging that the electronic equipment is in the automobile.
If the identity information includes automobile information, such as the name of bluetooth is misra, which is a Beijing brand name map, it is determined that the electronic device is in the automobile. If the NFC communication exchanges respective identity information and the identity information of the external device includes a number corresponding to the automobile, it may be determined that the electronic device is in the automobile.
In some embodiments, the identity information of the external device may also be obtained by other sensors in the electronic device, such as obtaining speed information and/or acceleration information by a speed sensor and/or an acceleration sensor, and determining whether the electronic device is in the automobile by the speed information and/or the acceleration information.
In some embodiments, a camera of the electronic device may further acquire a picture of the surrounding environment, and determine whether the electronic device is in the automobile by recognizing the picture of the surrounding environment. Specifically, front and rear cameras of the electronic device can be called to acquire more surrounding environment pictures. The device can also be used in combination with a speed sensor and/or an acceleration sensor, so that the judgment accuracy is improved.
Referring to fig. 3, fig. 3 is a second flowchart illustrating a pop-up frame processing method according to an embodiment of the disclosure. In this embodiment, the step of detecting the pop-up frame event further includes the following steps:
in step 1011, when the pop-up frame event is detected, the authority corresponding to the pop-up frame event is acquired.
And when the frame popping event is detected, acquiring the authority corresponding to the frame popping event. Such as by identifying the authority identifier corresponding to the bullet box event. For example, the authority identifier comprises four authority levels of 00, 01, 10 and 11.
If the current navigation interface has the permission to pop up the bullet box by identifying whether the bullet box event has the bullet box event with the permission attribute key word or not.
Step 1012, if the authority is higher than or equal to the preset authority threshold, detecting whether the navigation application is in a working state, and detecting whether the electronic device is in the automobile.
And if the authority of the popup frame event is higher than or equal to the preset authority threshold, carrying out the next popup frame processing flow, namely detecting whether the navigation application is in a working state or not and detecting whether the electronic equipment is in the automobile or not.
And 1013, if the authority is lower than a preset authority threshold, clearing the bullet frame event.
And if the authority of the frame popping event is lower than the preset authority threshold, the situation that the authority of the frame popping event is insufficient and the importance is insufficient is shown, and the frame popping event is removed. I.e. the bullet frame corresponding to the bullet frame event is not displayed. And the information such as buffering corresponding to the bullet frame event can be directly deleted in the system without reminding the user. Such as direct clearing of the billboard box of some products.
And 102, if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the popup frame event into a background.
If the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, it indicates that the user is using the navigation application, and the automobile is in operation, at the moment, events interfering with the user should be reduced as much as possible, the bullet frame event is stored in the background, and the bullet frame corresponding to the bullet frame event is not displayed on the display screen of the electronic equipment at the first time.
And 103, not displaying the bullet frame corresponding to the bullet frame event in a preset time period.
And after the bullet frame event is stored in the background, the bullet frame corresponding to the bullet frame event is not displayed within a preset time period. Specifically, the preset time may be a preset time of the system, such as 5 seconds, 10 seconds, 5 minutes, 10 minutes, and the like. The preset time can also be the working time of the navigation application, namely, the bullet frame corresponding to the bullet frame time is not displayed in the working time of the navigation application.
Referring to fig. 4, fig. 4 is a third flowchart illustrating a pop-up frame processing method according to an embodiment of the disclosure. The elastic frame processing method provided by the embodiment of the application is applied to electronic equipment, and the specific flow can be as follows:
step 201, when a pop frame event is detected, detecting whether the navigation application is in a working state, and detecting whether the speed of the electronic device is within a preset speed range.
The bullet frame event can be a trigger event in the electronic device, and after the bullet frame event is triggered, a bullet frame can be displayed on a display screen of the electronic device, and content is displayed in the bullet frame. For example, regarding the bullet box that the camera calls, show "XX will call your camera, if allowed within the bullet box? "if again, like the pop-up box of the location function, display" XX application needs to open the location function in your mobile phone, whether allowed or not? ", a bullet box event is an event that is triggered within the system before the bullet box is displayed.
The navigation application comprises a navigation electronic map and a service function, the navigation electronic map is firstly displayed on a display screen of the electronic equipment, and the service function comprises the steps of superposing the position of the electronic equipment on the navigation electronic map according to the positioning module and displaying the movement track of the electronic equipment.
The operational state of the navigation application may be that the navigation application is started and run in the foreground, i.e. the navigation application is displayed on the display screen of the electronic device.
When the bullet frame event is detected, the corresponding bullet frame is not displayed firstly. But it is detected whether the navigation application is in operation or not and whether the electronic device is in a car or not. It should be noted that, whether the navigation application is in the operating state and whether the electronic device is in the automobile may be detected simultaneously, or one of the electronic devices may be detected first and then the other electronic device may be detected.
Step 202, if the navigation application is in a working state and the speed of the electronic device is within a preset speed range, storing the pop-up frame event in a background and sending out a reminding message.
If the navigation application is in a working state and the electronic equipment is in the automobile, it indicates that the user is using the navigation application and the automobile is likely to be in operation, at this time, if the events interfering with the user should be reduced as much as possible, the bullet frame event is stored in the background, and the bullet frame corresponding to the bullet frame event is not displayed on the display screen of the electronic equipment in the first time.
And storing the bullet frame event in a background and sending out reminding information. The reminding information can be voice reminding information, flashing reminding information such as an LED (light emitting diode) and the like, and other reminding information such as reminding information sent by a Bluetooth-controlled automobile.
The reminding information can be sent out when the bullet frame event is stored in the background, and can also be sent out after the bullet frame event is stored in the background.
And 203, acquiring a first control instruction corresponding to the reminding information, and not displaying the bullet frame corresponding to the bullet frame event in the working time period of the navigation application.
And acquiring a first control instruction corresponding to the reminding information. The first control instruction may be a voice instruction, a gesture instruction, a touch instruction, or the like. If the reminding information is voice reminding information, the system detects that a user is driving, but the mobile phone still has redundant popup boxes to pop up, the popup boxes can influence the user on driving with concentration, the system automatically shields the redundant permission popup boxes for the user, and the system can enable the popup boxes to pop up uniformly after the navigation is finished, and whether the mobile phone agrees? Within 10 seconds, the mouth responds. The user can answer orally directly without operating the mobile phone by hands, so that the driver can be prevented from being distracted from driving, and the mobile phone has reserved enough time for the user to answer. And if the user answers yes, the electronic equipment does not display the bullet box corresponding to the bullet box event in the working time period of the navigation application.
And step 204, displaying the bullet frame corresponding to the bullet frame event after the navigation application is finished.
And when the navigation application is ended, displaying a bullet frame corresponding to the bullet frame event.
Referring to fig. 5, fig. 5 is a fourth flowchart illustrating a pop-up frame processing method according to an embodiment of the disclosure. The elastic frame processing method provided by the embodiment of the application is applied to electronic equipment, and the specific flow can be as follows:
step 301, when a pop frame event is detected, detecting whether the navigation application is in a working state, and detecting whether the speed of the electronic device is within a preset speed range.
The bullet frame event can be a trigger event in the electronic device, and after the bullet frame event is triggered, a bullet frame can be displayed on a display screen of the electronic device, and content is displayed in the bullet frame. For example, regarding the bullet box that the camera calls, show "XX will call your camera, if allowed within the bullet box? "if again, like the pop-up box of the location function, display" XX application needs to open the location function in your mobile phone, whether allowed or not? ", a bullet box event is an event that is triggered within the system before the bullet box is displayed.
The navigation application comprises a navigation electronic map and a service function, the navigation electronic map is firstly displayed on a display screen of the electronic equipment, and the service function comprises the steps of superposing the position of the electronic equipment on the navigation electronic map according to the positioning module and displaying the movement track of the electronic equipment.
The operational state of the navigation application may be that the navigation application is started and run in the foreground, i.e. the navigation application is displayed on the display screen of the electronic device.
When the bullet frame event is detected, the corresponding bullet frame is not displayed firstly. But it is detected whether the navigation application is in operation or not and whether the electronic device is in a car or not. It should be noted that, whether the navigation application is in the operating state and whether the electronic device is in the automobile may be detected simultaneously, or one of the electronic devices may be detected first and then the other electronic device may be detected.
Step 302, if the navigation application is in a working state and the speed of the electronic device is within a preset speed range, storing the pop-up frame event in a background and sending out a reminding message.
And storing the bullet frame event in a background and sending out reminding information. The reminding information can be voice reminding information, flashing reminding information such as an LED (light emitting diode) and the like, and other reminding information such as reminding information sent by a Bluetooth-controlled automobile.
The reminding information can be sent out when the bullet frame event is stored in the background, and can also be sent out after the bullet frame event is stored in the background.
Step 303, in the response time period, if the first control instruction corresponding to the reminding information is received, the popup frame corresponding to the popup frame event is not displayed in the preset time period.
The response time period may be a preset response time period, such as 10 seconds.
And acquiring a first control instruction corresponding to the reminding information. The first control instruction may be a voice instruction, a gesture instruction, a touch instruction, or the like. If the reminding information is voice reminding information, the system detects that a user is driving, but the mobile phone still has redundant popup boxes to pop up, the popup boxes can influence the user on driving with concentration, the system automatically shields the redundant permission popup boxes for the user, and the system can enable the popup boxes to pop up uniformly after the navigation is finished, and whether the mobile phone agrees? Within 10 seconds, the mouth responds. The user can answer orally directly without operating the mobile phone by hands, so that the driver can be prevented from being distracted from driving, and the mobile phone has reserved enough time for the user to answer. And if the user answers yes, the electronic equipment does not display the bullet box corresponding to the bullet box event in the working time period of the navigation application. And when the navigation application is finished, displaying the bullet frame corresponding to the bullet frame event, such as the navigation application is closed, the navigation application is switched from the foreground to the background, the navigation is finished, and the like.
In step 304, if a second control instruction corresponding to the reminding information is received, the pop-up frame event is cleared.
If the user answers "no," the electronic device clears the pop-box event directly. The bullet frame event is directly deleted in the system, and subsequent reminding and displaying are not performed.
And 305, if a third control instruction corresponding to the reminding information is received, displaying the navigation application and the pop-up frame in a split screen mode.
The reminder may also include a third option. If the reminding information is voice reminding information, the system detects that a user is driving, but redundant popup boxes still exist in the mobile phone and can influence the user to drive attentively, the system automatically shields the redundant permission popup boxes for the user, the system can enable the popup boxes to uniformly pop up after the navigation is finished, namely the user agrees to answer 1, if the user disagrees to answer 2, if the user needs to display the navigation and popup boxes in a split screen mode, the user asks the user to answer 3, and the user asks the user to answer within 10 seconds. When a third control instruction corresponding to a third option of the reminding information is received, the display of the electronic equipment is displayed in a split screen mode, namely the display screen is divided into an upper display sub-screen and a lower display sub-screen, the upper display sub-screen displays navigation application, and the lower display sub-screen displays a pop-up frame.
In some embodiments, the underlying display sub-screen displays a bullet box while also voice broadcasting the content of the bullet box. The content of the popup box can be played once, so that the user can listen once and then only need a short time to watch. After the split-screen display, full-screen display can be automatically restored after a certain time, and the navigation application is displayed. And full-screen display can be restored according to the voice instruction and the gesture instruction.
Referring to fig. 6, fig. 6 is a fifth flowchart illustrating a pop-up frame processing method according to an embodiment of the disclosure. The steps for displaying the navigation application and the popup frame in a split screen manner provided by the embodiment of the application can be as follows:
step 3051, continuously acquiring a current speed of the electronic device.
The current speed of the electronic device is continuously acquired, for example, once every 1 second, once every 1 minute, and so on.
Step 3052, if the current speed is less than the preset speed threshold, displaying the navigation application and the pop-up frame in a split screen mode.
The preset speed threshold value can be a safer speed, such as 5 km/h and 3 km/h, at the moment, the speed is lower, the automobile can be conveniently controlled, and the automobile can be stopped in time if braking. Of course, the predetermined speed threshold value may also be chosen to be a very low value, for example 0.1 km/h, which corresponds to a standstill of the vehicle. Under the circumstances such as red light, get into filling station and refuel, get into service area rest, berth parking stall temporarily etc. such as car, split screen display with bullet frame with navigation application this moment does not influence the use of navigation application, also can show the bullet frame that bullet frame incident corresponds.
After the split-screen display is performed, full-screen operation can be received to restore full-screen display, and if a touch instruction of a user is received, specifically, after the interface of the navigation application receives a click instruction, full-screen display is restored and the navigation application interface is displayed; if a gesture instruction of the user is received, specifically, the camera acquires the waving gesture, full-screen display is resumed, and the navigation application interface is displayed.
And after the navigation application interface is displayed in a split screen mode for a period of time, full-screen display is automatically recovered, and the navigation application interface is displayed. And the speed of the electronic equipment can be continuously detected, and when the speed of the electronic equipment is greater than a preset speed threshold value, the automobile is restarted, and full-screen display is restored and the navigation application interface is displayed.
As can be seen from the above, in the bezel processing method provided in the embodiment of the present application, when a bezel event is detected, whether a navigation application is in a working state is detected, and whether the speed of an electronic device is within a preset speed range is detected; if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the frame popping event in a background; and not displaying the bullet frame corresponding to the bullet frame event in a preset time period. The method has the advantages that the bullet frame events can be effectively managed when the navigation application works in the running automobile of the electronic equipment, the bullet frames corresponding to the bullet frame events are not displayed within the preset time period, and the display of the navigation route on the display screen of the electronic equipment is not influenced.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a bezel processing apparatus according to an embodiment of the present disclosure. The bezel processing apparatus is applied to an electronic device, and the bezel processing apparatus 500 includes a detection module 501, a processing module 502, and a control module 503. Wherein:
the detecting module 501 is configured to detect whether the navigation application is in a working state when the pop-up frame event is detected, and detect whether the speed of the electronic device is within a preset speed range.
The bullet frame event can be a trigger event in the electronic device, and after the bullet frame event is triggered, a bullet frame can be displayed on a display screen of the electronic device, and content is displayed in the bullet frame. For example, regarding the bullet box that the camera calls, show "XX will call your camera, if allowed within the bullet box? "if again, like the pop-up box of the location function, display" XX application needs to open the location function in your mobile phone, whether allowed or not? ", a bullet box event is an event that is triggered within the system before the bullet box is displayed.
The navigation application comprises a navigation electronic map and a service function, the navigation electronic map is firstly displayed on a display screen of the electronic equipment, and the service function comprises the steps of superposing the position of the electronic equipment on the navigation electronic map according to the positioning module and displaying the movement track of the electronic equipment.
The operating state of the navigation application may be that the navigation application is started and is running in the foreground, i.e. a map of the navigation application is displayed on the display screen of the electronic device and a navigation operation is started.
Whether the speed of the electronic equipment is within a preset speed range is detected, the preset speed range is firstly obtained, a speed range can be preset, for example, the general speed range of an automobile can be 30-120 km/h, can be 40-110 km/h, and can also be selected by other values.
Or the speed of the electronic equipment can be acquired at intervals, then the highest value, the lowest value and the average value are taken, if the average value is within the preset speed range and the maximum value does not exceed the numerical values such as 150 km/h or 200 km/h, the electronic equipment can be judged to be on the running automobile instead of walking pedestrians, trains, airplanes and other situations.
When the bullet frame event is detected, the corresponding bullet frame is not displayed firstly. But detects whether the navigation application is in an operating state and also detects whether the speed of the electronic device is within a preset speed range. It should be noted that, whether the navigation application is in the operating state and whether the speed of the electronic device is within the preset speed range may be detected simultaneously, or one of the navigation application and the electronic device may be detected first and then the other navigation application may be detected.
The processing module 502 is configured to store the pop frame event in the background if the navigation application is in the working state and the speed of the electronic device is within the preset speed range.
If the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, it indicates that the user is using the navigation application, and the automobile is in operation, at the moment, events interfering with the user should be reduced as much as possible, the bullet frame event is stored in the background, and the bullet frame corresponding to the bullet frame event is not displayed on the display screen of the electronic equipment at the first time.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a second elastic frame processing apparatus according to an embodiment of the present disclosure. Wherein the processing module 502 includes a first acquisition submodule 5021, a second acquisition submodule 5022, and a purge submodule 5023. Wherein:
the first obtaining submodule 5021 is used for obtaining the authority corresponding to the bullet frame event when the bullet frame event is detected.
And when the frame popping event is detected, acquiring the authority corresponding to the frame popping event. Such as by identifying the authority identifier corresponding to the bullet box event. For example, the authority identifier comprises four authority levels of 00, 01, 10 and 11.
If the current navigation interface has the permission to pop up the bullet box by identifying whether the bullet box event has the bullet box event with the permission attribute key word or not.
The second obtaining sub-module 5022 is configured to detect whether the navigation application is in a working state and detect whether the electronic device is in the automobile if the authority is higher than or equal to the preset authority threshold.
And if the authority of the popup frame event is higher than or equal to the preset authority threshold, carrying out the next popup frame processing flow, namely detecting whether the navigation application is in a working state or not and detecting whether the electronic equipment is in the automobile or not.
The clearing submodule 5023 is used for clearing the bullet box event if the authority is lower than the preset authority threshold.
And if the authority of the frame popping event is lower than the preset authority threshold, the situation that the authority of the frame popping event is insufficient and the importance is insufficient is shown, and the frame popping event is removed. I.e. the bullet frame corresponding to the bullet frame event is not displayed. And the information such as buffering corresponding to the bullet frame event can be directly deleted in the system without reminding the user. Such as direct clearing of the billboard box of some products.
The control module 503 is configured to not display the popup frame corresponding to the popup frame event within a preset time period.
And after the bullet frame event is stored in the background, the bullet frame corresponding to the bullet frame event is not displayed within a preset time period. Specifically, the preset time may be a preset time of the system, such as 5 seconds, 10 seconds, 5 minutes, 10 minutes, and the like. The preset time can also be the working time of the navigation application, namely, the bullet frame corresponding to the bullet frame time is not displayed in the working time of the navigation application.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a third elastic frame processing apparatus according to an embodiment of the present disclosure. The bezel processing apparatus is applied to an electronic device, and the bezel processing apparatus 500 includes a detection module 501, a processing module 502, a control module 503, and a display module 504. Wherein:
the detecting module 501 is configured to detect whether the navigation application is in a working state when the pop-up frame event is detected, and detect whether the speed of the electronic device is within a preset speed range.
When the bullet frame event is detected, the corresponding bullet frame is not displayed firstly. But detects whether the navigation application is in an operating state and also detects whether the speed of the electronic device is within a preset speed range. It should be noted that, whether the navigation application is in the operating state and whether the speed of the electronic device is within the preset speed range may be detected simultaneously, or one of the navigation application and the electronic device may be detected first and then the other navigation application may be detected.
The processing module 502 is configured to store the pop-up frame event in the background and send out a reminding message if the navigation application is in the working state and the speed of the electronic device is within the preset speed range.
If the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, it indicates that the user is using the navigation application, and the automobile is in operation, at the moment, events interfering with the user should be reduced as much as possible, the bullet frame event is stored in the background, and the bullet frame corresponding to the bullet frame event is not displayed on the display screen of the electronic equipment at the first time.
And storing the bullet frame event in a background and sending out reminding information. The reminding information can be voice reminding information, flashing reminding information such as an LED (light emitting diode) and the like, and other reminding information such as reminding information sent by a Bluetooth-controlled automobile. The reminding information can be sent out when the bullet frame event is stored in the background, and can also be sent out after the bullet frame event is stored in the background.
The control module 503 is configured to obtain a control instruction corresponding to the reminding information, and not display the popup frame corresponding to the popup frame event within the navigation application operating time period.
And acquiring a first control instruction corresponding to the reminding information. The first control instruction may be a voice instruction, a gesture instruction, a touch instruction, or the like. If the reminding information is voice reminding information, the system detects that a user is driving, but the mobile phone still has redundant popup boxes to pop up, the popup boxes can influence the user on driving with concentration, the system automatically shields the redundant permission popup boxes for the user, and the system can enable the popup boxes to pop up uniformly after the navigation is finished, and whether the mobile phone agrees? Within 10 seconds, the mouth responds. The user can answer orally directly without operating the mobile phone by hands, so that the driver can be prevented from being distracted from driving, and the mobile phone has reserved enough time for the user to answer. And if the user answers yes, the electronic equipment does not display the bullet box corresponding to the bullet box event in the working time period of the navigation application.
The display module 504 is configured to display a popup box corresponding to the popup box event after the navigation application is finished.
And when the navigation application is ended, displaying a bullet frame corresponding to the bullet frame event.
Referring to fig. 10, fig. 10 is a schematic diagram illustrating a fourth structure of the elastic frame processing device according to the embodiment of the present application. The bezel processing apparatus 500 includes a detection module 501, a processing module 502, and a control module 503. Wherein:
the detecting module 501 is configured to detect whether the navigation application is in a working state when the pop-up frame event is detected, and detect whether the speed of the electronic device is within a preset speed range.
When the bullet frame event is detected, the corresponding bullet frame is not displayed firstly. But detects whether the navigation application is in an operating state and also detects whether the speed of the electronic device is within a preset speed range. It should be noted that, whether the navigation application is in the operating state and whether the speed of the electronic device is within the preset speed range may be detected simultaneously, or one of the navigation application and the electronic device may be detected first and then the other navigation application may be detected.
The processing module 502 is configured to store the pop-up frame event in the background and send out a reminding message if the navigation application is in the working state and the speed of the electronic device is within the preset speed range.
And storing the bullet frame event in a background and sending out reminding information. The reminding information can be voice reminding information, flashing reminding information such as an LED (light emitting diode) and the like, and other reminding information such as reminding information sent by a Bluetooth-controlled automobile. The reminding information can be sent out when the bullet frame event is stored in the background, and can also be sent out after the bullet frame event is stored in the background.
The control module 503 is configured to, in a response time period, if a first control instruction corresponding to the reminder information is received, not display a popup frame corresponding to the popup frame event in a preset time period, if a second control instruction corresponding to the reminder information is received, clear the popup frame event, and if a third control instruction corresponding to the reminder information is received, display the navigation application and the popup frame in a split screen manner.
The response time period may be a preset response time period, such as 10 seconds.
And acquiring a first control instruction corresponding to the reminding information. The first control instruction may be a voice instruction, a gesture instruction, a touch instruction, or the like. If the reminding information is voice reminding information, the system detects that a user is driving, but the mobile phone still has redundant popup boxes to pop up, the popup boxes can influence the user on driving with concentration, the system automatically shields the redundant permission popup boxes for the user, and the system can enable the popup boxes to pop up uniformly after the navigation is finished, and whether the mobile phone agrees? Within 10 seconds, the mouth responds. The user can answer orally directly without operating the mobile phone by hands, so that the driver can be prevented from being distracted from driving, and the mobile phone has reserved enough time for the user to answer. And if the user answers yes, the electronic equipment does not display the bullet box corresponding to the bullet box event in the working time period of the navigation application. And when the navigation application is finished, displaying the bullet frame corresponding to the bullet frame event, such as the navigation application is closed, the navigation application is switched from the foreground to the background, the navigation is finished, and the like. If the user answers "no," the electronic device clears the pop-box event directly. The bullet frame event is directly deleted in the system, and subsequent reminding and displaying are not performed.
The reminder may also include a third option. If the reminding information is voice reminding information, the system detects that a user is driving, but redundant popup boxes still exist in the mobile phone and can influence the user to drive attentively, the system automatically shields the redundant permission popup boxes for the user, the system can enable the popup boxes to uniformly pop up after the navigation is finished, namely the user agrees to answer 1, if the user disagrees to answer 2, if the user needs to display the navigation and popup boxes in a split screen mode, the user asks the user to answer 3, and the user asks the user to answer within 10 seconds. When a third control instruction corresponding to a third option of the reminding information is received, the display of the electronic equipment is displayed in a split screen mode, namely the display screen is divided into an upper display sub-screen and a lower display sub-screen, the upper display sub-screen displays navigation application, and the lower display sub-screen displays a pop-up frame.
The control module 503 includes a speed acquisition sub-module 5031 and a split screen display sub-module 5032. Wherein:
the speed obtaining sub-module 5031 is configured to continuously obtain the current speed of the electronic device.
The current speed of the electronic device is continuously acquired, for example, once every 1 second, once every 1 minute, and so on.
The split-screen display sub-module 5032 is configured to display the navigation application and the popup frame in a split-screen manner if the current speed is lower than a preset speed threshold.
The preset speed threshold value can be a safer speed, such as 5 km/h and 3 km/h, at the moment, the speed is lower, the automobile can be conveniently controlled, and the automobile can be stopped in time if braking. Of course, the predetermined speed threshold value may also be chosen to be a very low value, for example 0.1 km/h, which corresponds to a standstill of the vehicle. Under the circumstances such as red light, get into filling station and refuel, get into service area rest, berth parking stall temporarily etc. such as car, split screen display with bullet frame with navigation application this moment does not influence the use of navigation application, also can show the bullet frame that bullet frame incident corresponds.
After the split-screen display is performed, full-screen operation can be received to restore full-screen display, and if a touch instruction of a user is received, specifically, after the interface of the navigation application receives a click instruction, full-screen display is restored and the navigation application interface is displayed; if a gesture instruction of the user is received, specifically, the camera acquires the waving gesture, full-screen display is resumed, and the navigation application interface is displayed.
And after the navigation application interface is displayed in a split screen mode for a period of time, full-screen display is automatically recovered, and the navigation application interface is displayed. And the speed of the electronic equipment can be continuously detected, and when the speed of the electronic equipment is greater than a preset speed threshold value, the automobile is restarted, and full-screen display is restored and the navigation application interface is displayed.
In some embodiments, the underlying display sub-screen displays a bullet box while also voice broadcasting the content of the bullet box. The content of the popup box can be played once, so that the user can listen once and then only need a short time to watch. After the split-screen display, full-screen display can be automatically restored after a certain time, and the navigation application is displayed. And full-screen display can be restored according to the voice instruction and the gesture instruction.
In some embodiments, the magazine processing apparatus includes a detection module, a processing module, a control module, and a determination module. Wherein:
the detection module is used for detecting whether the navigation application is in a working state or not and detecting whether the speed of the electronic equipment is within a preset speed range or not when the bullet frame event is detected.
The bullet frame event can be a trigger event in the electronic device, and after the bullet frame event is triggered, a bullet frame can be displayed on a display screen of the electronic device, and content is displayed in the bullet frame. For example, regarding the bullet box that the camera calls, show "XX will call your camera, if allowed within the bullet box? "if again, like the pop-up box of the location function, display" XX application needs to open the location function in your mobile phone, whether allowed or not? ", a bullet box event is an event that is triggered within the system before the bullet box is displayed.
The navigation application comprises a navigation electronic map and a service function, the navigation electronic map is firstly displayed on a display screen of the electronic equipment, and the service function comprises the steps of superposing the position of the electronic equipment on the navigation electronic map according to the positioning module and displaying the movement track of the electronic equipment.
The operating state of the navigation application may be that the navigation application is started and is running in the foreground, i.e. a map of the navigation application is displayed on the display screen of the electronic device and a navigation operation is started.
Whether the speed of the electronic equipment is within a preset speed range is detected, the preset speed range is firstly obtained, a speed range can be preset, for example, the general speed range of an automobile can be 30-120 km/h, can be 40-110 km/h, and can also be selected by other values.
Or the speed of the electronic equipment can be acquired at intervals, then the highest value, the lowest value and the average value are taken, if the average value is within the preset speed range and the maximum value does not exceed the numerical values such as 150 km/h or 200 km/h, the electronic equipment can be judged to be on the running automobile instead of walking pedestrians, trains, airplanes and other situations.
When the bullet frame event is detected, the corresponding bullet frame is not displayed firstly. But detects whether the navigation application is in an operating state and also detects whether the speed of the electronic device is within a preset speed range. It should be noted that, whether the navigation application is in the operating state and whether the speed of the electronic device is within the preset speed range may be detected simultaneously, or one of the navigation application and the electronic device may be detected first and then the other navigation application may be detected.
Specifically, the detection module may include an identity information obtaining sub-module and an identity information detection sub-module.
And the identity information acquisition submodule is used for carrying out data communication with the external equipment and acquiring the identity information of the external equipment.
The electronic equipment and the external equipment can be in data communication through two modes, namely wireless data communication and wired data communication. The wireless data communication comprises Bluetooth communication, NFC communication, WIFI communication, broadcast communication and the like. The wired data connection comprises the data communication realized through the data line connection, and if the electronic equipment is connected with an automobile through the vehicle-mounted charger, the charging can be realized, and the data communication can also be realized through the data line.
And then the electronic equipment acquires the identity information of the external equipment after data communication with the external equipment. If the Bluetooth name of the external device is obtained after Bluetooth data communication, the identity information of the external device can be received through Bluetooth communication through a preset Bluetooth communication protocol. Similarly, the identity information of the external device can be acquired through NFC communication, WIFI communication, broadcast communication, data line communication and other modes.
And the identity information detection submodule is used for detecting whether the identity information comprises automobile information.
After the identity information of the external equipment is acquired, whether the identity information comprises the identity information of the automobile is detected. If the identity information of the external device includes the automobile identity information such as the automobile name and the automobile model, a preset code number, such as the number 1010, can be detected.
And the judging module is used for judging that the electronic equipment is in the automobile if the identity information comprises automobile information.
If the identity information includes automobile information, such as the name of bluetooth is misra, which is a Beijing brand name map, it is determined that the electronic device is in the automobile. If the NFC communication exchanges respective identity information and the identity information of the external device includes a number corresponding to the automobile, it may be determined that the electronic device is in the automobile.
In some embodiments, the identity information of the external device may also be obtained by other sensors in the electronic device, such as obtaining speed information and/or acceleration information by a speed sensor and/or an acceleration sensor, and determining whether the electronic device is in the automobile by the speed information and/or the acceleration information.
In some embodiments, a camera of the electronic device may further acquire a picture of the surrounding environment, and determine whether the electronic device is in the automobile by recognizing the picture of the surrounding environment. Specifically, front and rear cameras of the electronic device can be called to acquire more surrounding environment pictures. The device can also be used in combination with a speed sensor and/or an acceleration sensor, so that the judgment accuracy is improved.
And the processing module is used for storing the bullet frame event into the background if the navigation application is in the working state and the electronic equipment is in the automobile.
If the navigation application is in a working state and the electronic equipment is in the automobile, it indicates that the user is using the navigation application and the automobile is likely to be in operation, at this time, if the events interfering with the user should be reduced as much as possible, the bullet frame event is stored in the background, and the bullet frame corresponding to the bullet frame event is not displayed on the display screen of the electronic equipment in the first time.
And the control module is used for not displaying the bullet frame corresponding to the bullet frame event in a preset time period.
And after the bullet frame event is stored in the background, the bullet frame corresponding to the bullet frame event is not displayed within a preset time period. Specifically, the preset time may be a preset time of the system, such as 5 seconds, 10 seconds, 5 minutes, 10 minutes, and the like. The preset time can also be the working time of the navigation application, namely, the bullet frame corresponding to the bullet frame time is not displayed in the working time of the navigation application.
As can be seen from the above, the bezel processing apparatus provided in the embodiment of the present application detects whether the navigation application is in the operating state and detects whether the speed of the electronic device is within the preset speed range by detecting the bezel event; if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the frame popping event in a background; and not displaying the bullet frame corresponding to the bullet frame event in a preset time period. The method has the advantages that the bullet frame events can be effectively managed when the navigation application works in the running automobile of the electronic equipment, the bullet frames corresponding to the bullet frame events are not displayed within the preset time period, and the display of the navigation route on the display screen of the electronic equipment is not influenced.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
In the embodiment of the present application, the elastic frame processing apparatus and the elastic frame processing method in the above embodiments belong to the same concept, and any method provided in the embodiment of the elastic frame processing method may be run on the elastic frame processing apparatus, and a specific implementation process thereof is described in detail in the embodiment of the elastic frame processing method, and is not described herein again.
The embodiment of the application also provides the electronic equipment. Referring to fig. 11, the electronic device 600 includes a processor 601 and a memory 602. The processor 601 is electrically connected to the memory 602.
The processor 600 is a control center of the electronic device 600, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device 600 by running or loading a computer program stored in the memory 602, and calls data stored in the memory 602, and processes the data, thereby performing overall monitoring of the electronic device 600.
The memory 602 may be used for storing software programs and units, and the processor 601 executes various functional applications and data processing by running the computer programs and units stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 602 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. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
In the embodiment of the present application, the processor 601 in the electronic device 600 loads instructions corresponding to one or more processes of the computer program into the memory 602 according to the following steps, and the processor 601 runs the computer program stored in the memory 602, thereby implementing various functions as follows:
when a frame popping event is detected, detecting whether the navigation application is in a working state, and detecting whether the speed of the electronic equipment is within a preset speed range;
if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the frame popping event in a background;
and not displaying the bullet frame corresponding to the bullet frame event in a preset time period.
In some embodiments, the processor 601 is further configured to perform the following steps:
when a frame popping event is detected, acquiring the authority corresponding to the frame popping event;
if the authority is higher than or equal to the preset authority threshold value, detecting whether the navigation application is in a working state, and detecting whether the electronic equipment is in the automobile;
and if the authority is lower than the preset authority threshold value, clearing the popup frame event.
In some embodiments, the processor 601 is further configured to perform the following steps:
sending out reminding information when the bullet frame event is stored in the background;
the method for displaying the bullet frame corresponding to the bullet frame event in the preset time period specifically comprises the following steps:
acquiring a first control instruction corresponding to the reminding information, and not displaying a bullet frame corresponding to the bullet frame event in the working time period of the navigation application;
and displaying the bullet frame corresponding to the bullet frame event after the navigation application is finished.
In some embodiments, the processor 601 is further configured to perform the following steps:
sending out reminding information when the bullet frame event is stored in the background;
the method for displaying the bullet frame corresponding to the bullet frame event in the preset time period specifically comprises the following steps:
in a response time period, if a first control instruction corresponding to the reminding information is received, not displaying a bullet frame corresponding to the bullet frame event in a preset time period;
if a second control instruction corresponding to the reminding information is received, clearing the bullet frame event;
and if a third control instruction corresponding to the reminding information is received, displaying the navigation application and the popup frame in a split screen mode.
In some embodiments, the processor 601 is further configured to perform the following steps:
continuously acquiring the current speed of the electronic equipment;
and if the current speed is less than a preset speed threshold value, displaying the navigation application and the popup frame in a split screen mode.
As can be seen from the above, according to the electronic device provided in the embodiment of the present application, when a pop-up frame event is detected, whether a navigation application is in a working state is detected, and whether the speed of the electronic device is within a preset speed range is detected; if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the frame popping event in a background; and not displaying the bullet frame corresponding to the bullet frame event in a preset time period. The method has the advantages that the bullet frame events can be effectively managed when the navigation application works in the running automobile of the electronic equipment, the bullet frames corresponding to the bullet frame events are not displayed within the preset time period, and the display of the navigation route on the display screen of the electronic equipment is not influenced.
Referring also to fig. 12, in some embodiments, the electronic device 600 may further include: a display 603, a radio frequency circuit 604, an audio circuit 605, and a power supply 606. The display 603, the rf circuit 604, the audio circuit 605 and the power supply 606 are electrically connected to the processor 601, respectively.
The display 603 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The Display 603 may include a Display panel, and in some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 604 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices through wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 605 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone.
The power supply 606 may be used to power various components of the electronic device 600. In some embodiments, the power supply 606 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 12, the electronic device 600 may further include a camera, a bluetooth unit, and the like, which are not described in detail herein.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the application program management and control method in any one of the above embodiments, for example: when a frame popping event is detected, detecting whether the navigation application is in a working state, and detecting whether the speed of the electronic equipment is within a preset speed range; if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, storing the frame popping event in a background; and not displaying the bullet frame corresponding to the bullet frame event in a preset time period. In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the bezel processing method in the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process for implementing the bezel processing method in the embodiment of the present application can be completed by controlling the related hardware through a computer program, the computer program can be stored in a computer readable storage medium, such as a memory of the electronic device, and executed by at least one processor in the electronic device, and the process of executing the computer program can include the process of the embodiment of the bezel processing method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
In the elastic frame processing device according to the embodiment of the present application, each functional unit may be integrated into one processing chip, each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing describes in detail a bullet frame processing method, apparatus, storage medium, and electronic device provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and implementation manner of the present application, and the description of the foregoing embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A bullet frame processing method is applied to electronic equipment and is characterized by comprising the following steps:
when a frame popping event is detected, detecting whether a navigation application is in a working state, and detecting whether the speed of the electronic equipment is within a preset speed range;
if the navigation application is in a working state and the speed of the electronic equipment is within a preset speed range, judging whether the electronic equipment is in the automobile or not;
if the electronic equipment is in the automobile, storing the popup frame event into a background and sending out reminding information; in a response time period, if a first control instruction corresponding to the reminding information is received, not displaying the bullet frame corresponding to the bullet frame event in a preset time period;
if a second control instruction corresponding to the reminding information is received, clearing the bullet frame event;
if a third control instruction corresponding to the reminding information is received, continuously acquiring the current speed of the electronic equipment, and if the current speed is smaller than a preset speed threshold, displaying the navigation application and the pop-up frame in a split screen manner;
after the screen is displayed for a period of time, continuously detecting the speed of the electronic equipment;
and when the speed of the electronic equipment is greater than a preset speed threshold value, restoring full-screen display and displaying a navigation application interface.
2. The bezel processing method as claimed in claim 1, wherein the step of detecting whether a navigation application is in an operating state and whether the speed of the electronic device is within a preset speed range when the bezel event is detected comprises:
when a frame popping event is detected, acquiring the authority corresponding to the frame popping event;
if the authority is higher than or equal to a preset authority threshold value, detecting whether the navigation application is in a working state, and detecting whether the speed of the electronic equipment is within a preset speed range;
and if the authority is lower than the preset authority threshold value, clearing the popup frame event.
3. The bezel processing method as recited in claim 1, further comprising:
sending out reminding information when the bullet frame event is stored in the background;
the not displaying the bullet frame corresponding to the bullet frame event in the preset time period specifically includes:
acquiring a first control instruction corresponding to the reminding information, and not displaying the bullet frame corresponding to the bullet frame event in the working time period of the navigation application;
and displaying the bullet frame corresponding to the bullet frame event after the navigation application is finished.
4. A bullet frame processing apparatus, is applied to electronic equipment, its characterized in that, the device includes:
the detection module is used for detecting whether the navigation application is in a working state or not and detecting whether the speed of the electronic equipment is within a preset speed range or not when a pop frame event is detected;
the processing module is used for judging whether the electronic equipment is in the automobile or not if the navigation application is in the working state and the speed of the electronic equipment is within a preset speed range; if the electronic equipment is in the automobile, storing the popup frame event into a background and sending out reminding information;
the control module is used for not displaying the bullet frame corresponding to the bullet frame event in a preset time period if a first control instruction corresponding to the reminding information is received in a response time period, clearing the bullet frame event if a second control instruction corresponding to the reminding information is received, continuously acquiring the current speed of the electronic equipment if a third control instruction corresponding to the reminding information is received, and displaying the navigation application and the bullet frame in a split screen mode if the current speed is smaller than a preset speed threshold value; after the screen is displayed for a period of time, continuously detecting the speed of the electronic equipment; and when the speed of the electronic equipment is greater than a preset speed threshold value, restoring full-screen display and displaying a navigation application interface.
5. The bezel processing apparatus as recited in claim 4, wherein the processing module comprises:
the first obtaining submodule is used for obtaining the authority corresponding to the bullet frame event when the bullet frame event is detected;
the second obtaining submodule is used for detecting whether the navigation application is in a working state or not and detecting whether the speed of the electronic equipment is in a preset speed range or not if the authority is higher than or equal to a preset authority threshold;
and the clearing submodule is used for clearing the bullet frame event if the authority is lower than the preset authority threshold.
6. The apparatus according to claim 4, wherein the processing module is further configured to send a warning message when the magazine event is stored in the background;
the control module is further configured to acquire a control instruction corresponding to the reminding information, and within the navigation application working time period, not display the popup frame corresponding to the popup frame event;
the device further comprises a display module, wherein the display module is used for displaying the bullet frame corresponding to the bullet frame event after the navigation application is finished.
7. A storage medium having stored thereon a computer program, characterized in that, when the computer program is run on a computer, it causes the computer to execute the bezel processing method as claimed in any one of claims 1 to 3.
8. An electronic device comprising a processor and a memory, the memory having a computer program, wherein the processor is configured to execute the bezel processing method according to any one of claims 1 to 3 by calling the computer program.
CN201711387921.8A 2017-12-20 2017-12-20 Elastic frame processing method and device, storage medium and electronic equipment Active CN108055401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711387921.8A CN108055401B (en) 2017-12-20 2017-12-20 Elastic frame processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711387921.8A CN108055401B (en) 2017-12-20 2017-12-20 Elastic frame processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108055401A CN108055401A (en) 2018-05-18
CN108055401B true CN108055401B (en) 2020-12-01

Family

ID=62130617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711387921.8A Active CN108055401B (en) 2017-12-20 2017-12-20 Elastic frame processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108055401B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116680000A (en) * 2022-10-28 2023-09-01 荣耀终端有限公司 Method for displaying bullet frame, electronic device and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353942A (en) * 2015-11-05 2016-02-24 深圳市金立通信设备有限公司 Information output method and terminal
CN105677132A (en) * 2016-01-06 2016-06-15 腾讯科技(深圳)有限公司 Processing method and device for prompt information of application program
CN106102024A (en) * 2016-06-12 2016-11-09 乐视控股(北京)有限公司 A kind of mobile device message based on translational speed pushes management method and system
CN106131298A (en) * 2016-06-12 2016-11-16 乐视控股(北京)有限公司 A kind of mobile device message pushes management method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851010B (en) * 2017-03-02 2020-06-23 腾讯科技(深圳)有限公司 Interference processing method and terminal for target application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353942A (en) * 2015-11-05 2016-02-24 深圳市金立通信设备有限公司 Information output method and terminal
CN105677132A (en) * 2016-01-06 2016-06-15 腾讯科技(深圳)有限公司 Processing method and device for prompt information of application program
CN106102024A (en) * 2016-06-12 2016-11-09 乐视控股(北京)有限公司 A kind of mobile device message based on translational speed pushes management method and system
CN106131298A (en) * 2016-06-12 2016-11-16 乐视控股(北京)有限公司 A kind of mobile device message pushes management method and system

Also Published As

Publication number Publication date
CN108055401A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
US11686586B2 (en) Facilitating rider pick-up for a transport service
WO2020244622A1 (en) Notification prompt method, terminal and system
US8811938B2 (en) Providing a user interface experience based on inferred vehicle state
US8929853B2 (en) Mobile emergency attack and failsafe detection
CN109298719B (en) Method and device for taking over intelligent automobile and storage medium
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
CN107452221B (en) Arrival reminding method and device
CN109286727B (en) Operation control method and terminal equipment
CN109318906B (en) Method and device for detecting take-over of intelligent automobile and storage medium
CN112036314A (en) Steering wheel hands-off detection method and device, electronic equipment and storage medium
CN111899545B (en) Driving reminding method and device, storage medium and mobile terminal
CN107246881B (en) Navigation reminding method, device and terminal
CN109708657B (en) Reminding method and mobile terminal
US20170289808A1 (en) Method and device for information presentation and computer-readable medium
CN110991260B (en) Scene marking method, device, equipment and storage medium
CN115022459B (en) Travel reminding method and electronic equipment
US10317234B2 (en) Terminal for providing vehicle interface and control method thereof
KR102124197B1 (en) System for controlling in-vehicle-infortainment apparatus using mobile terminal and method for the same
CN108055401B (en) Elastic frame processing method and device, storage medium and electronic equipment
CN114103985A (en) Obstacle-based prompting method, device and equipment
EP4346194A1 (en) Vehicle, and processing method and device for vehicle user privacy
CN110231048B (en) Location information display method, device, terminal and storage medium
CN110231049B (en) Navigation route display method, device, terminal and storage medium
US20230022123A1 (en) Autonomous driving method and apparatus
CN108639056B (en) Driving state detection method and device and mobile terminal

Legal Events

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

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

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

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

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

GR01 Patent grant
GR01 Patent grant