WO2020119491A1 - 来电提醒方法及终端 - Google Patents

来电提醒方法及终端 Download PDF

Info

Publication number
WO2020119491A1
WO2020119491A1 PCT/CN2019/122233 CN2019122233W WO2020119491A1 WO 2020119491 A1 WO2020119491 A1 WO 2020119491A1 CN 2019122233 W CN2019122233 W CN 2019122233W WO 2020119491 A1 WO2020119491 A1 WO 2020119491A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
video file
video
contact
identifier
Prior art date
Application number
PCT/CN2019/122233
Other languages
English (en)
French (fr)
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 WO2020119491A1 publication Critical patent/WO2020119491A1/zh
Priority to US17/345,036 priority Critical patent/US11438453B2/en
Priority to US17/877,143 priority patent/US11765265B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Definitions

  • Embodiments of the present application relate to the field of terminals, and in particular, to an incoming call reminding method and terminal.
  • Instant messaging terminals support instant voice communication and/or instant video communication.
  • the first terminal may initiate an instant communication request to the second terminal, and the first terminal may also receive the instant communication request sent by the second terminal.
  • the instant communication request received by the first terminal may also be called an incoming call request.
  • the first terminal and the second terminal are terminals capable of instant messaging.
  • the first terminal reminds the user of the communication request by playing audio.
  • the first terminal stops playing the audio in response to the user’s input of the accept operation instruction or the reject operation instruction.
  • the reminder method of playing audio is more tedious, which makes the user experience bad.
  • Embodiments of the present application provide a call reminding method and terminal to solve the problem of tediousness of the current call reminding method.
  • an embodiment of the present application provides an incoming call reminding method.
  • the method includes:
  • the audio and video player of the calling system plays the audio and video corresponding to the incoming call request.
  • the system of the terminal is preset with an audio and video player. Based on this, in response to the received incoming call request, the terminal may play the audio and video through the built-in audio and video player to remind the user. It can be seen that with this implementation, the terminal can remind the user by playing audio and video without occupying additional system resources, and it is convenient to maintain the correspondence between audio and video.
  • the method further includes:
  • the caller ID interface and the animation of the audio and video are displayed, and the animation of the audio and video serves as the background of the caller interface.
  • the terminal may integrate the interface of the video screen and the caller ID display, so that the caller ID interface and the video are integrated in visual effects.
  • the terminal embeds the picture of the video into the bottom layer of the caller ID interface. In this way, the video displayed on the terminal and the caller ID interface are integrated in visual effects, thereby improving the user experience.
  • the terminal Before receiving the incoming call request, stores at least one audio and video file in advance. In this implementation manner, the terminal can respond to the user's operation and store the audio and video files created or selected by the user locally, thereby preparing for the incoming call to play the audio and video.
  • the method before receiving the storage instruction input by the user, the method further includes:
  • a control menu is displayed in response to the extended instruction, and the control menu includes the control corresponding to the storage instruction.
  • storing the target audio and video file indicated by the storage instruction includes:
  • the server is a server that plays the APP of the target audio and video;
  • the storing the target audio and video file locally includes:
  • the user can store the audio and video played by the third-party APP while playing the audio and video using a third-party application (APP) installed on the terminal (for example, a vibrato small video).
  • APP third-party application
  • the solution of the embodiment of the present application is more user-friendly, so that the user experience can be further improved.
  • the contact information includes the contact identifier and the contact group identifier
  • the contact group identifier indication includes at least two Collection of contact identities
  • the user can select the audio and video file corresponding to the corresponding contact information based on the contact information.
  • the operation of establishing the correspondence between contact information and audio and video files is more flexible.
  • the second setting instruction including a second audio and video file identifier
  • the user may select an implementation manner of contact information corresponding to the audio and video file based on the audio and video file. For example, when browsing the local video, the user can directly set the audio and video that he likes as the audio and video of the incoming call reminder. With this implementation, the user's operation is more convenient and faster.
  • the third setting instruction includes an address of a third audio and video file in a server, and the server is a server that plays the application APP of the target audio and video;
  • the user can directly determine the audio and video being played by the third-party APP as the audio and video corresponding to the contact information.
  • the user can directly determine the audio and video being played by the third-party APP as the audio and video corresponding to the contact information.
  • the method further includes:
  • the terminal maintains the correspondence between the contact information and the audio and video file identification. Therefore, after receiving the incoming call request, the terminal can determine the audio and video corresponding to the corresponding contact from the correspondence between the contact information and the audio and video file identification according to the contact identifier included in the incoming call request.
  • the determining the audio and video file identifier corresponding to the contact identifier includes:
  • the audio and video file identifier is stored corresponding to the contact identifier. In some other embodiments, the audio and video file identifier is stored in correspondence with the contact group identifier. In this implementation, the terminal can traverse the contact identifier in the storage relationship. If the contact identification is found in the storage relationship, the call ringtone processor reads the audio and video file identification corresponding to the contact identification. If the contact identification is not found in the storage relationship, the call ringtone processor obtains the contact group identification corresponding to the contact identification, and then reads the contact group from the storage relationship Identify the corresponding audio and video file identifier.
  • an embodiment of the present application provides a terminal, the terminal including a module for performing the steps of the call reminding method in the first aspect and various possible implementation manners of the first aspect.
  • the terminal includes: a transceiver module and a processing module.
  • it may also include other modules or units such as a storage module.
  • an embodiment of the present application provides a terminal.
  • the terminal includes a processor.
  • the processor is configured to couple with a memory, read an instruction in the memory, and execute the first aspect and the first aspect according to the instruction.
  • Incoming call reminding method in various possible implementation ways.
  • an embodiment of the present application provides a computer storage medium that stores instructions in the computer storage medium, and when the instructions run on a computer, the computer is allowed to execute the first aspect and various possible aspects of the first aspect Part or all steps of the call reminding method in the implementation manner.
  • an embodiment of the present application provides a computer program product that, when run on a computer, causes the computer to execute the first aspect and part of the call alert method in various possible implementation manners of the first aspect Or all steps.
  • the terminal system of the embodiment of the present application is provided with an audio and video player, so that when the terminal receives an incoming call request, the system of the terminal can play audio and video for incoming call reminders.
  • the video animation and the caller ID interface displayed on the terminal are integrated in visual effects, thereby improving user use Experience.
  • FIG. 1 is a schematic diagram of an interface displayed on a terminal provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an interface of a first implementation manner of a terminal provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of an interface of a second implementation manner of a terminal provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an interface of another implementation manner of FIG. 3 provided by an example of the present application.
  • FIG. 5 is a schematic diagram of an interface of a first implementation manner of a smartphone provided by an embodiment of the present application
  • FIG. 6 is a schematic diagram of an interface of a second implementation manner of a smartphone provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an interface of a third implementation manner of a smartphone provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an interface of a fourth implementation manner of a smartphone provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an interface of a fifth implementation manner of a smartphone provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a hardware structure of an implementation manner of a terminal 10 provided by an embodiment of the present application;
  • FIG. 11 is a schematic diagram of a software structure of an implementation manner of a terminal 10 provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an interface of a display mode of a terminal provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a functional device included in the terminal 10 according to an embodiment of the present application.
  • first, second, etc. may be used to describe a certain type of object in the following embodiments, the object should not be limited to these terms. These terms are only used to distinguish specific objects of this type of object.
  • the terms first, second, etc. may be used to describe the call request, but the call request should not be limited to these terms. These terms are only used to distinguish incoming call requests received by the terminal at different times.
  • the first call request may also be referred to as a second call request.
  • the second call request may also be referred to as the first call request.
  • the following embodiments may use the terms first, second, etc. to describe other types of objects, which will not be repeated here.
  • "plurality" means two or more.
  • the embodiments of the present application are applied to instant messaging technology scenarios.
  • Instant communication is realized by two instant communication terminals (hereinafter referred to as terminals).
  • the terminal sending the outgoing call request may be called a calling terminal
  • the terminal receiving the incoming call request may be called a called terminal.
  • the called terminal may play an audio and video to alert the user of the incoming call.
  • the existing incoming call reminding method includes, in response to the incoming call request, a ringtone module built in the called terminal system playing audio corresponding to the incoming call request. At the same time, the system calls a third-party player to play the video corresponding to the call request.
  • the playback area of the video covers at least part of the area of the caller ID interface. As shown in FIG. 1, taking a smart phone as an example, incoming call video is played in the area A of the smart phone interface. The part of the caller ID interface where the call command control is set is located in the area B of the smartphone interface.
  • the terminal in order to execute the existing call reminding method, on the one hand, the terminal needs to set up a third-party application (application, APP) dedicated to playing videos, thereby occupying more resources.
  • application application, APP
  • the function module for playing video and the function module for playing audio in the terminal are independent of each other, so that it is not easy to establish a corresponding relationship between the audio and the video used for the call reminder.
  • the terminal's interface display effect is not good, resulting in a poor user experience.
  • the embodiments of the present application provide embodiments of the following incoming call reminding method and terminal, which solve the problems of the above-mentioned existing incoming call reminding method which occupies many resources and the user experience is poor.
  • the terminal may be a smart phone provided with a subscriber identification card (subscriber identification module, SIM).
  • the terminal may be a tablet computer, a laptop computer, and a wearable device (such as a smart watch) installed with software or applications that support instant voice communication and/or video communication Wait for the terminal.
  • the software or application program supporting instant voice communication and/or video communication is, for example, facebook, skype, whatsapp, snapchat, WeChat or QQ. Wherein, the terminal is used as a called terminal in the embodiments described in the embodiments of the present application.
  • the user establishes a correspondence between audio and video files and contacts in advance.
  • the system of the terminal plays the audio and video indicated by the audio and video file as the incoming call audio and video corresponding to the incoming call request.
  • the terminal can also integrate the caller ID interface and the played video to improve the user experience.
  • the contact includes any contact and designated contact in the contact group.
  • the contact group is a set containing at least two contacts. All contacts belonging to the same contact group contain the same group ID.
  • the contact group may have different expressions in different scenarios. For example, a SIM card of a smartphone may be regarded as a contact group, and all contacts included in the SIM card belong to the contact group.
  • a group of friends can be regarded as a group of contacts, and all contacts in each group of friends belong to the group of contacts.
  • a contact that belongs to a SIM card may be classified as a "colleague", another part may be classified as a "customer”, and the "colleague” group may also be used as a contact group, " The customer group can be used as another contact group.
  • the contact group identifier indicates a contact group, and the contact identifier indicates a contact.
  • the contact group identifier and the contact identifier are collectively referred to as contact information.
  • one or more audio and video files are preset in the terminal when the terminal is shipped.
  • the server and/or network operator of the terminal may periodically push audio and video to the terminal. Users can save the pushed audio and video files locally according to their own needs.
  • the user may use the terminal to shoot audio and video, make audio and video (for example, make multiple photos into a slideshow, and intercept part of the audio and video from a section of audio and video), etc. Users can also transfer audio and video files stored in other devices to the terminal.
  • a third-party APP installed on the terminal for example, Douyin small video
  • the user may trigger the download control of the terminal to download the audio and video being watched.
  • the server and/or network operator of the terminal pushes the audio and video to the terminal, the user uses the terminal to capture the audio and video, and the user makes the audio and video on the terminal, the user can trigger
  • the "save" control on the terminal interface saves the corresponding audio and video files to the terminal.
  • the manner in which the user saves the audio and video file to the terminal through the trigger operation control is only an optional implementation manner of the embodiment of the present application, and does not constitute a specific limitation on the manner in which the user triggers.
  • the user may also trigger the terminal to save the corresponding audio and video file by long-pressing or other gesture instructions.
  • the third-party APP installed in the terminal is set to a control window for extended operation.
  • the window of the extended operation control is set in the upper right corner of the interface, for example, and the display form is "". Or, as shown in FIG. 3, the window of the extended operation control is set in the lower right corner.
  • the user can trigger the corresponding control on the menu as required, and perform corresponding operations on the audio and video being played on the third-party APP.
  • the audio and video being played on the third-party APP is, for example, audio and video S.
  • FIG. 1 Exemplarily, as shown in FIG.
  • the menu may include operation controls such as sharing to various social APPs, favorite, like, copy link, download, and dislike.
  • the user triggers the “Like” control in FIG. 4, and the number of likes of the audio and video S increases by 1.
  • the “download” control in FIG. 4 the audio and video S is downloaded and saved to the terminal.
  • triggering the terminal to store audio and video files is only a schematic illustration, and does not constitute a limitation on the implementation of triggering the terminal to store audio and video files.
  • the user may also trigger the terminal to store audio and video files in a different manner from the above embodiments.
  • the audio and video contained in any audio and video file pre-stored in the terminal may be set as the default call reminder audio and video of the terminal.
  • the terminal in response to an incoming call request corresponding to any contact, the terminal may play the default audio and video.
  • the terminal pre-stores audio and video files 1, audio and video files 2, audio and video files 3, audio and video files 4 and audio and video files 5 at the factory.
  • the audio and video file 1 is set as the default call reminder audio and video of the terminal. In this way, the terminal plays the audio and video indicated by the audio and video file 1 as long as it receives the incoming call request.
  • the user can set the audio and video files corresponding to the contact group.
  • the incoming call request corresponding to any contact in the contact group can trigger the terminal to play the audio and video indicated by the corresponding audio and video file.
  • the user may also set the audio and video file corresponding to the specified contact.
  • the following uses a smartphone as an example to describe the correspondence between establishing contact information and audio and video files from the user's perspective.
  • the implementation process for the user to establish the correspondence between the contact group and the audio and video files is as follows.
  • the user triggers the setting control so that the terminal displays the interface shown in FIG. 5A.
  • the interface shown in FIG. 5A contains various setting item controls.
  • the setting item controls include the mobile phone number corresponding to the SIM card, the call ringtone option control of the SIM card, and the like.
  • the user touches the incoming call ringtone option control, so that the terminal displays the interface as shown in FIG. 5B.
  • the interface shown in FIG. 5B includes a ringtone selection control. Among them, what is shown in FIG. 5B is the audio and video image corresponding to the SIM card.
  • FIG. 5B the user triggers the video ringtone control shown in FIG. 5B, so that the terminal displays a list of names of a series of audio and video files shown in FIG. 5C. Furthermore, the user selects an audio and video file from the list in FIG. 5C, and the audio and video corresponding to the audio and video file are used as the corresponding audio and video in the SIM card.
  • FIG. 5D shows the corresponding audio and video images after the SIM card.
  • the smartphone illustrated in FIG. 5A is a mobile phone with a SIM card installed.
  • the smart phone may be installed with two or more SIM cards.
  • Fig. 6 shows a setting project interface of a smartphone installed with two SIM cards.
  • the smart phone with two or more SIM cards installed, corresponding to each SIM card includes the same setting items.
  • the user can set the ringtone of each SIM card through the ringtone option control of each SIM card.
  • the process for the user to set the incoming call ringtone corresponding to any SIM card is the same as the process corresponding to FIG. 5 and will not be repeated here.
  • the user can set the same audio and video file corresponding to two SIM cards.
  • the user may also set the first SIM card to correspond to the first audio and video file, and the second SIM card to correspond to the second audio and video file.
  • the implementation process for the user to establish the correspondence between the designated contact person and the audio and video file is as follows.
  • the user triggers the terminal to display the contact list, and the interface for displaying the contact list is shown in FIG. 7A.
  • the user sets the incoming call ringtone of the contact "Zhang San”, and the contact "Zhang San” is triggered, so that the terminal displays the information editing interface of the contact "Zhang San” shown in FIG. 7B.
  • Various information setting controls of the contact "Zhang San” are set in the information editing interface, for example, a call ringtone option control.
  • the user triggers an incoming call ringtone option control, so that the terminal displays the interface as shown in FIG. 5B.
  • the user triggers the video ringtone control shown in FIG. 5B, so that the terminal displays the interface shown in FIG. 5C. Furthermore, the user selects an audio and video file from the list of audio and video file names, and the audio and video file contains the call reminder audio and video when the contact "Zhang San” calls. No more details here.
  • the extended control of the third-party APP installed on the terminal may include a control set to “call reminder”. Based on this, the user triggers the “set as call reminder” control to send a setting instruction to the processor of the terminal, so that the terminal displays the interface as shown in FIG. 8B.
  • the interface shown in FIG. 8B may include a menu. In the menu, for example, two controls, SIM card and contact, are set. When the user triggers the SIM card control, the audio and video currently played by the third-party APP is set as the audio and video of the incoming call corresponding to the SIM card. The user triggers the contact control so that the terminal displays the interface shown in FIG. 7A.
  • the user can specify the target contact from the contact list shown in FIG. 7A, so as to set the audio and video currently played by the third-party APP as the call reminder audio and video corresponding to the target contact.
  • the menu displayed on the terminal display interface includes three controls: SIM card 1, SIM card 2, and contacts.
  • the display interface also includes a "set as incoming call reminder" control.
  • the user triggers the "set as call reminder” control, and the interface shown in FIG. 9B is displayed on the terminal interface.
  • the user can set the currently playing audio and video as the SIM card 1, and/or the SIM card 1, and/or the caller's reminder audio and video according to requirements.
  • the setting process of the user and the response process of the terminal are the same as the embodiment shown in FIG. 8 and will not be repeated here.
  • users can set call reminder audio and video for some contact groups and call reminder audio for other contact groups.
  • users can set call reminder audio and video for some contacts and call reminder audio for other contacts.
  • the operation process for the user to set the call reminder audio for the contact group and the contact is similar to that shown in FIG. 5 to FIG. 9.
  • the user includes a ringtone selection control in the interface shown in FIG. 5B to trigger the ringtone control. Further, the terminal displays a list of audio file names.
  • the user may also preview the playback effect of the newly set audio and video.
  • the user triggers the audio and video image in FIG. 5D, which may trigger the terminal to play the audio and video. This scene is the preview of the audio and video.
  • the specific operation of the terminal playing audio and video will be described in detail below, and will not be described here.
  • FIGS. 5 to 9 are only schematic illustrations using smartphones as examples, and do not constitute correspondence between establishing contacts and audio and video files in this solution. Limitation of relationship.
  • the SIM card in the above embodiment may be replaced with a friend group pre-stored in the QQ program. I won't repeat them here.
  • the above describes the implementation scenario of the embodiments of the present application and the preparation work for the call reminder from the perspective of the user.
  • the following describes the terminal and the method for reminding incoming calls of the terminal provided by the embodiments of the present application.
  • the terminal 10 includes a transceiver 11, a processor 12, a display 13, and an internal memory 14 connected through a bus interface.
  • the structure illustrated in FIG. 10 does not constitute a specific limitation on the terminal 10.
  • the terminal 10 may include more or fewer components than shown, or combine some components, or split some components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the transceiver 11 may be a wired transceiver, a wireless transceiver, or a combination thereof.
  • the wired transceiver may be an Ethernet interface, for example.
  • the Ethernet interface may be an optical interface, an electrical interface, or a combination thereof.
  • the wireless transceiver may be, for example, a wireless local area network transceiver, a cellular network transceiver, or a combination thereof.
  • the processor 12 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.
  • the processor may further include a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field programmable gate array (field-programmable gate array, FPGA), a general array logic (generic array logic, GAL), or any combination thereof.
  • the processor 12 may include one or more processing units.
  • the processor 12 may include a controller 121, a memory 122, an incoming call ringtone manager 123, a call ringtone processor 124, a video codec 125, and an audio codec 126 ( Or audio and video playback codec 127) and so on.
  • the video codec 125 and the audio codec 126 are two independent integrated elements. An integrated element used as a video codec among the two integrated elements implements a video codec function, and an integrated element used as an audio codec among the two integrated elements implements a audio codec function.
  • the video codec 125 and the audio codec 126 are an integrated component that implements audio and video codec. The integrated component is called audio and video codec 125.
  • the different processing units can be independent devices or can be integrated into one or more processors.
  • the controller 121 may be the nerve center and command center of the terminal 10.
  • the controller 121 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching instructions and executing instructions.
  • the processor 12 may further include a memory 122 for storing instructions and data.
  • the memory 122 in the processor 12 is a cache memory 122.
  • the memory 122 may store instructions or data that the processor 12 has just used or recycled. If the processor 12 needs to use the instruction or data again, it can be directly called from the memory 122. Avoid repeated access, reduce the waiting time of the processor 12, thus improving the efficiency of the system.
  • the call ringtone manager 123 is used to maintain the correspondence between audio and video files and contact groups, the correspondence between audio and video files and contacts, the correspondence between audio files and contact groups, and the correspondence between audio files and contacts.
  • the call ringtone processor 124 is used to determine the audio and video to be played according to the incoming call request information, and then obtain the corresponding audio and video file from the stored audio and video file.
  • the call ringtone processor 124 is also used to determine the audio to be played according to the incoming call request information, and further, obtain the corresponding audio file from the stored audio file.
  • the video codec 125 is used to compress or decompress digital video.
  • the terminal 10 may support one or more video codecs 125. In this way, the terminal 10 can play or download videos in various encoding formats, for example: moving picture experts (moving picture experts, MPEG), etc.
  • the audio codec 126 is used to perform digital and analog conversions on sound files, and to compress or decompress digital audio.
  • the terminal 10 may support one or more audio encoders. In this way, the terminal 10 can play or download audio in various encoding formats, for example, Windows Media Audio (WMA).
  • WMA Windows Media Audio
  • the display 13 is used to display images, videos and the like.
  • the display 13 includes a display panel 131.
  • the display panel 131 may use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode (active-matrix organic light-emitting diode) light emitting diode, AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active matrix organic light-emitting diode active-matrix organic light-emitting diode
  • QLED quantum dot light emitting diode
  • the internal memory 14 may be used to store computer executable program code.
  • the executable program code includes instructions.
  • the processor 12 executes instructions stored in the internal memory 14 to execute various functional applications of the terminal 10 and call reminder processing.
  • the internal memory 14 may include a storage program area and a storage data area.
  • the storage program area may store an operating system, at least one function required application programs (such as audio playback function, video playback function, etc.).
  • the storage data area may store information (such as at least one audio and video file, etc.) required during the use of the terminal 10.
  • the internal memory 14 may include a volatile memory 122 (volatile memory), such as a random access memory 122 (random-access memory, RAM); the internal memory 14 may also include a non-volatile memory 122 (non-volatile memory) , Such as read-only memory 122 (read-only memory, ROM), flash memory 122 (flash memory), hard disk (hard disk drive), or solid-state drive (SSD); internal memory 14 may also include A combination of the aforementioned types of memory 122.
  • volatile memory 122 volatile memory
  • RAM random access memory
  • non-volatile memory 122 non-volatile memory
  • ROM read-only memory
  • flash memory 122 flash memory
  • hard disk hard disk drive
  • SSD solid-state drive
  • internal memory 14 may also include A combination of the aforementioned types of memory 122.
  • the bus interface may include any number of interconnected buses and bridges, specifically, one or more processors represented by the processor 12 and various circuits of the memory 122 represented by the internal memory 14 are linked together.
  • the bus interface can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits.
  • the bus interface may include a mobile industry processor interface (mobile industry interface) (MIPI) and a general-purpose input/output (GPIO) interface.
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • the MIPI interface can be used to connect the processor 12 to the display 13, a camera, and other peripheral devices.
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI) and so on.
  • the processor 12 and the camera (not shown in FIG. 3) communicate through the CSI interface to implement the shooting function of the terminal 10.
  • the processor 12 and the display 13 communicate through the DSI interface to realize the display function of the terminal 10.
  • the GPIO interface can be configured via software.
  • the GPIO interface can be configured as a control signal or a data signal.
  • the GPIO interface may be used to connect the processor 12 to the camera, the display 13, the wireless communication module, the audio and video module, the sensor module, and the like. Among them, the wireless communication module, audio-video module and sensor module are not shown in FIG. 3.
  • the interface connection relationship between the modules illustrated in this embodiment is only a schematic description, and does not constitute a limitation on the structure of the terminal 10.
  • the terminal 10 may also use different interface connection methods in the foregoing embodiments, or a combination of multiple interface connection methods.
  • the terminal 10 is provided with a SIM card interface 15.
  • the SIM card interface 15 is used to connect a SIM card.
  • the SIM card can achieve contact with the terminal 10 by inserting the SIM card interface 15.
  • the terminal 10 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 15 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted in the same SIM card interface. The types of the multiple cards may be the same or different.
  • the SIM card interface can also be compatible with different types of SIM cards.
  • the terminal 10 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the terminal 10 uses eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the terminal 10 and cannot be separated from the terminal 10.
  • a third-party instant messaging application is installed in the system on which the terminal 10 is mounted.
  • the third-party instant messaging application is, for example, WeChat or QQ.
  • the terminal 10 realizes functions such as call and video through the third-party instant messaging application program.
  • the video codec 125 and the audio codec 126 are set in the processor 12 of the terminal 10.
  • the processor 12 can play the incoming call by calling the video codec 125 and the audio codec 126 (or the audio and video playback codec 127) included in the terminal 10 Reminder audio and video. Therefore, it is not necessary to install a third-party video player in the terminal 10, and when playing video and audio for incoming call reminder, the terminal 10 does not need to call a third-party APP, which can reduce occupied system resources.
  • the software system of the terminal 10 may adopt a layered architecture, event-driven architecture, micro-core architecture, micro-service architecture, or cloud architecture.
  • a layered architecture Android system is used as an example to exemplarily explain the software structure of the terminal 10.
  • FIG. 11 is a block diagram of the software structure of the terminal 10 of this embodiment.
  • the layered architecture divides the software into several layers, each of which has a clear role and division of labor.
  • the layers communicate with each other through a software interface.
  • the Android system is divided into four layers, from top to bottom are the application layer 21, the application framework layer 22, the system layer 23, and the kernel layer 24.
  • the application layer 21 may include a series of application packages.
  • the application package may include applications such as calling, WLAN, Bluetooth, music, video, and short message.
  • the application framework layer 22 provides an application programming interface (application programming interface) (API) and a programming framework for the applications of the application layer 21.
  • API application programming interface
  • the application framework layer 22 includes some predefined functions, for example, audio and video ringtone setting interfaces.
  • the application framework layer 22 may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, an audio and video player, and so on.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen and determine whether there is a status bar, menu, operation command control, etc.
  • Content providers are used to store and retrieve data, and make these data accessible to applications.
  • the data may include audio, video, make and receive calls, browse bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display the caller ID interface, TextureView controls, and so on.
  • the view system can be used to build applications.
  • the phone manager is used to provide the communication function of the terminal 10. For example, the management of the call state (including connection, hang up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, audio and video files for incoming call reminders, and so on.
  • the system layer 23 includes an Android runtime and a system library.
  • Android Runtime includes core library and virtual machine. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library contains two parts: one part is the function function that Java language needs to call, and the other part is the core library of Android.
  • the application layer 21 and the application framework layer 22 run in a virtual machine.
  • the virtual machine executes the java files of the application layer 21 and the application framework layer 22 into binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library may include multiple functional modules. For example: surface manager (surface manager), media library (Media) Libraries, 3D graphics processing library (eg: OpenGL ES), etc.
  • surface manager surface manager
  • Media media library
  • 3D graphics processing library eg: OpenGL ES
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports a variety of commonly used audio and video, and still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the kernel layer 24 is a layer between hardware and software.
  • the kernel layer 24 includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
  • the software structure shown in FIG. 11 is only a software architecture using the Android system as an example, and does not constitute a specific limitation on the terminal 10.
  • the terminal 10 may be an IOS system, a windows system, or the like.
  • the layout of the software architecture of the terminal 10 may be different from that shown in FIG. 11, the software architecture performs more or less modules than those shown in FIG. 11, and the arrangement of modules that perform different functions is different.
  • FIG. 12 shows a method flowchart of an implementation manner of an incoming call reminding method according to an embodiment of the present application.
  • the call alert method 100 shown in FIG. 12 includes the following steps:
  • Step S101 Receive a call request.
  • Step S102 Call the audio and video player of the system to play the audio and video corresponding to the incoming call request.
  • one or more audio and video files are stored in the terminal 10.
  • the processor 12 stores the target audio and video file indicated by the storage instruction in the internal memory 14 .
  • the transceiver 11 receives an extended instruction input by a user, and the transceiver 11 sends the request information indicated by the extended instruction to the processor 12.
  • the processor 12 triggers the application framework layer 22 to obtain the content of the control menu corresponding to the extension instruction from the content provider.
  • the window manager in the application framework layer 22 is A control menu corresponding to the extended instruction is displayed on the interface of the terminal 10.
  • the transceiver 11 receives a download instruction including the address of the audio and video S in the third-party APP server, and the address of the audio and video S in the third-party APP server is, for example, Uniform resource locator (URL) of the audio and video S or uniform resource identifier (URI) of the audio and video S.
  • the processor 12 calls a function of the system layer 23 to access the address of the audio and video S in the third-party APP server, and obtains the audio and video S file from the third-party APP server. Then, the processor 12 stores the file of the audio and video S in the internal memory 14.
  • the processor 12 may also store the file of the audio and video S to the third-party APP in the cache memory 122 of the terminal (that is, under the directory of the third-party APP).
  • the resource manager maintains the identification of the saved audio and video files, and the correspondence between each audio and video file and the identification of the audio and video files.
  • the internal memory 14 stores compressed files containing audio data and video data.
  • the media library in the system layer 23 defines the format supported by the compressed file, for example: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the internal memory 14 stores compressed files containing audio data and compressed files containing video data.
  • the processor 12 may set the same file identifier for the audio compression file and the video compression file that have a corresponding relationship.
  • the file identification can be a string of numbers, letters and combinations thereof.
  • the file identification is, for example, "A001".
  • the media library in the system layer 23 defines the formats supported by the audio compressed file, for example: MP3 and WMA.
  • Video compression files support multiple formats, such as MPEG and MP4.
  • the terminal 10 may also respond to user operations to establish a correspondence between contact information and audio and video files.
  • the terminal 10 may establish the correspondence between the contact information and the audio and video files in the following implementation manner.
  • the transceiver 11 receives a first setting instruction input by a user, and the first setting instruction includes first contact information.
  • the processor 12 triggers the application framework layer 22 to obtain the name of the audio and video file from the content provider, and organizes the name of the audio and video file into a list.
  • the window manager in the application framework layer 22 triggers the display 13 to display a list of names of audio and video files.
  • the transceiver 11 receives the first selection instruction input by the user, and transmits the first selection instruction to the processor 12.
  • the first selection instruction includes a first audio and video file identifier.
  • the processor 12 triggers the resource manager to obtain the first audio and video identification, and the resource manager maintains the correspondence between the first audio and video file identification and the first contact information.
  • each operation instruction received by the terminal 10 may correspond to the user's operation in the embodiment illustrated in any one of Figs. 5 to 7. No more details here.
  • the transceiver 11 receives a second setting instruction input by a user, and the second setting instruction includes a second audio and video file identifier.
  • the processor 12 triggers the application framework layer 22 to obtain contact information from the content provider, and organizes the contact information into a list. Then, the window manager in the application framework layer 22 triggers the display 13 to display a list of contact information.
  • the transceiver 11 receives the second selection instruction input by the user, and transmits the second selection instruction to the processor 12.
  • the second selection instruction includes second contact information.
  • the processor 12 triggers the resource manager to obtain the second contact information, and the resource manager maintains the correspondence between the second audio and video file identifier and the second contact information.
  • This embodiment is an implementation method of selecting contact information corresponding to the audio and video file based on the audio and video file.
  • each operation instruction received by the terminal 10 may correspond to the user's operation in the embodiment illustrated in FIG. 9. No more details here.
  • the transceiver 11 receives a third setting instruction input by a user, and the third setting instruction includes an address of a third audio and video file in a third-party audio and video APP server.
  • the transceiver 11 sends the third setting instruction to the processor 12.
  • the processor 12 calls a function of the system layer 23 to access the address and obtain a third audio and video file.
  • the processor 12 triggers the resource manager to determine an identifier for the third audio and video file.
  • the processor 12 also triggers the application framework layer 22 to obtain contact information from the content provider and organize the contact information into a list. Then, the window manager in the application framework layer 22 triggers the display 13 to display a list of contact information.
  • the transceiver 11 When the transceiver 11 receives the third selection instruction input by the user, and transmits the third selection instruction to the processor 12.
  • the third selection instruction includes third contact information.
  • the processor 12 triggers the resource manager to obtain the third contact information, and causes the resource manager to maintain the correspondence between the path of the third audio and video file and the third contact information.
  • This embodiment is an implementation of directly determining the audio and video played by the third-party APP as the audio and video corresponding to the contact information.
  • each operation instruction received by the terminal 10 may correspond to the user's operation in the embodiment illustrated in FIG. 8. No more details here.
  • the incoming ringtone manager 123 obtains the audio and video file identification according to the path, which may be that the processor 12 calls the audio and video ringtone setting interface to obtain all Describe the data of the third audio and video file, and set the third audio and video file as the audio and video for incoming call reminder.
  • the processor 12 triggers the application framework layer 22 to provide the application layer 21 with the RingtoneManager.etActualDefaultRingtoneUri(Context, context, inttype, UriringtoneUri) interface to perform corresponding operations.
  • various operation instructions received by the transceiver 11 are defined by the core library through the Java language, and through the window manager and content of the application framework layer 22 Provider management and invocation.
  • the processor calls the sensor driver in the kernel layer 24 to trigger the execution of the above process.
  • the content controlled by the surface manager described in the above embodiments is triggered by the display driver in the kernel layer 24.
  • the expression form of the incoming call request may be a data frame.
  • the data frame conforms to the communication protocol supported by the terminal 10.
  • the call request may include the contact identifier of the calling contact.
  • the contact identifier may be included in a reserved bit in the data frame of the communication information.
  • the processor 12 receives the incoming call request by calling the phone manager in the application framework layer 22.
  • step S101 is executed, and before step S102 is executed, the method 100 further includes reading the contact identification in the incoming call request, and determining the audio-video identification corresponding to the contact identification.
  • the processor 12 may call the application layer 21 to read the contact identifier in the call request. Furthermore, the processor 12 calls the application framework layer 22 to determine the audio and video file identifier of the audio and video to be played according to the contact identifier.
  • the audio and video file identifier is stored in correspondence with the contact identifier.
  • the audio and video file identifier is stored in correspondence with the contact group identifier.
  • the application framework layer 22 may traverse the contact identifier in the storage relationship from the resource manager. If the contact identification is found in the storage relationship, the application framework layer 22 reads the audio and video file identification corresponding to the contact identification and obtains the audio and video file identification indication from the content provider Audio and video data.
  • the application framework layer 22 obtains the contact group identifier corresponding to the contact identifier from the resource manager, and then, the application framework The layer 22 reads the audio and video file identifier corresponding to the contact group identifier from the storage relationship, and obtains the audio and video data indicated by the audio and video file identifier from the content provider.
  • the call ringtone processor 124 may call the audio and video playback codec 127 to decode the audio and video file and play. Then, the application framework layer 22 calls the audio and video player to play the corresponding audio and video.
  • the audio and video player of the application framework layer 22 is, for example, MediaPlayer.
  • the contact identifier may also correspond to an audio file.
  • the call ringtone processor 124 may call the audio codec 126 to decode the audio file and play it. This embodiment will not be described in detail here.
  • the playback of the audio also requires the role of the audio driver in the kernel layer 24.
  • the playback of the audio and video also needs the functions of the audio driver and the display driver in the kernel layer 24. No more details here.
  • the terminal 10 can call the audio and video player that comes with the system to play the audio and video corresponding to the incoming call request. In this way, the terminal 10 will not need to call a third-party video player to play the incoming call reminder video, thereby saving system resources, and also ensuring the correspondence between audio and video, and improving the user experience.
  • the processor 12 calls the display 13 to display the caller ID interface and the video. Based on this, in some embodiments, after the terminal 10 receives the incoming call request, the processor 12 may call a view system to integrate the incoming call display interface and the video into one.
  • the view system may call a TextureView control to embed the video picture into the bottom layer of the caller ID interface, so that the caller ID interface and the video are integrated in visual effects.
  • a TextureView control to embed the video picture into the bottom layer of the caller ID interface, so that the caller ID interface and the video are integrated in visual effects.
  • the display effect of the display is shown in FIG. 13. It can be seen that in the incoming call reminding method described in the embodiments of the present application, the video displayed on the terminal and the incoming call display interface are integrated in visual effects, thereby improving the user experience.
  • the manner of processing the caller ID interface and the video through the TextureView control in this embodiment is only a schematic illustration, and the integration of the caller ID interface and the video into one in this embodiment of the present application does not constitute limited.
  • the terminal 10 may also integrate the caller ID interface and the video in a different manner from the above-described embodiment.
  • the terminal 10 may receive an answer or hang-up operation instruction input by the user.
  • the phone manager provides the terminal 10 with a corresponding communication function.
  • the call ringtone processor 124 controls the audio and video to stop playing.
  • the hardware of the terminal includes an audio processing module and a video processing module, so that the terminal can play the video used for the call reminding and the audio corresponding to the video when receiving the call incoming request.
  • the operation control of the terminal on the caller ID interface is combined into a video image, and the video displayed on the terminal and the caller ID interface are integrated in visual effects, thereby improving the user experience.
  • the solutions of the call reminding method provided in the embodiments of the present application are introduced from the perspective of the terminal hardware structure, software architecture, and actions performed by the software and hardware.
  • the embodiments of the present application can be implemented not only in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.
  • the above-mentioned terminal 10 may implement the above-mentioned corresponding functions in the form of functional modules.
  • the terminal 10 may include a transceiver module 141 and a processing module 142.
  • the terminal 10 may be used to execute the call reminding method of any embodiment shown in FIG. 12 above. E.g:
  • the transceiver module 141 is used to receive a call request.
  • the processing module 142 is used to call the system player to play the corresponding audio and video of the incoming call request.
  • the terminal 10 illustrated in this embodiment of the present application includes an audio and video player, so that when the terminal 10 receives an incoming call request, it does not need to call third-party video playback software to play the video, thereby saving system resources.
  • the processing module 142 is also used to display a video animation of the caller ID interface and audio and video, and the animation of the audio and video serves as the background of the caller interface.
  • the transceiver module 141 is also used to receive a storage instruction input by a user.
  • the processing module 142 is also used to store the target audio and video file indicated by the storage instruction.
  • the transceiver module 141 is also used to receive extended instructions input by the user.
  • the processing module 142 is also used to display the control menu in response to the extended instruction, and the control menu includes the control corresponding to the storage instruction.
  • the processing module 142 is used to obtain the address of the target audio and video file in the server from the storage instruction.
  • the server is a server that plays the target audio and video application APP; obtain the target audio and video file according to the address; convert the target audio and video file The file is stored locally.
  • the processing module 142 is used to store the target audio and video files in the system memory.
  • the processing module 142 is also used to store the target audio and video file in the APP's cache memory 122.
  • the transceiver module 141 is further configured to receive a first setting instruction input by a user.
  • the first setting instruction includes first contact information
  • the contact information includes a contact identifier and a contact group identifier
  • the contact group identifier indication includes A collection of at least two contact IDs.
  • the processing module 142 is used for displaying a list of names of audio and video files.
  • the transceiver module 141 is further configured to receive a first selection instruction input by a user, and the first selection instruction includes a first audio and video file identifier.
  • the processing module 142 is also used to establish a correspondence between the first audio and video file identifier and the first contact information.
  • the transceiver module 141 is further configured to receive a second setting instruction input by the user, and the second setting instruction includes a second audio and video file identifier.
  • the processing module 142 is also used to display a list of contact information.
  • the transceiver module 141 is further configured to receive a second selection instruction input by the user, and the second selection instruction includes second contact information.
  • the processing module 142 is also used to establish a correspondence between the second audio and video file identifier and the second contact information.
  • the transceiving module 141 is further configured to receive a third setting instruction input by the user.
  • the third setting instruction includes the address of the third audio and video file in the server, and the server is the server of the APP that plays the target audio and video.
  • the processing module 142 is used to obtain the third audio and video file according to the address and determine the third audio and video file identifier; and also used to display the contact information list.
  • the transceiver module 141 is further configured to receive a third selection instruction input by the user, and the third selection instruction includes third contact information.
  • the processing module 142 is also used to establish a correspondence between the third audio and video file identifier and the third contact information.
  • the processing module 142 is also used to obtain the contact identifier corresponding to the incoming call request. In another embodiment, the processing module 142 is further used to determine the audio and video file identifier corresponding to the contact identifier.
  • the processing module 142 is also used to detect whether the correspondence between the contact information and the audio and video file identification includes the contact identification. In addition, in response to the correspondence between the contact information and the audio and video file identification including the contact identification, the processing module 142 is further configured to read the audio and video file identification corresponding to the contact identification. In response to the correspondence between the contact information and the audio-video file identifier does not include the contact identifier, the processing module 142 is also used to obtain the contact group identifier corresponding to the contact identifier; read the audio-video file identifier corresponding to the contact group identifier .
  • an embodiment of the present application further provides a computer storage medium, wherein the computer storage medium provided in any device may store a program, and when the program is executed, each method including the call alert method of FIG. 12 may be implemented Some or all steps in the embodiment.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (read-only memory, ROM for short) or a random access memory (random access memory, RAM for short), etc.
  • the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and inherent logic, and should not be implemented in this application.
  • the implementation process of the examples constitutes no limitation.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, Solid State Disk (SSD)) or the like.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a DVD
  • a semiconductor medium for example, Solid State Disk (SSD)

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例公开了一种来电提醒方法及终端。所述来电提醒方法包括:接收来电请求;调用系统的音视频播放器播放所述来电请求对应的音视频。本申请实施例的终端系统中设置有音视频播放器,使得所述终端在接收到来电请求时,所述终端的系统能够播放用于来电提醒的音视频。这样,不仅能够在不额外占用系统资源的前提下,通过播放音视频的方式提醒用户,而且,所述终端所显示的视频动画和来电显示界面在视觉效果上是一体,从而能够提高用户的使用体验。

Description

来电提醒方法及终端
本申请要求在2018年12月14日提交中国国家知识产权局、申请号为201811534314.4、发明名称为“来电提醒方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及终端领域,尤其涉及一种来电提醒方法及终端。
背景技术
即时通信(instant messaging,IM)终端支持即时语音通信和/或即时视频通信。其中,第一终端可以向第二终端发起即时通信请求,所述第一终端也可以接收所述第二终端发送的即时通信请求。所述第一终端接收的即时通信请求也可以称为来电请求。所述第一终端和所述第二终端是能够进行即时通信的终端。
通常,响应于所述来电请求,所述第一终端通过播放音频提醒用户有通信请求。响应于用户输入的接受操作指令或者拒绝操作指令,所述第一终端停止播放所述音频。而播放音频的提醒方式较为单调乏味,使得用户的使用体验不好。
发明内容
本申请实施例提供了一种来电提醒方法及终端,以解决现有来电提醒方式单调乏味的问题。
第一方面,本申请实施例提供了一种来电提醒方法,该方法包括:
接收来电请求;
调用系统的音视频播放器播放所述来电请求对应的音视频。
本实现方式中,终端的系统预设有音视频播放器。基于此,响应于所接收的来电请求,终端可以通过自带的音视频播放器播放音视频来提醒用户。可见,采用本实现方式,终端能够在不额外占用系统资源的前提下,通过播放音视频的方式提醒用户,且便于维护音频和视频的对应性。
一种可选的设计中,在接收来电请求之后,还包括:
显示来电显示界面和所述音视频的动画,所述音视频的动画作为所述来电显示界面的背景。
本实现方式中,终端可以整合视频的画面与来电显示的界面,使得所述来电显示界 面和所述视频在视觉效果上是一体。例如,终端将所述视频的画面嵌入到所述来电显示界面底层。这样使得终端所显示的视频和来电显示界面,在视觉效果上是一体,从而能够提高用户的使用体验。
一种可选的设计中,在接收来电请求之前,还包括:
接收用户输入的存储指令;
存储所述存储指令指示的目标音视频文件。
在接收来电请求之前,终端中预先存储至少一个音视频文件。本实现方式中,终端可以响应用户的操作,将用户制作或者选择的音视频文件存储到本地,从而为来电播放音视频做准备。
一种可选的设计中,在接收用户输入的存储指令之前,还包括:
接收用户输入的扩展指令;
响应所述扩展指令显示控件菜单,所述控件菜单包含所述存储指令对应的控件。
一种可选的设计中,存储所述存储指令指示的目标音视频文件,包括:
从所述存储指令中获取所述目标音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的APP的服务器;
根据所述地址获取所述目标音视频文件;
将所述目标音视频文件存储到本地。
一种可选的设计中,所述将所述目标音视频文件存储到本地,包括:
将所述目标音视频文件存储到系统内存中;
或者,
将所述目标音视频文件存储到所述APP的缓存存储器中。
本实现方式中,用户在使用安装在终端的第三方应用程序(application,APP)(例如是抖音小视频)播放音视频过程中,可以存储第三方APP所播放的音视频。采用本实现方式,本申请实施例的方案更加人性化,从而能够进一步提高用户的体验。
一种可选的设计中,在接收来电请求之前,还包括:
接收用户输入的第一设置指令,所述第一设置指令包含第一联系人信息,所述联系人信息包括所述联系人标识和联系人组标识,所述联系人组标识指示包含至少两个联系人标识的集合;
显示音视频文件的名称列表;
接收用户输入的第一选择指令,所述第一选择指令中包含第一音视频文件标识;
建立所述第一音视频文件标识与所述第一联系人信息的对应关系。
本实现方式中,用户可以以联系人信息为基础,选择相应联系人信息对应的音视频文件。采用本实现方式,建立联系人信息与音视频文件的对应关系的操作较为灵活。
一种可选的设计中,在接收来电请求之前,还包括:
接收用户输入的第二设置指令,所述第二设置指令包含第二音视频文件标识;
显示联系人信息列表;
接收用户输入的第二选择指令,所述第二选择指令中包含第二联系人信息;
建立所述第二音视频文件标识与所述第二联系信息的对应关系。
本实现方式中,用户可以以音视频文件为基础,选择所述音视频文件对应的联系人信息的实施方式。例如,用户在浏览本地视频时,可以将喜欢的音视频直接设置为来电提醒的音视频。采用本实现方式,用户的操作更加方便快捷。
一种可选的设计中,在接收来电请求之前,还包括:
接收用户输入的第三设置指令,所述第三设置指令包含第三音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的应用程序APP的服务器;
根据所述地址获取所述第三音视频文件并确定所述第三音视频文件标识;
显示联系人信息列表;
接收用户输入的第三选择指令,所述第三选择指令中包含第三联系人信息;
建立所述第三音视频文件标识与所述第三联系信息的对应关系。
本实现方式中,用户可以将第三方APP正在播放的音视频直接确定为联系人信息对应的音视频。采用本实现方式,不仅能够丰富用户所选择的音视频的内容,而且操作的灵活性更高。
一种可选的设计中,在接收来电请求之后,在调用系统的音视频播放器播放所述来电请求对应的音视频之前,所述方法还包括:
获取所述来电请求对应的联系人标识;
确定所述联系人标识对应的音视频文件标识。
其中,终端维护联系人信息和音视频文件标识的对应关系。从而在接收到来电请求之后,终端能够根据来电请求包含的联系人标识,从联系人信息和音视频文件标识的对应关系中确定相应联系人对应的音视频。
一种可选的设计中,所述确定所述联系人标识对应的音视频文件标识,包括:
检测联系人信息与音视频文件标识的对应关系中是否包含所述联系人标识;
响应于联系人信息与音视频文件标识的对应关系中包含所述联系人标识,读取所述联系人标识对应的音视频文件标识;
响应于联系人信息与音视频文件标识的对应关系中不包含所述联系人标识,获取所述联系人标识对应的联系人组标识;读取所述联系人组标识对应的音视频文件标识。
其中,一些实施例中,所述音视频文件标识与所述联系人标识对应存储。另一些实施例中,所述音视频文件标识与联系人组标识对应存储。本实现方式中,终端可以遍历存储关系中的联系人标识。若在所述存储关系中查找到所述联系人标识,所述通话铃声处理器读取所述联系人标识对应的音视频文件标识。若在所述存储关系中未查找到所述联系人标识,所述通话铃声处理器获取所述联系人标识对应的联系人组标识,进而,从所述存储关系中读取所述联系人组标识对应的音视频文件标识。
第二方面,本申请实施例提供了一种终端,该终端包括用于执行上述第一方面及第一方面的各种可能的实现方式中的来电提醒方法步骤的模块。具体地,该终端包括:收发模块和处理模块,此外,还可以包括存储模块等其他模块或单元。
第三方面,本申请实施例提供了一种终端,所述终端包括处理器,所述处理器用于与存储器耦合,读取存储器中的指令,并根据所述指令执行第一方面及第一方面的各种可能的实现方式中的来电提醒方法。
第四方面,本申请实施例提供了一种计算机存储介质,该计算机存储介质中存储有指令,当所述指令在计算机上运行时,使得计算机执行第一方面及第一方面的各种可能的实现方式中的来电提醒方法的部分或全部步骤。
第五方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品在计算机上运行时,使得计算机执行第一方面及第一方面的各种可能的实现方式中的来电提醒方法的部分或全部步骤。
为了解决现有技术的问题,本申请实施例的终端系统中设置有音视频播放器,使得所述终端在接收到来电请求时,所述终端的系统能够播放用于来电提醒的音视频。这样,不仅能够在不额外占用系统资源的前提下,通过播放音视频的方式提醒用户,而且,所述终端所显示的视频动画和来电显示界面在视觉效果上是一体,从而能够提高用户的使用体验。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的终端显示的界面示意图;
图2是本申请实施例提供的终端第一种实施方式的界面示意图;
图3是本申请实施例提供的终端第二种实施方式的界面示意图;
图4是本申请实施例提供的图3另一种实施方式的界面示意图;
图5是本申请实施例提供的智能手机第一种实施方式的界面示意图;
图6是本申请实施例提供的智能手机第二种实施方式的界面示意图;
图7是本申请实施例提供的智能手机第三种实施方式的界面示意图;
图8是本申请实施例提供的智能手机第四种实施方式的界面示意图;
图9是本申请实施例提供的智能手机第五种实施方式的界面示意图;
图10是本申请实施例提供的终端10一种实施方式的硬件结构示意图;
图11是本申请实施例提供的终端10一种实施方式的软件结构示意图;
图12是本申请实施例提供的来电提醒方法一种实施方式的方法流程图;
图13是本申请实施例提供的终端一种显示方式的界面示意图;
图14是本申请实施例提供的终端10所包含功能装置的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述。
应当理解,尽管在以下实施例中可能采用术语第一、第二等来描述某一类对象,但所述对象不应限于这些术语。这些术语仅用来将该类对象的具体对象进行区分。例如,以下实施例中可能采用术语第一、第二等来描述来电请求,但来电请求不应限于这些术语。这些术语仅用来将所述终端在不同时刻接收到的来电请求进行区分。并且,在不脱离这些实施例范围的情况下,第一来电请求也可以被称为第二来电请求。类似地,第二来电请求也可以被称为第一来电请求。以下实施例中可能采用术语第一、第二等来描述的其他类对象同理,此处不再赘述。另外,在以下实施例的描述中,“多个”是指两个或两个以上。
在对本申请实施例的技术方案进行说明之前,首先结合附图对本申请实施例的技术场景进行说明。
本申请实施例应用于即时通信技术场景。即时通信由两台即时通信终端(下文简称为终端)实现。发送去电请求的终端可以被称为主叫终端,接收来电请求的终端可以被称为被叫终端。一些实施例中,在接收到所述来电请求之后,在接收到用户输入的操作指令之前,所述被叫终端可以通过播放音视频对所述用户进行来电提醒。
现有的来电提醒方法包括,响应于所述来电请求,所述被叫终端系统内置的铃声模块播放所述来电请求对应的音频。同时,所述系统调用第三方播放器播放所述来电请求对应的视频。所述视频的播放区域覆盖来电显示界面的至少部分区域。如图1所示,以智能手机为例,来电视频在所述智能手机界面的区域A播放。来电显示界面设置通话指令控件的部分,位于所述智能手机界面的区域B。
可见,执行现有的来电提醒方法,一方面,终端需要设置专门用于播放视频的第三方应用程序(application,APP),从而占用资源较多。另一方面,终端中播放视频的功能模块和播放音频的功能模块相互独立,使得用于来电提醒的音频和视频不易建立对应关系。此外,在来电提醒过程中,终端的界面显示效果也不好,导致用户的使用体验较差。
有鉴于此,本申请实施例提供了下述来电提醒方法及终端的实施例,解决了上述现有来电提醒方法占用资源多,以及用户使用体验差的问题。
可以理解的是,在本申请实施例一种可能的实现方式中,所述终端可以是设置有用户身份识别卡(subscriber identification module,SIM)的智能手机。在本申请实施例另一种可能的实现方式中,所述终端可以是安装有支持即时语音通信和/或视频通信的软件或者应用程序的平板电脑、笔记本电脑、可穿戴设备(如智能手表)等终端。所述支持即时语音通信和/或视频通信的软件或者应用程序例如是facebook,skype,whatsapp,snapchat,微信或者QQ等。其中,所述终端在本申请实施例所述的实施例中用作被叫终端。
本申请实施例所述的技术方案,用户预先建立音视频文件与联系人的对应关系。响应于呼叫所述联系人的来电请求,终端的系统播放所述音视频文件指示的音频和视频,作为与该来电请求对应的来电音视频。与此同时,所述终端还能够将来电显示界面和所播放的视频整合成一体,提高用户的使用体验。
其中,所述联系人包括联系人组中的任意联系人和指定联系人。所述联系人组是包含至少两个联系人的集合。属于同一个联系人组的全部联系人均包含相同的组标识。联系人组在不同场景中可以是不同的表现形式,例如,智能手机的一个SIM卡可以视为一个联系人组,该SIM卡包含的所有联系人均属于该联系人组。又如,即时通信软件QQ中,一个好友分组可以视为一个联系人组,每个好友分组中的全部联系人属于该联系人组。此外,属于一个SIM卡中的联系人,一部分可能会被归类为“同事”,另一部分可能会被 归类为“客户”,而“同事”这个群组也可以作为一个联系人组,“客户”这个群组可以作为另一个联系人组。本申请实施例中,联系人组标识指示一个联系人组,联系人标识指示一个联系人。本申请实施例中将联系人组标识和联系人标识统称为联系人信息。
基于此,一些实施例中,在终端出厂时,终端中被预置一个或者多个音视频文件。另一些实施例中,终端的服务器和/或网络运营商,可以定期向终端推送音视频。用户可以按照自己的需求将所推送的音视频文件保存到本地。又一些实施例中,用户可以使用该终端拍摄音视频,制作音视频(例如将多张照片制作成幻灯片,从一段音视频中截取部分音视频)等。用户还可以将其他设备中存储的音视频文件传输到该终端。又一些实施例中,用户使用安装在终端的第三方APP(例如是抖音小视频)播放音视频过程中,可以触发终端的下载控件下载所观看的音视频。
以下从用户的角度对本申请实施例中音视频文件的保存和设置工作进行描述。
如图2所示,所述终端的服务器和/或网络运营商向终端推送的音视频,用户使用所述终端拍摄得到音视频,以及用户在所述终端上制作得到音视频,用户可以通过触发所述终端界面上的“保存”控件,将相应音视频文件保存到所述终端。
可以理解的是,用户通过触发操作控件将音视频文件保存到所述终端的方式,只是本申请实施例的一种可选实施方式,并不构成对用户触发方式的具体限定。在另一些实施例中,用户还可以通过长按或者其他手势指令触发所述终端保存相应音视频文件。
如图3所示,安装在终端的第三方APP被设置扩展操作的控件窗口。扩展操作控件的窗口例如被设置在界面的右上角,展示形式为“…”。或者,如图3所示,扩展操作控件的窗口被设置在右下角。用户点击所述扩展操作控件的窗口,得到如图4所示的扩展操作各项控件的菜单。用户可以按照需求触发所述菜单上的相应控件,对所述第三方APP上正在播放的音视频执行相应操作。本实施例中,所述第三方APP上正在播放的音视频例如是音视频S。示例性的,如图4所示,所述菜单中可以包括分享到各社交APP,收藏,点赞,复制链接,下载,不喜欢等操作控件。用户触发图4中的“点赞”控件,所述音视频S的点赞数加1。同理,用户触发图4中的“下载”控件,所述音视频S则被下载并保存到所述终端。
可以理解的是,上述触发所述终端存储音视频文件的实施方式,仅是示意性说明,并不构成对触发所述终端存储音视频文件的实施方式的限定。在另一些实施例中,用户还可以采用与上述实施例中不同的方式触发所述终端存储音视频文件。
进一步的,在一些实施例中,所述终端在出厂时,所述终端中预存储的任一音视频文件包含的音视频,可以被设置为所述终端的默认来电提醒音视频。本实施例中,响应于任何联系人对应的来电请求,所述终端可以播放所述默认的音视频。例如,所述终端在出厂时预存储音视频文件1,音视频文件2,音视频文件3,音视频文件4和音视频文件5。其中,音视频文件1被设置为所述终端的默认来电提醒音视频。这样,所述终端只要接收到来电请求就播放音视频文件1指示的音视频。在另一些实施例中,用户可以 设置联系人组对应的音视频文件。在设置联系人组对应的音视频文件之后,所述联系人组中任意联系人对应的来电请求,均能够触发所述终端播放相应音视频文件指示的音视频。在又一些实施例中,用户还可以设置指定联系人对应的音视频文件。
以下以智能手机为例,从用户的角度对建立联系人信息与音视频文件对应关系进行描述。
将一个SIM卡作为一个联系人组,用户建立联系人组与音视频文件对应关系的实施过程如下。如图5所示,用户触发设置控件,使得终端显示如图5A所示的界面。图5A所示的界面包含各个设置项目控件。设置项目控件包括SIM卡对应的手机号码,该SIM卡的来电铃声选项控件等。用户触碰来电铃声选项控件,使得终端显示如图5B所示的界面。图5B所示的界面包含铃声选择控件。其中,图5B所展示的是SIM卡正在对应的音视频的图像。然后,用户触发图5B所示的视频铃声控件,使得终端显示图5C所示的一系列音视频文件的名称列表。进而,用户从图5C的列表中选择一个音视频文件,该音视频文件对应的音视频作为SIM卡以后对应的音视频。图5D示出了SIM卡以后对应的音视频的图像。
图5A示意的智能手机是安装一个SIM卡的手机。在本申请实施例另一种可选的实施方式中,智能手机可以安装两个及两个以上的SIM卡。图6示出了安装两个SIM卡的智能手机的设置项目界面。其中,安装两个及两个以上SIM卡的智能手机,对应每个SIM卡包括相同的设置项目。基于此,用户可以通过每个SIM卡的来电铃声选项控件,分别设置每个SIM卡的来电铃声。其中,用户设置任意SIM卡对应的来电铃声的过程,与图5对应的过程相同,此处不再赘述。
图6示意的实施例中,用户可以设置两个SIM卡对应的同一个音视频文件。用户也可以设置第一SIM卡对应第一音视频文件,设置第二SIM卡对应第二音视频文件。
用户建立指定联系人与音视频文件对应关系的实施过程如下。如图7所示,用户触发终端显示联系人列表,显示联系人列表的界面如图7A所示。本实施例中,用户例如设置联系人“张三”的来电视频铃声,则触发联系人“张三”,使得终端显示图7B所示的联系人“张三”的信息编辑界面。该信息编辑界面中设置有联系人“张三”的各项信息设置控件,例如,来电铃声选项控件。进而,用户触发来电铃声选项控件,使得终端显示如图5B所示的界面。然后,与图5对应的用户操作过程类似的,用户触发图5B所示的视频铃声控件,使得终端显示图5C示意的界面。进而,用户从音视频文件的名称列表选择一个音视频文件,该音视频文件包含联系人“张三”来电时的来电提醒音视频。此处不再详述。
此外,如图8A所示,安装在终端的第三方APP的扩展控件可能包括“设置为来电提醒”的控件。基于此,用户触发该“设置为来电提醒”的控件向终端的处理器发送设置指令,使得终端显示如图8B所示的界面。其中,图8B所示的界面中可以包括菜单。菜单中例如设置SIM卡和联系人两个控件。用户触发SIM卡控件,则将第三方APP当前播放的音视频设置为SIM卡对应的来电提醒音视频。用户触发联系人控件,使得终端显示 图7A示意的界面。然后,用户可以从图7A示意的联系人列表中指定目标联系人,从而将第三方APP当前播放的音视频设置为目标联系人对应的来电提醒音视频。又一种实施例中,终端显示界面上显示的菜单中,包括SIM卡1,SIM卡2和联系人三个控件。
本申请实施例的其他一些实施方式中,用户在播放所述终端预存储的任意一个音视频的过程中,如图9A所示,显示器界面上同样包括“设置为来电提醒”控件。用户触发该“设置为来电提醒”控件,终端界面上显示如图9B所示的界面。进而,用户可以根据需求将当前播放的音视频设置为SIM卡1,和/或SIM卡1,和/或联系人的来电提醒音视频。本实施例中,用户的设置过程以及终端的响应过程,与图8示意的实施例相同,此处不再赘述。
此外,在实际应用中,用户可以为部分联系人组设置来电提醒音视频,为其他部分联系人组设置来电提醒音频。同理,用户可以为部分联系人设置来电提醒音视频,为其他部分联系人设置来电提醒音频。其中,用户为联系人组和联系人设置来电提醒音频的操作过程,与图5至图9示意的类似。用户为联系人组和联系人设置来电提醒音频的操作中,与上述实施例不同的是,用户在图5B所示的界面包含铃声选择控件中,触发铃声控件。进一步的,终端显示的是音频文件的名称列表。
结合图5至图9示意的实施例,在其他一些实施例中,用户完成联系人组和/或联系人对应的音视频之后,还可以预览该新设置的音视频的播放效果。示例性的,用户触发图5D中音视频图像,可以触发终端播放所述音视频。此场景即为预览所述音视频。其中,终端播放音视频的具体操作,下文进行详细说明,此处不详述。
可以理解的是,图5至图9对应的建立联系人与音视频文件对应关系的操作,仅是以智能手机为例的示意性说明,并不构成对本方案中建立联系人与音视频文件对应关系的限定。在另一些实施例中,例如在QQ程序中实现本方案,可以将上述实施例中的SIM卡替换为预存储在QQ程序中的好友分组。此处不再赘述。
以上从用户角度对本申请实施例的实施场景以及来电提醒的准备工作进行了描述。以下对本申请实施例提供的所述终端以及所述终端的来电提醒方法进行描述。
如图10所示,终端10包括通过总线接口连接的收发器11、处理器12、显示器13和内部存储器14。
应理解,图10示意的结构并不构成对终端10的具体限定。在另一些实施例中,终端10可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
收发器11可以是有线收发器,无线收发器或其组合。有线收发器例如可以为以太网接口。以太网接口可以是光接口,电接口或其组合。无线收发器例如可以为无线局域网收发器,蜂窝网络收发器或其组合。
处理器12可以是中央处理器(central processing unit,CPU),网络处理器(network  processor,NP)或者CPU和NP的组合。处理器还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
处理器12可以包括一个或多个处理单元,例如:处理器12可以包括控制器121,存储器122,来电铃声管理器123,通话铃声处理器124,视频编解码器125,音频编解码器126(或者音视频播放编解码器127)等。其中,在一些实施例中,视频编解码器125和音频编解码器126是两个独立的集成元件。所述两个集成元件中用作视频编解码的集成元件实现视频编解码的功能,所述两个集成元件中用作音频编解码的集成元件实现音频编解码的功能。在另一些实施例中,视频编解码器125和音频编解码器126是一个集成元件,所述集成元件实现音视频的编解码。所述集成元件被称为音视频编解码器125。不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器121可以是终端10的神经中枢和指挥中心。控制器121可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器12中还可以设置存储器122,用于存储指令和数据。在一些实施例中,处理器12中的存储器122为高速缓冲存储器122。该存储器122可以保存处理器12刚用过或循环使用的指令或数据。如果处理器12需要再次使用该指令或数据,可从所述存储器122中直接调用。避免了重复存取,减少了处理器12的等待时间,因而提高了系统的效率。
来电铃声管理器123,用于维护音视频文件与联系人组的对应关系,音视频文件与联系人的对应关系,音频文件与联系人组的对应关系,音频文件与联系人的对应关系。
通话铃声处理器124用于根据来电请求信息确定待播放的音视频,进而,从所存储的音视频文件中获取相应音视频文件。通话铃声处理器124还用于根据来电请求信息确定待播放的音频,进而,从所存储的音频文件中获取相应音频文件。
视频编解码器125用于对数字视频压缩或解压缩。终端10可以支持一种或多种视频编解码器125。这样,终端10可以播放或下载多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)等。
音频编解码器126用于对声音文件进行数、模转换,以及对数字音频压缩或解压缩。终端10可以支持一种或多种音频编码器。这样,终端10可以播放或下载多种编码格式的音频,例如:视窗媒体音频(windows media audio,WMA)等。
显示器13用于显示图像,视频等。显示器13包括显示面板131。显示面板131可以采用液晶显示屏(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)等。
内部存储器14可以用于存储计算机可执行程序代码。所述可执行程序代码包括指令。处理器12通过运行存储在内部存储器14的指令,从而执行终端10的各种功能应用以及来电提醒处理。内部存储器14可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如音频播放功能,视频播放功能等)等。存储数据区可存储终端10使用过程中所需的信息(比如至少一个音视频文件等)等。此外,内部存储器14可以包括易失性存储器122(volatile memory),例如随机存取存储器122(random-access memory,RAM);内部存储器14也可以包括非易失性存储器122(non-volatile memory),例如只读存储器122(read-only memory,ROM),快闪存储器122(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);内部存储器14还可以包括上述种类的存储器122的组合。
总线接口可以包括任意数量的互联的总线和桥,具体由处理器12代表的一个或多个处理器和内部存储器14代表的存储器122的各种电路链接在一起。总线接口还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起。
在一些实施例中,总线接口可以包括移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口。
MIPI接口可以被用于连接处理器12与显示器13,摄像头等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器12和摄像头(图3中未示出)通过CSI接口通信,实现终端10的拍摄功能。处理器12和显示器13通过DSI接口通信,实现终端10的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器12与摄像头,显示器13,无线通信模块,音视频模块,传感器模块等。其中,图3中未示出无线通信模块,音视频模块和传感器模块。
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端10的结构限定。在另一些实施例中,终端10也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
一些实施例中,终端10设置有SIM卡接口15。SIM卡接口15用于连接SIM卡。SIM卡可以通过插入SIM卡接口15实现和终端10的接触。终端10可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口15可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口可以同时插入多张卡。所述多张卡的类型可以相同,也可以不 同。SIM卡接口也可以兼容不同类型的SIM卡。终端10通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,终端10采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在终端10中,不能和终端10分离。
另一些实施例中,终端10搭载的系统中,安装有第三方即时通信应用程序。所述第三方即时通信应用程序例如是微信、QQ等。终端10通过所述第三方即时通信应用程序,实现通话、视频等功能。
由此可见,采用本实现方式,终端10的处理器12中设置视频编解码器125和音频编解码器126(或者音视频播放编解码器127)。这样,使得终端10在接收到来电请求时,处理器12能够通过调用所述终端10自带的视频编解码器125和音频编解码器126(或者音视频播放编解码器127)播放用于来电提醒的音视频。从而使得终端10中无需安装第三方视频播放器,并且播放用于来电提醒的视频和音频时,终端10无需调用第三方APP,能够减少所占用的系统资源。
终端10的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本实施例以分层架构的Android系统为例,示例性说明终端10的软件结构。
图11是本实施例的终端10的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层21,应用程序框架层22,系统层23,以及内核层24。
应用程序层21可以包括一系列应用程序包。
如图11所示,应用程序包可以包括通话,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层22为应用程序层21的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层22包括一些预先定义的函数,例如,音视频铃声设置接口。
如图11所示,应用程序框架层22可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器,音视频播放器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,菜单,操作指令控件等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括音频,视频,拨打和接听的电话,浏览书签,电话簿等。
视图系统包括可视控件,例如显示来电显示界面的控件,TextureView控件等。视图系统可用于构建应用程序。
电话管理器用于提供终端10的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,用于来电提醒的音视频文件等等。
系统层23中包括安卓运行时(Android runtime)和系统库。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层21和应用程序框架层22运行在虚拟机中。虚拟机将应用程序层21和应用程序框架层22的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音视频,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
内核层24是硬件和软件之间的层。内核层24至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
可以理解的是,图11示意的软件结构仅是以Android系统为例的软件架构,并不构成对终端10的具体限定。在另一些实施例中,终端10可以IOS系统,windows系统等。并且,终端10软件架构的布局可以与图11示意的不同,软件架构执行各项功能的模块比图11所示更多或更少,以及执行不同功能的模块的布置不同等。
示例性的,以下实施例中所涉及的技术方案均可以在具有上述硬件架构和软件架构的终端10中实现。以下结合附图和应用场景对本申请实施例提供的来电提醒方法进行详细介绍。图12示出了本申请实施例来电提醒方法的一种实施方式的方法流程图。图12示出的来电提醒方法100包括如下步骤:
步骤S101,接收来电请求。
步骤S102,调用系统的音视频播放器播放所述来电请求对应的音视频。
其中,在步骤S101之前,根据图2至图4示意的实施例,所述终端10中存储有一个或者多个音视频文件。结合图10和图11示意的终端10的结构示意图,所述收发器11接收到用户输入的存储指令后,所述处理器12将所述存储指令指示的目标音视频文件存储到内部存储器14中。
示例性的,结合图3和图4示意的实施例,所述收发器11接收用户输入的扩展指令,所述收发器11将所述扩展指令指示的请求信息发送到所述处理器12。响应于所述请求信息,所述处理器12触发应用程序框架层22从内容提供器中获取所述扩展指令对应的控件菜单的内容,然后,所述应用程序框架层22中的窗口管理器在所述终端10的界面上显示所述扩展指令对应的控件菜单。进而,所述收发器11接收下载指令,所述下载指令包含所述音视频S在所述第三方APP服务器中的地址,所述音视频S在所述第三方APP服务器中的地址例如是所述音视频S的统一资源定位符(uniform resource locator,URL)或者所述音视频S的统一资源标识符(uniform resource identifier,URI)。所述处理器12调用系统层23的功能访问所述音视频S在所述第三方APP服务器中的地址,并从所述第三方APP服务器中获取所述音视频S的文件。然后,所述处理器12将所述音视频S的文件存储到所述内部存储器14中。或者,所述处理器12还可以将所述音视频S的文件存储到该第三方APP在所述终端的缓存存储器122中(即该第三方APP的目录下)。所述资源管理器维护所保存的音视频文件的标识,以及每个音视频文件与所述音视频文件标识的对应关系。
可以理解的是,一些实施例中,所述内部存储器14所存储的是包含音频数据和视频数据的压缩文件。所述系统层23中的媒体库定义了所述压缩文件所支持的格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。另一些实施例中,所述内部存储器14存储包含音频数据的压缩文件和包含视频数据的压缩文件。其中,所述处理器12可以为存在对应关系的音频压缩文件和视频压缩文件设置相同的文件标识。文件标识可以是数字、字母及其组合的字符串。文件标识例如是“A001”。所述系统层23中的媒体库定义了所述音频压缩文件支持的格式,例如:MP3和WMA。视频压缩文件支持多种格式,例如:MPEG和MP4。
示例性的,以下以音视频文件是包含音频数据和视频数据的压缩文件为例,对本申请实施例的技术方案进行说明。
进一步的,根据图5至图9示意的实施例,所述终端10还可以响应用户的操作,建立联系人信息与音视频文件的对应关系。结合图10示意的终端10的结构示意图,所述终端10可以通过以下实施方式建立联系人信息与音视频文件的对应关系。
第一种实施方式:所述收发器11接收用户输入的第一设置指令,所述第一设置指令包含第一联系人信息。响应于所述第一设置指令,所述处理器12触发应用程序框架层22从内容提供器中获取音视频文件的名称,并将音视频文件的名称整理形成列表。然后,所述应用程序框架层22中的窗口管理器触发显示器13显示音视频文件的名称列表。当所述收发器11接收用户输入的第一选择指令,并将所述第一选择指令传输到所述处理器12。其中,所述第一选择指令中包含第一音视频文件标识。进而,所述处理器12触发资 源管理器获取所述第一音视频标识,并资源管理器维护所述第一音视频文件标识与所述第一联系人信息的对应关系。
其中,本实施例是以联系人信息为基础,选择相应联系人信息对应的音视频文件的实施方式。本实施例中,所述终端10接收到的各项操作指令,可以与图5至图7中任一图示示意的实施例中,用户的操作相对应。此处不再详述。
第二种实施方式:所述收发器11接收用户输入的第二设置指令,所述第二设置指令包含第二音视频文件标识。响应于所述第二设置指令,所述处理器12触发应用程序框架层22从内容提供器中获取联系人信息,并将联系人信息整理形成列表。然后,所述应用程序框架层22中的窗口管理器触发显示器13显示联系人信息列表。当所述收发器11接收用户输入的第二选择指令,并将所述第二选择指令传输到所述处理器12。其中,所述第二选择指令中包含第二联系人信息。所述处理器12触发资源管理器获取所述第二联系人信息,并资源管理器维护所述第二音视频文件标识与所述第二联系信息的对应关系。
本实施例是以音视频文件为基础,选择所述音视频文件对应的联系人信息的实施方式。本实施例中,所述终端10接收到的各项操作指令,可以与图9示意的实施例中,用户的操作相对应。此处不再详述。
第三种实施方式:所述收发器11接收用户输入的第三设置指令,所述第三设置指令包含第三音视频文件在第三方音视频APP服务器中的地址。所述收发器11将所述第三设置指令发送到所述处理器12。响应于所述第三设置指令,所述处理器12调用系统层23的功能访问所述地址,获取第三音视频文件。进而,所述处理器12触发资源管理器为所述第三音视频文件确定标识。此外,响应于所述第三设置指令,所述处理器12还触发应用程序框架层22从内容提供器中获取联系人信息,并将联系人信息整理形成列表。然后,所述应用程序框架层22中的窗口管理器触发显示器13显示联系人信息列表。当所述收发器11接收用户输入的第三选择指令,并将所述第三选择指令传输到所述处理器12。其中,所述第三选择指令中包含第三联系人信息。所述处理器12触发资源管理器获取所述第三联系人信息,并使得资源管理器维护所述第三音视频文件的路径与所述第三联系信息的对应关系。
本实施例是将第三方APP播放的音视频直接确定为联系人信息对应的音视频的实施方式。本实施例中,所述终端10接收到的各项操作指令,可以与图8示意的实施例中,用户的操作相对应。此处不再详述。
其中,需要指出的是,一些实施例中,所述来电铃声管理器123根据所述路径获取所述音视频文件标识,可以是,所述处理器12调用音视频铃声设置接口的方式,获取所述第三音视频文件的数据,并将所述第三音视频设置为用于来电提醒的音视频。例如,所述处理器12触发应用程序框架层22为应用程序层21提供的RingtoneManager.etActualDefaultRingtoneUri(Context context,int type,Uri ringtoneUri)接口执行相应操作。
可以理解的是,结合图11示意的终端10的软件架构,所述收发器11所接收的各种操作指令,由核心库通过java语言定义,并通过应用程序框架层22的窗口管理器和内容提供器管理和调用。与此同时,所述处理器调用内核层24中的传感器驱动触发执行上述过程。此外,上述各实施例中所述表面管理器控制显示的内容,由内核层24中的显示驱动触发执行。
其中,所述来电请求的表现形式可以是数据帧。所述数据帧符合所述终端10支持的通信协议。所述来电请求中可以包括主叫联系人的联系人标识。所述联系人标识可以包含在所述通信信息的数据帧的保留位。所述处理器12通过调用应用程序框架层22中的电话管理器接收所述来电请求。
进而,在执行步骤S101之后,在执行步骤S102之前,所述方法100还包括读取所述来电请求中的联系人标识,并确定所述联系人标识对应的音视频标识。
一些实施例中,所述处理器12可以调用应用程序层21读取所述来电请求中的联系人标识。进而,所述处理器12调用应用程序框架层22根据所述联系人标识确定待播放音视频的音视频文件标识。
其中,根据上述建立联系人信息与音视频文件的对应关系的描述可知,一些实施例中,所述音视频文件标识与所述联系人标识对应存储。另一些实施例中,所述音视频文件标识与联系人组标识对应存储。基于此,本实施例中,所述应用程序框架层22可以从所述资源管理器中遍历存储关系中的联系人标识。若在所述存储关系中查找到所述联系人标识,所述应用程序框架层22读取所述联系人标识对应的音视频文件标识,并从内容提供器中获取所述音视频文件标识指示的音视频数据。若在所述存储关系中未查找到所述联系人标识,所述应用程序框架层22从所述资源管理器中获取所述联系人标识对应的联系人组标识,进而,所述应用程序框架层22从所述存储关系中读取所述联系人组标识对应的音视频文件标识,并从内容提供器中获取所述音视频文件标识指示的音视频数据。
进一步的,在获取所述音视频数据之后,所述通话铃声处理器124可以调用所述音视频播放编解码器127对所述音视频文件进行解码后播放。然后,所述应用程序框架层22调用音视频播放器播放相应音视频。所述应用程序框架层22的音视频播放器例如是MediaPlayer。
此外,所述联系人标识也可能对应音频文件。响应于所述联系人标识对应音频文件,所述通话铃声处理器124可以调用所述音频编解码器126对所述音频文件进行解码后播放。本实施例此处不再详述。
可以理解的是,所述音频的播放,还需要所述内核层24中音频驱动的作用。同理,所述音视频的播放,还需要所述内核层24中音频驱动和显示驱动的作用。此处不再详述。
由此可见,采用本申请实施例的来电提醒方法,所述终端10可以调用系统自带的音视频播放器播放与来电请求对应的音频和视频。这样所述终端10将无需调用第三方视频播放器播放来电提醒视频,从而节省系统资源,而且还能够保证音频和视频的对应性, 提高用户的使用体验。
进一步的,所述应用程序框架层22播放所述音视频的同时,所述处理器12调用所述显示器13显示来电显示界面和视频。基于此,一些实施例中,终端10在接收到所述来电请求之后,所述处理器12可以调用视图系统将所述来电显示界面和所述视频整合成一体。
示例性的,所述视图系统可以调用TextureView控件,实现将所述视频的画面嵌入到所述来电显示界面底层,使得所述来电显示界面和所述视频在视觉效果上是一体。示例性的,显示器的显示效果如图13所示。可见,本申请实施例所述的来电提醒方法,终端所显示的视频和来电显示界面,在视觉效果上是一体,从而能够提高用户的使用体验。
可以理解的是,本实施例示意的通过TextureView控件处理所述来电显示界面和所述视频的方式,只是示意性说明,对本申请实施例将所述来电显示界面和所述视频整合成一体不构成限定。在另一些实施例中,所述终端10还可以通过与上述实施方式不同的方式整合所述来电显示界面和所述视频。
此外,终端10播放音视频之后,终端10可以接收用户输入的接听或者挂断操作指令。其中,终端10接收接听或者挂断之后,所述电话管理器为所述终端10提供相应通信功能。此时,通话铃声处理器124控制音视频停止播放。
综合上述,本申请实施例所述的来电提醒方法,终端的硬件中包括音频处理模块和视频处理模块,使得终端在接收到来电请求时,能够播放用于来电提醒的视频和视频对应的音频。这样,使得终端中无需安装和调用第三方视频播放器,从而能够减少所占用的系统资源。此外,本申请实施例中,终端将来电显示界面的操作控件合成到视频图像中,终端所显示的视频和来电显示界面,在视觉效果上是一体,从而能够提高用户的使用体验。
上述实施例中,分别从终端硬件结构,软件架构,以及各软、硬件所执行的动作的角度对本申请实施例提供的来电提醒方法的各方案进行了介绍。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各音视频文件的处理步骤,本申请实施例不仅能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
例如,上述终端10可以通过功能模块的形式来实现上述相应的功能。如图14所示,终端10可包括收发模块141和处理模块142。
在一个实施例中,该终端10可用于执行上述图12示意的任意实施例的来电提醒方法。例如:
收发模块141,用于接收来电请求。处理模块142,用于调用系统播放器播放来电请 求对应的音视频。
由此可见,本申请实施例示意的终端10包含音视频播放器,使得终端10在接收到来电请求时,无需调用第三方视频播放软件播放视频,从而能够节省系统资源。
可选的,处理模块142,还用于显示来电显示界面和音视频的视频动画,音视频的动画作为来电显示界面的背景。
可选的,收发模块141,还用于接收用户输入的存储指令。处理模块142,还用于存储所述存储指令指示的目标音视频文件。
可选的,收发模块141,还用于接收用户输入的扩展指令。处理模块142,还用于响应扩展指令显示控件菜单,控件菜单包含存储指令对应的控件。
可选的,处理模块142,用于从存储指令中获取目标音视频文件在服务器中的地址,服务器是播放目标音视频的应用程序APP的服务器;根据地址获取目标音视频文件;将目标音视频文件存储到本地。
可选的,处理模块142,用于将目标音视频文件存储到系统内存中。在本实施例中,处理模块142,还用于将目标音视频文件存储到APP的缓存存储器122中。
可选的,收发模块141,还用于接收用户输入的第一设置指令,第一设置指令包含第一联系人信息,联系人信息包括联系人标识和联系人组标识,联系人组标识指示包含至少两个联系人标识的集合。处理模块142,用于显示音视频文件的名称列表。本实施例中,收发模块141,还用于接收用户输入的第一选择指令,第一选择指令中包含第一音视频文件标识。相应的,处理模块142,还用于建立第一音视频文件标识与第一联系人信息的对应关系。
可选的,收发模块141,还用于接收用户输入的第二设置指令,第二设置指令包含第二音视频文件标识。处理模块142,还用于显示联系人信息列表。本实施例中,收发模块141,还用于接收用户输入的第二选择指令,第二选择指令中包含第二联系人信息。相应的,处理模块142,还用于建立第二音视频文件标识与第二联系信息的对应关系。
可选的,收发模块141,还用于接收用户输入的第三设置指令,第三设置指令包含第三音视频文件在服务器中的地址,服务器是播放目标音视频的APP的服务器。处理模块142,用于根据地址获取第三音视频文件并确定第三音视频文件标识;还用于显示联系人信息列表。本实施例中,收发模块141,还用于接收用户输入的第三选择指令,第三选择指令中包含第三联系人信息。相应的,处理模块142,还用于建立第三音视频文件标识与第三联系信息的对应关系。
可选的,处理模块142,还用于获取来电请求对应的联系人标识。在另一个实施例中,处理模块142,还用于确定联系人标识对应的音视频文件标识。
可选的,处理模块142,还用于检测联系人信息与音视频文件标识的对应关系中是 否包含联系人标识。并且,响应于联系人信息与音视频文件标识的对应关系中包含联系人标识,处理模块142,还用于读取联系人标识对应的音视频文件标识。响应于联系人信息与音视频文件标识的对应关系中不包含联系人标识,处理模块142,还用于获取联系人标识对应的联系人组标识;读取联系人组标识对应的音视频文件标识。
具体实现中,对应终端10,本申请实施例还提供一种计算机存储介质,其中,设置在任意设备中计算机存储介质可存储有程序,该程序执行时,可实施包括图12来电提醒方法的各实施例中的部分或全部步骤。所述存储介质可为磁碟、光盘、只读存储记忆体(read-only memory,简称:ROM)或随机存储记忆体(random access memory,简称:RAM)等。
本领域技术任何还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本申请实施例保护的范围。
应理解,在本申请实施例的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请实施例权利要求及其等同技术的范围之内,则本申请实施例也意图包含这些改动和变型在内。

Claims (33)

  1. 一种来电提醒方法,其特征在于,所述方法包括:
    接收来电请求;
    调用系统的音视频播放器播放所述来电请求对应的音视频。
  2. 如权利要求1所述的来电提醒方法,其特征在于,在接收来电请求之后,还包括:
    显示来电显示界面和所述音视频的动画,所述音视频的动画作为所述来电显示界面的背景。
  3. 如权利要求1所述的来电提醒方法,其特征在于,在接收来电请求之前,还包括:
    接收用户输入的存储指令;
    存储所述存储指令指示的目标音视频文件。
  4. 如权利要求3所述的来电提醒方法,其特征在于,在接收用户输入的存储指令之前,还包括:
    接收用户输入的扩展指令;
    响应所述扩展指令显示控件菜单,所述控件菜单包含所述存储指令对应的控件。
  5. 如权利要求3所述的来电提醒方法,其特征在于,存储所述存储指令指示的目标音视频文件,包括:
    从所述存储指令中获取所述目标音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的应用程序APP的服务器;
    根据所述地址获取所述目标音视频文件;
    将所述目标音视频文件存储到本地。
  6. 如权利要求5所述的来电提醒方法,其特征在于,所述将所述目标音视频文件存储到本地,包括:
    将所述目标音视频文件存储到系统内存中;
    或者,
    将所述目标音视频文件存储到所述APP的缓存存储器中。
  7. 如权利要求1至3中任一项所述的来电提醒方法,其特征在于,在接收来电请求之前,还包括:
    接收用户输入的第一设置指令,所述第一设置指令包含第一联系人信息,所述联系人信息包括所述联系人标识和联系人组标识,所述联系人组标识指示包含至少两个联系人标识的集合;
    显示音视频文件的名称列表;
    接收用户输入的第一选择指令,所述第一选择指令中包含第一音视频文件标识;
    建立所述第一音视频文件标识与所述第一联系人信息的对应关系。
  8. 如权利要求1至3中任一项所述的来电提醒方法,其特征在于,在接收来电请求之前,还包括:
    接收用户输入的第二设置指令,所述第二设置指令包含第二音视频文件标识;
    显示联系人信息列表;
    接收用户输入的第二选择指令,所述第二选择指令中包含第二联系人信息;
    建立所述第二音视频文件标识与所述第二联系信息的对应关系。
  9. 如权利要求1或2所述的来电提醒方法,其特征在于,在接收来电请求之前,还 包括:
    接收用户输入的第三设置指令,所述第三设置指令包含第三音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的应用程序APP的服务器;
    根据所述地址获取所述第三音视频文件并确定所述第三音视频文件标识;
    显示联系人信息列表;
    接收用户输入的第三选择指令,所述第三选择指令中包含第三联系人信息;
    建立所述第三音视频文件标识与所述第三联系信息的对应关系。
  10. 如权利要求9所述的来电提醒方法,其特征在于,在接收来电请求之后,在调用系统的音视频播放器播放所述来电请求对应的音视频之前,所述方法还包括:
    获取所述来电请求对应的联系人标识;
    确定所述联系人标识对应的音视频文件标识。
  11. 如权利要求10所述的来电提醒方法,其特征在于,所述确定所述联系人标识对应的音视频文件标识,包括:
    检测联系人信息与音视频文件标识的对应关系中是否包含所述联系人标识;
    响应于联系人信息与音视频文件标识的对应关系中包含所述联系人标识,读取所述联系人标识对应的音视频文件标识;
    响应于联系人信息与音视频文件标识的对应关系中不包含所述联系人标识,获取所述联系人标识对应的联系人组标识;读取所述联系人组标识对应的音视频文件标识。
  12. 一种终端,其特征在于,包括:
    收发模块,用于接收来电请求;
    处理模块,用于调用系统的音视频播放器播放所述来电请求对应的音视频。
  13. 如权利要求12所述的终端,其特征在于,
    所述处理模块,还用于显示来电显示界面和所述音视频的动画,所述音视频的动画作为所述来电显示界面的背景。
  14. 如权利要求12所述的终端,其特征在于,
    所述收发模块,还用于接收用户输入的存储指令;
    所述处理模块,还用于存储所述存储指令指示的目标音视频文件。
  15. 如权利要求14所述的终端,其特征在于,
    所述收发模块,还用于接收用户输入的扩展指令;
    所述处理模块,还用于响应所述扩展指令显示控件菜单,所述控件菜单包含所述存储指令对应的控件。
  16. 如权利要求14所述的终端,其特征在于,
    所述处理模块,用于从所述存储指令中获取所述目标音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的应用程序APP的服务器;根据所述地址获取所述目标音视频文件;将所述目标音视频文件存储到本地。
  17. 如权利要求16所述的终端,其特征在于,
    所述处理模块,用于将所述目标音视频文件存储到系统内存中;
    所述处理模块,还用于将所述目标音视频文件存储到所述APP的缓存存储器中。
  18. 如权利要求12至14中任一项所述的终端,其特征在于,
    所述收发模块,还用于接收用户输入的第一设置指令,所述第一设置指令包含第一联系人信息,所述联系人信息包括所述联系人标识和联系人组标识,所述联系人组标识指示包含至少两个联系人标识的集合;
    所述处理模块,还用于显示音视频文件的名称列表;
    所述收发模块,还用于接收用户输入的第一选择指令,所述第一选择指令中包含第一音视频文件标识;
    所述处理模块,还用于建立所述第一音视频文件标识与所述第一联系人信息的对应关系。
  19. 如权利要求12至14中任一项所述的终端,其特征在于,
    所述收发模块,还用于接收用户输入的第二设置指令,所述第二设置指令包含第二音视频文件标识;
    所述处理模块,还用于显示联系人信息列表;
    所述收发模块,还用于接收用户输入的第二选择指令,所述第二选择指令中包含第二联系人信息;
    所述处理模块,还用于建立所述第二音视频文件标识与所述第二联系信息的对应关系。
  20. 如权利要求12或13所述的终端,其特征在于,
    所述收发模块,还用于接收用户输入的第三设置指令,所述第三设置指令包含第三音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的应用程序APP的服务器;
    所述处理模块,用于根据所述地址获取所述第三音视频文件并确定所述第三音视频文件标识;还用于显示联系人信息列表;
    所述收发模块,还用于接收用户输入的第三选择指令,所述第三选择指令中包含第三联系人信息;
    所述处理模块,还用于建立所述第三音视频文件标识与所述第三联系信息的对应关系。
  21. 如权利要求20所述的终端,其特征在于,
    所述处理模块,还用于获取所述来电请求对应的联系人标识;
    所述处理模块,还用于确定所述联系人标识对应的音视频文件标识。
  22. 如权利要求21所述的终端,其特征在于,
    所述处理模块,还用于检测联系人信息与音视频文件标识的对应关系中是否包含所述联系人标识;
    响应于联系人信息与音视频文件标识的对应关系中包含所述联系人标识,所述处理模块,还用于读取所述联系人标识对应的音视频文件标识;
    响应于联系人信息与音视频文件标识的对应关系中不包含所述联系人标识,所述处理模块,还用于获取所述联系人标识对应的联系人组标识;读取所述联系人组标识对应的音视频文件标识。
  23. 一种终端,其特征在于,包括:处理器,所述处理器用于与存储器耦合,读取存储器中的指令并根据所述指令执行:
    接收来电请求;
    调用系统的音视频播放器播放所述来电请求对应的音视频。
  24. 如权利要求23所述的终端,其特征在于,所述处理器在接收来电请求之后,还包括:
    显示来电显示界面和所述音视频的动画,所述音视频的动画作为所述来电显示界面的背景。
  25. 如权利要求23所述的终端,其特征在于,所述处理器在接收来电请求,还包括:
    接收用户输入的存储指令;
    存储所述存储指令指示的目标音视频文件。
  26. 如权利要求25所述的终端,其特征在于,所述处理器在接收用户输入的存储指令之前,还包括:
    接收用户输入的扩展指令;
    响应所述扩展指令显示控件菜单,所述控件菜单包含所述存储指令对应的控件。
  27. 如权利要求25所述的终端,其特征在于,所述处理器存储所述存储指令指示的目标音视频文件,包括:
    从所述存储指令中获取所述目标音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的应用程序APP的服务器;
    根据所述地址获取所述目标音视频文件;
    将所述目标音视频文件存储到本地。
  28. 如权利要求27所述的终端,其特征在于,所述处理器将所述目标音视频文件存储到本地,包括:
    将所述目标音视频文件存储到系统内存中;
    或者,
    将所述目标音视频文件存储到所述APP的缓存存储器中。
  29. 如权利要求23至25中任一项所述的终端,其特征在于,所述处理器在接收来电请求之前,还包括:
    接收用户输入的第一设置指令,所述第一设置指令包含第一联系人信息,所述联系人信息包括所述联系人标识和联系人组标识,所述联系人组标识指示包含至少两个联系人标识的集合;
    显示音视频文件的名称列表;
    接收用户输入的第一选择指令,所述第一选择指令中包含第一音视频文件标识;
    建立所述第一音视频文件标识与所述第一联系人信息的对应关系。
  30. 如权利要求23至25中任一项所述的终端,其特征在于,所述处理器在接收来电请求之前,还包括:
    接收用户输入的第二设置指令,所述第二设置指令包含第二音视频文件标识;
    显示联系人信息列表;
    接收用户输入的第二选择指令,所述第二选择指令中包含第二联系人信息;
    建立所述第二音视频文件标识与所述第二联系信息的对应关系。
  31. 如权利要求23或24所述的终端,其特征在于,所述处理器在接收来电请求之前,还包括:
    接收用户输入的第三设置指令,所述第三设置指令包含第三音视频文件在服务器中的地址,所述服务器是播放所述目标音视频的应用程序APP的服务器;
    根据所述地址获取所述第三音视频文件并确定所述第三音视频文件标识;
    显示联系人信息列表;
    接收用户输入的第三选择指令,所述第三选择指令中包含第三联系人信息;
    建立所述第三音视频文件标识与所述第三联系信息的对应关系。
  32. 如权利要求31所述的终端,其特征在于,所述处理器在接收来电请求之后,在调用系统的音视频播放器播放所述来电请求对应的音视频之前,还包括:
    获取所述来电请求对应的联系人标识;
    确定所述联系人标识对应的音视频文件标识。
  33. 如权利要求32所述的终端,其特征在于,所述处理器确定所述联系人标识对应的音视频文件标识,包括:
    检测联系人信息与音视频文件标识的对应关系中是否包含所述联系人标识;
    响应于联系人信息与音视频文件标识的对应关系中包含所述联系人标识,读取所述联系人标识对应的音视频文件标识;
    响应于联系人信息与音视频文件标识的对应关系中不包含所述联系人标识,获取所述联系人标识对应的联系人组标识;读取所述联系人组标识对应的音视频文件标识。
PCT/CN2019/122233 2018-12-14 2019-11-30 来电提醒方法及终端 WO2020119491A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/345,036 US11438453B2 (en) 2018-12-14 2021-06-11 Incoming call alert method and terminal
US17/877,143 US11765265B2 (en) 2018-12-14 2022-07-29 Incoming call alert method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811534314.4A CN109743442A (zh) 2018-12-14 2018-12-14 来电提醒方法及终端
CN201811534314.4 2018-12-14

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/345,036 Continuation US11438453B2 (en) 2018-12-14 2021-06-11 Incoming call alert method and terminal

Publications (1)

Publication Number Publication Date
WO2020119491A1 true WO2020119491A1 (zh) 2020-06-18

Family

ID=66359479

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122233 WO2020119491A1 (zh) 2018-12-14 2019-11-30 来电提醒方法及终端

Country Status (3)

Country Link
US (2) US11438453B2 (zh)
CN (3) CN115550500A (zh)
WO (1) WO2020119491A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449103A (zh) * 2020-10-30 2022-05-06 华为终端有限公司 提醒方法、图形用户界面及终端

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550500A (zh) * 2018-12-14 2022-12-30 华为技术有限公司 来电提醒方法及终端
CN109981885B (zh) 2019-02-03 2022-03-08 华为技术有限公司 一种电子设备在来电时呈现视频的方法和电子设备
CN110351437A (zh) * 2019-06-05 2019-10-18 北京达佳互联信息技术有限公司 来电提醒方法、装置、电子设备及可读存储介质
CN110300227A (zh) * 2019-06-28 2019-10-01 北京金山安全软件有限公司 终端设备的通话界面显示方法、装置及设备
CN111447320B (zh) * 2020-03-20 2023-01-17 咪咕文化科技有限公司 来电提醒方法与电子设备
CN113890939B (zh) * 2021-11-23 2023-08-18 维沃移动通信有限公司 来电提醒方法、来电提醒装置和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658630A (zh) * 2004-02-19 2005-08-24 英华达(南京)科技有限公司 手机根据来电电话号码播放匹配视讯的方法
US20060088281A1 (en) * 2004-10-26 2006-04-27 Kyocera Corporation Movie player, mobile terminal, and data processing method of mobile terminal
CN1972338A (zh) * 2005-11-23 2007-05-30 苏成春 彩景式回铃/来电显示系统及方法
CN101035164A (zh) * 2007-03-05 2007-09-12 李波 一种实现视频铃声的系统和方法
CN106412347A (zh) * 2016-10-27 2017-02-15 姚杰 一种实现来电视频铃声的方法
CN109743442A (zh) * 2018-12-14 2019-05-10 华为技术有限公司 来电提醒方法及终端

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030086547A1 (en) * 2001-11-08 2003-05-08 Kevin Chuang Telephonic terminal system
US7184527B1 (en) * 2002-09-30 2007-02-27 Bellsouth Intellectual Property Corporation System and method for monitoring and handling telecommunication activity via a computer network
GB2409607A (en) 2003-12-23 2005-06-29 Symbian Ltd Caller ID using a movie clip
CN101119519A (zh) 2007-06-18 2008-02-06 王金波 移动终端实现多媒体振铃音的技术方案
CN101090539A (zh) 2007-06-25 2007-12-19 嘉兴闻泰通讯科技有限公司 一种用视频作为来电提示的方法
KR20090011314A (ko) * 2007-07-25 2009-02-02 삼성전자주식회사 이동 단말기와 그의 심 카드 표시 방법
US11159909B2 (en) * 2008-02-05 2021-10-26 Victor Thomas Anderson Wireless location establishing device
KR101715385B1 (ko) * 2010-10-15 2017-03-10 엘지전자 주식회사 이동 단말기 및 이동 단말기의 제어 방법
KR20150001881A (ko) * 2013-06-26 2015-01-07 캠프모바일 주식회사 동영상 멀티미디어 링톤을 제공하기 위한 방법 및 시스템
CN105847572A (zh) 2016-04-19 2016-08-10 乐视控股(北京)有限公司 提醒铃声的创建方法及装置
US10775998B2 (en) * 2017-01-04 2020-09-15 Kyocera Corporation Electronic device and control method
CN106791201A (zh) * 2017-02-24 2017-05-31 广州市久邦数码科技有限公司 一种来电全屏闪的实现方法及其系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658630A (zh) * 2004-02-19 2005-08-24 英华达(南京)科技有限公司 手机根据来电电话号码播放匹配视讯的方法
US20060088281A1 (en) * 2004-10-26 2006-04-27 Kyocera Corporation Movie player, mobile terminal, and data processing method of mobile terminal
CN1972338A (zh) * 2005-11-23 2007-05-30 苏成春 彩景式回铃/来电显示系统及方法
CN101035164A (zh) * 2007-03-05 2007-09-12 李波 一种实现视频铃声的系统和方法
CN106412347A (zh) * 2016-10-27 2017-02-15 姚杰 一种实现来电视频铃声的方法
CN109743442A (zh) * 2018-12-14 2019-05-10 华为技术有限公司 来电提醒方法及终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449103A (zh) * 2020-10-30 2022-05-06 华为终端有限公司 提醒方法、图形用户界面及终端
CN114449103B (zh) * 2020-10-30 2024-01-30 华为终端有限公司 提醒方法、图形用户界面及终端

Also Published As

Publication number Publication date
CN116095222A (zh) 2023-05-09
US20210306450A1 (en) 2021-09-30
CN115550500A (zh) 2022-12-30
US11765265B2 (en) 2023-09-19
US11438453B2 (en) 2022-09-06
CN109743442A (zh) 2019-05-10
US20220368797A1 (en) 2022-11-17

Similar Documents

Publication Publication Date Title
WO2020119491A1 (zh) 来电提醒方法及终端
US20220006763A1 (en) Conversion of text relating to media content and media extension apps
CN106716954B (zh) 电话呼叫期间的实时共享方法、系统和计算机可读存储器
CN104050621A (zh) 用于图像处理的电子设备和方法
US20090307602A1 (en) Systems and methods for creating and sharing a presentation
CN108496198B (zh) 一种图像处理方法及设备
US20170185248A1 (en) Electronic device and method of managing application programs thereof
US9552186B2 (en) Data processing method and electronic device
KR20170051434A (ko) 기존 메시징 서비스의 메시지에 대한 앱에 의해 강화된 확장성 제공 기법
JP2023506936A (ja) マルチ画面共働方法およびシステム、ならびに電子デバイス
CN110865837B (zh) 一种进行系统升级的方法和终端
KR102193704B1 (ko) 전자 장치의 락 스크린 디스플레이 방법 및 그 전자 장치
KR102462793B1 (ko) 계정 그룹 기반으로 콘텐츠를 공유하는 방법 및 이를 제공하는 전자 장치
US20140297586A1 (en) Device and method for cloud file management
US8886933B1 (en) Streamlined provisioning and configuration of computing devices
CN113837939A (zh) 一种图像处理方法及设备
WO2023087875A1 (zh) 进程调度方法和终端设备
CN115525453A (zh) 多屏协同中断的处理方法及电子设备
US20160196030A1 (en) Method and electronic device for displaying electronic document
CN113642010B (zh) 一种获取扩展存储设备数据的方法及移动终端
CN113900740A (zh) 加载多项列表数据的方法及装置
KR20200077645A (ko) 컨텐츠를 배경화면에 표시하는 방법 및 그 전자 장치
CN112000411B (zh) 移动终端及其录音通道占用信息的显示方法
WO2024051654A1 (zh) 文件处理方法及电子设备
CN112509608B (zh) 一种usb设备随通道录音的方法、装置及存储介质

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: 19896248

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19896248

Country of ref document: EP

Kind code of ref document: A1