CN105338179A - Ring tone control system and method based on Android system - Google Patents

Ring tone control system and method based on Android system Download PDF

Info

Publication number
CN105338179A
CN105338179A CN201510650695.2A CN201510650695A CN105338179A CN 105338179 A CN105338179 A CN 105338179A CN 201510650695 A CN201510650695 A CN 201510650695A CN 105338179 A CN105338179 A CN 105338179A
Authority
CN
China
Prior art keywords
ring tone
incoming
file
mobile terminal
module
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.)
Granted
Application number
CN201510650695.2A
Other languages
Chinese (zh)
Other versions
CN105338179B (en
Inventor
叶钰
何小聪
肖正君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taizhou jinzai Intellectual Property Service Co.,Ltd.
Original Assignee
Shenzhen Deepsoftware Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Deepsoftware Information Technology Co Ltd filed Critical Shenzhen Deepsoftware Information Technology Co Ltd
Priority to CN201510650695.2A priority Critical patent/CN105338179B/en
Publication of CN105338179A publication Critical patent/CN105338179A/en
Application granted granted Critical
Publication of CN105338179B publication Critical patent/CN105338179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42025Calling or Called party identification service
    • H04M3/42034Calling party identification service
    • H04M3/42042Notifying the called party of information on the calling party
    • H04M3/42051Notifying the called party of information on the calling party where the notification is included in the ringing tone

Abstract

The invention discloses a ring tone control system and method based on an Android system. The system comprises an obtaining module, a setting module, an encryption storage module, a monitoring module and a uniqueness detection module. The obtaining module is used for obtaining a ring tone file and identification attribute data corresponding to the ring tone file; the setting module is used for setting the obtained ring tone file into ring tone of a mobile terminal; the encryption storage module is used for carrying out encryption and storage on the identification attribute data corresponding to the ring tone file; the monitoring module is used for generating a call broadcast receiver to monitor the incoming call of the mobile terminal according to an incoming call broadcast mechanism provided by the Android system; and the uniqueness detection module is used for detecting whether the ring tone is set successfully. MD5 code and ring tone file byte stream are utilized to generate a unique secret key to the ring tone file, which can be utilized to judge whether the incoming call tone of the mobile terminal is set successfully, and the result can be obtained immediately, and the method is convenient.

Description

Based on incoming ring tone control system and the method for android system
Technical field
The present invention relates to mobile communication field, refer to a kind of incoming ring tone control system based on android system and method especially.
Background technology
Along with the development of mobile communication and the raising of people's living standard, the use of mobile phone is more and more extensive, and mobile phone becomes an indispensable part in people's life.
Mobile phone, as the most universal communication terminal, provides the self-defining function of incoming ring tone, and user can according to the hobby of oneself for the coordinator in mobile phone arranges different incoming ring tones, but determine whether to arrange successfully after arranging incoming ring tone, cumbersome.
Summary of the invention
The present invention proposes a kind of incoming ring tone control system based on android system and method, solves in prior art the problem confirming that whether incoming ring tone setting is successfully more difficult.
Technical scheme of the present invention is achieved in that
Based on an incoming ring tone control system for android system, it comprises acquisition module, arranges module, encrypts storage module, monitors module and uniqueness detection module; Described acquisition module is for obtaining ring signal file and the corresponding identity property data of ring signal file;
The described module that arranges is for being set to the incoming ring tone of mobile terminal by the ring signal file of acquisition;
Described encryption storage module is used for identity property data corresponding for ring signal file to be encrypted, in the database then encrypted to mobile terminal by the identity property data storing after encryption;
The incoming call broadcast mechanism that described monitoring module provides according to android system, generates the Receiver of an incoming call broadcast, monitors the incoming call of mobile terminal;
Described uniqueness detection module is when listening to incoming call, according to the routing information of the interface module acquisition incoming ring tone that android system provides, thus generate the file of incoming ring tone, utilize the byte stream of this file content and MD5 algorithm to generate unique MD5 code corresponding to this file content; Routing information according to incoming ring tone obtains corresponding MD5 code from data base querying, if the MD5 code obtained is consistent with the MD5 code generated, then incoming ring tone is arranged successfully.
Further, described identity property data comprise the title of ring signal file, size, storage path, the tinkle of bells ID and bell sound contents MD5 code.
Further, described database is the DB file after encryption.
Further, described ring signal file is the file type that mobile terminal is supported, obtains from the database of mobile terminal, or downloads acquisition from server.
The invention allows for a kind of Incoming-call ringtone control method based on android system, comprise the following steps:
S1, obtains the identity property data that ring signal file is corresponding with this ring signal file;
S2, is set to the incoming ring tone of mobile terminal by the ring signal file of acquisition;
Identity property data corresponding for ring signal file are encrypted by S3, in the database then encrypted to mobile terminal by the identity property data storing after encryption;
S4, according to the incoming call broadcast mechanism that android system provides, generates the Receiver of an incoming call broadcast, monitors the incoming call of mobile terminal;
S5, after listening to incoming call, according to the routing information of the interface module acquisition incoming ring tone that android system provides, thus generates the file of incoming ring tone, utilizes the byte stream of this file content and MD5 algorithm to generate unique MD5 code corresponding to this file content; Routing information according to incoming ring tone obtains corresponding MD5 code from data base querying, utilizes this algorithm to generate the uniqueness of MD5 code, if the MD5 code taken out is consistent with the MD5 code generated, illustrates that this incoming ring tone is exactly the tinkle of bells arranged.
Further, described identity property data comprise the title of ring signal file, size, storage path, the tinkle of bells ID and bell sound contents MD5 code.
Further, described ring signal file is the file type that mobile terminal is supported, obtains from the database of mobile terminal, or downloads acquisition from server.
Beneficial effect of the present invention is: utilize the byte stream of MD5 code and ring signal file to generate one and unique can be used for judging whether the incoming ring tone of mobile terminal is arranged successfully, can judge result at once to should the key of ring signal file, more convenient.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the theory diagram of the incoming ring tone control system that the present invention is based on android system;
Fig. 2 is the flow chart of the Incoming-call ringtone control method that the present invention is based on android system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the present invention proposes a kind of incoming ring tone control system based on android system, can be used for arranging the incoming ring tone of mobile terminal, and detect incoming ring tone and whether arrange successfully, it comprises acquisition module, arranges module, encryption storage module, monitor module and uniqueness detection module; Acquisition module is for obtaining ring signal file and the corresponding identity property data of ring signal file; Obtain ring signal file to comprise obtain existing ring signal file from the holder of this locality, also comprise the ring signal file downloaded from network, identity property data comprise the title of ring signal file, size, storage path, the tinkle of bells ID and bell sound contents MD5 code.If ring signal file for obtain from network, then identity property data also comprise the network linking of this ring signal file.To the ring signal file in network is set to the incoming ring tone of mobile terminal, can adopt following steps: mobile terminal sends access request by network to server, in this step, access request comprises to be downloaded ring signal file request and browses ring signal file request; Server receives access request, ring signal file is divided into several packets, and is numbered packet, sends packet according to numbering to mobile terminal; Mobile terminal receives packet, and the ring signal file in packet is buffered in memory module, and plays this ring signal file; If select, the ring signal file received is set to incoming ring tone, then continue to send access request to server, server continues to send packet according to numbering to mobile terminal, if mobile terminal does not select this ring signal file to be set to incoming ring tone, then send another access request to server, the ring signal file of buffer memory is deleted, with releasing memory simultaneously.
Module is set for the ring signal file of acquisition being set to the incoming ring tone of mobile terminal; Module is set using overall for the ring signal file incoming ring tone as mobile terminal, also a part for ring signal file can be set to the incoming ring tone of mobile terminal simultaneously.Module is set and ring signal file is divided into some the tinkle of bells unit, the beginning position of each the tinkle of bells unit and be provided with corresponding pointer, mobile terminal can play ring signal file from each pointer, after running into next pointer, stop playing, such as ring signal file is divided into ten the tinkle of bells unit, be provided with pointer 1 to pointer 10, if arrange module pointer 2-pointer 5 is set to incoming ring tone, then mobile terminal when sending a telegram here, can play the second to the five the tinkle of bells unit.
Encryption storage module is used for identity property data corresponding for ring signal file to be encrypted, in the database then encrypted to mobile terminal by the identity property data storing after encryption; Identity property data can be confirmed by the mode of encryption, both protect data security, the accuracy of identification can be improved again.
Monitor the incoming call broadcast mechanism that module provides according to android system, generate the Receiver of an incoming call broadcast, monitor the incoming call of mobile terminal;
Uniqueness detection module is when listening to incoming call, according to the routing information of the interface module acquisition incoming ring tone that android system provides, thus generate the file of incoming ring tone, utilize the byte stream of this file content and MD5 algorithm to generate unique MD5 code corresponding to this file content; Routing information according to incoming ring tone obtains corresponding MD5 code from data base querying, utilizes this algorithm to generate the uniqueness of MD5 code, if the MD5 code taken out is consistent with the MD5 code generated, illustrates that this incoming ring tone is exactly the tinkle of bells arranged.
Database is the DB file after encryption.
Ring signal file is the file type that mobile terminal is supported, obtains from the database of mobile terminal, or downloads acquisition from server.Concrete, ring signal file can adopt MP3 format.
As shown in Figure 2, the invention allows for a kind of Incoming-call ringtone control method based on android system, comprise the following steps:
S1, obtains the identity property data that ring signal file is corresponding with this ring signal file; Obtain ring signal file to comprise obtain existing ring signal file from the holder of this locality, also comprise the ring signal file downloaded from network, identity property data comprise the title of ring signal file, size, storage path, the tinkle of bells ID and bell sound contents MD5 code.If ring signal file for obtain from network, then identity property data also comprise the network linking of this ring signal file.To the ring signal file in network is set to the incoming ring tone of mobile terminal, can adopt following steps: mobile terminal sends access request by network to server, in this step, access request comprises to be downloaded ring signal file request and browses ring signal file request; Server receives access request, ring signal file is divided into several packets, and is numbered packet, sends packet according to numbering to mobile terminal; Mobile terminal receives packet, and the ring signal file in packet is buffered in memory module, and plays this ring signal file; If select, the ring signal file received is set to incoming ring tone, then continue to send access request to server, server continues to send packet according to numbering to mobile terminal, if mobile terminal does not select this ring signal file to be set to incoming ring tone, then send another access request to server, the ring signal file of buffer memory is deleted, with releasing memory simultaneously.
S2, is set to the incoming ring tone of mobile terminal by the ring signal file of acquisition; ; Module is set using overall for the ring signal file incoming ring tone as mobile terminal, also a part for ring signal file can be set to the incoming ring tone of mobile terminal simultaneously.Module is set and ring signal file is divided into some the tinkle of bells unit, the beginning position of each the tinkle of bells unit and be provided with corresponding pointer, mobile terminal can play ring signal file from each pointer, after running into next pointer, stop playing, such as ring signal file is divided into ten the tinkle of bells unit, be provided with pointer 1 to pointer 10, if arrange module pointer 2-pointer 5 is set to incoming ring tone, then mobile terminal when sending a telegram here, can play the second to the five the tinkle of bells unit.
Identity property data corresponding for ring signal file are encrypted by S3, in the database then encrypted to mobile terminal by the identity property data storing after encryption;
S4, according to the incoming call broadcast mechanism that android system provides, generates the Receiver of an incoming call broadcast, monitors the incoming call of mobile terminal;
S5, after listening to incoming call, according to the routing information of the interface module acquisition incoming ring tone that android system provides, thus generates the file of incoming ring tone, utilizes the byte stream of this file content and MD5 algorithm to generate unique MD5 code corresponding to this file content; Routing information according to incoming ring tone obtains corresponding MD5 code from data base querying, utilizes this algorithm to generate the uniqueness of MD5, if the MD5 code taken out is consistent with the MD5 code generated, illustrates that this incoming ring tone is exactly the tinkle of bells arranged.
Identity property data comprise the title of ring signal file, size, storage path, the tinkle of bells ID and bell sound contents MD5 code.
Ring signal file is the file type that mobile terminal is supported, obtains from the database of mobile terminal, or downloads acquisition from server.
To should the key of ring signal file, the present invention utilizes the byte stream of MD5 code and ring signal file to generate one unique can be used for judging whether the incoming ring tone of mobile terminal is arranged successfully, can judge result at once, more convenient.
These are only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. based on an incoming ring tone control system for android system, it is characterized in that: comprise acquisition module, module is set, encrypt storage module, monitor module and uniqueness detection module; Described acquisition module is for obtaining ring signal file and the corresponding identity property data of ring signal file;
The described module that arranges is for being set to the incoming ring tone of mobile terminal by the ring signal file of acquisition;
Described encryption storage module be used for identity property data corresponding for ring signal file are encrypted, then by encryption after identity property data storing in the database of mobile terminal;
The incoming call broadcast mechanism that described monitoring module provides according to android system, generates the Receiver of an incoming call broadcast, monitors the incoming call of mobile terminal;
Described uniqueness detection module is when listening to incoming call, according to the routing information of the interface module acquisition incoming ring tone that android system provides, thus generate the file of incoming ring tone, utilize the byte stream of this file content and MD5 algorithm to generate unique MD5 code corresponding to this file content; Routing information according to incoming ring tone obtains corresponding MD5 code from data base querying, if the MD5 code obtained is consistent with the MD5 code generated, then incoming ring tone is arranged successfully.
2. the incoming ring tone control system based on android system according to claim 1, is characterized in that: described identity property data comprise the title of ring signal file, size, storage path, the tinkle of bells ID and bell sound contents MD5 code.
3. the incoming ring tone control system based on android system according to claim 1, is characterized in that: described database is the DB file after encryption.
4. the incoming ring tone control system based on android system according to claim 1, is characterized in that: described ring signal file is the file type that mobile terminal is supported, obtains from the database of mobile terminal, or downloads acquisition from server.
5. based on an Incoming-call ringtone control method for android system, it is characterized in that, comprise the following steps:
S1, obtains the identity property data that ring signal file is corresponding with this ring signal file;
S2, is set to the incoming ring tone of mobile terminal by the ring signal file of acquisition;
Identity property data corresponding for ring signal file are encrypted by S3, in the database then encrypted to mobile terminal by the identity property data storing after encryption;
S4, according to the incoming call broadcast mechanism that android system provides, generates the Receiver of an incoming call broadcast, monitors the incoming call of mobile terminal;
S5, after listening to incoming call, according to the routing information of the interface module acquisition incoming ring tone that android system provides, thus generates the file of incoming ring tone, utilizes the byte stream of this file content and MD5 algorithm to generate unique MD5 code corresponding to this file content; Routing information according to incoming ring tone obtains corresponding MD5 code from data base querying, utilizes this algorithm to generate the uniqueness of MD5, if the MD5 code taken out is consistent with the MD5 code generated, illustrates that this incoming ring tone is exactly the incoming ring tone arranged.
6. the Incoming-call ringtone control method based on android system according to claim 5, is characterized in that: described identity property data comprise the title of ring signal file, size, storage path, the tinkle of bells ID and bell sound contents MD5 code.
7. the incoming ring tone control system based on android system according to claim 5, is characterized in that: described ring signal file is the file type that mobile terminal is supported, obtains from the database of mobile terminal, or downloads acquisition from server.
CN201510650695.2A 2015-10-10 2015-10-10 Incoming ring tone control system and method based on android system Active CN105338179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510650695.2A CN105338179B (en) 2015-10-10 2015-10-10 Incoming ring tone control system and method based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510650695.2A CN105338179B (en) 2015-10-10 2015-10-10 Incoming ring tone control system and method based on android system

Publications (2)

Publication Number Publication Date
CN105338179A true CN105338179A (en) 2016-02-17
CN105338179B CN105338179B (en) 2019-08-02

Family

ID=55288442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510650695.2A Active CN105338179B (en) 2015-10-10 2015-10-10 Incoming ring tone control system and method based on android system

Country Status (1)

Country Link
CN (1) CN105338179B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316202A (en) * 2011-09-29 2012-01-11 深圳市五巨科技有限公司 Phone ring optimization method and apparatus thereof
CN104469741A (en) * 2014-11-17 2015-03-25 小米科技有限责任公司 Terminal configuration method and device
CN104539807A (en) * 2015-01-13 2015-04-22 联想(北京)有限公司 Communication equipment and incoming call reminding method and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316202A (en) * 2011-09-29 2012-01-11 深圳市五巨科技有限公司 Phone ring optimization method and apparatus thereof
CN104469741A (en) * 2014-11-17 2015-03-25 小米科技有限责任公司 Terminal configuration method and device
CN104539807A (en) * 2015-01-13 2015-04-22 联想(北京)有限公司 Communication equipment and incoming call reminding method and system thereof

Also Published As

Publication number Publication date
CN105338179B (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN104869612B (en) Access the method and device of network
CN105682253A (en) Method and equipment for communication establishment, terminal and computer readable storage medium
CN109564598B (en) Terminal detection method and terminal
CN104821937A (en) Token acquisition method, device and system
KR101306119B1 (en) Apparatus for offering information using short message service in portable terminal and Method thereof
JP6756009B2 (en) Data transmission
CN104717622B (en) Information forwarding method and device, terminal and server
CN106096424B (en) A kind of pair of local data carries out encryption method and terminal
CN110620846B (en) Message merging method, device, equipment and storage medium
CN110290146A (en) Share generation method, device, server and the storage medium of password
JP4389854B2 (en) Electronic device, data processing method, and data processing program
CN110300400B (en) Sign-in method, device, electronic equipment and storage medium
JP6397046B2 (en) Address book protection method, apparatus and communication system
CN104980884A (en) Information transmission method and information transmission device
CN102984335B (en) Dial the identity identifying method of landline telephone, equipment and system
CN108430092A (en) Obtain, provide method, equipment and the medium of wireless access point access information
CN106060098A (en) Processing method, processing device and processing system for verification codes
JP2000316053A (en) Device and method for transferring additional service to portable telephone set
WO2017054283A1 (en) Method and mobile terminal for using sim data
CN105679066A (en) Device and system for transmitting road condition information through CDR
CN104821980A (en) Call prompting method and device based on wireless sound box
WO2016179961A1 (en) Incoming call processing method and apparatus for mobile terminal, mobile terminal and storage medium
CN105338179A (en) Ring tone control system and method based on Android system
JP6121195B2 (en) Wireless communication system, wireless device, and program
CN112040057B (en) Device control method, device, electronic device, control system 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
TA01 Transfer of patent application right

Effective date of registration: 20190701

Address after: 266101 2319, room 23, block B, 1 Wei Yi Road, Laoshan District, Qingdao, Shandong.

Applicant after: Qingdao fruit science and technology service platform Co., Ltd.

Address before: 518054 Genesis Business Center 7A12, Yilida, Nanshan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN DEEPSOFTWARE INFORMATION TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201105

Address after: 225300 Jiangsu city of Taizhou province Gaogang Branch Park Avenue on the north side of entrepreneurship

Patentee after: Taizhou jinzai Intellectual Property Service Co.,Ltd.

Address before: 266101 Shandong Province, Qingdao city Laoshan District, Keyuan Road No. 1 23 storey block B room 2319

Patentee before: Qingdao fruit science and technology service platform Co.,Ltd.

TR01 Transfer of patent right