CN105721681A - Method and device of replacing ring tone of mobile device - Google Patents
Method and device of replacing ring tone of mobile device Download PDFInfo
- Publication number
- CN105721681A CN105721681A CN201610041318.3A CN201610041318A CN105721681A CN 105721681 A CN105721681 A CN 105721681A CN 201610041318 A CN201610041318 A CN 201610041318A CN 105721681 A CN105721681 A CN 105721681A
- Authority
- CN
- China
- Prior art keywords
- tinkle
- resource data
- bells
- mobile equipment
- service provider
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method and a device of replacing a ring tone of a mobile device. The mobile device is provided with an initial ring tone. The method is characterized in that the current service main body information of the mobile device can be identified; the ring tone resource data corresponding to the service main body information can be acquired; when the ring tone resource data is different from the initial ring tone, the ring tone resource data can be used to replace the initial ring tone. The default ring tone of the mobile device can be replaced dynamically based on the service main body information, and therefore different default ring tones can be set to satisfy the setting requirement of the mobile device on the different default ring tones.
Description
Technical field
The application relates to the technical field of mobile equipment, particularly relates to a kind of method changing mobile equipment the tinkle of bells and a kind of device changing mobile equipment the tinkle of bells.
Background technology
Along with the development of mobile communication technology, mobile equipment such as such as mobile phone etc. is more and more universal, to people life, study, work brings great convenience.
These move equipment and were just configured with the tinkle of bells attribute in operating system before dispatching from the factory, thus when first time starts, the tinkle of bells that this attribute is arranged being set to default ring tone, user carrying out prompting such as prompting user and receives calls, check information etc..Concrete, when the software translating of the operating system of mobile equipment, it is possible to the ring signal file of mobile equipment is arranged in system files, as being configured in the tinkle of bells attribute ro.config.ringtones.When mobile equipment first powers on, operating system is in initialized process, it is possible to arrange, according to the tinkle of bells attribute in system file, the default ring tone that mobile equipment is initial.
Generally, install the mobile equipment of same operating system in different regions, country, use the card that different operators provides, and the required default ring tone used of each operator differing.But, existing operating system only when mobile equipment first powers on, initializes a default ring tone.After initialization completes, the default ring tone set by this operating system would not change.Obviously, to arrange default ring tone single for existing operating system, it is impossible to changes, and namely can not meet mobile equipment and arrange the demand of different default ring tone.
Summary of the invention
In view of the above problems, arranging the demand of different default ring tone to meet mobile equipment, the embodiment of the present application proposes a kind of method changing mobile equipment the tinkle of bells and corresponding a kind of device changing mobile equipment the tinkle of bells.
In order to solve the problems referred to above, the embodiment of the present application discloses a kind of method changing mobile equipment the tinkle of bells, and described mobile equipment is provided with initial tone, and described method includes:
Identify the service provider information that described mobile equipment is current;
Obtain the tinkle of bells resource data that described service provider information is corresponding;
When described the tinkle of bells resource data and described initial tone are inconsistent, described the tinkle of bells resource data is adopted to replace described initial tone.
Preferably, described mobile equipment also has multimedia database, and before the step of the current service provider information of the described mobile equipment of described identification, described method also includes:
Scan the multimedia database of described mobile equipment, it is determined that the initial tone that mobile equipment is current.
Preferably, described service provider information includes Mobile Country Code MCC MCC and Mobile Network Code MNC, and described initial tone is arranged in the following way:
In the SIM installed from described mobile equipment, extract Mobile Country Code MCC MCC and Mobile Network Code MNC;
When storage has the tinkle of bells resource data corresponding for described MCC and MNC in described mobile equipment, extract described the tinkle of bells resource data;
The tinkle of bells resource data extracted is set to initial tone.
Preferably, the sub-step of the described the tinkle of bells resource data of described extraction farther includes:
Obtain the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC;
Multimedia database in described mobile equipment is scanned, and described multimedia database has universal resource identifier URI;
If find scan the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC, then by Current Scan to universal resource identifier URI be defined as initial tone.
Preferably, the step of the tinkle of bells resource data that described acquisition described service provider information is corresponding, including:
When described media database does not store the tinkle of bells resource data corresponding to described service provider information, download described the tinkle of bells resource data to described media database from server;
When described media data library storage states the tinkle of bells resource data corresponding to service provider information to some extent, the tinkle of bells resource data described in extracting directly.
The embodiment of the present application also discloses a kind of device changing mobile equipment the tinkle of bells, and described mobile equipment is provided with initial tone, and described device includes:
Service provider information identification module, for identifying the service provider information that described mobile equipment is current;
The tinkle of bells resource data acquisition module, for obtaining the tinkle of bells resource data that described service provider information is corresponding;
The tinkle of bells replacement module, for when described the tinkle of bells resource data and described initial tone are inconsistent, adopting described the tinkle of bells resource data to replace described initial tone.
Preferably, described mobile equipment also has multimedia database, and described device also includes:
Initial tone determines module, for scanning the multimedia database of described mobile equipment, it is determined that the initial tone that mobile equipment is current.
Preferably, described service provider information includes Mobile Country Code MCC MCC and Mobile Network Code MNC, and described initial tone determines that module includes:
Service provider information retrieval submodule, in the SIM installed from described mobile equipment, extracts Mobile Country Code MCC MCC and Mobile Network Code MNC;
The tinkle of bells resource data extracts submodule, for, when storage has the tinkle of bells resource data corresponding for described MCC and MNC in described mobile equipment, extracting described the tinkle of bells resource data;
Initial tone arranges submodule, for the tinkle of bells resource data extracted is set to initial tone.
Preferably, described the tinkle of bells resource data extracts submodule, including:
Filename extraction unit, for obtaining the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC;
Media Survey unit, for multimedia database in described mobile equipment is scanned, described multimedia database has universal resource identifier URI;
Initial tone determines unit, if for find scan the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC, then by Current Scan to universal resource identifier URI be defined as initial tone.
Preferably, described the tinkle of bells resource data acquisition module, including:
The tinkle of bells resource data downloads submodule, for when described media database does not store the tinkle of bells resource data corresponding to described service provider information, downloads described the tinkle of bells resource data to described media database from server;
The tinkle of bells resource data extracts submodule, for when described media data library storage states the tinkle of bells resource data corresponding to service provider information to some extent, and the tinkle of bells resource data described in extracting directly.
The embodiment of the present application includes advantages below:
The mobile equipment of the embodiment of the present application is when the tinkle of bells resource data that service provider information is corresponding is inconsistent with current set initial tone, the tinkle of bells resource data is adopted to replace initial tone, namely, when front set default ring tone is not the default ring tone arranged specified by service provider, default ring tone is revised as the default ring tone specified by service provider.The embodiment of the present application can dynamically change the default ring tone of mobile equipment based on service provider information, such that it is able to default ring tone different in how arranging, meets mobile equipment and arranges the demand of different default ring tone.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of method changing mobile equipment the tinkle of bells of the embodiment of the present application;
Fig. 2 is the flow chart of steps of the another kind of method changing mobile equipment the tinkle of bells of the embodiment of the present application;
Fig. 3 is the structured flowchart of a kind of device changing mobile equipment the tinkle of bells of the embodiment of the present application;
Fig. 4 is the structured flowchart of the another kind of device changing mobile equipment the tinkle of bells of the embodiment of the present application.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
One of core idea of the embodiment of the present application is in that, mobile equipment stores the specified default ring tone data arranged of each operator, thereby through the tinkle of bells resource data that this service provider information of service provider acquisition of information that the mobile equipment of identification is current is corresponding, namely determine the specified default ring tone arranged of operator that mobile equipment is currently corresponding;When the tinkle of bells resource data and initial tone are inconsistent, described the tinkle of bells resource data is adopted to replace described initial tone, thus changing the default ring tone that mobile equipment is arranged, the mobile current desired the tinkle of bells resource data to arrange of equipment is set to default ring tone, namely can dynamically change the default ring tone of mobile equipment according to current service provider information, meet mobile equipment and the demand of different default ring tone is set.
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of method changing mobile equipment the tinkle of bells of the embodiment of the present application, this moves equipment and is provided with initial tone, and the method specifically may include steps of:
Step 101, identifies the service provider information that described mobile equipment is current.
It should be noted that the embodiment of the present application can be applied in various mobile equipment, for instance, mobile phone, panel computer, personal digital assistant, wearable device (such as glasses, wrist-watch etc.) etc..
This moves equipment and is usually mounted with client identification module (SubscriberIdentityModule, SIM), can connect network by this SIM, such that it is able to the network service provided based on service provider, it is achieved network service.Wherein, this service provider, it is also possible to be called operator, refers to the supplier of network service.Additionally, this operating system moving equipment can include Android (Android), IOS, WindowsPhone, Windows etc., the application implements this is not limited as.
As a concrete example of the application, the operating system of mobile equipment is after mobile equipment starts, it is possible to by detecting the SIM installed on mobile equipment, identifies the operator's informaiton of SIM, namely identifies that this moves the service provider information that equipment is corresponding.Concrete, SIM stores international mobile subscriber identity (InternationalMobileSubscriberIdentificationNumber, IMSI), namely stores IMSI information.After mobile equipment starts, it is possible to the SIM installed on mobile equipment is detected, from SIM, read IMSI information, using this IMSI information as service provider information.This IMSI information is the mark of difference mobile subscriber, can be used for distinguishing the effective information of mobile subscriber, including Mobile Country Code MCC MCC (MobileCountryCode), Mobile Network Code MNC (MobileNetworkCode).Wherein, the SIM of the operator of each country is answered Mobile Country Code MCC MCC and Mobile Country Code MCC MCC are different, it is possible to as the diacritics of national/operator.Such as, the MCC of China is 460, and the MNC of China Mobile is 00, and the MNC of CHINAUNICOM is 01, if MCCMNC is 46000, then it represents that the supplier of mobile network is China Mobile;If MCCMNC is 46001, then it represents that the supplier of mobile network is CHINAUNICOM.
Step 102, obtains the tinkle of bells resource data that described service provider information is corresponding.
The embodiment of the present application can store in the operating system of mobile equipment in advance and arrange relevant data to default ring tone, such that it is able to after recognizing service provider information, obtain corresponding the tinkle of bells resource data, as obtained the default ring tone resource data specified by operator.Wherein, the default ring tone data etc. that the data prestored include but are not limited to MCC and the MNC corresponding to operator name, operator, operator specifies default ring tone filename, operator specify.
A concrete example as the application, it is possible to sum up the title needing the required default ring tone arranged of compatible national/operator in advance, and be stored in mobile phone, namely store the tinkle of bells specified by multiple operator in cell phone system.Such as, in the code that operating system processes, preset data are stored, as defined the title of each operator, MCCMNC, ring signal file name etc. in code;Or preset data stored in a file, and be packed in mobile equipment by this document, such that it is able to get, by inquiring about this document, the tinkle of bells resource data that service provider information is corresponding.
Concrete, system (system) subregion stores the tinkle of bells resource data that each operator is corresponding, it is to avoid the data erasing that will prestore when resetting, namely will not by this data deletion prestored when handset replies Default Value.Wherein, the data of storage include: operator name, such as SFR;MCCMNC corresponding to operator, 20810 and/or 20809 as corresponding to operator SFR;Default ring tone filename specified by operator, the default ring tone filename Sonnerie_SFR.ogg as specified by SFR operator.In the MCCMNC corresponding to operator SFR, 208 is MCC, represents France;10 and 09 is the MNC of operator SFR.Default ring tone file specified by SFR operator is called Sonnerie_SFR.ogg, and namely SFR operator specifies the ring signal file acquiescence incoming ring tone as mobile phone requiring to use file name to be Sonnerie_SFR.ogg.When recognize service provider information be corresponding to operator SFR 20810 time, obtain the specified default ring tone resource data arranged of operator SFR, as obtained the ring tone data of file Sonnerie_SFR.ogg by name, namely it is defined as the current desired default ring tone to arrange of mobile phone.
Step 103, when described the tinkle of bells resource data and described initial tone are inconsistent, adopts described the tinkle of bells resource data to replace described initial tone.
After determining the tinkle of bells resource data, it is possible to the initial tone of this tinkle of bells resource data with mobile equipment current setting is contrasted, to judge that whether the default ring tone moving equipment current setting is for the default ring tone arranged required by current service main body.Wherein, initial tone refers to the default ring tone that mobile equipment is currently set.When the tinkle of bells resource data inconsistent with initial tone, can be determined that the default ring tone set by mobile equipment is currently is not the required default ring tone arranged of current service main body, need to change the default ring tone of mobile equipment, namely need to be set to the tinkle of bells resource data the default ring tone of mobile equipment.
In implementing, mobile equipment can pass through universal resource identifier (UniversalResourceIdentifier, URI) and read ring tone data corresponding to this URI, namely arranges the file path of default ring tone in arranging default ring tone.Therefore, when the tinkle of bells resource data inconsistent with initial tone, it is possible to be modified the file path of the default ring tone of mobile equipment, the default ring tone of mobile equipment is changed, as adopted the URI of the tinkle of bells resource data to replace the URI of initial tone.
The mobile equipment of this enforcement determines its required default ring tone arranged by service provider information, when the tinkle of bells resource data that service provider information is corresponding is inconsistent with current set initial tone, the tinkle of bells resource data is adopted to replace initial tone, namely, when front set default ring tone is not the default ring tone arranged specified by service provider, the default ring tone of mobile equipment is revised as the default ring tone specified by service provider.
The present embodiment can dynamically change the default ring tone of mobile equipment based on service provider information, and namely the default ring tone specified by each operator can be set to the default ring tone of mobile equipment, meets mobile equipment and arranges the demand of different default ring tone.
With reference to Fig. 2, it is shown that the flow chart of steps of the another kind of method changing mobile equipment the tinkle of bells of the embodiment of the present application, following sub-step specifically can be included:
Step 201, scans the multimedia database of described mobile equipment, it is determined that the initial tone that mobile equipment is current.
Wherein, equipment also concrete media database is moved.After mobile equipment starts, the operating system of mobile equipment can start Media Survey service automatically, and media database is scanned.For the Android system of mobile phone, after mobile phone power-on, Android system can pass through to issue BOOT_COMPLETED broadcast, starts Media Survey service (MediaScannerReceiver).Media Survey service, after receiving this BOOT_COMPLETED broadcast, starts Media Survey, i.e. media file in the mobile equipment of scanning.In the process of scanning, for each media file, media database stores the data of each media file, as by the filename of ring tone data, file size, the various information such as file path store to/data/data/com.android.providers.media/databases/.When default ring tone specified by the audio file scanned is the currently corresponding operator of mobile equipment, it is also possible to by Current Scan to audio file be defined as the initial tone of mobile equipment.
In a preferred embodiment of the present application, service provider information includes Mobile Country Code MCC MCC and Mobile Network Code MNC, and the initial tone of mobile equipment can be arranged in the following way:
Sub-step 20101, in the SIM installed, extracts Mobile Country Code MCC MCC and Mobile Network Code MNC from described mobile equipment.
Concrete, operating system can be passed through to read the IMSI information in the SIM installed on mobile equipment, MCC and MNC is extracted from IMSI information, if the IMSI information read in the SIM that mobile equipment is current installed is 208104280925232, then the MCC that can extract is 208, MNC is 10.
Sub-step 20102, when storage has described MCC and corresponding the tinkle of bells resource data in described mobile equipment, extracts described the tinkle of bells resource data.
After extracting MCC and MNC, can inquire about whether mobile equipment stores the tinkle of bells resource data corresponding to this MCC and MNC, as inquired about whether mobile equipment stores the tinkle of bells resource data corresponding for MCC208 and MNC10, to judge whether the mobile equipment of inquiry stores the default ring tone arranged specified by France operator SFR.When corresponding for MCC and the MNC the tinkle of bells resource data that mobile device storage is extracted to some extent, such that it is able to directly extract this tinkle of bells resource data from mobile equipment, the tinkle of bells resource data carried is defined as the default ring tone of mobile equipment, and the tinkle of bells resource data being about to extract is defined as initial tone.
In a kind of preferred embodiment of the embodiment of the present application, the sub-step of the tinkle of bells resource data described in said extracted specifically may include that and obtains the filename corresponding to the tinkle of bells resource data corresponding to described MCC and MNC;Multimedia database in described mobile equipment is scanned, and described multimedia database has universal resource identifier URI;If find scan the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC, then by Current Scan to universal resource identifier URI be defined as initial tone.
Concrete, media database stores multiple audio file, namely stores multiple ring tone data, and each audio file has filename and the URI of correspondence.When corresponding for MCC and the MNC the tinkle of bells resource data that mobile device storage is extracted to some extent, it is possible to obtain the filename that the tinkle of bells resource data corresponding for this MCC and MNC is corresponding.By the media database in mobile equipment is scanned, if finding, Current Scan is called, to file, the filename that the tinkle of bells resource data corresponding for MCC and MNC is corresponding, then by Current Scan to audio file be defined as initial tone, if the file path that will currently sweep to is as the URI of initial tone, such that it is able to arrange the initial tone of mobile equipment based on this URI.
Sub-step 20103, is set to initial tone by the tinkle of bells resource data extracted.
Such as, when mobile device storage has the tinkle of bells resource data corresponding for MCC208 and MNC10, the filename Sonnerie_SFR.ogg of the tinkle of bells resource data corresponding for this MCC208 and MNC10 is obtained;In Media Survey process, if finding to work as the file Sonnerie_SFR.ogg by name of the audio file that single sweep arrives, then by Current Scan to audio file be defined as initial tone, obtain the URI of this audio file, acquired URI is set to the file path of the initial tone of mobile equipment, thus the audio file by Sonnerie_SFR.ogg by name for file is set to initial tone.
Additionally, when mobile equipment does not store the tinkle of bells resource data corresponding for MCC and the MNC extracted, it is possible to move from this and multimedia database of equipment selects one of them audio file be set to initial tone;Or Connection Service device, downloads the tinkle of bells resource data corresponding for MCC and MNC extracted from server, downloaded the tinkle of bells resource data is set to initial tone, and this is not limited as by the embodiment of the present application.
Step 202, identifies the service provider information that described mobile equipment is current.
In the SIM that the operating system of mobile equipment can be installed from mobile equipment, extract Mobile Country Code MCC MCC and Mobile Network Code MNC, determine the operator of the current connected mobile network of mobile equipment and this mobile network, namely identify the service provider information that mobile equipment is current.Wherein, this service provider information can include Mobile Country Code MCC MCC and Mobile Network Code MNC.
Step 203, obtains the tinkle of bells resource data that described service provider information is corresponding.
Concrete, according to extracted Mobile Country Code MCC MCC and Mobile Network Code MNC, media database in mobile equipment can be inquired about, to judge that this moves whether equipment stores the tinkle of bells resource data that current service provider information is corresponding, namely whether the media database in the mobile equipment of inquiry stores the tinkle of bells resource data that service provider information is corresponding.When described media database does not store the tinkle of bells resource data corresponding to described service provider information, download described the tinkle of bells resource data to described media database from server;When described media data library storage states the tinkle of bells resource data corresponding to service provider information to some extent, the tinkle of bells resource data described in extracting directly.
Such as, after completing Media Survey, can pass through to obtain current Mobile Country Code MCC MCC and Mobile Network Code MNC, determine country and the operator of the current connected mobile network of mobile phone, inquire about whether the media database in this mobile phone stores the specified default ring tone resource data arranged of this operator.If the specified default ring tone resource data arranged of this operator of media data library storage of mobile phone, from this media database, then directly extract the URI of the default ring tone resource data arranged specified by this operator, and it is labeled as Ringtone_Exception, namely extract the tinkle of bells resource data that service provider information is corresponding.If the media database of mobile phone does not store the specified default ring tone resource data arranged of this operator, then by connecting the webserver, the default ring tone resource data arranged specified by this operator is downloaded from the webserver, and it is saved in the media database of mobile phone, such that it is able to extract the URI of the default ring tone resource data arranged specified by this operator from the media database of mobile phone, the default ring tone of mobile equipment is set to the default ring tone arranged specified by this operator.
Step 204, when described the tinkle of bells resource data and described initial tone are inconsistent, adopts described the tinkle of bells resource data to replace described initial tone.
In the embodiment of the present application, operating system can also obtain the URI of the currently set default ring tone of mobile equipment, and is labeled as Ringtone_Now.By Ringtone_Exception and Ringtone_Now is contrasted, the URI of the URI namely contrasting the tinkle of bells resource data corresponding to service provider information and the initial tone arranged, obtain comparing result.When comparing result is the tinkle of bells resource data and described initial tone is inconsistent, namely when the URI of the URI of the tinkle of bells resource data corresponding to service provider information and the initial tone of current setting differs, can be determined that the default ring tone of mobile equipment needs to change, the tinkle of bells resource data is adopted to replace described initial tone, being revised as the tinkle of bells resource data by this default ring tone moving equipment, the file path as this moves the default ring tone of equipment is set to Ringtone_Exception.
The application implements by contrasting the initial tone that the tinkle of bells resource data corresponding to service provider information has been arranged with mobile equipment, when the tinkle of bells resource data and initial the tinkle of bells are inconsistent, the tinkle of bells resource data is adopted to replace initial tone, the file path being about to the default ring tone of mobile equipment is revised as the URI of the tinkle of bells resource data, the default ring tone being about to mobile equipment is replaced by the specified default ring tone arranged of current service main body, default ring tone different during how mobile equipment can be arranged, meets mobile equipment and arranges the demand of different default ring tone.
It should be noted that, for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present application is not by the restriction of described sequence of movement, because according to the embodiment of the present application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 3, it is shown that the structured flowchart of a kind of device changing mobile equipment the tinkle of bells of the embodiment of the present application, specifically can include such as lower module:
Service provider information identification module 301, for identifying the service provider information that described mobile equipment is current.
The tinkle of bells resource data acquisition module 302, for obtaining the tinkle of bells resource data that described service provider information is corresponding.
The tinkle of bells replacement module 303, for when described the tinkle of bells resource data and described initial tone are inconsistent, adopting described the tinkle of bells resource data to replace described initial tone.
Wherein, move equipment and be provided with initial tone.
In a preferred embodiment of the application, this moves equipment and also has multimedia database, and described device also includes initial tone and determines module 304, as shown in Figure 4,
Wherein, initial tone determines module 304, for scanning the multimedia database of described mobile equipment, it is determined that the initial tone that mobile equipment is current.
In an embodiment of the application, described service provider information includes Mobile Country Code MCC MCC and Mobile Network Code MNC.
Described initial tone determines that module 304 can include following submodule:
Service provider information retrieval submodule, in the SIM installed from described mobile equipment, extracts Mobile Country Code MCC MCC and Mobile Network Code MNC.
The tinkle of bells resource data extracts submodule, for, when storage has the tinkle of bells resource data corresponding for described MCC and MNC in described mobile equipment, extracting described the tinkle of bells resource data.
In a preferred embodiment of the application, described the tinkle of bells resource data extracts submodule and includes: filename extraction unit, Media Survey unit and initial tone determine unit.
Wherein, filename extraction unit, for obtaining the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC.Media Survey unit, for multimedia database in described mobile equipment is scanned, described multimedia database has universal resource identifier URI.Initial tone determines unit, if for find scan the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC, then by Current Scan to universal resource identifier URI be defined as initial tone.
Initial tone arranges submodule, for the tinkle of bells resource data extracted is set to initial tone.
In a preferred embodiment of the application, described the tinkle of bells resource data acquisition module 302, it is possible to include following submodule:
The tinkle of bells resource data downloads submodule, for when described media database does not store the tinkle of bells resource data corresponding to described service provider information, downloads described the tinkle of bells resource data to described media database from server.
The tinkle of bells resource data extracts submodule, for when described media data library storage states the tinkle of bells resource data corresponding to service provider information to some extent, and the tinkle of bells resource data described in extracting directly.
For device embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, device or computer program.Therefore, the embodiment of the present application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the embodiment of the present application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The embodiment of the present application is to describe with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, terminal unit (system) and computer program.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment so that the instruction performed by the processor of computer or other programmable data processing terminal equipment is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing terminal equipment work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make on computer or other programmable terminal equipment, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable terminal equipment provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the embodiment of the present application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the embodiment of the present application scope.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or terminal unit not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or terminal unit.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
Above to a kind of method changing mobile equipment the tinkle of bells provided herein and a kind of device changing mobile equipment the tinkle of bells, it is described in detail, principle and the embodiment of the application are set forth by specific case used herein, and the explanation of above example is only intended to help and understands the present processes and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this specification content should not be construed as the restriction to the application.
Claims (10)
1. the method changing mobile equipment the tinkle of bells, it is characterised in that described mobile equipment is provided with initial tone, and described method includes:
Identify the service provider information that described mobile equipment is current;
Obtain the tinkle of bells resource data that described service provider information is corresponding;
When described the tinkle of bells resource data and described initial tone are inconsistent, described the tinkle of bells resource data is adopted to replace described initial tone.
2. method according to claim 1, it is characterised in that described mobile equipment also has multimedia database, before the step of the current service provider information of the described mobile equipment of described identification, described method also includes:
Scan the multimedia database of described mobile equipment, it is determined that the initial tone that mobile equipment is current.
3. method according to claim 2, it is characterised in that described service provider information includes Mobile Country Code MCC MCC and Mobile Network Code MNC, and described initial tone is arranged in the following way:
In the SIM installed from described mobile equipment, extract Mobile Country Code MCC MCC and Mobile Network Code MNC;
When storage has the tinkle of bells resource data corresponding for described MCC and MNC in described mobile equipment, extract described the tinkle of bells resource data;
The tinkle of bells resource data extracted is set to initial tone.
4. method according to claim 3, it is characterised in that the sub-step of the described the tinkle of bells resource data of described extraction farther includes:
Obtain the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC;
Multimedia database in described mobile equipment is scanned, and described multimedia database has universal resource identifier URI;
If find scan the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC, then by Current Scan to universal resource identifier URI be defined as initial tone.
5. method according to claim 3, it is characterised in that the step of the tinkle of bells resource data that described acquisition described service provider information is corresponding, including:
When described media database does not store the tinkle of bells resource data corresponding to described service provider information, download described the tinkle of bells resource data to described media database from server;
When described media data library storage states the tinkle of bells resource data corresponding to service provider information to some extent, the tinkle of bells resource data described in extracting directly.
6. the device changing mobile equipment the tinkle of bells, it is characterised in that described mobile equipment is provided with initial tone, and described device includes:
Service provider information identification module, for identifying the service provider information that described mobile equipment is current;
The tinkle of bells resource data acquisition module, for obtaining the tinkle of bells resource data that described service provider information is corresponding;
The tinkle of bells replacement module, for when described the tinkle of bells resource data and described initial tone are inconsistent, adopting described the tinkle of bells resource data to replace described initial tone.
7. device according to claim 6, it is characterised in that described mobile equipment also has multimedia database, and described device also includes:
Initial tone determines module, for scanning the multimedia database of described mobile equipment, it is determined that the initial tone that mobile equipment is current.
8. device according to claim 7, it is characterised in that described service provider information includes Mobile Country Code MCC MCC and Mobile Network Code MNC, and described initial tone determines that module includes:
Service provider information retrieval submodule, in the SIM installed from described mobile equipment, extracts Mobile Country Code MCC MCC and Mobile Network Code MNC;
The tinkle of bells resource data extracts submodule, for, when storage has the tinkle of bells resource data corresponding for described MCC and MNC in described mobile equipment, extracting described the tinkle of bells resource data;
Initial tone arranges submodule, for the tinkle of bells resource data extracted is set to initial tone.
9. device according to claim 7, it is characterised in that described the tinkle of bells resource data extracts submodule, including:
Filename extraction unit, for obtaining the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC;
Media Survey unit, for multimedia database in described mobile equipment is scanned, described multimedia database has universal resource identifier URI;
Initial tone determines unit, if for find scan the filename corresponding to the tinkle of bells resource data corresponding for described MCC and MNC, then by Current Scan to universal resource identifier URI be defined as initial tone.
10. device according to claim 8, it is characterised in that described the tinkle of bells resource data acquisition module, including:
The tinkle of bells resource data downloads submodule, for when described media database does not store the tinkle of bells resource data corresponding to described service provider information, downloads described the tinkle of bells resource data to described media database from server;
The tinkle of bells resource data extracts submodule, for when described media data library storage states the tinkle of bells resource data corresponding to service provider information to some extent, and the tinkle of bells resource data described in extracting directly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610041318.3A CN105721681A (en) | 2016-01-21 | 2016-01-21 | Method and device of replacing ring tone of mobile device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610041318.3A CN105721681A (en) | 2016-01-21 | 2016-01-21 | Method and device of replacing ring tone of mobile device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105721681A true CN105721681A (en) | 2016-06-29 |
Family
ID=56154719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610041318.3A Pending CN105721681A (en) | 2016-01-21 | 2016-01-21 | Method and device of replacing ring tone of mobile device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721681A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106210325A (en) * | 2016-07-14 | 2016-12-07 | 广东欧珀移动通信有限公司 | A kind of the method for social networking application incoming ring tone, device and terminal are set |
CN110830668A (en) * | 2018-08-09 | 2020-02-21 | 中兴通讯股份有限公司 | Ring tone playing method, device, terminal and storage medium |
CN115297204A (en) * | 2022-06-29 | 2022-11-04 | 荣耀终端有限公司 | Ringtone setting method and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7792282B1 (en) * | 2005-06-07 | 2010-09-07 | Cisco Technology, Inc. | Ringing for power system management |
CN102170420A (en) * | 2010-02-26 | 2011-08-31 | 腾讯科技(深圳)有限公司 | Method for obtaining ring tone and ring tone obtaining system |
CN102572089A (en) * | 2010-12-31 | 2012-07-11 | 联想(北京)有限公司 | Mobile terminal and method for changing prompt tone of mobile terminal |
CN102984389A (en) * | 2012-12-04 | 2013-03-20 | 华为终端有限公司 | Method for depending on called terminal to determine back ringtone of calling terminal and terminal |
CN104581689A (en) * | 2014-12-02 | 2015-04-29 | 惠州Tcl移动通信有限公司 | Terminal customized starting-up control method and device |
-
2016
- 2016-01-21 CN CN201610041318.3A patent/CN105721681A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7792282B1 (en) * | 2005-06-07 | 2010-09-07 | Cisco Technology, Inc. | Ringing for power system management |
CN102170420A (en) * | 2010-02-26 | 2011-08-31 | 腾讯科技(深圳)有限公司 | Method for obtaining ring tone and ring tone obtaining system |
CN102572089A (en) * | 2010-12-31 | 2012-07-11 | 联想(北京)有限公司 | Mobile terminal and method for changing prompt tone of mobile terminal |
CN102984389A (en) * | 2012-12-04 | 2013-03-20 | 华为终端有限公司 | Method for depending on called terminal to determine back ringtone of calling terminal and terminal |
CN104581689A (en) * | 2014-12-02 | 2015-04-29 | 惠州Tcl移动通信有限公司 | Terminal customized starting-up control method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106210325A (en) * | 2016-07-14 | 2016-12-07 | 广东欧珀移动通信有限公司 | A kind of the method for social networking application incoming ring tone, device and terminal are set |
CN106210325B (en) * | 2016-07-14 | 2020-05-12 | Oppo广东移动通信有限公司 | Method, device and terminal for setting incoming call ringtone of social application |
CN110830668A (en) * | 2018-08-09 | 2020-02-21 | 中兴通讯股份有限公司 | Ring tone playing method, device, terminal and storage medium |
CN115297204A (en) * | 2022-06-29 | 2022-11-04 | 荣耀终端有限公司 | Ringtone setting method and terminal |
CN115297204B (en) * | 2022-06-29 | 2023-06-16 | 荣耀终端有限公司 | Ring setting method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9344550B2 (en) | Apparatus and method for setting up an interface in a mobile terminal | |
CN106648725B (en) | Terminal, server and configuration file upgrading method | |
CN102779151B (en) | The searching method of application program, Apparatus and system | |
CN101267631B (en) | A method for self-adapted configuration of access points at a mobile terminal | |
US20100093396A1 (en) | Systems and methods for storing or performing functions within removable memory, such as a subscriber identity module of a mobile device | |
CN101944000A (en) | Method and device for arranging icons | |
CN104850301A (en) | Method and system for classifying application icons on system desktop | |
CN105188048A (en) | Method, device and terminal equipment for loading customized applications for mobile terminal | |
CN102724657A (en) | Method and system for automatically configuring mobile terminal parameters of Android system | |
CN104834855A (en) | System data acquiring method and apparatus, and mobile terminal | |
CN101754187B (en) | Management method for connection setting and terminal thereof | |
CN105426761A (en) | Identification method for illegal application and mobile terminal | |
CN105721681A (en) | Method and device of replacing ring tone of mobile device | |
CN104767839A (en) | IP positioning method and device | |
CN103324551A (en) | Application data migration method and system | |
CN101345848B (en) | Method and device for searching TV program, and mobile terminal | |
CN104158895A (en) | Mobile terminal, contact photo management method thereof and remote server | |
CN112367660B (en) | Parameter configuration method, device, terminal and readable storage medium | |
CN104281475A (en) | Data downloading method | |
CN104281365A (en) | Terminal | |
KR101923937B1 (en) | Device and method for setting interface in wireless terminal | |
KR20150020183A (en) | Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade | |
CN105763709A (en) | Address list update method, user terminal and server | |
CN110913346B (en) | SIM card configuration method, terminal and storage medium | |
CN112423288B (en) | Dialing analysis method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160629 |