Ringtone playing method, device, electronic device and computer readable storage medium
By setting the operator-related ringtone files in the mobile terminal and switching ringtones according to the operator information and signaling status, the problem of cumbersome replacement of ringtones by the mobile terminal is solved, and the intelligent switching and convenient use of ringtones is realized.
Patent Information
- Application Number
- CN202210584699.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-05-26
AI Technical Summary
When changing ringtones in existing mobile terminals, you need to re-specify the ringtones in the region or upgrade the firmware, which is cumbersome and inconvenient for users to use.
By setting the ringtone files corresponding to each operator in the mobile terminal, and finding and playing the corresponding ringtones according to the operator information and signaling status during the call, the intelligent switching of ringtones is achieved to avoid the need for re-revolution due to regional changes due to regional changes. Specify or upgrade firmware.
It realizes automatic ringtone switching between mobile terminals in different regions, simplifies the ringtone replacement process, and improves user experience and convenience.
Smart Images

Figure CN115103066B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a ringtone playing method, device, electronic device and computer-readable storage medium. Background Art
[0002] At present, there are two ways to play ringtones. One is to play ringtones through the network; the other is to play ringtones through mobile terminals, that is, to set the ringtone corresponding to the location of the mobile terminal in the mobile terminal, and when the user makes a call, the ringtone stored in the mobile terminal can be played directly. However, different countries and regions have different requirements for telephone ringtones. When the mobile terminal is moved from the location where it was sold to another area with different ringtone requirements, it is necessary to re-specify the ringtone of the area or upgrade the firmware of the mobile terminal before the ringtone function can be used again. However, the above-mentioned method of changing ringtones is relatively troublesome and inconvenient for users. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a ringtone playing method, device, electronic device and computer-readable storage medium to improve the problem that "the existing method of changing ringtones in mobile terminals is relatively cumbersome".
[0004] The present invention is achieved in that:
[0005] In a first aspect, an embodiment of the present application provides a ringtone playing method, which is applied to a mobile terminal, and the method includes: when determining that the mobile terminal is a calling device, determining the operator information currently corresponding to the mobile terminal; based on the operator information, obtaining a ringtone file corresponding to the operator information, the ringtone file is a file pre-stored in the mobile terminal, and the ringtone file includes ringtones corresponding to different call states; the ringtone files corresponding to different operators are different; based on the call state of the mobile terminal included in the first signaling, searching the ringtone file for a corresponding first playback ringtone, and playing the first playback ringtone, the first signaling being a signaling sent by the network during the process of establishing a call at the mobile terminal.
[0006] In the embodiment of the present application, because different regions correspond to different network operators and different network operators have different requirements for ringtones, a ringtone file corresponding to each operator is set in the mobile terminal. When the mobile terminal is determined to be a calling device during a call, the ringtone file corresponding to the operator is obtained, and according to the call status of the mobile terminal included in the first signaling, the corresponding playback ringtone is searched in the ringtone file. This can realize intelligent switching of telephone ringtones between different regions of the mobile terminal, thereby avoiding the situation where, when the mobile terminal is moved from the place where it is sold to another region with different ringtone requirements, it is necessary to re-specify the ringtone of the region or upgrade the firmware of the mobile terminal before the ringtone function can be used again, thereby improving the problem that the existing method of changing ringtones of mobile terminals is relatively cumbersome.
[0007] In combination with the technical solution provided in the first aspect above, in some possible implementations, the ring tone file is a file formulated according to a ring tone standard corresponding to the operator.
[0008] In the embodiment of the present application, since the ringtone standards corresponding to different operators are different, the ringtone file is set to a file formulated according to the ringtone standard corresponding to the operator, so that during a call, a standard ringtone that meets the current operator's corresponding standards can be played.
[0009] In combination with the technical solution provided in the first aspect above, in some possible implementation methods, determining the operator information currently corresponding to the mobile terminal includes: determining the current operator information based on the PLMN information obtained by the mobile terminal when registering the network, the PLMN information including an identifier corresponding to the operator information.
[0010] In the embodiment of the present application, since the PLMN information is the information obtained by the mobile terminal when registering the network, and the PLMN information includes the identifier corresponding to the operator, the current operator information can be obtained more conveniently and quickly through the PLMN information obtained by the mobile terminal when registering the network.
[0011] In combination with the technical solution provided in the first aspect above, in some possible implementations, determining the operator information currently corresponding to the mobile terminal includes: acquiring the operator information according to the number corresponding to the current call of the mobile terminal.
[0012] In combination with the technical solution provided in the first aspect above, in some possible implementation methods, before determining that the mobile terminal is the calling device, the method also includes: during the process of establishing a call at the mobile terminal, receiving the first signaling, the first signaling including the number corresponding to the calling device; and judging whether the mobile terminal is the calling device in the first signaling based on the first signaling and the number corresponding to the mobile terminal.
[0013] In combination with the technical solution provided in the first aspect above, in some possible implementations, the method also includes: receiving a second signaling sent by the network, the second signaling indicating that the call state has changed to another call state; judging whether the mobile terminal is a calling device in the second signaling based on the second signaling and the current number of the mobile terminal; if the mobile terminal is a calling device, determining the operator information currently corresponding to the mobile terminal; obtaining the ringtone file based on the operator information; searching for a second playback ringtone corresponding to another call state in the ringtone file, and playing the second playback ringtone.
[0014] In the embodiment of the present application, through the above method, when the call status changes, the second play ringtone can be conveniently and quickly found, and the play ringtone corresponding to the current call status can be played in time.
[0015] In combination with the technical solution provided in the first aspect above, in some possible implementations, the method further includes: determining that the ringtone file is a ringtone file used by the mobile terminal for calls within a preset time period after the current call.
[0016] In the embodiment of the present application, through the above method, the mobile terminal only needs to obtain its call status within a preset time period, and search for the corresponding playback ringtone in the determined ringtone file according to the call status, that is, there is no need to obtain the operator information again, and obtain the corresponding ringtone file according to the operator information, thereby reducing the pressure on the mobile terminal to process data within the preset time period.
[0017] In a second aspect, an embodiment of the present application provides a ringtone playing device, which is applied to a mobile terminal, and the device includes: a determination module, which is used to determine the operator information currently corresponding to the mobile terminal when determining that the mobile terminal is a calling device; a processing module, which is used to obtain a ringtone file corresponding to the operator information according to the operator information, and the ringtone file is a file pre-stored in the mobile terminal, and the ringtone file includes ringtones corresponding to different call states; different operators have different corresponding ringtone files; a playing module, which is used to search for the corresponding playback ringtone in the ringtone file according to the call state of the mobile terminal included in the first signaling, and play the playback ringtone, and the first signaling is the signaling sent by the network during the process of establishing a call at the mobile terminal.
[0018] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the processor and the memory are connected; the memory is used to store programs; the processor is used to call the programs stored in the memory to execute the method provided in the above-mentioned first aspect embodiment and / or in combination with some possible implementation methods of the above-mentioned first aspect embodiment.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, executes a method provided in the embodiment of the first aspect above and / or in combination with some possible implementations of the embodiment of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 A flowchart of the steps of a ringtone playing method provided in an embodiment of the present application.
[0022] Figure 2 A module block diagram of a ringtone playing device provided in an embodiment of the present application.
[0023] Figure 3 A module block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0025] In view of the fact that the existing method of changing the ringtone of a mobile terminal is relatively complicated, the inventor of the present application has proposed the following embodiments to solve the above-mentioned problem after research and exploration.
[0026] The following combination Figure 1 The specific process and steps of a ringtone playing method are described. The embodiment of the present application provides a ringtone playing method, which can be applied to various mobile devices that need to play ringtones during the process of establishing a call, such as mobile phones, tablet computers, etc.
[0027] It should be noted that the method provided in the embodiments of the present application is not based on Figure 1 The order shown below is a limitation.
[0028] Step S101: when it is determined that the mobile terminal is a calling device, the operator information currently corresponding to the mobile terminal is determined.
[0029] Among them, the calling device is the party that initiates the voice call. For example, if user A initiates a voice call to user B through mobile terminal A, then mobile terminal A is the calling device; the operator information is the network operator, that is, the operator that provides the network when the mobile terminal makes a voice call through the network.
[0030] Optionally, before step S101, a first signaling may be received during the process of establishing a call at the mobile terminal; and according to the first signaling and the number corresponding to the mobile terminal, it is determined whether the mobile terminal is a calling device in the first signaling.
[0031] The first signaling is a signaling sent by the network during the process of establishing a call with the mobile terminal. The first signaling includes the number corresponding to the calling device. For example, the calling party is 187******** and the called party is 152********. The signaling will have the following fields: From:<sip:+86187********@ah.ims.m--nc000.mcc460.3gppnetwork.org> ;tag=qcuYdmxx3wH70m,To:<tel:152*****--***;phone-context=ims.mnc002.mcc460.3gppnetwork.org> , where From represents the calling device and To represents the called device. Therefore, by comparing the number corresponding to the mobile terminal with the number appearing in the signaling, it can be determined whether the number corresponding to the mobile terminal is located in the From field. If the number corresponding to the mobile terminal is located in the From field, it can be determined that the mobile terminal is the calling device in the first signaling; otherwise, it can be determined that the mobile terminal is the called device in the first signaling. In this way, it is convenient and quick to determine whether the mobile terminal is the calling device.
[0032] Further, determining the operator information currently corresponding to the mobile terminal may specifically include: determining the current operator information according to PLMN information acquired when the mobile terminal registers the network, the PLMN information including an identifier corresponding to the operator information.
[0033] Among them, PLMN (Public Land Mobile Network) is a network established and operated by network operators for the purpose of providing land mobile communication services to the public. Because different countries and regions have different corresponding network operators, the PLMNs corresponding to networks in different countries and regions are also different. When a mobile terminal registers a network, the network will broadcast PLMN information through SIB1 (System Information Block Type 1) messages, that is, at this time, the mobile terminal can directly obtain PLMN information, and because the PLMN information includes the identifier corresponding to the operator information, the current operator information can be determined through the PLMN information. For example: the PLMN of operator A is 460-00, and the PLMN of operator B is 460-01. If the PLMN obtained by the mobile terminal is 4600-00, it means that the current operator corresponding to the mobile terminal is operator A.
[0034] In the embodiment of the present application, since the PLMN information is the information obtained by the mobile terminal when registering the network, and the PLMN information includes the identifier corresponding to the operator, the current operator information can be obtained more conveniently and quickly through the PLMN information obtained by the mobile terminal when registering the network.
[0035] As another optional implementation, determining the operator information currently corresponding to the mobile terminal may specifically include: acquiring the operator information according to the number corresponding to the current call of the mobile terminal.
[0036] For example, the first three digits of the number corresponding to the AA operator may be 134, 135, or 136; the number corresponding to the BB operator may be 130, 131, or 132. If the number corresponding to the current call of the mobile terminal is 132********, it can be determined that the current operator corresponding to the mobile terminal is the BB operator.
[0037] After obtaining the operator information currently corresponding to the mobile terminal, the method may continue to execute step S102.
[0038] Step S102: According to the operator information, a ring tone file corresponding to the operator information is obtained.
[0039] Among them, the ringtone file is a file pre-stored in the mobile terminal, and the ringtone file includes ringtones corresponding to different call states, such as: ringback tone, busy tone, hang-up tone, etc.; different operators have different corresponding ringtone files. It should be noted that the mobile terminal stores ringtone files corresponding to each operator. The ringtone file can be a file formulated according to the ringtone standard corresponding to the operator, and operators who have no special requirements for ringtones can set a set of universal ringtone files for them. In addition, the ringtone file can also be a ringtone file defined by each operator itself, for example: each operator can set its corresponding exclusive ringtone, thereby setting a set of corresponding ringtone files.
[0040] Furthermore, each ringtone file can be named according to the name of its corresponding operator. In this way, after obtaining the operator information currently corresponding to the mobile terminal, the ringtone file corresponding to its name can be directly found according to the name of the operator, thereby improving the speed of finding ringtone files.
[0041] After obtaining the ring tone file corresponding to the operator, the method may continue to execute step S103.
[0042] Step S103: according to the call status of the mobile terminal included in the first signaling, searching for a corresponding first play ring tone in the ring tone file, and playing the first play ring tone.
[0043] The first signaling also includes the current call status of the mobile terminal. For example, the signaling may include a BYE field, which indicates that the called party has hung up. It should be noted that the principle of obtaining the current call status of the mobile terminal through signaling can be referred to the principle in the prior art, which will not be described here.
[0044] In summary, since different regions correspond to different network operators and different network operators have different requirements for ringtones, ringtone files corresponding to each operator are set in the mobile terminal. When the mobile terminal is determined to be the calling device during a call, the ringtone file corresponding to the operator is obtained, and according to the call status of the mobile terminal included in the first signaling, the corresponding playback ringtone is searched in the ringtone file. This can enable the mobile terminal to intelligently switch telephone ringtones between different regions, thereby avoiding the situation where, when the mobile terminal is moved from the place where it was sold to another region with different ringtone requirements, it is necessary to re-specify the ringtone of the region or upgrade the firmware of the mobile terminal before the ringtone function can be used again. This can improve the problem that the existing method of changing ringtones for mobile terminals is relatively cumbersome.
[0045] Furthermore, during the process of establishing a call on a mobile terminal, two situations may occur: one is that only one call state occurs, for example, when the called user is busy, the mobile terminal plays a corresponding busy tone according to the current busy state of the call, and the call between the mobile terminal and the called device will not be established subsequently; the other is that at least two call states occur, for example, when the current call state is waiting for the called device to connect (i.e., ringing state), the mobile terminal plays a ringback tone according to the current call state, stops playing the ringback tone after the user connects, and after the other party hangs up, the call state changes, and a hang-up tone needs to be played. The second situation (i.e., the situation where the call state changes) is described below.
[0046] Specifically, when the call status changes, a second signaling sent by the network can be received, and the second signaling indicates that the call status has changed to another call status; based on the second signaling and the current number of the mobile terminal, it is determined whether the mobile terminal is a calling device in the second signaling; if the mobile terminal is a calling device, the operator information currently corresponding to the mobile terminal is determined; based on the operator information, a ringtone file is obtained; the second playback ringtone corresponding to the other call status is searched in the ringtone file, and the second playback ringtone is played.
[0047] For determining whether the mobile terminal is a calling device in the second signaling and determining the operator information currently corresponding to the mobile terminal, please refer to the aforementioned content to avoid repetition, which will not be described here.
[0048] By using the above method, the corresponding ring tone can be played in time when the call status changes.
[0049] Furthermore, after determining the ringtone file used for the current call, the method may further include: determining that the ringtone file is the ringtone file used by the mobile terminal for calls within a preset time period after the current call, that is, within the preset time period, it is only necessary to obtain the call status of the mobile terminal and search the corresponding ringtone file for the playable ringtone according to the call status. In this way, the pressure on the mobile terminal to process data within the preset time period can be reduced.
[0050] It should be noted that the preset time period can be set according to actual conditions, such as 2 hours, 5 hours, or 10 hours. It should be noted that the shorter the preset time period is, the more accurate the mobile terminal can play the ringtone, but it will also increase the data processing pressure of the mobile terminal.
[0051] In addition, it should be noted that the ringtone file can also be directly named using the identifiers corresponding to different operators corresponding to the PLMN, that is, after obtaining the PLMN, the corresponding ringtone file is directly obtained according to the PLMN, so there is no need to obtain the corresponding operator information according to the PLMN, and then according to the obtained operator information, thereby improving the efficiency of obtaining the ringtone file, and then improving the efficiency of ringtone playback.
[0052] See also Figure 2 Based on the same inventive concept, an embodiment of the present application further provides a ringtone playing device 100 , which includes: a determination module 101 , a processing module 102 and a playing module 103 .
[0053] The determination module 101 is used to determine the operator information currently corresponding to the mobile terminal when determining that the mobile terminal is a calling device.
[0054] The processing module 102 is used to obtain a ringtone file corresponding to the operator information according to the operator information. The ringtone file is a file pre-stored in the mobile terminal, and the ringtone file includes ringtones corresponding to different call states. Different operators have different corresponding ringtone files.
[0055] The playing module 103 is used to search for the corresponding playing ringtone in the ringtone file according to the call status of the mobile terminal included in the first signaling, and play the playing ringtone. The first signaling is the signaling sent by the network during the process of establishing a call with the mobile terminal.
[0056] Optionally, the playing module 103 is specifically configured to determine the current operator information according to the PLMN information acquired when the mobile terminal registers the network, where the PLMN information includes an identifier corresponding to the operator information.
[0057] Optionally, the playing module 103 is specifically configured to obtain operator information according to a number corresponding to a current call of the mobile terminal.
[0058] Optionally, before determining that the mobile terminal is the calling device, the determination module 101 is also used to receive a first signaling during the process of establishing a call at the mobile terminal, the first signaling including a number corresponding to the calling device; and determine whether the mobile terminal is the calling device in the first signaling based on the first signaling and the number corresponding to the mobile terminal.
[0059] Optionally, the playback module 103 is also used to receive a second signaling sent by the network, the second signaling indicating that the call state has changed to another call state; based on the second signaling and the current number of the mobile terminal, determine whether the mobile terminal is a calling device in the second signaling; if the mobile terminal is a calling device, determine the operator information currently corresponding to the mobile terminal; based on the operator information, obtain a ringtone file; search the ringtone file for a second playback ringtone corresponding to another call state, and play the second playback ringtone.
[0060] Optionally, the playing module 103 is further configured to determine that the ring tone file is a ring tone file used by the mobile terminal for calls within a preset time period after the current call.
[0061] See also Figure 3 Based on the same inventive concept, the present application provides a schematic structural block diagram of an electronic device 200, which can be used to implement the above-mentioned ringtone playing method. In the present application embodiment, the electronic device 200 can be, but not limited to, a personal computer (PC), a smart phone, a tablet computer, a personal digital assistant (PDA), a mobile Internet device (MID), etc. Structurally, the electronic device 200 can include a processor 210 and a memory 220.
[0062] The processor 210 is electrically connected to the memory 220 directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. Among them, the processor 210 can be an integrated circuit chip with signal processing capabilities. The processor 210 can also be a general-purpose processor, for example, it can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. In addition, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0063] The memory 220 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), and an electric erasable programmable read-only memory (EEPROM). The memory 220 is used to store a program, and the processor 210 executes the program after receiving an execution instruction.
[0064] It should be understood that Figure 3 The structure shown is for illustration only. The electronic device 200 provided in the embodiment of the present application may also have Figure 3 Fewer or more components, or with Figure 3 In addition, Figure 3 The components shown may be implemented by software, hardware or a combination thereof.
[0065] It should be noted that, since technicians in the relevant field can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0066] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the method provided in the above embodiment is executed.
[0067] The storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)).
[0068] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0069] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0070] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0071] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0072] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A ringtone playing method, characterized in that: Applied to a mobile terminal, the method comprises: When determining that the mobile terminal is a calling device, determining the operator information currently corresponding to the mobile terminal includes: determining the current operator information according to PLMN information obtained when the mobile terminal registers a network, the PLMN information including an identifier corresponding to the operator information; According to the operator information, a ring tone file corresponding to the operator information is obtained, wherein the ring tone file is a file pre-stored in the mobile terminal, and the ring tone file includes ring tones corresponding to different call states; different operators have different corresponding ring tone files; According to the call status of the mobile terminal included in the first signaling, searching for a corresponding first play ringtone in the ringtone file, and playing the first play ringtone, wherein the first signaling is a signaling sent by the network during the process of establishing a call at the mobile terminal; The method further includes: determining that the ring tone file is a ring tone file used by the mobile terminal for a call within a preset time period after the current call.
2. The method according to claim 1, characterized in that The ring tone file is a file developed according to the ring tone standard corresponding to the operator.
3. The method according to claim 1, characterized in that Before determining that the mobile terminal is a calling device, the method further includes: During the process of establishing a call at the mobile terminal, receiving the first signaling, where the first signaling includes a number corresponding to the calling device; According to the first signaling and the number corresponding to the mobile terminal, it is determined whether the mobile terminal is the calling device in the first signaling.
4. The method according to claim 3, characterized in that The method further comprises: receiving a second signaling sent by the network, wherein the second signaling indicates that the call state has been changed to another call state; determining, according to the second signaling and the current number of the mobile terminal, whether the mobile terminal is a calling device in the second signaling; If the mobile terminal is a calling device, determining the operator information currently corresponding to the mobile terminal; According to the operator information, obtaining the ring tone file; The second ring tone file is searched for a second ring tone corresponding to another call state, and the second ring tone is played.
5. A ringtone playing device, characterized in that: Applied to a mobile terminal, the device comprises: A determination module, configured to determine the operator information currently corresponding to the mobile terminal when determining that the mobile terminal is a calling device, including: determining the current operator information according to the PLMN information obtained when the mobile terminal registers the network, the PLMN information including an identifier corresponding to the operator information; a processing module, configured to obtain, according to the operator information, a ring tone file corresponding to the operator information, wherein the ring tone file is a file pre-stored in the mobile terminal, and the ring tone file includes ring tones corresponding to different call states; and different operators have different corresponding ring tone files; a playing module, configured to search the corresponding first play ringtone in the ringtone file according to the call status of the mobile terminal included in the first signaling, and play the first play ringtone, wherein the first signaling is a signaling sent by the network during the process of establishing a call at the mobile terminal; The playing module is further used to determine that the ring tone file is a ring tone file used by the mobile terminal for calls within a preset time period after the current call.
6. An electronic device, characterized in that: include: A processor and a memory, the processor and the memory being connected; The memory is used to store programs; The processor is configured to run a program stored in the memory to execute the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a computer, the method according to any one of claims 1 to 4 is executed.
