WO2021004527A1 - Countdown display method and electronic device - Google Patents

Countdown display method and electronic device Download PDF

Info

Publication number
WO2021004527A1
WO2021004527A1 PCT/CN2020/101340 CN2020101340W WO2021004527A1 WO 2021004527 A1 WO2021004527 A1 WO 2021004527A1 CN 2020101340 W CN2020101340 W CN 2020101340W WO 2021004527 A1 WO2021004527 A1 WO 2021004527A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
application
countdown
option
user
Prior art date
Application number
PCT/CN2020/101340
Other languages
French (fr)
Chinese (zh)
Inventor
陈佳子
陈晓晨
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021004527A1 publication Critical patent/WO2021004527A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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

Definitions

  • the embodiments of the present application relate to the field of electronic technology, and in particular to a countdown display method and electronic equipment.
  • the embodiment of the application provides a countdown display method and an electronic device.
  • the countdown is displayed on the application icon that requires the countdown, so that the user can directly know the time until the start of the panic buying activity, and does not require the user to open the application for time confirmation, so as to avoid delaying the best opportunity.
  • an embodiment of the present application provides a countdown display method.
  • the method may include: an electronic device receives a user's first operation on an application icon of a first application, where the first application is a shopping application; In operation, the electronic device displays a first interface, where the first interface includes a first option and/or at least one second option, the first option corresponds to a panic buying activity in the first application within a first preset time, and at least one second option Corresponding to the snap-purchase activity of the store or product that the user pays attention to in the first application or the snap-purchase activity of the store or product browsed by the user within the second preset time in the first application; the electronic device receives the user’s first option and/or at least A second option selection operation; in response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and calculates the countdown duration based on the start time and the current system time; the electronic device uses the application icon on the first application The countdown time is counted
  • the first interface is displayed, where the first interface includes a first option and at least one second option.
  • Each option corresponds to a panic buying activity.
  • the electronic device obtains the user's selection operation, determines the countdown duration according to the options of the selection operation, displays the countdown duration on the icon of the first application and performs the countdown.
  • the electronic device in response to the selection operation, obtains the start time of the activity corresponding to the option selected by the user, and calculates the countdown duration according to the start time and the current system time, which specifically includes: If the device determines that the option is the first option, query the public timetable to obtain the start time of the activity corresponding to the first option, and calculate the countdown time according to the start time of the activity corresponding to the first option and the current system time; and/or, if the electronic device is determined The option is the second option, query the attention schedule to obtain the start time of the activity corresponding to the second option, and calculate the countdown duration according to the start time of the activity corresponding to the second option and the current system time.
  • Different timetables are queried according to different options, where the public timetable records the start time of the activity corresponding to the first option, and the attention timetable records the start time of the activity corresponding to the second option in the first application.
  • the first option corresponds to a known panic buying activity, and the start time of the first option is also known;
  • the attention schedule in the first application is for the first application’s attention product or attention store or for the second preview Set the rush-purchase activities of the products browsed within the time, according to the different habits of each user, each user’s attention schedule is different, the user can choose the corresponding second option according to his preference during the process of selecting the countdown display.
  • the selection operation displays the start time of the corresponding option in a countdown, which further improves the user experience.
  • the countdown display method further includes: the electronic device displays the second interface, where the first The second interface includes at least one countdown display format; the electronic device obtains the format of the countdown display selected by the user; the electronic device uses the countdown duration on the application icon of the first application to perform the countdown, which specifically includes: the electronic device displays the format in the first according to the countdown display.
  • the application icon of the application uses the countdown duration to count down.
  • the format for the electronic device to count down on the application icon of the first application includes any one of a number format, a progress bar format, a block progress format, and a dial format. .
  • the countdown display format on the application icon includes more than one format. Users can choose the format for displaying the countdown according to their preferences, providing users with a good visual experience and further optimizing the user experience.
  • the electronic device in this application includes at least one countdown application.
  • the electronic device obtains the start time of the activity corresponding to the option selected by the user.
  • the countdown display method further includes: the electronic device determines the corresponding snap-up activity of each application within the first preset time, queries the start time of each corresponding activity within the first preset time, and according to the corresponding activity within the first preset time A public timetable is generated at the start time; the following operations are performed on at least one countdown application respectively: the electronic device acquires the store or the rush-purchase activity of the product concerned by the application user or the store or the product browsed by the user within the second preset time Panic buying activity; the electronic device queries the starting time of the panic buying activity of each store followed by the user and the stores browsed by the user within the second preset time; the electronic device generates the attention schedule according to the starting time.
  • the public timetable and the attention timetable are generated in advance to facilitate the electronic device to query the start time of the corresponding option according to the user's selection operation, so that the electronic device can quickly calculate the countdown time according to the start time of the panic buying activity.
  • the implementation manner of this application further includes: in response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and according to the start time and the current system time After calculating the countdown duration, before the electronic device uses the countdown duration on the application icon of the first application to count down, the method further includes:
  • the electronic device receives the user’s second operation on the application icon of the first application; in response to the second operation, the electronic device displays a third interface, where the third interface includes the countdown duration in the editing state; the electronic device receives the user’s feedback on the countdown duration Editing operation; the electronic device uses the edited countdown duration on the application icon to count down.
  • the user can edit the countdown duration as needed to meet the user's requirement for setting the countdown duration.
  • the implementation manner of the present application further includes that after the countdown is performed on the application icon of the first application, the method further includes:
  • the electronic device displays the countdown duration in the status bar to count down; and/or if it is determined that the countdown duration is less than or equal to the second preset duration, the electronic device displays the countdown at the floating window on the screen The time counts down.
  • the user may be using other applications.
  • the user In order to avoid checking the start time of the shopping activity, the user needs to launch the current application and check the time of the first application.
  • the countdown duration After the countdown duration is less than or equal to the first preset duration, the countdown will be displayed in the status bar, or, after the countdown duration is less than or equal to the second preset duration, the countdown duration will be displayed in the large floating window on the screen, effectively preventing the user from exiting the current application , And can intuitively understand the current countdown progress.
  • the embodiments of the present application provide an electronic device.
  • the electronic device includes a touch screen, a memory, and at least one processor; the touch screen, the memory and the processor are coupled; the memory is used to store computer program codes, and the computer program codes include computer instructions,
  • the processor executes computer instructions, the processor is used to receive a user's first operation on the application icon of the first application, where the first application is a shopping application; the processor is also used to control the touch screen to display the first interface,
  • the touch screen is used to display a first interface; wherein, the first interface includes a first option and/or at least one second option, the first option corresponds to a panic buying activity within a first preset time in the first application, and at least one second option Corresponding to the snap-purchase activity of the store followed by the user in the first application or the snap-purchase activity of the store browsed by the user within the second preset time in the first application; the processor is further configured to receive the user’s response to the first option and/or at least A second option selection
  • the processor is specifically configured to: if it is determined that the option is the first option, query the public timetable to obtain the start time of the activity corresponding to the first option, and correspond to the activity according to the first option Calculate the countdown time for the start time and current system time; and/or, if the option is determined to be the second option, query the attention timetable to obtain the start time of the activity corresponding to the second option, and according to the start time and current System time, calculate the countdown duration.
  • the processor is further configured to control the touch screen to display a second interface, and the touch screen is also configured to display a second interface, where the second interface includes at least one countdown display
  • the processor is also used to obtain the format of the countdown display selected by the user; the touch screen is specifically used to count down by using the countdown duration on the application icon of the first application according to the format of the countdown display.
  • the touch screen is specifically used to display the countdown format on the application icon of the first application including: number format, progress bar format, block progress format, and dial format. Of any kind.
  • the electronic device includes at least one countdown application
  • the processor is further configured to determine the corresponding snap-up activity of each application within the first preset time , Query the start time of the corresponding activity within each first preset time, and generate a public timetable according to the start time of the corresponding activity within the first preset time; for each application, the processor is also used to obtain the attention of the application user Panic buying activities of shops or commodities or those visited by users within the second preset time; query the panic buying activities of stores or commodities that each user pays attention to or browsed by users within the second preset time The start time of the rush-purchase activity of the store or product; the attention schedule is generated according to the start time.
  • the processor is further configured to receive a second operation of the user on the application icon of the first application; in response to the second operation, control the touch screen to display the third interface; the touch screen , Is also used to display the third interface, where the third interface includes the countdown duration in the editing state; the processor is also used to receive the user's editing operation on the countdown duration; the touch screen is also used to use the application icon The edited countdown time is counted down.
  • the processor is further configured to, if it is determined that the countdown duration is less than or equal to the first preset duration, control the touch screen to display the countdown duration in the status bar for countdown; and/or, if Make sure that the countdown duration is less than or equal to the second preset duration, and control the touch screen to display the countdown duration in the floating window position on the screen for countdown; the touch screen is also used to display the countdown duration in the status bar for countdown, and/or display in the floating window position on the screen The countdown time is counted down.
  • embodiments of the present application provide a chip system, which is applied to an electronic device including the above-mentioned touch screen.
  • the chip system includes one or more interface circuits and one or more processors.
  • the interface circuit and the processor are interconnected by wires.
  • the interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes a computer instruction stored in the memory.
  • the processor executes the computer instructions
  • the electronic device executes the countdown display method as in the first aspect and any one of its possible implementation manners.
  • an embodiment of the present application provides a computer storage medium, which includes computer instructions.
  • the computer instructions run on an electronic device, the electronic device executes the first aspect and any of its possible implementation manners. In the countdown display method.
  • the embodiments of the present application provide a computer program product.
  • the computer program product runs on a computer, the computer executes the countdown display in the first aspect and any of its possible implementations. method.
  • the electronic equipment of the second aspect and any of its possible design methods provided above, the chip system of the third aspect, the computer storage medium of the fourth aspect, and the computer program product of the fifth aspect can achieve the benefits
  • FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of the display of a main interface of a mobile phone according to an embodiment of the application
  • FIG. 4 is a display interface diagram of a mobile phone for performing a first operation according to an embodiment of the application
  • FIG. 5 is a schematic diagram of displaying a first interface provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of a countdown display interface provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of displaying a setting folder on the main interface of a mobile phone according to an embodiment of the application.
  • FIG. 8 is a schematic diagram of a countdown display interface after a folder is opened according to an embodiment of the application
  • FIG. 9 is a schematic diagram of a display of a second interface provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of displaying a countdown status bar according to an embodiment of the application.
  • FIG. 11 is a schematic diagram showing the position of a countdown floating window provided by an embodiment of the application.
  • FIG. 12 is a schematic diagram of displaying a third interface provided by an embodiment of this application.
  • FIG. 13 is a schematic diagram of a chip system provided by an embodiment of the application.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, “plurality” means two or more.
  • the embodiment of the present application provides a method for displaying a countdown timer.
  • the method can be applied to an electronic device. Multiple applications may be installed in the electronic device. Some applications may have panic buying activities.
  • the countdown allows users to directly know the time until the start of the panic buying activity, and does not require users to open the application to confirm the time, so as to avoid delaying the best time.
  • the electronic devices in the embodiments of the present application may be mobile phones, tablet computers, desktops, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, and cellular computers.
  • FIG. 1 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, and a battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the aforementioned sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K, Ambient light sensor 180L and bone conduction sensor 180M and other sensors.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the interface connection relationship between the modules illustrated in this embodiment is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, the power management module 141 can also supply power to the electronic device.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna for wireless LAN.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is an image processing microprocessor, which connects the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • emitting diode AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats.
  • the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • the NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121.
  • the processor 110 may execute instructions stored in the internal memory 121, and the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called a "speaker” is used to convert audio electrical signals into sound signals.
  • the receiver 170B also called “earpiece”, is used to convert audio electrical signals into sound signals.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions.
  • the electronic device 100 may collect the pressing force (or called pressing pressure) of the touch operation input by the user on the touch screen (ie, the display screen 194) through the pressure sensor 180A.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the electronic device 100 can measure the distance by infrared or laser.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the electronic device 100 can detect the touch operation input by the user on the touch screen through the touch sensor 180K, and collect the touch position, touch area, touch direction, and touch time of the touch operation on the touch screen. One or more of. In some embodiments, the electronic device 100 may combine the touch sensor 180K and the pressure sensor 180A to determine the touch position of the touch operation on the touch screen.
  • the button 190 includes a power button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations applied to different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the methods in the following embodiments can all be implemented in the electronic device 100 having the above hardware structure.
  • the above-mentioned electronic device 100 is a mobile phone as an example to describe the method of the embodiment of the present application.
  • the embodiment of the present application provides a countdown display method.
  • the method flow is shown in FIG. 2 and includes step 201 to step 205:
  • Step 201 Receive a first operation for an application icon of a first application.
  • the first application is a shopping application.
  • the mobile phone includes more than one APP. Not every APP needs a countdown display.
  • the main technical problem solved by this application is that in order to prevent users from missing out on buying activities in shopping applications, Class application settings countdown display.
  • the shopping applications here include a variety of trading websites that provide convenience for life, such as Taobao, Railway 12306, etc.
  • medical applications can make appointment registration at a fixed time, and appointment registration is also possible The payment behavior is equivalent to a snap-up activity carried out at a fixed time. Therefore, medical applications can also display a countdown.
  • the first operation in this application may be any one of a single-click operation, a long-press operation, or a double-click operation.
  • the mobile phone obtains the first operation, it can be determined that the response information is a countdown display of the first application.
  • the description of the first operation here is only an example, and the specific content of the first operation can be set according to user operating habits or system settings, and there is no limitation here.
  • the mobile phone displays the main interface.
  • the main interface includes icons for the "Alipay” application, the "Taobao” application, and the "Photo” application.
  • the mobile phone may receive the user's first operation on the icon of the "Taobao” application.
  • Step 202 In response to the first operation, display a first interface.
  • the first interface includes a first option and/or at least one second option.
  • the first option corresponds to the panic buying activity within the first preset time in the first application.
  • the at least one second option corresponds to a rush-purchase activity of a store or a commodity that the user pays attention to in the first application or a rush-purchase activity of a shop or commodity that the first application has been used for within the second preset time.
  • the first option within the first preset time may be one, two, etc., or there may be no first option.
  • the system time of the current mobile phone is November 1, 2018, the first preset time is 3 days, and there is no panic buying activity within the first preset time.
  • the first interface does not include The first option.
  • the first preset time may be 6 months, 1 month, one week, etc., which is not specifically limited.
  • the second option since the second option includes the store or product that the user pays attention to, or the store or product browsed within the second preset time, the display quantity of the second option is also related to the second preset time.
  • the first application is the "Taobao” application
  • the current mobile phone system time is November 1, 2018
  • the first preset time is 7 days. If the user has not opened the "Taobao” application within 7 days, then The second option only includes rush-purchase activities of shops or commodities that the user pays attention to. Therefore, the second preset time may be one week, two weeks, one month, etc., which is only an example here and is not limited.
  • the display interface corresponding to b in Figure 4 is a menu interface, and the menu interface displays all functions corresponding to the long-press operation.
  • a in Figure 4 represents the long-press operation of the first application
  • b in Figure 4 It means that the first application can be uninstalled, updated and counted down after the long press operation. The user clicks on the countdown to enter the first interface. Therefore, the first operation is a long press operation and a click operation on the first application icon.
  • the first operation cannot be understood as an operation on the terminal device only.
  • the first operation can also be set as an operation action. This is just an example.
  • the mobile phone displays a first interface, as shown in FIG. 5, the first interface includes multiple snap-ups Options corresponding to the activity (including the first option and/or the second option).
  • the mobile phone has a full-screen fingerprint recognition function, set the first operation to touch operation plus fingerprint information of a certain finger, and use the finger Touch the application icon of the first application, and the mobile phone obtains fingerprint information according to the touch operation. If the fingerprint information corresponds to the preset fingerprint information, the mobile phone determines to display the first application countdown and displays the first interface.
  • the first interface may include multiple options.
  • the symbol " ⁇ " in FIG. 5 represents the first option
  • the symbol " ⁇ " represents the second option.
  • the first option is a panic buying activity within the first preset time. For example, if the first preset time is 1 month and the system time is November 1, 2019, the first option includes the "Double Eleven" shopping festival and the "Black Friday" shopping festival. Among them, the shopping festival corresponding to the first option is a large shopping festival. Most e-commerce platforms will participate in the shopping festival.
  • the first preset time is different, the number of the first options displayed in the first interface is also different. As shown in Figure 5, if the first preset time is two months, the current system time is November 1, 2019.
  • the first option includes the "Double Eleven” shopping festival and "Double Twelve” shopping festival.
  • the second option corresponds to a panic buying activity of a store or product that the user pays attention to, or a panic buying activity of a store or product that the user browses within the second preset time. For example, if the user's attention list includes shop 1, the second preset time is one week, and the user has browsed shop 2 within a week, the second option includes the rush buying activity of shop 1 and the rush buying activity of shop 2. It should be noted that a list of options including the first option and/or the second option will be displayed in the first interface.
  • the option list in FIG. 5 is only an example, and the format of the specific option list is not limited.
  • At least one second option is displayed in the first interface. Since the second option is related to the user's attention behavior of the first application and the user's browsing behavior in the first application, information interaction with the first application is required , Get the user's attention category and browse list in the first application. However, as time changes, the user's watch list and browse list in the first application may change. In order to ensure that during the countdown display process, the second option displayed in the first interface is the same as the user's watch list and browse list, the second option in the first interface needs to be updated.
  • a predetermined time can be set to interact with the first application, obtain information about shops or products of interest in the first application, and obtain information about shops or products browsed by the user within the second preset time by the first application , So that the mobile phone can update the specific options in the second option in the first interface to improve user experience.
  • the specific method of information interaction with the first application is not limited. It can be understood that to obtain relevant information of the first application, it is necessary to execute the countdown display application to obtain the relevant permissions for the operation of the first application. Repeat.
  • Step 203 Receive a user's selection operation of the first option and/or at least one second option.
  • the selection operation acquired by the mobile phone may include one or more options.
  • the selection operation includes only one first option, or the selection operation includes only one second option, or, the selection operation includes a first option and a second option, and the number of options in the selection operation is not done Specific restrictions.
  • Step 204 In response to the selection operation, obtain the start time of the activity corresponding to the option selected by the user, and calculate the countdown duration according to the start time and the current system time.
  • the countdown duration can be obtained according to the start time of the snap-up activity corresponding to the option and the current system time.
  • the start time of the panic buying activity corresponding to the option can be obtained by checking the table, direct input, etc.
  • the method of obtaining the starting time of the panic buying activity corresponding to the option is not limited in this application.
  • the start time of the panic buying activity corresponding to the option is obtained by looking up the table. Specifically, if the mobile phone determines that the options include the first option, it can query the public timetable to obtain the start time of the activity corresponding to the first option; then, calculate the countdown time according to the start time of the activity corresponding to the first option and the current system time . If the mobile phone determines that the options include the second option, query the attention schedule to obtain the start time of the activity corresponding to the second option, and calculate the countdown duration according to the start time of the activity corresponding to the second option and the current system time. In the specific implementation, the mobile phone performs query according to the obtained options in the selection operation, and this is only an example.
  • the above public timetable and attention timetable can be set in a mobile phone or in a remote server. If the public timetable and the attention timetable are set in the mobile phone, the mobile phone can directly query the relevant timetable to obtain the start time after obtaining the user's selection operation. If the public timetable and the attention timetable are set on the remote server, after the mobile phone obtains the selection operation, it can send query commands to the remote server according to the selection operation options, and obtain the corresponding start time of the panic buying activity according to the response information returned by the remote server .
  • a public timetable is generated according to the activity of the first option among applications that can count down in the mobile phone, and a watched timetable is generated according to the watch list and the browse list of each countdown application.
  • the mobile phone includes at least one countdown application.
  • the mobile phone determines the corresponding snap-up activity of each application within the first preset time, and queries the start of the corresponding snap-up activity within each first preset time Time, a public timetable is generated according to the start time of the corresponding activity within the first preset time. Since the watch list and browse list of each application are different, the watch schedule of each application that can count down is also different.
  • the mobile phone obtains the panic buying activities of the stores followed by the application user and the panic buying activities of the stores browsed by the user within the second preset time; the mobile phone queries the panic buying activities of the store followed by the user or The start time of the panic buying activity of the store browsed by the user within the second preset time; the mobile phone generates the attention schedule according to the start time.
  • querying the start time of each panic buying activity can be through information interaction with the application to obtain the starting time of the panic buying activity, or through online querying of the panic buying activity Starting time.
  • the time of the panic buying activity corresponding to the second option in the first application may change, and a preset time can be set to update or confirm the time in the attention schedule to ensure the accuracy of the countdown display.
  • the attention time table is generated based on the attention and browsing list of each application that can count down.
  • a focus schedule can be generated for each application.
  • the public timetable is the same for each mobile phone. Therefore, generating a public timetable at the initial stage of setting the countdown display method helps multiple mobile phones to share the public timetable. For example, It is set on the server and does not require each mobile phone to generate a public timetable, which helps to save mobile phone storage resources and computing resources.
  • Step 205 Use the countdown duration on the application icon of the first application to count down.
  • the countdown is displayed on the application icon as shown in Figure 6, and the first option in the figure is marked with " ⁇ " , The second option is marked with " ⁇ ", the countdown time in the figure is an example.
  • the user’s selection operation can include at least one option, at least one countdown time should be displayed in the icon of the first application. Since the area of the application icon of the first application is limited, if it exceeds a certain number, it will There is a problem that the countdown cannot be displayed on the application icon of the first application.
  • a preset number of countdowns are displayed on the application icon. If the displayed number of the countdown is greater than the preset number, the countdown duration is displayed according to the duration of the countdown. Countdown, or display according to the selection order of the user's selection operation, here is only an example.
  • life practical applications include “Taobao” applications and " If the "Jingdong” application counts down Taobao, it will be displayed in Taobao's application icon. Users cannot visually check the display status of the countdown without opening the life utility folder. For the above situation, you can directly display the countdown on the application icon on the display icon of the folder. When the user clicks on the folder, the folder opens and the countdown is displayed on the corresponding application icon, as shown in Figure 8 for the user Determine the application corresponding to the countdown on the folder.
  • the format when displaying the countdown in Figure 6 is only an example.
  • the mobile phone can display the countdown according to the countdown display format set or selected by the user.
  • the user's display preference type can be obtained .
  • a second interface is displayed, where the second interface includes at least one countdown display format; the countdown display format on the second interface selected by the user is acquired.
  • the specific implementation of step 205 is to use the countdown duration on the application icon of the first application to count down according to the format of the countdown display.
  • FIG. 9 an example of the display format in the second interface is shown in Figure 9.
  • the user can select any format for countdown display.
  • the figure is only an example.
  • the above digital format can intuitively and accurately reflect the time from the start of the panic buying activity.
  • the progress bar format and block format cannot directly reflect the specific time. You can also set the time display operation on the countdown. For example, the mobile phone obtains the display operation on the progress bar or block format, and displays the specific countdown time.
  • the countdown is displayed on the application icon of a shopping application to avoid the user from missing the shopping activity in the application, and the user can intuitively understand the time until the start of the shopping festival without opening the application , The user does not need to wait in the shopping application in real time while using the mobile phone.
  • a countdown is displayed on the status bar of the mobile phone or the floating window on the screen.
  • a specific implementation process is: if it is determined that the countdown duration is less than or equal to the first preset duration, the mobile phone displays the countdown duration in the status bar for countdown, as shown in FIG. 10.
  • the mobile phone displays the countdown duration in the floating window position of the screen to count down, as shown in FIG. 11.
  • the countdown time can also be displayed in the status bar and the floating window position at the same time. This is just an example. Other forms of display can also be set.
  • the mobile phone's prompt light or prompt sound in order to prevent users from missing the start time of the shopping activity, they can also cooperate with the mobile phone's prompt light or prompt sound. For example, if it is determined that the countdown duration is less than or equal to the first 3. For the preset duration, the mobile phone controls the reminder light to flash, and/or, if it is determined that the countdown duration is less than or equal to the fourth preset duration, the mobile phone emits a reminder tone.
  • the countdown displayed on the application icon in this application is a countdown time that changes in real time, and the display mode of a format such as a progress bar also changes in real time.
  • the countdown display method in this application can be set in the mobile phone in the form of an application, or directly set in the mobile phone's operating system. Specifically, the countdown display method can be directly set in the mobile phone's operating system, then Set the countdown to the first application directly through the first operation. If it is set in the mobile phone in the form of an application, it is necessary to ensure that the application is in a running state, and set the countdown to the first application through the first operation.
  • the first interface is displayed, where the first interface includes a first option and at least one second option , Each option corresponds to a panic buying activity.
  • the mobile phone obtains the user's selection operation, determines the countdown duration according to the options of the selection operation, and displays the countdown duration on the icon of the first application and performs the countdown.
  • the countdown time is used to count down on the application icon, in order to avoid the inaccurate start time of the panic buying activity obtained by the mobile phone, or the user wants to advance the countdown time by a certain amount of time to ensure that the user can also edit the countdown time .
  • the setting user can edit the countdown duration.
  • the countdown display method includes: receiving a second operation of the user on the application icon of the first application; in response to the second operation, displaying a third interface, where the third interface includes being in an editing state
  • the mobile phone receives the user’s editing operation of the countdown time; the mobile phone uses the edited countdown time on the application icon to count down.
  • the third interface is an editable countdown duration.
  • the user can edit the countdown duration in the third interface as shown in FIG. 12, and the mobile phone obtains the edited countdown duration by the user to count down.
  • the electronic device may include the aforementioned touch screen, a memory, and one or more processors.
  • the touch screen, memory and processor are coupled.
  • the memory is used to store computer program code, and the computer program code includes computer instructions.
  • the processor executes the computer instructions, the electronic device can execute the steps related to the countdown display method in the foregoing method embodiment.
  • the structure of the electronic device can refer to the structure of the electronic device 100 shown in FIG. 1.
  • the device is used to execute the steps related to the countdown display method in the above method embodiment.
  • the chip system includes at least one processor 1301 and at least one interface circuit 1302.
  • the processor 1301 and the interface circuit 1302 may be interconnected by wires.
  • the interface circuit 1302 may be used to receive signals from other devices (such as the memory of an electronic device).
  • the interface circuit 1302 may be used to send signals to other devices (such as the processor 1301).
  • the interface circuit 1302 can read instructions stored in the memory and send the instructions to the processor 1301.
  • the electronic device can execute the steps in the foregoing embodiments.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • the embodiments of the present application also provide a computer storage medium, which includes computer instructions, which when the computer instructions run on the above-mentioned electronic device, cause the electronic device to execute each step of the above-mentioned method embodiment.
  • the embodiment of the present application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute each step of the foregoing method embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Abstract

A countdown display method and an electronic device, relating to the technical field of electronics. Countdown can be performed on an icon of an application that needs a countdown, such that a user can directly learn the time before the start of a snap purchasing event, and the user does not need to open an application to confirm the time, thereby preventing the optimal time from being missed. The specific scheme comprises: an electronic device receiving a first operation performed by a user on an application icon of a first application (201), wherein the first application is a shopping application; in response to the first operation, displaying a first interface (202), wherein the first interface comprises a first option and/or at least one second option; receiving a selection operation performed by the user on the first option and/or the at least one second option (203); in response to the selection operation, acquiring the start time of an event corresponding to an option selected by the user, and calculating a countdown duration according to the start time and the current system time (204); and performing countdown on the application icon of the first application by using the countdown duration (205).

Description

一种倒计时显示方法及电子设备Countdown display method and electronic equipment
本申请要求于2019年07月10日提交国家知识产权局、申请号为201910621393.0发明名称为“一种倒计时显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on July 10, 2019, the application number is 201910621393.0 and the invention title is "a method for displaying a countdown timer and an electronic device", the entire content of which is incorporated into this application by reference in.
技术领域Technical field
本申请实施例涉及电子技术领域,尤其涉及一种倒计时显示方法及电子设备。The embodiments of the present application relate to the field of electronic technology, and in particular to a countdown display method and electronic equipment.
背景技术Background technique
生活当中有很多场景需要倒计时,比如秒杀活动和抢票。通常具有电子商务性质的应用(application,APP)或者网站都会组织秒杀活动。尤其类似“双十一”这些购物节,每到购物节,大家都是提前加好购物车,看好时间到时准时购买,以免要购买的东西被其他人抢购。为了更精确的进行秒杀或者抢票,用户往往需要准点进行抢购或购票。为了避免错过秒杀时间,用户一般需要实时关注时间,若用户使用专门的倒计时软件,则需要用户在倒计时软件内查看时间,倒计时完成后再切换回购物APP或抢票APP,这样就浪费了时间,有可能贻误最佳购物时间。There are many scenes in life that require countdown, such as spike activities and ticket grabbing. Usually, applications (APP) or websites with the nature of e-commerce will organize spike activities. Especially shopping festivals like "Double Eleven", every shopping festival, everyone will add shopping carts in advance, optimistic about the time to buy on time, so as not to buy things to be snapped up by others. In order to perform spikes or grab tickets more accurately, users often need to snap up or buy tickets on time. In order to avoid missing the spike time, users generally need to pay attention to the time in real time. If the user uses a special countdown software, the user needs to check the time in the countdown software. After the countdown is completed, switch back to the shopping app or the ticket grabbing app, which wastes time. It may delay the best shopping time.
发明内容Summary of the invention
本申请实施例提供一种倒计时显示方法及电子设备,在需要倒计时应用图标上显示倒计时,使得用户可直接了解到距离抢购活动开始的时间,不需要用户实施打开应用进行时间确认,避免贻误最佳时机。The embodiment of the application provides a countdown display method and an electronic device. The countdown is displayed on the application icon that requires the countdown, so that the user can directly know the time until the start of the panic buying activity, and does not require the user to open the application for time confirmation, so as to avoid delaying the best opportunity.
为实施上述技术目的,本申请实施例采用如下技术方案:In order to implement the above technical purpose, the following technical solutions are adopted in the embodiments of this application:
第一方面,本申请实施例提供一种倒计时显示方法,该方法可以包括:电子设备接收用户对第一应用的应用图标的第一操作,其中,第一应用是购物类应用;响应于第一操作,电子设备显示第一界面,其中,第一界面包括第一选项和/或至少一个第二选项,第一选项对应第一应用中第一预设时间内的抢购活动,至少一个第二选项对应第一应用中用户关注的店铺或商品的抢购活动或者第一应用中在第二预设时间内被用户浏览过的店铺或商品的抢购活动;电子设备接收用户对第一选项和/或至少一个第二选项的选择操作;响应于选择操作,电子设备获取用户选择的选项对应活动的开始时间,并根据开始时间和当前系统时间,计算倒计时时长;电子设备在第一应用的应用图标上采用倒计时时长进行倒计时。In a first aspect, an embodiment of the present application provides a countdown display method. The method may include: an electronic device receives a user's first operation on an application icon of a first application, where the first application is a shopping application; In operation, the electronic device displays a first interface, where the first interface includes a first option and/or at least one second option, the first option corresponds to a panic buying activity in the first application within a first preset time, and at least one second option Corresponding to the snap-purchase activity of the store or product that the user pays attention to in the first application or the snap-purchase activity of the store or product browsed by the user within the second preset time in the first application; the electronic device receives the user’s first option and/or at least A second option selection operation; in response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and calculates the countdown duration based on the start time and the current system time; the electronic device uses the application icon on the first application The countdown time is counted down.
本申请实施例中,对第一应用进行倒计时显示的过程中,确定对第一应用进行倒计时显示之后,显示第一界面,其中,第一界面包括第一选项和至少一个的第二选项,每个选项对应一个抢购活动。电子设备获取用户的选择操作,并根据选择操作的选项确定出倒计时时长,在第一应用的图标上显示倒计时时长并进行倒计时。使得用户在不需要进入该第一应用的情况下,可直观的了解到距离抢购活动的开始时间的时间长度,也不需要通过专门的倒计时软件查看距离抢购活动开始的时间,避免用户错过抢 购时间,提高用户体验。In the embodiment of the present application, during the countdown display of the first application, after the first application is determined to be displayed as the countdown, the first interface is displayed, where the first interface includes a first option and at least one second option. Each option corresponds to a panic buying activity. The electronic device obtains the user's selection operation, determines the countdown duration according to the options of the selection operation, displays the countdown duration on the icon of the first application and performs the countdown. This allows users to intuitively understand the length of time from the start of the panic buying activity without entering the first application, and there is no need to use a special countdown software to check the time from the start of the panic buying activity, avoiding users from missing the panic buying time , Improve user experience.
结合第一方面,在一种可能的实施方式中,响应于选择操作,电子设备获取用户选择的选项对应的活动的开始时间,并根据开始时间和当前系统时间,计算倒计时时长,具体包括:电子设备若确定选项为第一选项,查询公共时间表获取第一选项对应活动的开始时间,并根据第一选项对应活动的开始时间和当前系统时间,计算倒计时时长;和/或,电子设备若确定选项为第二选项,查询关注时间表获取第二选项对应活动的开始时间,并根据第二选项对应活动的开始时间和当前系统时间,计算所述倒计时时长。With reference to the first aspect, in a possible implementation manner, in response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and calculates the countdown duration according to the start time and the current system time, which specifically includes: If the device determines that the option is the first option, query the public timetable to obtain the start time of the activity corresponding to the first option, and calculate the countdown time according to the start time of the activity corresponding to the first option and the current system time; and/or, if the electronic device is determined The option is the second option, query the attention schedule to obtain the start time of the activity corresponding to the second option, and calculate the countdown duration according to the start time of the activity corresponding to the second option and the current system time.
根据不同的选项查询不同的时间表,其中,公共时间表记录有第一选项对应活动的开始时间,关注时间表记录有第一应用中的第二选项对应的活动的开始时间。具体地说,第一选项对应的为公知的抢购活动,第一选项的开始时间也是公知的;第一应用中的关注时间表是针对第一应用的关注商品或关注店铺或用于第二预设时间内浏览的商品的抢购活动,针对每个用户不同的习惯,每个用户的关注时间表不同,用户在选择进行倒计时显示的过程中,可根据偏好选择对应的第二选项,根据用户的选择操作将对应选项的抢购活动的开始时间进行倒计时显示,进一步提高了用户体验。Different timetables are queried according to different options, where the public timetable records the start time of the activity corresponding to the first option, and the attention timetable records the start time of the activity corresponding to the second option in the first application. Specifically, the first option corresponds to a known panic buying activity, and the start time of the first option is also known; the attention schedule in the first application is for the first application’s attention product or attention store or for the second preview Set the rush-purchase activities of the products browsed within the time, according to the different habits of each user, each user’s attention schedule is different, the user can choose the corresponding second option according to his preference during the process of selecting the countdown display. The selection operation displays the start time of the corresponding option in a countdown, which further improves the user experience.
结合第一方面,在另一种可能的实施方式中,在电子设备在第一应用的应用图标上采用倒计时时长进行倒计时之前,该倒计时显示方法还包括:电子设备显示第二界面,其中,第二界面包括至少一个倒计时显示的格式;电子设备获取用户选择的倒计时显示的格式;电子设备在第一应用的应用图标上采用倒计时时长进行倒计时,具体包括:电子设备根据倒计时显示的格式在第一应用的应用图标上采用倒计时时长进行倒计时。With reference to the first aspect, in another possible implementation manner, before the electronic device uses the countdown duration on the application icon of the first application to perform the countdown, the countdown display method further includes: the electronic device displays the second interface, where the first The second interface includes at least one countdown display format; the electronic device obtains the format of the countdown display selected by the user; the electronic device uses the countdown duration on the application icon of the first application to perform the countdown, which specifically includes: the electronic device displays the format in the first according to the countdown display. The application icon of the application uses the countdown duration to count down.
结合第一方面,在另一种可能的实施方式中,电子设备在第一应用的应用图标上进行倒计时的格式包括:数字格式、进度条格式、区块进度格式和表盘格式中的任一种。With reference to the first aspect, in another possible implementation manner, the format for the electronic device to count down on the application icon of the first application includes any one of a number format, a progress bar format, a block progress format, and a dial format. .
倒计时显示在应用图标上的格式包括不止一种,用户可根据偏好选择显示倒计时的格式,为用户提供良好的视觉感受,进一步优化用户体验。The countdown display format on the application icon includes more than one format. Users can choose the format for displaying the countdown according to their preferences, providing users with a good visual experience and further optimizing the user experience.
结合第一方面,在另一种可能的实施方式中,本申请中电子设备中包括至少一个进行倒计时的应用,响应于选择操作,电子设备获取用户选择的选项对应的活动的开始时间之前,该倒计时显示方法还包括:电子设备确定每个应用的在第一预设时间内对应的抢购活动,查询每个第一预设时间内对应活动的开始时间,根据第一预设时间内对应活动的开始时间生成公共时间表;分别对至少一个进行倒计时的应用进行如下操作:电子设备获取应用用户关注的店铺或关注商品的抢购活动或者在第二预设时间内被用户浏览过的店铺或商品的抢购活动;电子设备查询每个用户关注的店铺的抢购活动和在第二预设时间内被用户浏览过的店铺的抢购活动的开始时间;电子设备根据开始时间生成关注时间表。With reference to the first aspect, in another possible implementation manner, the electronic device in this application includes at least one countdown application. In response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user. The countdown display method further includes: the electronic device determines the corresponding snap-up activity of each application within the first preset time, queries the start time of each corresponding activity within the first preset time, and according to the corresponding activity within the first preset time A public timetable is generated at the start time; the following operations are performed on at least one countdown application respectively: the electronic device acquires the store or the rush-purchase activity of the product concerned by the application user or the store or the product browsed by the user within the second preset time Panic buying activity; the electronic device queries the starting time of the panic buying activity of each store followed by the user and the stores browsed by the user within the second preset time; the electronic device generates the attention schedule according to the starting time.
预先生成公共时间表和关注时间表,方便电子设备根据用户的选择操作查询对应的选项的开始时间,使得电子设备可以快速的根据抢购活动的开始时间计算出倒计时时长。The public timetable and the attention timetable are generated in advance to facilitate the electronic device to query the start time of the corresponding option according to the user's selection operation, so that the electronic device can quickly calculate the countdown time according to the start time of the panic buying activity.
结合第一方面,在另一种可能的实施方式中,本申请的实施方式还包括:响应于 选择操作,电子设备获取用户选择的选项对应的活动的开始时间,并根据开始时间和当前系统时间,计算倒计时时长之后,电子设备在第一应用的应用图标上采用倒计时时长进行倒计时之前,方法还包括:With reference to the first aspect, in another possible implementation manner, the implementation manner of this application further includes: in response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and according to the start time and the current system time After calculating the countdown duration, before the electronic device uses the countdown duration on the application icon of the first application to count down, the method further includes:
电子设备接收用户对第一应用的应用图标的第二操作;响应于第二操作,电子设备显示第三界面,其中,第三界面包括处于编辑状态的倒计时时长;电子设备接收用户对倒计时时长的编辑操作;电子设备在应用图标上采用编辑后的倒计时时长进行倒计时。The electronic device receives the user’s second operation on the application icon of the first application; in response to the second operation, the electronic device displays a third interface, where the third interface includes the countdown duration in the editing state; the electronic device receives the user’s feedback on the countdown duration Editing operation; the electronic device uses the edited countdown duration on the application icon to count down.
电子设备计算出倒计时时长之后,用户可根据需要对倒计时时长进行编辑,满足用户对倒计时时长的设置需求。After the electronic device calculates the countdown duration, the user can edit the countdown duration as needed to meet the user's requirement for setting the countdown duration.
结合第一方面,在另一种可能的实施方式中,本申请的实施方式还包括在第一应用的应用图标上采用倒计时时长进行倒计时之后,该方法还包括:With reference to the first aspect, in another possible implementation manner, the implementation manner of the present application further includes that after the countdown is performed on the application icon of the first application, the method further includes:
若确定倒计时时长小于或等于第一预设时长,电子设备在状态栏显示倒计时时长进行倒计时;和/或,若确定倒计时时长小于或等于第二预设时长,电子设备在屏幕浮窗位置显示倒计时时长进行倒计时。If it is determined that the countdown duration is less than or equal to the first preset duration, the electronic device displays the countdown duration in the status bar to count down; and/or if it is determined that the countdown duration is less than or equal to the second preset duration, the electronic device displays the countdown at the floating window on the screen The time counts down.
值得一提的是,第一应用在进行倒计时显示的过程中,用户可能在使用其他的应用,为避免查看购物活动开始时间的过程中,需要用户推出当前应用,查看第一应用的时间,在倒计时时长小于或等于第一预设时长之后,将倒计时显示在状态栏,或者,在倒计时时长小于或等于第二预设时长之后,在屏幕大浮窗位置显示倒计时时长,有效避免用户退出当前应用的问题,且能够直观了解到当前的倒计时进度。It is worth mentioning that during the countdown display of the first application, the user may be using other applications. In order to avoid checking the start time of the shopping activity, the user needs to launch the current application and check the time of the first application. After the countdown duration is less than or equal to the first preset duration, the countdown will be displayed in the status bar, or, after the countdown duration is less than or equal to the second preset duration, the countdown duration will be displayed in the large floating window on the screen, effectively preventing the user from exiting the current application , And can intuitively understand the current countdown progress.
第二方面,本申请实施例提供一种电子设备,电子设备包括触摸屏、存储器和至少一个的处理器;触摸屏、存储器和处理器耦合;存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当处理器执行计算机指令时,处理器,用于接收用户对第一应用的应用图标的第一操作,其中,第一应用是购物类应用;处理器,还用于控制触摸屏显示第一界面,触摸屏,用于显示第一界面;其中,第一界面包括第一选项和/或至少一个第二选项,第一选项对应第一应用中第一预设时间内的抢购活动,至少一个第二选项对应第一应用中用户关注的店铺的抢购活动或者第一应用中在第二预设时间内被用户浏览过的店铺的抢购活动;处理器,还用于接收用户对第一选项和/或至少一个第二选项的选择操作;处理器,还用于响应于选择操作,获取用户选择的选项对应活动的开始时间,并根据开始时间和当前系统时间,计算倒计时时长;处理器,还用于接收响应于第一操作,控制触摸屏在第一应用的应用图标上采用倒计时时长进行倒计时;触摸屏,还用于在第一应用的应用图标上采用倒计时时长显示倒计时。In a second aspect, the embodiments of the present application provide an electronic device. The electronic device includes a touch screen, a memory, and at least one processor; the touch screen, the memory and the processor are coupled; the memory is used to store computer program codes, and the computer program codes include computer instructions, When the processor executes computer instructions, the processor is used to receive a user's first operation on the application icon of the first application, where the first application is a shopping application; the processor is also used to control the touch screen to display the first interface, The touch screen is used to display a first interface; wherein, the first interface includes a first option and/or at least one second option, the first option corresponds to a panic buying activity within a first preset time in the first application, and at least one second option Corresponding to the snap-purchase activity of the store followed by the user in the first application or the snap-purchase activity of the store browsed by the user within the second preset time in the first application; the processor is further configured to receive the user’s response to the first option and/or at least A second option selection operation; the processor is also used to obtain the start time of the activity corresponding to the option selected by the user in response to the selection operation, and calculate the countdown duration according to the start time and the current system time; the processor is also used to receive In response to the first operation, the touch screen is controlled to use the countdown duration on the application icon of the first application to count down; the touch screen is also used to display the countdown by using the countdown duration on the application icon of the first application.
结合第二方面,在一种可能的实施方式中,处理器,具体用于:若确定选项为第一选项,查询公共时间表获取第一选项对应活动的开始时间,并根据第一选项对应活动的开始时间和当前系统时间,计算倒计时时长;和/或,若确定选项为第二选项,查询关注时间表获取第二选项对应活动的开始时间,并根据第二选项对应活动的开始时间和当前系统时间,计算所述倒计时时长。With reference to the second aspect, in a possible implementation manner, the processor is specifically configured to: if it is determined that the option is the first option, query the public timetable to obtain the start time of the activity corresponding to the first option, and correspond to the activity according to the first option Calculate the countdown time for the start time and current system time; and/or, if the option is determined to be the second option, query the attention timetable to obtain the start time of the activity corresponding to the second option, and according to the start time and current System time, calculate the countdown duration.
结合第二方面,在另一种可能的实施方式中,处理器,还用于,控制触摸屏显示第二界面,触摸屏,还用于,显示第二界面,其中,第二界面包括至少一个倒计时显示的格式;处理器,还用于,获取用户选择的倒计时显示的格式;触摸屏,具体用于, 根据倒计时显示的格式在第一应用的应用图标上采用倒计时时长进行倒计时。With reference to the second aspect, in another possible implementation manner, the processor is further configured to control the touch screen to display a second interface, and the touch screen is also configured to display a second interface, where the second interface includes at least one countdown display The processor is also used to obtain the format of the countdown display selected by the user; the touch screen is specifically used to count down by using the countdown duration on the application icon of the first application according to the format of the countdown display.
结合第二方面,在另一种可能的实施方式中,触摸屏,具体用于,显示在第一应用的应用图标上倒计时的格式包括:数字格式、进度条格式、区块进度格式和表盘格式中的任一种。With reference to the second aspect, in another possible implementation manner, the touch screen is specifically used to display the countdown format on the application icon of the first application including: number format, progress bar format, block progress format, and dial format. Of any kind.
结合第二方面,在另一种可能的实施方式中,电子设备中包括至少一个的进行倒计时的应用,处理器,还用于,确定每个应用的在第一预设时间内对应的抢购活动,查询每个第一预设时间内对应活动的开始时间,根据第一预设时间内对应活动的开始时间生成公共时间表;对于每个应用,处理器,还用于,获取应用用户关注的店铺或商品的抢购活动或者在第二预设时间内被用户浏览过的店铺或商品的抢购活动;查询每个用户关注的店铺或商品的抢购活动或者在第二预设时间内被用户浏览过的店铺或商品的抢购活动的开始时间;根据开始时间生成关注时间表。With reference to the second aspect, in another possible implementation manner, the electronic device includes at least one countdown application, and the processor is further configured to determine the corresponding snap-up activity of each application within the first preset time , Query the start time of the corresponding activity within each first preset time, and generate a public timetable according to the start time of the corresponding activity within the first preset time; for each application, the processor is also used to obtain the attention of the application user Panic buying activities of shops or commodities or those visited by users within the second preset time; query the panic buying activities of stores or commodities that each user pays attention to or browsed by users within the second preset time The start time of the rush-purchase activity of the store or product; the attention schedule is generated according to the start time.
结合第二方面,在另一种可能的实施方式中,处理器,还用于,接收用户对第一应用的应用图标的第二操作;响应于第二操作,控制触摸屏显示第三界面;触摸屏,还用于,显示第三界面,其中,第三界面包括处于编辑状态的倒计时时长;处理器,还用于,接收用户对倒计时时长的编辑操作;触摸屏,还用于,在应用图标上采用编辑后的倒计时时长进行倒计时。With reference to the second aspect, in another possible implementation manner, the processor is further configured to receive a second operation of the user on the application icon of the first application; in response to the second operation, control the touch screen to display the third interface; the touch screen , Is also used to display the third interface, where the third interface includes the countdown duration in the editing state; the processor is also used to receive the user's editing operation on the countdown duration; the touch screen is also used to use the application icon The edited countdown time is counted down.
结合第二方面,在另一种可能的实施方式中,处理器,还用于若确定倒计时时长小于或等于第一预设时长,控制触摸屏在状态栏显示倒计时时长进行倒计时;和/或,若确定倒计时时长小于或等于第二预设时长,控制触摸屏在屏幕浮窗位置显示倒计时时长进行倒计时;触摸屏,还用于,在状态栏显示倒计时时长进行倒计时,和/或,在屏幕浮窗位置显示倒计时时长进行倒计时。With reference to the second aspect, in another possible implementation manner, the processor is further configured to, if it is determined that the countdown duration is less than or equal to the first preset duration, control the touch screen to display the countdown duration in the status bar for countdown; and/or, if Make sure that the countdown duration is less than or equal to the second preset duration, and control the touch screen to display the countdown duration in the floating window position on the screen for countdown; the touch screen is also used to display the countdown duration in the status bar for countdown, and/or display in the floating window position on the screen The countdown time is counted down.
第三方面,本申请实施例提供一种芯片系统,该芯片系统应用于包括上述触摸屏的电子设备。该芯片系统包括一个或多个接口电路和一个或多个处理器。该接口电路和处理器通过线路互联。该接口电路用于从电子设备的存储器接收信号,并向处理器发送该信号,该信号包括存储器中存储的计算机指令。当处理器执行计算机指令时,电子设备执行如第一方面及其任一种可能的实施方式中的倒计时显示的方法。In a third aspect, embodiments of the present application provide a chip system, which is applied to an electronic device including the above-mentioned touch screen. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by wires. The interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes a computer instruction stored in the memory. When the processor executes the computer instructions, the electronic device executes the countdown display method as in the first aspect and any one of its possible implementation manners.
第四方面,本申请实施例提供一种计算机存储介质,该计算机存储介质包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面及其任一种可能的实施方式中的倒计时显示的方法。In a fourth aspect, an embodiment of the present application provides a computer storage medium, which includes computer instructions. When the computer instructions run on an electronic device, the electronic device executes the first aspect and any of its possible implementation manners. In the countdown display method.
第五方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面及其任一种可能的实施方式中的倒计时显示的方法。In the fifth aspect, the embodiments of the present application provide a computer program product. When the computer program product runs on a computer, the computer executes the countdown display in the first aspect and any of its possible implementations. method.
可以理解地,上述提供的第二方面及其任一种可能的设计方式的电子设备,第三方面的芯片系统,第四方面的计算机存储介质,第五方面的计算机程序产品所能达到的有益效果,可参考如第一方面及其任一种可能的实施方式中的倒计时显示的方法中的有益效果,此处不再赘述。Understandably, the electronic equipment of the second aspect and any of its possible design methods provided above, the chip system of the third aspect, the computer storage medium of the fourth aspect, and the computer program product of the fifth aspect can achieve the benefits For the effect, please refer to the beneficial effect in the countdown display method in the first aspect and any one of its possible implementations, which will not be repeated here.
附图说明Description of the drawings
图1为本申请实施例提供的一种电子设备的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application;
图2为本申请实施例提供的一种倒计时显示方法的流程图;2 is a flowchart of a countdown display method provided by an embodiment of the application;
图3为本申请实施例提供的一种手机主界面的显示示意图;FIG. 3 is a schematic diagram of the display of a main interface of a mobile phone according to an embodiment of the application;
图4为本申请实施例提供的一种进行第一操作是的手机显示界面图;FIG. 4 is a display interface diagram of a mobile phone for performing a first operation according to an embodiment of the application;
图5为本申请实施例提供的一种第一界面的显示示意图;FIG. 5 is a schematic diagram of displaying a first interface provided by an embodiment of the application;
图6为本申请实施例提供的一种倒计时显示的界面的示意图;6 is a schematic diagram of a countdown display interface provided by an embodiment of the application;
图7为本申请实施例提供的一种手机主界面设置文件夹的显示示意图;FIG. 7 is a schematic diagram of displaying a setting folder on the main interface of a mobile phone according to an embodiment of the application;
图8为本申请实施例提供的一种文件夹打开后的倒计时显示界面示意图;8 is a schematic diagram of a countdown display interface after a folder is opened according to an embodiment of the application;
图9为本申请实施例提供的一种第二界面的显示示意图;FIG. 9 is a schematic diagram of a display of a second interface provided by an embodiment of the application;
图10为本申请实施例提供的一种倒计时状态栏显示示意图;FIG. 10 is a schematic diagram of displaying a countdown status bar according to an embodiment of the application;
图11为本申请实施例提供的一种倒计时浮窗位置显示示意图;11 is a schematic diagram showing the position of a countdown floating window provided by an embodiment of the application;
图12为本申请实施例提供的一种第三界面的显示示意图;FIG. 12 is a schematic diagram of displaying a third interface provided by an embodiment of this application;
图13为本申请实施例提供的一种芯片系统的示意图。FIG. 13 is a schematic diagram of a chip system provided by an embodiment of the application.
具体实施方式Detailed ways
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
本申请的实施例提供一种倒计时显示的方法,该方法可以应用于电子设备,该电子设备中可能会安装有多个应用,有些应用中会存在抢购活动,其中,在需要倒计时应用图标上显示倒计时,使得用户可直接了解到距离抢购活动开始的时间,不需要用户实施打开应用进行时间确认,避免贻误最佳时机。The embodiment of the present application provides a method for displaying a countdown timer. The method can be applied to an electronic device. Multiple applications may be installed in the electronic device. Some applications may have panic buying activities. The countdown allows users to directly know the time until the start of the panic buying activity, and does not require users to open the application to confirm the time, so as to avoid delaying the best time.
示例性的,本申请实施例中的电子设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等包括触摸屏的设备,本申请实施例对该电子设备的具体形态不作特殊限制。Exemplarily, the electronic devices in the embodiments of the present application may be mobile phones, tablet computers, desktops, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, and cellular computers. Telephones, personal digital assistants (PDAs), augmented reality (AR)\virtual reality (VR) devices, etc. including touch screen devices, the embodiment of the application does not make any special considerations to the specific form of the electronic device limit.
下面将结合附图对本申请实施例的实施方式进行详细描述,请参考图1,为本申请实施例提供的一种电子设备100的结构示意图。如图1所示,电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。Hereinafter, the implementation manner of the embodiment of the present application will be described in detail with reference to the accompanying drawings. Please refer to FIG. 1, which is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application. As shown in FIG. 1, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, and a battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
其中,上述传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L和骨传导传感器180M等传感器。Among them, the aforementioned sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K, Ambient light sensor 180L and bone conduction sensor 180M and other sensors.
可以理解的是,本实施例示意的结构并不构成对电子设备100的具体限定。在另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件, 或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Among them, the different processing units may be independent devices or integrated in one or more processors.
控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in this embodiment is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, the power management module 141 can also supply power to the electronic device.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可 以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna for wireless LAN. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为 图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is an image processing microprocessor, which connects the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。该显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). emitting diode, AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information and can continuously learn by itself. The NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的 各种功能应用以及数据处理。例如,在本申请实施例中,处理器110可以通过执行存储在内部存储器121中的指令,内部存储器121可以包括存储程序区和存储数据区。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may execute instructions stored in the internal memory 121, and the internal memory 121 may include a storage program area and a storage data area.
其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110. The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194.
其中,压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。本申请实施例中,电子设备100可以通过压力传感器180A采集用户在触摸屏(即显示屏194)输入的触摸操作的按压力度(或者称为按压压力)。Among them, there are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions. In the embodiment of the present application, the electronic device 100 may collect the pressing force (or called pressing pressure) of the touch operation input by the user on the touch screen (ie, the display screen 194) through the pressure sensor 180A.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and used in applications such as horizontal and vertical screen switching, pedometers and so on.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。 接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。Distance sensor 180F, used to measure distance. The electronic device 100 can measure the distance by infrared or laser. The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
本申请实施例中,电子设备100可以通过触摸传感器180K检测到用户在触摸屏输入的触摸操作,并采集该触摸操作在触摸屏上的触控位置,触控面积,触控方向,以及触控时间等中的一项或多项。在一些实施例中,电子设备100可以通过触摸传感器180K和压力传感器180A结合起来,确定触摸操作在触摸屏的触控位置。In the embodiment of the present application, the electronic device 100 can detect the touch operation input by the user on the touch screen through the touch sensor 180K, and collect the touch position, touch area, touch direction, and touch time of the touch operation on the touch screen. One or more of. In some embodiments, the electronic device 100 may combine the touch sensor 180K and the pressure sensor 180A to determine the touch position of the touch operation on the touch screen.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro  SIM卡,SIM卡等。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
以下实施例中的方法均可以在具有上述硬件结构的电子设备100中实现。以下实施例中以上述电子设备100是手机为例,对本申请实施例的方法进行说明。The methods in the following embodiments can all be implemented in the electronic device 100 having the above hardware structure. In the following embodiments, the above-mentioned electronic device 100 is a mobile phone as an example to describe the method of the embodiment of the present application.
本申请的实施例提供一种倒计时显示方法,其方法流程如图2所示,包括步骤201-步骤205:The embodiment of the present application provides a countdown display method. The method flow is shown in FIG. 2 and includes step 201 to step 205:
步骤201:接收用于对第一应用的应用图标的第一操作。Step 201: Receive a first operation for an application icon of a first application.
其中,第一应用为购物类应用。Among them, the first application is a shopping application.
具体地说,手机中包括不止一个的APP,其中,并非是每个APP都需要进行倒计时显示,本申请主要解决的技术问题是,针对购物类应用中为避免用户错过抢购活动,而在对购物类应用设置倒计时显示。需要说明的是,此处的购物类应用包括多种为生活提供便利的交易网站,例如,淘宝、铁路12306等,进一步的,医疗类的应用在固定的时间进行预约挂号,预约挂号也存可能在付款行为,相当于固定时间进行的抢购活动,因此,医疗类的应用也可以进行倒计时显示。需要指出的是,若某医院并未开发专门的APP进行预约挂号,如设置小程序通过“微信”进行预约挂号,则可以对“微信”的显示图标进行倒计时显示。因此,本申请中并不具体限制购物类的应用的具体种类,需要在特定时间进行抢购活动的均可以理解为购物类应用,均可进行倒计时显示。Specifically, the mobile phone includes more than one APP. Not every APP needs a countdown display. The main technical problem solved by this application is that in order to prevent users from missing out on buying activities in shopping applications, Class application settings countdown display. It should be noted that the shopping applications here include a variety of trading websites that provide convenience for life, such as Taobao, Railway 12306, etc. Furthermore, medical applications can make appointment registration at a fixed time, and appointment registration is also possible The payment behavior is equivalent to a snap-up activity carried out at a fixed time. Therefore, medical applications can also display a countdown. It should be pointed out that if a hospital has not developed a special APP for appointment registration, such as setting up a mini program to conduct appointment registration through "WeChat", the display icon of "WeChat" can be counted down. Therefore, this application does not specifically limit the specific types of shopping applications, and those that need to be snapped up at a specific time can be understood as shopping applications, and all can be displayed as a countdown.
在一个具体的实施中,本申请中的第一操作可以是:单击操作、长按操作或双击操作等操作中的任一种。其中,手机获取到第一操作,即可确定响应信息为对第一应用进行倒计时显示。此处对第一操作的说明仅是举例,具体可根据用户操作习惯或系统设定设置第一操作的具体内容,此处不做限制。In a specific implementation, the first operation in this application may be any one of a single-click operation, a long-press operation, or a double-click operation. Wherein, when the mobile phone obtains the first operation, it can be determined that the response information is a countdown display of the first application. The description of the first operation here is only an example, and the specific content of the first operation can be set according to user operating habits or system settings, and there is no limitation here.
需要说明的是,在执行步骤201的过程中,手机显示主界面。其中,该主界面中包括“支付宝”应用、“淘宝”应用和“照片”应用的图标等。如图3所示,若手机处于锁屏状态,则无法在应用的显示图标上进行第一操作,也就无法进行倒计时显示。例如,手机可以接收用户对“淘宝”应用的图标的第一操作。It should be noted that in the process of performing step 201, the mobile phone displays the main interface. Among them, the main interface includes icons for the "Alipay" application, the "Taobao" application, and the "Photo" application. As shown in Figure 3, if the mobile phone is in the locked screen state, the first operation cannot be performed on the display icon of the application, and the countdown display cannot be performed. For example, the mobile phone may receive the user's first operation on the icon of the "Taobao" application.
步骤202:响应于第一操作,显示第一界面。Step 202: In response to the first operation, display a first interface.
其中,第一界面中包括第一选项和/或至少一个第二选项。第一选项对应第一应用中第一预设时间内的抢购活动。至少一个的第二选项对应第一应用中用户关注的店铺或商品的抢购活动或者第一应用在第二预设时间内被用于浏览过的店铺或商品的抢购活动。Wherein, the first interface includes a first option and/or at least one second option. The first option corresponds to the panic buying activity within the first preset time in the first application. The at least one second option corresponds to a rush-purchase activity of a store or a commodity that the user pays attention to in the first application or a rush-purchase activity of a shop or commodity that the first application has been used for within the second preset time.
需要说明的是,第一预设时间内的第一选项,可以是一个、两个等,也可能没有第一选项。例如,当前的手机的系统时间为2018年11月1日,第一预设时间为3天,在第一预设时间内不存在抢购活动,若获取到第一操作,第一界面中不包括第一选项。具体地说,第一预设时间可以为6个月,1个月,一周等时间长度,具体不做限定。同理,由于第二选项包括用户关注的店铺或商品,或者,第二预设时间内浏览过的店铺或商品,第二选项的显示数量也与第二预设时间相关。例如,第一应用为“淘宝”应用,当前的手机系统时间为2018年11月1日,第一预设时间为7天,如果用户在7天之内并未打开过“淘宝”应用,则第二选项中仅包括用户关注的店铺或商品的抢购活动。因此,第二预设时间可以是一周、两周、一个月等时间长度,此处仅是示例, 不做限定。It should be noted that the first option within the first preset time may be one, two, etc., or there may be no first option. For example, the system time of the current mobile phone is November 1, 2018, the first preset time is 3 days, and there is no panic buying activity within the first preset time. If the first operation is obtained, the first interface does not include The first option. Specifically, the first preset time may be 6 months, 1 month, one week, etc., which is not specifically limited. In the same way, since the second option includes the store or product that the user pays attention to, or the store or product browsed within the second preset time, the display quantity of the second option is also related to the second preset time. For example, the first application is the "Taobao" application, the current mobile phone system time is November 1, 2018, and the first preset time is 7 days. If the user has not opened the "Taobao" application within 7 days, then The second option only includes rush-purchase activities of shops or commodities that the user pays attention to. Therefore, the second preset time may be one week, two weeks, one month, etc., which is only an example here and is not limited.
在一个具体的应用场景中,若获取到用户对第一应用的应用图标的长按操作,为了避免长按操作与第一应用的进行其他操作的操作方式相同,手机需要准确响应长按操作。如图4所示,图4中b对应的显示界面为菜单界面,菜单界面显示与长按操作对应的全部功能,例如,图4中a表示对第一应用进行长按操作,图4中b表示长按操作之后可对第一应用进行卸载、更新和倒计时等功能,用户点击倒计时则进入第一界面。因此,第一操作为对第一应用图标的长按操作加点击操作,第一操作不能仅仅理解为对终端设备进行一次操作,为了简化操作方式,也可将第一操作设置为一个操作动作,此处仅为示例。In a specific application scenario, if the user's long-press operation on the application icon of the first application is obtained, in order to avoid the long-press operation being the same as other operations of the first application, the mobile phone needs to accurately respond to the long-press operation. As shown in Figure 4, the display interface corresponding to b in Figure 4 is a menu interface, and the menu interface displays all functions corresponding to the long-press operation. For example, a in Figure 4 represents the long-press operation of the first application, and b in Figure 4 It means that the first application can be uninstalled, updated and counted down after the long press operation. The user clicks on the countdown to enter the first interface. Therefore, the first operation is a long press operation and a click operation on the first application icon. The first operation cannot be understood as an operation on the terminal device only. In order to simplify the operation mode, the first operation can also be set as an operation action. This is just an example.
在一个具体的应用场景中,若第一操作为对第一应用的应用图标的双击操作,响应于双击操作,手机显示第一界面,如图5所示,第一界面中包括多个的抢购活动对应的选项(包括第一选项和/或第二选项)。In a specific application scenario, if the first operation is a double-click operation on the application icon of the first application, in response to the double-click operation, the mobile phone displays a first interface, as shown in FIG. 5, the first interface includes multiple snap-ups Options corresponding to the activity (including the first option and/or the second option).
需要说明的是,上述具体的应用场景中,仅是为了方便理解进行的具体说明,例如,若手机具有全屏幕指纹识别功能,设置第一操作为触摸操作加某一手指指纹信息,使用该手指触摸第一应用的应用图标,手机根据触摸操作获取指纹信息,若指纹信息与预设的指纹信息对应,手机确定对第一应用进行倒计时显示,显示第一界面。It should be noted that the above specific application scenarios are only specific instructions for easy understanding. For example, if the mobile phone has a full-screen fingerprint recognition function, set the first operation to touch operation plus fingerprint information of a certain finger, and use the finger Touch the application icon of the first application, and the mobile phone obtains fingerprint information according to the touch operation. If the fingerprint information corresponds to the preset fingerprint information, the mobile phone determines to display the first application countdown and displays the first interface.
一个具体实施中,第一界面中可以包括多个选项。例如,图5中符号“Ι”表示第一选项,符合“Π”表示第二选项。其中,第一选项为第一预设时间内的抢购活动。例如,第一预设时间为1个月,系统时间为2019年11月1日,则第一选项包括“双十一”购物节和“黑色星期五”购物节。其中,第一选项对应的购物节为大型的购物节,大部分电商平台都会参与的购物节,第一预设时间的不同,则第一界面中显示的第一选项的数量也不同。如图5中,若第一预设时间为两个月,当前的系统时间为2019年11月1日,由于第一应用为“淘宝”应用,第一选项包括“双十一”购物节和“双十二”购物节。第二选项对应的是用户关注的店铺或商品的抢购活动,或者,第二预设时间之内的用户浏览过的店铺或商品的抢购活动。例如,用户关注列表中包括店铺1,第二预设时间为一周,一周内用户浏览的过店铺2,则第二选项中包括店铺1的抢购活动和店铺2的抢购活动。需要说明的是,第一界面中会显示一个选项列表包括第一选项和/或第二选项,图5中的选项列表仅是示例,具体选项列表的格式不做限定。In a specific implementation, the first interface may include multiple options. For example, the symbol "Ι" in FIG. 5 represents the first option, and the symbol "Π" represents the second option. Among them, the first option is a panic buying activity within the first preset time. For example, if the first preset time is 1 month and the system time is November 1, 2019, the first option includes the "Double Eleven" shopping festival and the "Black Friday" shopping festival. Among them, the shopping festival corresponding to the first option is a large shopping festival. Most e-commerce platforms will participate in the shopping festival. The first preset time is different, the number of the first options displayed in the first interface is also different. As shown in Figure 5, if the first preset time is two months, the current system time is November 1, 2019. Since the first application is the "Taobao" application, the first option includes the "Double Eleven" shopping festival and "Double Twelve" shopping festival. The second option corresponds to a panic buying activity of a store or product that the user pays attention to, or a panic buying activity of a store or product that the user browses within the second preset time. For example, if the user's attention list includes shop 1, the second preset time is one week, and the user has browsed shop 2 within a week, the second option includes the rush buying activity of shop 1 and the rush buying activity of shop 2. It should be noted that a list of options including the first option and/or the second option will be displayed in the first interface. The option list in FIG. 5 is only an example, and the format of the specific option list is not limited.
具体地说,第一界面中显示有至少一个的第二选项,由于第二选项与用户对第一应用的关注行为以及用户在第一应用的浏览行为相关,则需要与第一应用进行信息交互,获取用户在第一应用中的关注类别和浏览列表。但是,随着时间的改变,用户的在第一应用中的关注列表和浏览列表可能会发生变化。为了保证在进行倒计时显示的过程中,第一界面中显示的第二选项与用户的关注列表和浏览列表相同,需要对第一界面中的第二选项进行更新。具体实施中,可设定预定时间与第一应用进行信息交互,获取第一应用中的关注商铺或商品信息,以及获取第一应用在第二预设时间内被用户浏览的店铺或商品的信息,以便手机对第一界面中的第二选项中的具体选项进行更新,提高用户体验。其中,与第一应用进行信息交互的具体方式不做限定,可以理解的是,获取第一应用的相关信息,必然需要执行倒计时显示的应用获取对第一应用操作的相关权限,此处不再赘述。Specifically, at least one second option is displayed in the first interface. Since the second option is related to the user's attention behavior of the first application and the user's browsing behavior in the first application, information interaction with the first application is required , Get the user's attention category and browse list in the first application. However, as time changes, the user's watch list and browse list in the first application may change. In order to ensure that during the countdown display process, the second option displayed in the first interface is the same as the user's watch list and browse list, the second option in the first interface needs to be updated. In specific implementation, a predetermined time can be set to interact with the first application, obtain information about shops or products of interest in the first application, and obtain information about shops or products browsed by the user within the second preset time by the first application , So that the mobile phone can update the specific options in the second option in the first interface to improve user experience. Among them, the specific method of information interaction with the first application is not limited. It can be understood that to obtain relevant information of the first application, it is necessary to execute the countdown display application to obtain the relevant permissions for the operation of the first application. Repeat.
步骤203:接收用户对第一选项和/或至少一个第二选项的选择操作。Step 203: Receive a user's selection operation of the first option and/or at least one second option.
需要说明的是,手机获取到的选择操作中可以包括一个或多个的选项。例如,选择操作中仅包括一个第一选项,或者,选择操作中仅包括一个第二选项,再或者,选择操作中包括一个第一选项和一个第二选项,对于选择操作中的选项数量不做具体限定。It should be noted that the selection operation acquired by the mobile phone may include one or more options. For example, the selection operation includes only one first option, or the selection operation includes only one second option, or, the selection operation includes a first option and a second option, and the number of options in the selection operation is not done Specific restrictions.
步骤204:响应于选择操作,获取用户选择的选项对应活动的开始时间,并根据开始时间和当前系统时间,计算倒计时时长。Step 204: In response to the selection operation, obtain the start time of the activity corresponding to the option selected by the user, and calculate the countdown duration according to the start time and the current system time.
具体地说,获取到用户选择操作中的选项之后,根据与选项对应抢购活动的开始时间和当前系统时间,可得到倒计时时长。其中,选项对应的抢购活动的开始时间可通过查表、直接输入等方式获取,本申请中对于获取选项对应的抢购活动的开始时间的方式不做限定。Specifically, after obtaining the option selected by the user, the countdown duration can be obtained according to the start time of the snap-up activity corresponding to the option and the current system time. Among them, the start time of the panic buying activity corresponding to the option can be obtained by checking the table, direct input, etc. The method of obtaining the starting time of the panic buying activity corresponding to the option is not limited in this application.
一个具体实施中,通过查表的方式获取选项对应的抢购活动的开始时间。具体地说,手机若确定选项包括第一选项,便可以查询公共时间表,以获取第一选项对应活动的开始时间;然后,根据第一选项对应活动的开始时间和当前系统时间,计算倒计时时长。手机若确定选项包括第二选项,查询关注时间表获取第二选项对应活动的开始时间,并根据第二选项对应活动的开始时间和当前系统时间,计算所述倒计时时长。具体实施中,手机根据获取到的选择操作中的选项进行查询,此处仅是示例。In a specific implementation, the start time of the panic buying activity corresponding to the option is obtained by looking up the table. Specifically, if the mobile phone determines that the options include the first option, it can query the public timetable to obtain the start time of the activity corresponding to the first option; then, calculate the countdown time according to the start time of the activity corresponding to the first option and the current system time . If the mobile phone determines that the options include the second option, query the attention schedule to obtain the start time of the activity corresponding to the second option, and calculate the countdown duration according to the start time of the activity corresponding to the second option and the current system time. In the specific implementation, the mobile phone performs query according to the obtained options in the selection operation, and this is only an example.
需要说明的是,上述公共时间表和关注时间表可以设置于手机中,也可以设置于远程服务器中。若公共时间表和关注时间表设置于手机中,则手机在获取到用户的选择操作之后,可以直接查询相关的时间表获取开始时间。若公共时间表和关注时间表设置于远程服务器,则手机在获取到选择操作之后,可以根据选择操作的选项发送查询命令至远程服务器,根据远程服务器返回的响应信息获取对应的抢购活动的开始时间。It should be noted that the above public timetable and attention timetable can be set in a mobile phone or in a remote server. If the public timetable and the attention timetable are set in the mobile phone, the mobile phone can directly query the relevant timetable to obtain the start time after obtaining the user's selection operation. If the public timetable and the attention timetable are set on the remote server, after the mobile phone obtains the selection operation, it can send query commands to the remote server according to the selection operation options, and obtain the corresponding start time of the panic buying activity according to the response information returned by the remote server .
具体实施中,手机中可以进行倒计时的应用中根据第一选项的活动生成公共时间表,以及分别根据每个进行倒计时的应用的关注列表和浏览列表生成关注时间表。例如,手机中包括至少一个进行倒计时的应用,在实施步骤204之前,手机确定每个应用在第一预设时间内对应的抢购活动,并查询每个第一预设时间内对应抢购活动的开始时间,根据第一预设时间内对应活动的开始时间生成公共时间表。由于每个应用的关注列表和浏览列表不同,每个可以进行倒计时的应用的关注时间表也不相同。分别对每个进行倒计时的应用进行如下操作:手机获取应用用户关注的店铺的抢购活动和在第二预设时间内被用户浏览过的店铺的抢购活动;手机查询用户关注的店铺的抢购活动或者在第二预设时间内被用户浏览过的店铺的抢购活动的开始时间;手机根据开始时间生成关注时间表。In a specific implementation, a public timetable is generated according to the activity of the first option among applications that can count down in the mobile phone, and a watched timetable is generated according to the watch list and the browse list of each countdown application. For example, the mobile phone includes at least one countdown application. Before step 204 is implemented, the mobile phone determines the corresponding snap-up activity of each application within the first preset time, and queries the start of the corresponding snap-up activity within each first preset time Time, a public timetable is generated according to the start time of the corresponding activity within the first preset time. Since the watch list and browse list of each application are different, the watch schedule of each application that can count down is also different. Perform the following operations for each countdown application separately: the mobile phone obtains the panic buying activities of the stores followed by the application user and the panic buying activities of the stores browsed by the user within the second preset time; the mobile phone queries the panic buying activities of the store followed by the user or The start time of the panic buying activity of the store browsed by the user within the second preset time; the mobile phone generates the attention schedule according to the start time.
需要说明的是,在生成公共时间表和关注时间表的过程中,查询每个抢购活动的开始时间可以是与应用进行信息交互,获取抢购活动的开始时间,也可以是通过联网查询抢购活动的开始时间。另外,还可以选择由用户输入抢购活动的开始时间。在一些情况中,第一应用中第二选项对应的抢购活动的时间可能会发生变化,可设置预设时间对关注时间表中的时间进行更新或确认,以保证倒计时显示的准确性。It should be noted that in the process of generating public timetables and attention timetables, querying the start time of each panic buying activity can be through information interaction with the application to obtain the starting time of the panic buying activity, or through online querying of the panic buying activity Starting time. In addition, you can also choose to enter the start time of the panic buying activity by the user. In some cases, the time of the panic buying activity corresponding to the second option in the first application may change, and a preset time can be set to update or confirm the time in the attention schedule to ensure the accuracy of the countdown display.
可以理解的是,在手机或与手机交互的服务器中,公共时间表只有一个,关注时 间表是根据每个可进行倒计时的应用的关注和浏览列表生成的。针对每个应用可以生成一个关注时间表。在获取到用户的选择操作之后,根据选择的选项对应的活动,查询公共时间表或关注时间表确定活动的开始时间。若手机中并未设置公共时间表或关注时间表,则可以通过与第一应用的信息交互获取用户选择的选项对应的抢购活动的开始时间。此处仅是关于获取选项的开始时间的示例说明,并不具体限制。It is understandable that there is only one public timetable in the mobile phone or the server interacting with the mobile phone, and the attention time table is generated based on the attention and browsing list of each application that can count down. A focus schedule can be generated for each application. After obtaining the user's selection operation, according to the activity corresponding to the selected option, query the public timetable or follow the timetable to determine the start time of the activity. If no public timetable or attention timetable is set in the mobile phone, the start time of the snap-up activity corresponding to the option selected by the user can be obtained through information interaction with the first application. This is only an example description about the start time of obtaining options, and is not specifically limited.
上述具体实施中,公共时间表对于每个手机而言是相同的,因此,在倒计时显示方法的设置初期生成公共时间表有助于多个手机之间共享公共时间表,例如,将公共时间表设置于服务器,不需要每个手机生成公共时间表,有助于节省手机的存储资源和计算资源。In the above specific implementation, the public timetable is the same for each mobile phone. Therefore, generating a public timetable at the initial stage of setting the countdown display method helps multiple mobile phones to share the public timetable. For example, It is set on the server and does not require each mobile phone to generate a public timetable, which helps to save mobile phone storage resources and computing resources.
值得一提的是,上述的具体实施中需要生成公共时间表和关注时间表,由于公共时间表中的抢购活动都是公知的,一般而言,这种抢购活动的开始时间是不会轻易改变的,公共时间表一旦生成,不能轻易进行改变,易于维护。关注时间表随着用户的关注行为或浏览行为的改变,则关注时间表也需要调整,且关注时间表的生成需要与手机中的第一应用进行信息交互才能确定,可以设置固定时间间隔对关注时间表进行维护。例如,每过七天对关注时间表中的信息进行更新,保证关注时间表中记录有第二选项对应的购物活动,以及能够在关注时间表中查询到准确的购物活动的开始时间。It is worth mentioning that in the above specific implementation, public timetables and attention timetables need to be generated. Since the snap-up activities in the public timetable are all known, generally speaking, the start time of such snap-up activities will not change easily Yes, once the public schedule is generated, it cannot be changed easily and is easy to maintain. Following the change of the user’s attention or browsing behavior, the attention schedule also needs to be adjusted, and the generation of the attention schedule needs to be determined by information interaction with the first application in the mobile phone. You can set a fixed time interval to follow The schedule is maintained. For example, the information in the attention schedule is updated every seven days to ensure that the shopping activity corresponding to the second option is recorded in the attention schedule, and the accurate start time of the shopping activity can be queried in the attention schedule.
步骤205:在第一应用的应用图标上采用倒计时时长进行倒计时。Step 205: Use the countdown duration on the application icon of the first application to count down.
其中,倒计时显示在第一应用的应用图标上时,倒计时的显示方式存在多种,例如,数字格式、进度条格式、区块进度格式和表盘格式等等,倒计时显示时以上述任一格式显示均可。Among them, when the countdown is displayed on the application icon of the first application, there are many ways to display the countdown, such as number format, progress bar format, block progress format, dial format, etc., and the countdown is displayed in any of the above formats. Can be.
在一个具体的应用场景中,若获取到的选择操作中包括一个第一选项和一个第二选项,倒计时在应用图标上的显示如图6所示,图示中第一选项用“Ι”标记,第二选项用“Π”标记,图示中的倒计时时间为示例。可以理解的是,由于用户的选择操作中可包括至少一个的选项,则应该在第一应用的图标上课显示至少一个的倒计时时间,由于第一应用的应用图标面积有限,若超过一定数量,会存在倒计时无法显示在第一应用的应用图标上的问题,一个具体实施中,应用图标上显示预设数量的倒计时,若倒计时的显示数量大于预设数量,则根据倒计时的时长,显示倒计时时长短的倒计时,或者,根据用户选择操作的选择顺序进行显示,此处仅是示例。In a specific application scenario, if the obtained selection operation includes a first option and a second option, the countdown is displayed on the application icon as shown in Figure 6, and the first option in the figure is marked with "Ι" , The second option is marked with "Π", the countdown time in the figure is an example. It is understandable that since the user’s selection operation can include at least one option, at least one countdown time should be displayed in the icon of the first application. Since the area of the application icon of the first application is limited, if it exceeds a certain number, it will There is a problem that the countdown cannot be displayed on the application icon of the first application. In a specific implementation, a preset number of countdowns are displayed on the application icon. If the displayed number of the countdown is greater than the preset number, the countdown duration is displayed according to the duration of the countdown. Countdown, or display according to the selection order of the user's selection operation, here is only an example.
一个具体的应用场景中,现有的手机中,人们一般为了主界面显示简洁,会对同一类的应用设置在一个文件夹中,如图7所示,生活实用中包括“淘宝”应用和“京东”应用,若对淘宝进行倒计时,显示于淘宝的应用图标中,在不打开生活实用这个文件夹的情况下,用户不能直观的查看倒计时的显示状况。对于上述情况,可以直接将应用图标上的倒计时显示于文件夹的显示图标上,当用户点击文件夹之后,文件夹打开,将倒计时显示在对应的应用图标上,如图8所示,以便用户确定文件夹上的倒计时对应的应用。In a specific application scenario, in existing mobile phones, people generally set the same type of applications in a folder for the main interface to display concisely. As shown in Figure 7, life practical applications include "Taobao" applications and " If the "Jingdong" application counts down Taobao, it will be displayed in Taobao's application icon. Users cannot visually check the display status of the countdown without opening the life utility folder. For the above situation, you can directly display the countdown on the application icon on the display icon of the folder. When the user clicks on the folder, the folder opens and the countdown is displayed on the corresponding application icon, as shown in Figure 8 for the user Determine the application corresponding to the countdown on the folder.
具体地说,图6中显示倒数时的格式仅为示例,手机可根据用户设定或选择的倒计时显示格式进行倒计时显示,为了保证倒计时显示的格式符合用户的偏好,可获取用户的显示偏好类型。例如,在步骤205之前,显示第二界面,其中,第二界面包括至少一个倒计时显示的格式;获取用户选择的第二界面上的倒计时显示的格式。则步 骤205的具体实施为,根据倒计时显示的格式在第一应用的应用图标上采用倒计时时长进行倒计时。Specifically, the format when displaying the countdown in Figure 6 is only an example. The mobile phone can display the countdown according to the countdown display format set or selected by the user. In order to ensure that the format of the countdown display conforms to the user's preference, the user's display preference type can be obtained . For example, before step 205, a second interface is displayed, where the second interface includes at least one countdown display format; the countdown display format on the second interface selected by the user is acquired. Then, the specific implementation of step 205 is to use the countdown duration on the application icon of the first application to count down according to the format of the countdown display.
一个具体的应用场景中,第二界面中的显示格式示例如图9所示,用户可选择任一格式进行倒计时显示,图示仅为示例。In a specific application scenario, an example of the display format in the second interface is shown in Figure 9. The user can select any format for countdown display. The figure is only an example.
需要说明的是,上述的数字格式可以直观准确的反应出距离抢购活动开始的时间,进度条格式、区块格式等不能直接体现具体时间,还可以在倒计时上设置时间显示操作。例如,手机获取到对进度条或区块格式的显示操作,显示具体的倒计时时间。It should be noted that the above digital format can intuitively and accurately reflect the time from the start of the panic buying activity. The progress bar format and block format cannot directly reflect the specific time. You can also set the time display operation on the countdown. For example, the mobile phone obtains the display operation on the progress bar or block format, and displays the specific countdown time.
一个具体实施中,在购物类应用的应用图标上显示倒计时,是为了避免用户错过该应用中的购物活动,且用户在不打开的应用的情况下,可直观的了解到距离购物节开始的时间,用户在使用该手机的过程中不需要实时等待在该购物应用中,为了进一步优化用户体验,在手机的状态栏或屏幕浮窗位置显示倒计时。一个具体实现过程为:若确定倒计时时长小于或等于第一预设时长,手机在状态栏显示倒计时时长进行倒计时,如图10所示。或者,若确定倒计时时长小于或等于第二预设时长,手机在屏幕浮窗位置显示倒计时时长进行倒计时,如图11所示。上述具体实现中,还可以同时在状态栏和浮窗位置显示倒计时时间。此处仅是示例,还可以设置其他形式的显示方式,另外,为了避免用户错过购物活动的开始时间,还可以通过与手机的提示灯或提示声音配合,例如,若确定倒计时时长小于或等于第三预设时长,手机控制提示灯闪烁,和/或,若确定倒计时时长小于或等于第四预设时长,手机发出提示音。In a specific implementation, the countdown is displayed on the application icon of a shopping application to avoid the user from missing the shopping activity in the application, and the user can intuitively understand the time until the start of the shopping festival without opening the application , The user does not need to wait in the shopping application in real time while using the mobile phone. In order to further optimize the user experience, a countdown is displayed on the status bar of the mobile phone or the floating window on the screen. A specific implementation process is: if it is determined that the countdown duration is less than or equal to the first preset duration, the mobile phone displays the countdown duration in the status bar for countdown, as shown in FIG. 10. Or, if it is determined that the countdown duration is less than or equal to the second preset duration, the mobile phone displays the countdown duration in the floating window position of the screen to count down, as shown in FIG. 11. In the above specific implementation, the countdown time can also be displayed in the status bar and the floating window position at the same time. This is just an example. Other forms of display can also be set. In addition, in order to prevent users from missing the start time of the shopping activity, they can also cooperate with the mobile phone's prompt light or prompt sound. For example, if it is determined that the countdown duration is less than or equal to the first 3. For the preset duration, the mobile phone controls the reminder light to flash, and/or, if it is determined that the countdown duration is less than or equal to the fourth preset duration, the mobile phone emits a reminder tone.
可以理解的是,本申请中在应用图标上显示倒计时是实时变化的倒计时时间,若是进度条等格式的显示方式也是实时变化的。It is understandable that the countdown displayed on the application icon in this application is a countdown time that changes in real time, and the display mode of a format such as a progress bar also changes in real time.
值得一提的是,本申请中的倒计时显示方法可以以应用程序的形式设置于手机,或直接设置在手机的运行系统中,具体地说,倒计时显示方法直接设置在手机的运行系统中,则直接通过第一操作对第一应用倒计时设置,若是以应用程序的形式设置于手机中,则需要保证该应用程序在处于运行状态,通过第一操作对第一应用进行倒计时设置。It is worth mentioning that the countdown display method in this application can be set in the mobile phone in the form of an application, or directly set in the mobile phone's operating system. Specifically, the countdown display method can be directly set in the mobile phone's operating system, then Set the countdown to the first application directly through the first operation. If it is set in the mobile phone in the form of an application, it is necessary to ensure that the application is in a running state, and set the countdown to the first application through the first operation.
相对于现有技术而言,对第一应用进行倒计时显示的过程中,确定对第一应用进行倒计时显示之后,显示第一界面,其中,第一界面包括第一选项和至少一个的第二选项,每个选项对应一个抢购活动。手机获取用户的选择操作,并根据选择操作的选项确定出倒计时时长,在第一应用的图标上显示倒计时时长并进行倒计时。使得用户在不需要进入该第一应用的情况下,可直观的了解到距离抢购活动的开始时间的时间长度,也不需要通过专门的倒计时软件查看距离抢购活动开始的时间,避免用户错过抢购时间,提高用户体验。Compared with the prior art, during the countdown display of the first application, after determining that the first application is counted down, the first interface is displayed, where the first interface includes a first option and at least one second option , Each option corresponds to a panic buying activity. The mobile phone obtains the user's selection operation, determines the countdown duration according to the options of the selection operation, and displays the countdown duration on the icon of the first application and performs the countdown. This allows users to intuitively understand the length of time from the start of the panic buying activity without entering the first application, and there is no need to use a special countdown software to check the time from the start of the panic buying activity, avoiding users from missing the panic buying time , Improve user experience.
具体地说,采用倒计时时长在应用图标上进行倒计时,为了避免手机获取到的抢购活动的开始时间不准确,或者,用户想要将倒计时的时间提前一定时间,确保用户也可对倒计时时间进行编辑。为了避免倒计时显示过程中倒计时显示不正确的问题,设置用户可对倒计时时长进行编辑。Specifically, the countdown time is used to count down on the application icon, in order to avoid the inaccurate start time of the panic buying activity obtained by the mobile phone, or the user wants to advance the countdown time by a certain amount of time to ensure that the user can also edit the countdown time . In order to avoid the problem that the countdown is not displayed correctly during the countdown display process, the setting user can edit the countdown duration.
一个具体实施中,在步骤204之后,该倒计时显示方法包括:接收用户对第一应用的应用图标的第二操作;响应于第二操作,显示第三界面,其中,第三界面包括处于编辑状态的倒计时时长;手机接收用户对倒计时时长的编辑操作;手机在应用图标 上采用编辑后的倒计时时长进行倒计时。In a specific implementation, after step 204, the countdown display method includes: receiving a second operation of the user on the application icon of the first application; in response to the second operation, displaying a third interface, where the third interface includes being in an editing state The mobile phone receives the user’s editing operation of the countdown time; the mobile phone uses the edited countdown time on the application icon to count down.
其中,第三界面为可编辑的倒计时时长,例如,用户可在如图12所示的第三界面中对倒计时时长进行编辑,手机获取用户编辑后的倒计时时长进行倒计时。The third interface is an editable countdown duration. For example, the user can edit the countdown duration in the third interface as shown in FIG. 12, and the mobile phone obtains the edited countdown duration by the user to count down.
本申请另一些实施例提供了一种电子设备,该电子设备可以包括:上述触摸屏、存储器和一个或多个处理器。该触摸屏、存储器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。当处理器执行计算机指令时,电子设备可执行上述方法实施例中有关倒计时显示方法的实施步骤。该电子设备的结构可以参考图1所示的电子设备100的结构。Other embodiments of the present application provide an electronic device. The electronic device may include the aforementioned touch screen, a memory, and one or more processors. The touch screen, memory and processor are coupled. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device can execute the steps related to the countdown display method in the foregoing method embodiment. The structure of the electronic device can refer to the structure of the electronic device 100 shown in FIG. 1.
本申请另一些实施例提供一种显示装置,其特征在于,该装置可以应用于包括上述触摸屏的电子设备。该装置用于执行上述方法实施例中有关倒计时显示方法的实施步骤。Other embodiments of the present application provide a display device, which is characterized in that the device can be applied to an electronic device including the aforementioned touch screen. The device is used to execute the steps related to the countdown display method in the above method embodiment.
本申请实施例还提供一种芯片系统,如图13所示,该芯片系统包括至少一个处理器1301和至少一个接口电路1302。处理器1301和接口电路1302可通过线路互联。例如,接口电路1302可用于从其它装置(例如电子设备的存储器)接收信号。又例如,接口电路1302可用于向其它装置(例如处理器1301)发送信号。示例性的,接口电路1302可读取存储器中存储的指令,并将该指令发送给处理器1301。当所述指令被处理器1301执行时,可使得电子设备执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。An embodiment of the present application also provides a chip system. As shown in FIG. 13, the chip system includes at least one processor 1301 and at least one interface circuit 1302. The processor 1301 and the interface circuit 1302 may be interconnected by wires. For example, the interface circuit 1302 may be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit 1302 may be used to send signals to other devices (such as the processor 1301). Exemplarily, the interface circuit 1302 can read instructions stored in the memory and send the instructions to the processor 1301. When the instructions are executed by the processor 1301, the electronic device can execute the steps in the foregoing embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
本申请实施例还提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在上述电子设备上运行时,使得该电子设备执行上述方法实施例的各个步骤。The embodiments of the present application also provide a computer storage medium, which includes computer instructions, which when the computer instructions run on the above-mentioned electronic device, cause the electronic device to execute each step of the above-mentioned method embodiment.
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例的各个步骤。The embodiment of the present application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute each step of the foregoing method embodiment.
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by Different functional modules are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成 的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of this application, but the protection scope of this application is not limited to this, and any changes or substitutions within the technical scope disclosed in this application should be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (11)

  1. 一种倒计时显示方法,其特征在于,包括:A countdown display method, characterized in that it comprises:
    电子设备接收用户对第一应用的应用图标的第一操作,其中,所述第一应用是购物类应用;The electronic device receives the user's first operation on the application icon of the first application, where the first application is a shopping application;
    响应于所述第一操作,所述电子设备显示第一界面,其中,所述第一界面包括第一选项和/或至少一个第二选项,所述第一选项对应所述第一应用中第一预设时间内的抢购活动,所述至少一个第二选项对应所述第一应用中用户关注的店铺或商品的抢购活动或者所述第一应用中在第二预设时间内被用户浏览过的店铺或商品的抢购活动;In response to the first operation, the electronic device displays a first interface, wherein the first interface includes a first option and/or at least one second option, and the first option corresponds to the first option in the first application. A panic buying activity within a preset time, the at least one second option corresponds to a panic buying activity of a store or a commodity that the user follows in the first application or the first application has been viewed by the user within a second preset time Rush-purchase activities in stores or commodities;
    所述电子设备接收用户对所述第一选项和/或所述至少一个第二选项的选择操作;Receiving, by the electronic device, a user's selection operation on the first option and/or the at least one second option;
    响应于所述选择操作,所述电子设备获取用户选择的选项对应活动的开始时间,并根据所述开始时间和当前系统时间,计算倒计时时长;In response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and calculates the countdown duration according to the start time and the current system time;
    所述电子设备在所述第一应用的应用图标上采用所述倒计时时长进行倒计时。The electronic device uses the countdown duration to count down on the application icon of the first application.
  2. 根据权利要求1所述的倒计时显示方法,其特征在于,所述响应于所述选择操作,所述电子设备获取用户选择的选项对应的活动的开始时间,并根据所述开始时间和当前系统时间,计算倒计时时长,具体包括:The countdown display method according to claim 1, wherein in response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and according to the start time and the current system time , Calculate the countdown duration, including:
    所述电子设备若确定所述选项为第一选项,查询公共时间表获取所述第一选项对应活动的开始时间,并根据所述第一选项对应活动的开始时间和所述当前系统时间,计算所述倒计时时长;和/或,If the electronic device determines that the option is the first option, query the public timetable to obtain the start time of the activity corresponding to the first option, and calculate according to the start time of the activity corresponding to the first option and the current system time Said countdown duration; and/or,
    所述电子设备若确定所述选项为第二选项,查询关注时间表获取所述第二选项对应活动的开始时间,并根据所述第二选项对应活动的开始时间和所述当前系统时间,计算所述倒计时时长。If the electronic device determines that the option is the second option, query the attention schedule to obtain the start time of the activity corresponding to the second option, and calculate according to the start time of the activity corresponding to the second option and the current system time The countdown duration.
  3. 根据权利要求1或2所述的倒计时显示方法,其特征在于,所述电子设备在所述第一应用的应用图标上采用所述倒计时时长进行倒计时之前,所述方法还包括:The countdown display method according to claim 1 or 2, wherein before the electronic device uses the countdown duration on the application icon of the first application to count down, the method further comprises:
    所述电子设备显示第二界面,其中,所述第二界面包括至少一个倒计时显示的格式;The electronic device displays a second interface, wherein the second interface includes at least one countdown display format;
    所述电子设备获取所述用户选择的倒计时显示的格式;Acquiring, by the electronic device, the format of the countdown display selected by the user;
    所述电子设备在所述第一应用的应用图标上采用所述倒计时时长进行倒计时,具体包括:所述电子设备根据所述倒计时显示的格式在所述第一应用的应用图标上采用所述倒计时时长进行倒计时。The electronic device using the countdown duration to count down on the application icon of the first application specifically includes: the electronic device uses the countdown on the application icon of the first application according to the format displayed by the countdown timer The time counts down.
  4. 根据权利要求1或2所述的倒计时显示方法,其特征在于,所述电子设备在所述第一应用的应用图标上进行倒计时的格式包括:数字格式、进度条格式、区块进度格式和表盘格式中的任一种。The countdown display method according to claim 1 or 2, wherein the format for the electronic device to count down on the application icon of the first application includes: a number format, a progress bar format, a block progress format, and a dial Any of the formats.
  5. 根据权利要求2所述的倒计时显示方法,其特征在于,所述电子设备中包括至少一个进行倒计时的应用,The countdown display method according to claim 2, wherein the electronic device includes at least one countdown application,
    所述响应于所述选择操作,所述电子设备获取用户选择的选项对应的活动的开始时间之前,所述方法还包括:In response to the selection operation, before the electronic device obtains the start time of the activity corresponding to the option selected by the user, the method further includes:
    所述电子设备确定每个应用的在所述第一预设时间内对应的抢购活动,查询每个所述第一预设时间内对应活动的所述开始时间,根据所述第一预设时间内对应活动的所述开始时间生成所述公共时间表;The electronic device determines the corresponding snap-up activity of each application within the first preset time, queries the start time of each corresponding activity within the first preset time, and according to the first preset time Generate the public timetable for the start time of the corresponding activity within;
    分别对至少一个所述进行倒计时的应用进行如下操作:Perform the following operations on at least one of the countdown applications:
    所述电子设备获取所述应用中用户关注的店铺的抢购活动或者在第二预设时间内被用户浏览过的店铺的抢购活动;Acquiring, by the electronic device, a snap-purchase activity of a store followed by the user in the application or a snap-purchase activity of a store browsed by the user within a second preset time;
    所述电子设备查询每个用户关注的店铺的抢购活动和在第二预设时间内被用户浏览过的店铺的抢购活动的所述开始时间;The electronic device inquires about the start time of the snap-purchase activity of each store that the user pays attention to and the store that has been browsed by the user within a second preset time;
    所述电子设备根据所述开始时间生成所述关注时间表。The electronic device generates the attention schedule according to the start time.
  6. 根据权利要求1或2所述的倒计时显示方法,其特征在于,所述响应于所述选择操作,所述电子设备获取用户选择的选项对应的活动的开始时间,并根据所述开始时间和当前系统时间,计算倒计时时长之后,所述电子设备在所述第一应用的应用图标上采用所述倒计时时长进行倒计时之前,所述方法还包括:The countdown display method according to claim 1 or 2, wherein in response to the selection operation, the electronic device obtains the start time of the activity corresponding to the option selected by the user, and according to the start time and current System time, after calculating the countdown duration, before the electronic device uses the countdown duration on the application icon of the first application to count down, the method further includes:
    所述电子设备接收所述用户对所述第一应用的所述应用图标的第二操作;Receiving, by the electronic device, a second operation of the user on the application icon of the first application;
    响应于所述第二操作,所述电子设备显示第三界面,其中,所述第三界面包括处于编辑状态的倒计时时长;In response to the second operation, the electronic device displays a third interface, wherein the third interface includes the countdown duration in the editing state;
    所述电子设备接收所述用户对所述倒计时时长的编辑操作;Receiving, by the electronic device, the user's editing operation on the countdown duration;
    所述电子设备在所述应用图标上采用所述编辑后的倒计时时长进行倒计时。The electronic device uses the edited countdown duration on the application icon to count down.
  7. 根据权利要求1或2所述的倒计时显示方法,其特征在于,在所述第一应用的应用图标上采用所述倒计时时长进行倒计时之后,所述方法还包括:The countdown display method according to claim 1 or 2, characterized in that, after the countdown duration is used on the application icon of the first application to count down, the method further comprises:
    若确定倒计时时长小于或等于第一预设时长,所述电子设备在状态栏显示倒计时时长进行倒计时;和/或,If it is determined that the countdown duration is less than or equal to the first preset duration, the electronic device displays the countdown duration in the status bar to count down; and/or,
    若确定倒计时时长小于或等于第二预设时长,所述电子设备在屏幕浮窗位置显示倒计时时长进行倒计时。If it is determined that the countdown duration is less than or equal to the second preset duration, the electronic device displays the countdown duration in the floating window position of the screen to perform the countdown.
  8. 一种电子设备,其特征在于,所述电子设备包括触摸屏、存储器和至少一个的处理器;所述触摸屏、所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,使所述电子设备执行如权利要求1-7中任一项所述的倒计时显示方法。An electronic device, characterized in that the electronic device includes a touch screen, a memory, and at least one processor; the touch screen, the memory and the processor are coupled; the memory is used to store computer program codes, the The computer program code includes computer instructions, and when the processor executes the computer instructions, the electronic device executes the countdown display method according to any one of claims 1-7.
  9. 一种芯片系统,其特征在于,所述芯片系统应用于包括触摸屏的电子设备;所述芯片系统包括一个或多个接口电路和一个或多个处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,所述电子设备执行如权利要求1-7中任一项所述的倒计时显示方法。A chip system, characterized in that the chip system is applied to an electronic device including a touch screen; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor pass through Line interconnection; the interface circuit is used to receive a signal from the memory of the electronic device, and send the signal to the processor, the signal includes the computer instructions stored in the memory; when the processor executes all When the computer instruction is used, the electronic device executes the countdown display method according to any one of claims 1-7.
  10. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-7中任一项所述的倒计时显示方法。A computer storage medium, characterized by comprising computer instructions, which when the computer instructions run on an electronic device, causes the electronic device to execute the countdown display method according to any one of claims 1-7.
  11. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-7中任一项所述的倒计时显示方法。A computer program product, characterized in that when the computer program product runs on a computer, the computer is caused to execute the countdown display method according to any one of claims 1-7.
PCT/CN2020/101340 2019-07-10 2020-07-10 Countdown display method and electronic device WO2021004527A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910621393.0A CN110515506A (en) 2019-07-10 2019-07-10 A kind of countdown display methods and electronic equipment
CN201910621393.0 2019-07-10

Publications (1)

Publication Number Publication Date
WO2021004527A1 true WO2021004527A1 (en) 2021-01-14

Family

ID=68622803

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/101340 WO2021004527A1 (en) 2019-07-10 2020-07-10 Countdown display method and electronic device

Country Status (2)

Country Link
CN (1) CN110515506A (en)
WO (1) WO2021004527A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783998A (en) * 2021-09-13 2021-12-10 维沃移动通信(杭州)有限公司 Alarm clock management method and device
CN114222148A (en) * 2021-11-03 2022-03-22 广州方硅信息技术有限公司 Countdown control method and device, storage medium and computer equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515506A (en) * 2019-07-10 2019-11-29 华为技术有限公司 A kind of countdown display methods and electronic equipment
CN111198736A (en) * 2019-12-16 2020-05-26 上海淇玥信息技术有限公司 Page display method based on user state characteristics, and device, system, server and storage medium thereof
CN111766993B (en) * 2020-05-29 2021-12-10 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN112596849A (en) * 2020-12-30 2021-04-02 支付宝(杭州)信息技术有限公司 Page interaction method and device and electronic equipment
CN113254096A (en) * 2021-05-10 2021-08-13 维沃移动通信有限公司 Timing control using method and device and electronic equipment
CN113703896A (en) * 2021-08-30 2021-11-26 维沃移动通信(杭州)有限公司 Event trigger control method and device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160259413A1 (en) * 2015-03-08 2016-09-08 Apple Inc. Devices, Methods, and Graphical User Interfaces for Manipulating User Interface Objects with Visual and/or Haptic Feedback
CN107291320A (en) * 2016-04-01 2017-10-24 天津三星通信技术研究有限公司 The display methods and equipment of application icon
CN108492085A (en) * 2018-03-26 2018-09-04 广东欧珀移动通信有限公司 Calendar prompting management method, device, storage medium and terminal device
CN108564416A (en) * 2018-04-25 2018-09-21 掌阅科技股份有限公司 The processing method of activity countdown in limited time, computing device, storage medium
CN110515506A (en) * 2019-07-10 2019-11-29 华为技术有限公司 A kind of countdown display methods and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049848B (en) * 2014-07-04 2017-12-05 北京奇虎科技有限公司 Using based reminding method, device, client and electronic equipment
KR20170085419A (en) * 2016-01-14 2017-07-24 삼성전자주식회사 Method for operating based on touch input and electronic device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160259413A1 (en) * 2015-03-08 2016-09-08 Apple Inc. Devices, Methods, and Graphical User Interfaces for Manipulating User Interface Objects with Visual and/or Haptic Feedback
CN107291320A (en) * 2016-04-01 2017-10-24 天津三星通信技术研究有限公司 The display methods and equipment of application icon
CN108492085A (en) * 2018-03-26 2018-09-04 广东欧珀移动通信有限公司 Calendar prompting management method, device, storage medium and terminal device
CN108564416A (en) * 2018-04-25 2018-09-21 掌阅科技股份有限公司 The processing method of activity countdown in limited time, computing device, storage medium
CN110515506A (en) * 2019-07-10 2019-11-29 华为技术有限公司 A kind of countdown display methods and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783998A (en) * 2021-09-13 2021-12-10 维沃移动通信(杭州)有限公司 Alarm clock management method and device
CN113783998B (en) * 2021-09-13 2023-04-07 维沃移动通信(杭州)有限公司 Alarm clock management method and device, electronic equipment and readable storage medium
CN114222148A (en) * 2021-11-03 2022-03-22 广州方硅信息技术有限公司 Countdown control method and device, storage medium and computer equipment
CN114222148B (en) * 2021-11-03 2024-03-01 广州方硅信息技术有限公司 Countdown control method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN110515506A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
WO2021004527A1 (en) Countdown display method and electronic device
WO2021052263A1 (en) Voice assistant display method and device
WO2021013158A1 (en) Display method and related apparatus
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
WO2020224449A1 (en) Split-screen display operation method and electronic device
WO2021052214A1 (en) Hand gesture interaction method and apparatus, and terminal device
WO2021000881A1 (en) Screen splitting method and electronic device
WO2020119492A1 (en) Message processing method and related apparatus
WO2021197139A1 (en) Service recommending method, electronic device, and system
CN110401767B (en) Information processing method and apparatus
WO2020259554A1 (en) Learning-based keyword search method, and electronic device
WO2020221060A1 (en) Card-related processing method and apparatus
CN111371938B (en) Fault detection method and electronic equipment
WO2020150894A1 (en) Application-based incoming call display method and terminal device
WO2021013136A1 (en) Apparatus control method, and electronic apparatus
WO2021249281A1 (en) Interaction method for electronic device, and electronic device
WO2022053006A1 (en) Proximity light sensor control method and related device
WO2021238370A1 (en) Display control method, electronic device, and computer-readable storage medium
CN111835904A (en) Method for starting application based on context awareness and user portrait and electronic equipment
WO2020221062A1 (en) Navigation operation method and electronic device
WO2020192716A1 (en) System language switching method and related apparatus
CN111492678A (en) File transmission method and electronic equipment
WO2023029916A1 (en) Annotation display method and apparatus, terminal device, and readable storage medium
CN115022982B (en) Multi-screen cooperative non-inductive access method, electronic equipment and storage medium
WO2022166435A1 (en) Picture sharing method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20837336

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20837336

Country of ref document: EP

Kind code of ref document: A1