技术领域technical field
本发明涉及通信技术领域,更具体的说,涉及通讯录信息的传输方法、装置及系统。The present invention relates to the technical field of communications, and more specifically, to a method, device and system for transmitting address book information.
背景技术Background technique
手机的使用已经非常普及,但是由于通话语音质量、电磁波辐射、个人隐私等多种原因,企业员工在办公室时更喜欢用座机电话(如IP Phone)进行通话。由于手机上保存有大量的通讯录信息,员工往往一边看手机的通讯录,一边拨打座机电话,效率非常低下。The use of mobile phones has become very popular, but due to various reasons such as call voice quality, electromagnetic radiation, and personal privacy, corporate employees prefer to use landline phones (such as IP Phones) for calls in the office. Since a large amount of address book information is saved on the mobile phone, employees often make calls to landlines while looking at the phone book, which is very inefficient.
目前,要将手机内的通讯录信息导入座机电话,需采用以下方法:首先,将手机与电脑相连,通过电脑上的第三方软件将手机的通讯录信息导出为座机电话能识别的通讯录文件,并将通讯录文件存储在电脑中;然后,通过U盘将电脑上的通讯录文件传送到座机电话中;最后,座机电话在识别出该通讯录文件后,将通讯录文件中的信息导入座机电话的通讯录。At present, to import the address book information in the mobile phone to the landline phone, the following methods need to be adopted: first, connect the mobile phone to the computer, and export the address book information of the mobile phone into an address book file that the landline phone can recognize through the third-party software on the computer , and store the address book file in the computer; then, transfer the address book file on the computer to the landline phone through the U disk; finally, after the landline phone recognizes the address book file, import the information in the address book file Contacts for landline phones.
在研究和实践过程中,发明人发现上述传输方法至少存在以下问题:In the course of research and practice, the inventor found that the above-mentioned transmission method has at least the following problems:
上述传输方法需要利用U盘将电脑中的通讯录文件传送到座机电话中,所以上述传输方法仅适用于具有USB接口的座机电话,而现在大部分的中低端座机电话出于成本考虑都不提供USB接口,在座机电话不具有USB接口时,则无法使用上述传输方法;而且,上述传输方法需要使用电脑和U盘等外部设备作为传输媒介,如果在具体的环境下没有电脑和U盘等外部设备,仅靠手机和座机电话就无法实现二者之间通讯录信息的传输,所以现有传输方法的通用性较差,在很多具体的应用环境下都不适用。The above-mentioned transmission method needs to use the U disk to transfer the address book files in the computer to the landline phone, so the above-mentioned transmission method is only applicable to the landline phone with a USB interface, and now most of the middle and low-end landline phones do not use it due to cost considerations. A USB interface is provided. When the landline phone does not have a USB interface, the above-mentioned transmission method cannot be used; moreover, the above-mentioned transmission method needs to use external devices such as a computer and a U disk as a transmission medium. If there is no computer and U disk in a specific environment, etc. For external devices, the transmission of address book information between the mobile phone and the landline cannot be realized only by the mobile phone and the landline. Therefore, the existing transmission method has poor versatility and is not applicable in many specific application environments.
因此,如何不借助外部设备就能够实现手机与座机电话之间通讯录信息的传输,成为目前最需要解决的问题。Therefore, how to realize the transmission of the address book information between the mobile phone and the landline phone without resorting to external devices has become the most urgent problem to be solved at present.
发明内容Contents of the invention
本发明实施例提供一种通讯录信息的传输方法、装置及系统,保证在不借助外部设备就能够实现手机与座机电话之间通讯录信息的传输,从而减少硬件资源的投入。Embodiments of the present invention provide a method, device, and system for transmitting address book information, which can ensure the transmission of address book information between a mobile phone and a landline phone without external equipment, thereby reducing investment in hardware resources.
为了解决上述技术问题,本发明实施例公开了如下技术方案:In order to solve the above technical problems, the embodiment of the present invention discloses the following technical solutions:
第一方面,一种通讯录信息的传输方法,包括:In the first aspect, a method for transmitting address book information, including:
获取通讯录信息;Obtain address book information;
根据预设编码规则将所述通讯录信息转换成通讯录信号;converting the address book information into an address book signal according to a preset encoding rule;
向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息。Sending the address book signal to an address book receiving device, so that the address book receiving device converts the address book signal into the address book information according to the preset encoding rule.
结合上述第一方面,在第一种可能的实现方式中,所述根据预设编码规则将所述通讯录信息转换成通讯录信号,包括以下子步骤:In combination with the first aspect above, in a first possible implementation manner, converting the address book information into an address book signal according to a preset encoding rule includes the following substeps:
当所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照双音多频DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述向通讯录接收设备发送所述通讯录信号步骤;When the address book information includes first command information and character information, convert the first command information into a first command word according to a command encoding rule, and convert the character information into first digital information according to a first encoding rule , converting the first command word and the first digital information into a first DTMF signal according to the dual-tone multi-frequency DTMF encoding rule, using the first DTMF signal as the address book signal, and executing the address book The receiving device sends the address book signal step;
当所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述向通讯录接收设备发送所述通讯录信号步骤;When the address book information includes second command information and second digital information, convert the second command information into a second command word according to the command coding rule, and convert the first command word according to the DTMF coding rule Two command words and the second digital information are converted into a second DTMF signal, and the second DTMF signal is used as the address book signal, and the step of sending the address book signal to the address book receiving device is performed;
所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息和所述第二命令信息均为所述通讯录信息中的通讯录字段。The command encoding rule is predefined and used to realize mutual conversion between command information and command words, and both the first command information and the second command information are address book fields in the address book information.
结合上述第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述第一编码规则为万国码UTF-8编码规则。With reference to the first possible implementation manner of the first aspect above, in a second possible implementation manner, the first encoding rule is the Universal Code UTF-8 encoding rule.
结合上述第一方面的第一种可能的实现方式,在第三种可能的实现方式中,所述第一命令字和所述第二命令字均为数字、特殊符号或数字与特殊符号的任意组合。In combination with the first possible implementation of the first aspect above, in a third possible implementation, the first command word and the second command word are numbers, special symbols, or any combination of numbers and special symbols. combination.
结合上述第一方面,在第四种可能的实现方式中,所述通讯录信号为DTMF信号;所述向通讯录接收设备发送所述通讯录信号,包括:In combination with the first aspect above, in a fourth possible implementation manner, the address book signal is a DTMF signal; the sending the address book signal to an address book receiving device includes:
将所述DTMF信号调制成声音信号;Modulating the DTMF signal into a sound signal;
通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音信号。The sound signal is played out through a loudspeaker, so that the address book receiving device can receive the sound signal.
结合上述第一方面,在第五种可能的实现方式中,在所述向通讯录接收设备发送所述通讯录信号之后,还包括:With reference to the first aspect above, in a fifth possible implementation, after sending the address book signal to the address book receiving device, further include:
接收所述通讯录接收设备发送的反馈信号;receiving a feedback signal sent by the address book receiving device;
根据所述预设编码规则将所述反馈信号转换成反馈信息;converting the feedback signal into feedback information according to the preset encoding rule;
当根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。When it is determined according to the feedback information that the address book receiving device has not successfully received the address book signal, resending the address book signal to the address book receiving device.
结合上述第一方面,在第六种可能的实现方式中,在所述获取通讯录信息之前,还包括:In combination with the first aspect above, in a sixth possible implementation, before the obtaining of address book information, further includes:
获取搜索信息;obtain search information;
根据所述预设编码规则将所述搜索信息转换成搜索信号;converting the search information into a search signal according to the preset encoding rule;
向所述通讯录接收设备发送所述搜索信号,以便于所述通讯录接收设备在根据所述预设编码规则将所述搜索信号转换成所述搜索信息时,根据所述预设编码规则将搜索应答信息转换成搜索应答信号;sending the search signal to the address book receiving device, so that when the address book receiving device converts the search signal into the search information according to the preset encoding rule, The search response information is converted into a search response signal;
接收所述通讯录接收设备发送的所述搜索应答信号;receiving the search response signal sent by the address book receiving device;
当根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息时,执行所述获取通讯录信息的步骤。The step of obtaining address book information is performed when the search response signal is converted into search response information according to the preset encoding rule.
第二方面,一种通讯录信息的传输方法,包括:In the second aspect, a method for transmitting address book information, including:
接收通讯录发送设备发送的通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的;receiving an address book signal sent by an address book sending device, where the address book signal is obtained by converting address book information according to a preset encoding rule by the address book sending device;
根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息;converting the address book signal into the address book information according to the preset encoding rule;
存储所述通讯录信息。Store the address book information.
结合上述第二方面,在第一种可能的实现方式中,所述通讯录信号为DTMF信号,所述根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,包括以下子步骤:In combination with the second aspect above, in a first possible implementation manner, the address book signal is a DTMF signal, and converting the address book signal into the address book information according to the preset coding rules includes the following Substeps:
按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息;Convert the address book signal into command words and digital information according to DTMF encoding rules;
当所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储所述通讯录信息的步骤;When the command word is the first command word, convert the first command word into first command information according to the command encoding rule, convert the digital information into character information according to the first encoding rule, and convert the first command word into character information according to the first encoding rule. A command information and the character information are used as the address book information, and the step of storing the address book information is executed;
当所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储所述通讯录信息的步骤;When the command word is a second command word, converting the second command word into second command information according to a command encoding rule, and using the second command information and the digital information as the address book information, Execute the step of storing the address book information;
所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息和所述第二命令信息均为所述通讯录信息中的通讯录字段。The command encoding rule is predefined and used to realize mutual conversion between command information and command words, and both the first command information and the second command information are address book fields in the address book information.
结合上述第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述第一编码规则为万国码UTF-8编码规则。With reference to the first possible implementation manner of the second aspect above, in a second possible implementation manner, the first encoding rule is the Universal Code UTF-8 encoding rule.
结合上述第二方面的第一种可能的实现方式,在第三种可能的实现方式中,所述命令字、第一命令字和第二命令字均为数字、特殊符号或数字与特殊符号的任意组合。In combination with the first possible implementation of the second aspect above, in the third possible implementation, the command word, the first command word, and the second command word are all numbers, special symbols, or numbers and special symbols random combination.
结合上述第二方面,在第四种可能的实现方式中,所述通讯录信号为DTMF信号;所述接收通讯录发送设备发送的通讯录信号,包括:In combination with the second aspect above, in a fourth possible implementation manner, the address book signal is a DTMF signal; the receiving the address book signal sent by the address book sending device includes:
通过话筒接收声音信号,所述声音信号为所述通讯录发送设备根据DTMF信号调制出来的;receiving a sound signal through a microphone, and the sound signal is modulated by the address book sending device according to a DTMF signal;
根据所述声音信号还原出所述DTMF信号。The DTMF signal is restored according to the sound signal.
结合上述第二方面,在第五种可能的实现方式中,在所述接收通讯录发送设备发送的通讯录信号之前,还包括:With reference to the second aspect above, in a fifth possible implementation, before receiving the address book signal sent by the address book sending device, the method further includes:
接收所述通讯录发送设备发送的搜索信号,所述搜索信号为所述通讯录发送设备根据所述预设编码规则将所述搜索信息转换得到的;receiving a search signal sent by the address book sending device, where the search signal is obtained by converting the search information according to the preset encoding rule by the address book sending device;
当根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。When converting the search signal into search information according to the preset coding rules, send a search response signal to the address book sending device, the search response signal is to convert the search response information according to the preset coding rules owned.
第三方面,一种通讯录信息的传输装置,包括:In a third aspect, a device for transmitting address book information, comprising:
第一获取模块,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块;The first obtaining module is used to obtain address book information, and transmit the address book information to the first conversion module;
所述第一转换模块,用于从所述第一获取模块接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至第一发送模块;The first conversion module is configured to receive the address book information from the first acquisition module, convert the address book information into an address book signal according to a preset encoding rule, and then transmit the address book signal to the first sending module;
所述第一发送模块,用于从所述第一转换模块接收所述通讯录信号,并向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息。The first sending module is configured to receive the address book signal from the first conversion module, and send the address book signal to the address book receiving device, so that the address book receiving device can A rule converts an address book signal into said address book information.
结合上述第三方面,在第一种可能的实现方式中,所述第一转换模块包括以下单元:With reference to the third aspect above, in a first possible implementation manner, the first conversion module includes the following units:
第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述第一发送模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;The first execution unit is configured to convert the first command information into a first command word according to the command encoding rule when the address book information includes the first command information and character information, and convert the character according to the first encoding rule Information is converted into the first digital information, the first command word and the first digital information are converted into the first DTMF signal according to the DTMF encoding rule, and the first DTMF signal is used as the address book signal, and the The first sending module, the command encoding rule is predefined and used to realize the mutual conversion between command information and command words, and the first command information is an address book field in the address book information;
第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述第一发送模块,所述第二命令信息为所述通讯录信息中的通讯录字段。The second execution unit is configured to convert the second command information into a second command word according to the command encoding rule when the address book information includes the second command information and the second digital information, and encode according to the DTMF The rule converts the second command word and the second digital information into a second DTMF signal, uses the second DTMF signal as the address book signal, executes the first sending module, and the second The command information is an address book field in the address book information.
结合上述第三方面,在第二种可能的实现方式中,所述通讯录信号为DTMF信号;所述第一发送模块包括:In combination with the third aspect above, in a second possible implementation manner, the address book signal is a DTMF signal; the first sending module includes:
调制单元,用于将所述DTMF信号调制成声音信号;a modulating unit, configured to modulate the DTMF signal into a sound signal;
播放单元,用于通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音信号。The playback unit is configured to play the sound signal through a speaker, so that the address book receiving device can receive the sound signal.
结合上述第三方面,在第三种可能的实现方式中,还包括:In combination with the third aspect above, the third possible implementation also includes:
第二获取模块,用于获取搜索信息,并将该所述搜索信息传输至第二转换模块;A second acquisition module, configured to acquire search information, and transmit the search information to a second conversion module;
所述第二转换模块,用于从所述第二获取模块接收所述搜索信息,并根据所述预设编码规则将所述搜索信息转换成搜索信号,再将所述搜索信号发送至第二发送模块;The second conversion module is configured to receive the search information from the second acquisition module, convert the search information into a search signal according to the preset encoding rule, and then send the search signal to the second sending module;
所述第二发送模块,用于从所述第二转换模块接收所述搜索信号,并向所述通讯录接收设备发送所述搜索信号,以便于所述通讯录接收设备在根据所述预设编码规则将所述搜索信号转换成所述搜索信息时,根据所述预设编码规则将搜索应答信息转换成搜索应答信号;The second sending module is configured to receive the search signal from the second converting module, and send the search signal to the address book receiving device, so that the address book receiving device can perform the search according to the preset When the encoding rule converts the search signal into the search information, convert the search response information into the search response signal according to the preset encoding rule;
第一接收模块,用于接收所述通讯录接收设备发送的所述搜索应答信号,并将所述搜索应答信号发送至第一执行模块;A first receiving module, configured to receive the search response signal sent by the address book receiving device, and send the search response signal to a first execution module;
所述第一执行模块,用于接收所述第一接收模块发送的所述搜索应答信号,并在根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息时,执行所述第一获取模块。The first execution module is configured to receive the search response signal sent by the first receiving module, and when converting the search response signal into search response information according to the preset coding rules, execute the first One gets the module.
结合上述第三方面,在第四种可能的实现方式中,还包括:In combination with the third aspect above, in a fourth possible implementation manner, it also includes:
第二接收模块,用于接收所述通讯录接收设备发送的反馈信号,并将所述反馈信号传输至第三转换模块;The second receiving module is configured to receive a feedback signal sent by the address book receiving device, and transmit the feedback signal to a third conversion module;
第三转换模块,用于从所述第二接收模块接收所述反馈信号,并根据所述预设编码规则将所述反馈信号转换成反馈信息,再将所述反馈信息发送至第二执行模块;A third conversion module, configured to receive the feedback signal from the second receiving module, convert the feedback signal into feedback information according to the preset encoding rule, and then send the feedback information to the second execution module ;
所述第二执行模块,用于从所述第三转换模块接收所述反馈信息,并在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。The second execution module is configured to receive the feedback information from the third converting module, and when it is determined according to the feedback information that the address book receiving device fails to receive the address book signal, send the message to the The address book receiving device resends the address book signal.
第四方面,一种通讯录信息的传输装置,包括:In the fourth aspect, a device for transmitting address book information, including:
第一接收模块,用于接收通讯录发送设备发送的通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的,并将所述通讯录信号传输至转换模块;The first receiving module is configured to receive the address book signal sent by the address book sending device, the address book signal is obtained by the address book sending device converting the address book information according to the preset coding rules, and convert the address book signal Transfer to the conversion module;
所述转换模块,用于从所述第一接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块;The converting module is configured to receive the address book signal from the first receiving module, convert the address book signal into the address book information according to the preset encoding rules, and then transmit the address book information to storage module;
所述存储模块,用于从所述转换模块接收通讯录信息,并存储所述通讯录信息。The storage module is configured to receive address book information from the conversion module and store the address book information.
结合上述第四方面,在第一种可能的实现方式中,所述转换模块包括以下单元:With reference to the fourth aspect above, in a first possible implementation manner, the conversion module includes the following units:
转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;A converting unit, configured to convert the address book signal into command words and digital information according to the DTMF coding rules, the address book signal being a DTMF signal;
第一执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;The first execution unit is configured to convert the first command word into first command information according to the command encoding rule when the command word is the first command word, and convert the digital information into characters according to the first encoding rule information, and use the first command information and the character information as the address book information to execute the storage module, and the command encoding rule is predefined and used to realize the interaction between the command information and the command word Converting, the first command information is an address book field in the address book information;
第二执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块,所述第二命令信息为所述通讯录信息中的通讯录字段。The second execution unit is configured to convert the second command word into second command information according to the command encoding rules when the command word is the second command word, and convert the second command information and the digital information As the address book information, the storage module is executed, and the second command information is an address book field in the address book information.
结合上述第四方面,在第二种可能的实现方式中,所述通讯录信号为DTMF信号;所述接收模块包括以下单元:In combination with the fourth aspect above, in a second possible implementation, the address book signal is a DTMF signal; the receiving module includes the following units:
接收单元,用于通过话筒接收声音信号,所述声音信号为所述通讯录发送设备根据DTMF信号调制出来的;a receiving unit, configured to receive a sound signal through a microphone, and the sound signal is modulated by the address book sending device according to a DTMF signal;
还原单元,用于根据所述声音信号还原出所述DTMF信号。A restoring unit, configured to restore the DTMF signal according to the sound signal.
结合上述第四方面,在第三种可能的实现方式中,还包括:In combination with the fourth aspect above, in a third possible implementation manner, it also includes:
第二接收模块,用于接收所述通讯录发送设备发送的搜索信号,所述搜索信号为所述通讯录发送设备根据所述预设编码规则将所述搜索信息转换得到的;The second receiving module is configured to receive a search signal sent by the address book sending device, the search signal is obtained by the address book sending device converting the search information according to the preset encoding rule;
执行模块,用于在根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。An execution module, configured to send a search response signal to the address book sending device when converting the search signal into search information according to the preset encoding rule, the search response signal is based on the preset encoding rule It is obtained by converting the search response information.
第五方面,一种通讯录信息的传输系统,包括:通讯录接收设备和通讯录发送设备;In the fifth aspect, an address book information transmission system includes: an address book receiving device and an address book sending device;
所述通讯录发送设备包括:The address book sending device includes:
获取模块,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块;An acquisition module, configured to acquire address book information, and transmit the address book information to the first conversion module;
所述第一转换模块,用于从所述获取模块接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至发送模块;The first conversion module is configured to receive the address book information from the acquisition module, convert the address book information into address book signals according to preset coding rules, and then transmit the address book signals to the sending module ;
所述发送模块,用于从所述第一转换模块接收所述通讯录信号,并向通讯录接收设备的接收模块发送所述通讯录信号;The sending module is configured to receive the address book signal from the first conversion module, and send the address book signal to the receiving module of the address book receiving device;
所述通讯录接收设备包括:The address book receiving device includes:
所述接收模块,用于接收通讯录发送设备的发送模块发送的通讯录信号,并将所述通讯录信号传输至第二转换模块;The receiving module is used to receive the address book signal sent by the sending module of the address book sending device, and transmit the address book signal to the second conversion module;
所述第二转换模块,用于从所述接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块;The second converting module is configured to receive the address book signal from the receiving module, convert the address book signal into the address book information according to the preset coding rules, and then transmit the address book information to storage module;
所述存储模块,用于从所述第二转换模块接收通讯录信息,并存储所述通讯录信息。The storage module is configured to receive address book information from the second conversion module and store the address book information.
结合上述第五方面,在第一种可能的实现方式中,所述第一转换模块包括以下单元:With reference to the fifth aspect above, in a first possible implementation manner, the first conversion module includes the following units:
第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述发送模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;The first execution unit is configured to convert the first command information into a first command word according to the command encoding rule when the address book information includes the first command information and character information, and convert the character according to the first encoding rule Information is converted into the first digital information, the first command word and the first digital information are converted into the first DTMF signal according to the DTMF encoding rule, and the first DTMF signal is used as the address book signal, and the The sending module, the command encoding rule is predefined and used to realize the mutual conversion between command information and command words, and the first command information is an address book field in the address book information;
第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述发送模块,所述第二命令信息为所述通讯录信息中的通讯录字段;The second execution unit is configured to convert the second command information into a second command word according to the command encoding rule when the address book information includes the second command information and the second digital information, and encode according to the DTMF The rule converts the second command word and the second digital information into a second DTMF signal, uses the second DTMF signal as the address book signal, executes the sending module, and the second command information is an address book field in the address book information;
所述第二转换模块包括以下单元:The second conversion module includes the following units:
转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;A converting unit, configured to convert the address book signal into command words and digital information according to the DTMF coding rules, the address book signal being a DTMF signal;
第三执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块;The third execution unit is configured to convert the first command word into first command information according to the command encoding rule when the command word is the first command word, and convert the digital information into characters according to the first encoding rule information, and use the first command information and the character information as the address book information to execute the storage module;
第四执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块。The fourth execution unit is configured to convert the second command word into second command information according to the command encoding rules when the command word is the second command word, and convert the second command information and the digital information As the address book information, execute the storage module.
结合上述第五方面,在第二种可能的实现方式中,所述通讯录信号为DTMF信号;With reference to the fifth aspect above, in a second possible implementation manner, the address book signal is a DTMF signal;
所述发送模块包括以下单元:The sending module includes the following units:
调制单元,用于将所述DTMF信号调制成声音信号;a modulating unit, configured to modulate the DTMF signal into a sound signal;
播放单元,用于通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备的接收模块的接收单元接收到所述声音信号;A playback unit, configured to play the sound signal through a speaker, so that the receiving unit of the receiving module of the address book receiving device can receive the sound signal;
所述接收模块包括以下单元:The receiving module includes the following units:
所述接收单元,用于通过话筒接收所述通讯录发送设备的发送模块的播放单元播放的所述声音信号;The receiving unit is configured to receive the sound signal played by the playback unit of the sending module of the address book sending device through a microphone;
还原单元,用于根据所述声音信号还原出所述DTMF信号。A restoring unit, configured to restore the DTMF signal according to the sound signal.
与现有技术相比,本实施例提供的技术方案具有以下优点和特点:Compared with the prior art, the technical solution provided by this embodiment has the following advantages and characteristics:
在本发明实施例提供的方案中,通讯录发送设备将通讯录信息转化成通讯录信号发送给通讯录接收设备,通讯录接收设备再将接收到的通讯录信号转化成通讯录信息,以实现通讯录信息的传输。在通讯录发送设备与通讯录接收设备传输信息的过程中,不需要用到其他任何的辅助设备即可实现,因此,本发明实施例提供的方案不仅能够减少硬件资源的投入,从而降低了硬件成本,而且适用的环境更加广泛,通用性好。In the solution provided by the embodiment of the present invention, the address book sending device converts the address book information into an address book signal and sends it to the address book receiving device, and the address book receiving device converts the received address book signal into address book information to realize Transmission of address book information. In the process of transmitting information between the address book sending device and the address book receiving device, it can be realized without any other auxiliary equipment. Therefore, the solution provided by the embodiment of the present invention can not only reduce the investment of hardware resources, thereby reducing the The cost, and the applicable environment is more extensive, and the versatility is good.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明实施例提供的一种通讯录信息的传输方法的流程图;FIG. 1 is a flowchart of a method for transmitting address book information provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种通讯录信息的传输方法的流程图;FIG. 2 is a flow chart of another method for transmitting address book information provided by an embodiment of the present invention;
图3为本发明实施例提供的又一种通讯录信息的传输方法的流程图;FIG. 3 is a flowchart of another method for transmitting address book information provided by an embodiment of the present invention;
图4为本发明实施例提供的一种通讯录信息的传输装置的模块图;FIG. 4 is a block diagram of an address book information transmission device provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种通讯录信息的传输装置的模块图;FIG. 5 is a block diagram of another device for transmitting address book information provided by an embodiment of the present invention;
图6为本发明实施例提供的又一种通讯录信息的传输装置的模块图;6 is a block diagram of another device for transmitting address book information provided by an embodiment of the present invention;
图7为本发明实施例提供的又一种通讯录信息的传输装置的模块图;FIG. 7 is a block diagram of another device for transmitting address book information provided by an embodiment of the present invention;
图8为本发明实施例提供的又一种通讯录信息的传输装置的模块图;FIG. 8 is a block diagram of another device for transmitting address book information provided by an embodiment of the present invention;
图9为本发明实施例提供的一种通讯录信息的传输系统的模块图;FIG. 9 is a block diagram of a transmission system for address book information provided by an embodiment of the present invention;
图10为本发明实施例提供的一种通讯录信息的传输系统的模块图。FIG. 10 is a block diagram of a transmission system for address book information provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例提供了一种通讯录信息的传输方法及装置,由于上述通讯录信息的传输方法、装置及系统的具体实现存在多种方式,下面通过具体实施例进行详细说明:Embodiments of the present invention provide a method and device for transmitting address book information. Since there are many ways to implement the above-mentioned method, device and system for transmitting address book information, the following will describe in detail through specific embodiments:
实施例一Embodiment one
请参见图1所示,图1所示的为一种通讯录信息的传输方法的流程图。本实施例可以应用在通讯录发送设备中。由于本发明实施例提供的方法可以使通讯录发送设备和通讯录接收设备具有信息的获取与存储功能、信息与信号的转换功能以及信号的发送与接收功能,所以本发明实施例提供的方法可以不借助任何外部设备,即可实现通讯录发送设备与通讯录接收设备之间通讯录信息的传输,从而减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该方法包括:Please refer to FIG. 1 , which is a flow chart of a method for transmitting address book information. This embodiment can be applied in an address book sending device. Since the method provided by the embodiment of the present invention can enable the address book sending device and the address book receiving device to have information acquisition and storage functions, information and signal conversion functions, and signal sending and receiving functions, the method provided by the embodiment of the present invention can Without any external equipment, the transmission of address book information between the address book sending device and the address book receiving device can be realized, thereby reducing the investment in hardware resources, reducing costs, and improving versatility, so that users can get a better experience . The method includes:
步骤S101、获取通讯录信息;Step S101, obtaining address book information;
其中,本发明实施例可以满足多种应用场景,通讯录发送设备可以为手机、座机电话、平板电脑或笔记本电脑等设备,通讯录接收设备也可以为手机、座机电话、平板电脑或笔记本电脑等设备。例如,通讯录发送设备为手机,通讯录接收设备为座机电话,此种场景可以满足手机向座机电话发送通讯录信息;再如,通讯录发送设备为座机电话,通讯录接收设备为手机,此种场景可以满足座机电话向手机发送通讯录信息;又如,通讯录发送设备和通讯录接收设备均为座机电话,此种场景可以满足座机电话向座机电话发送通讯录信息;又如,通讯录发送设备为平板电脑,通讯录接收设备为座机电话,此种场景可以满足平板电脑向座机电话发送通讯录信息。当然,本发明实施例所能够适用的场景还有很多,并不局限于上述提到的应用场景。Among them, the embodiment of the present invention can meet various application scenarios. The address book sending device can be a mobile phone, a landline phone, a tablet computer or a notebook computer, and the address book receiving device can also be a mobile phone, a landline phone, a tablet computer or a notebook computer, etc. equipment. For example, the address book sending device is a mobile phone, and the address book receiving device is a landline phone. This scenario can satisfy the mobile phone to send address book information to the landline phone; This scenario can meet the needs of the landline phone to send address book information to the mobile phone; another example, the address book sending device and the address book receiving device are both landline phones, this scenario can meet the needs of the landline phone to send address book information to the landline phone; another example, the address book The sending device is a tablet, and the address book receiving device is a landline phone. This scenario can satisfy the tablet computer to send address book information to the landline phone. Of course, there are many other scenarios to which the embodiments of the present invention are applicable, and are not limited to the aforementioned application scenarios.
通讯录发送设备要获取存储器中预先存储的通讯录信息。通讯录信息可以包括姓名、电话号码、家庭住址、传真、电子邮件和备注等信息,当然,通讯录信息并不局限于此,还可以扩展其他的信息。例如,假设通讯录信息仅包括姓名和电话号码,姓名为张三,电话号码为15996,那么就获取该通讯录信息,即“姓名张三,电话号码15996”。The address book sending device needs to obtain the address book information pre-stored in the memory. The information in the address book may include information such as name, phone number, home address, fax, e-mail, and remarks. Of course, the information in the address book is not limited to this, and other information may also be extended. For example, assuming that the address book information only includes a name and a phone number, and the name is Zhang San, and the phone number is 15996, then the address book information is obtained, that is, "name Zhang San, phone number 15996".
步骤S102、根据预设编码规则将通讯录信息转换成通讯录信号;Step S102, converting address book information into address book signals according to preset coding rules;
其中,预设编码规则可以包括UTF-8(8-bit Unicode Transformation Format,万国码)编码规则、DTMF(Dual Tone Multi Frequency,双音多频)编码规则和命令编码规则。UTF-8编码规则和DTMF编码规则在国际上都是较为常用的编码规则。命令编码规则为预先设定好的规则,预先定义好命令信息与命令字的对应关系,命令编码规则可以实现命令信息和命令字的相互转换。命令信息为通信录信息中的通讯录字段,例如,命令信息为通讯录信息中的姓名、电话号码或家庭住址等通讯录字段;命令字可以由数字来表示,也可以由特殊符号来表示,还可以由数字与特殊符号的任意组合来表示。例如,在命令编码规则中,将命令信息“姓名”对应为命令字“*01#”,将命令信息“电话号码”对应为命令字“*02#”,将命令信息“家庭住址”对应为命令字“*03#”,等等。Among them, the preset encoding rules may include UTF-8 (8-bit Unicode Transformation Format, Universal Code) encoding rules, DTMF (Dual Tone Multi Frequency, Dual Tone Multi Frequency) encoding rules and command encoding rules. UTF-8 encoding rules and DTMF encoding rules are relatively commonly used encoding rules in the world. The command encoding rule is a pre-set rule, which pre-defines the corresponding relationship between command information and command words. The command encoding rule can realize the mutual conversion between command information and command words. The command information is the address book field in the address book information, for example, the command information is the address book field such as the name, phone number or home address in the address book information; the command word can be represented by a number or a special symbol. It can also be represented by any combination of numbers and special symbols. For example, in the command encoding rule, the command information "name" is corresponding to the command word "*01#", the command information "telephone number" is corresponding to the command word "*02#", and the command information "home address" is corresponding to Command word "*03#", etc.
当然,预设编码规则也可以为其他类型的编码规则,无论是什么样的编码规则,只要该编码规则能够将通讯录信息转换成通讯录信号即可。Of course, the preset encoding rules can also be other types of encoding rules, no matter what kind of encoding rules, as long as the encoding rules can convert address book information into address book signals.
下面结合上述UTF-8编码规则、DTMF编码规则和命令编码规则简要介绍转换的具体过程。在将通讯录信息转换成通讯录信号的过程中,通讯录信息存在以下两种情况:The specific process of conversion is briefly introduced below in combination with the above-mentioned UTF-8 encoding rules, DTMF encoding rules and command encoding rules. In the process of converting address book information into address book signals, the address book information has the following two situations:
第一种情况,通讯录信息包含第一命令信息和字符信息。如果通讯录信息包含第一命令信息和字符信息,那么按照命令编码规则将第一命令信息转换成第一命令字,按照UTF-8编码规则将字符信息转换成第一数字信息,按照DTMF编码规则将第一命令字和第一数字信息转换成第一DTMF信号;然后,可以将第一DTMF信号调制成声音信号;最后,可以通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音信号。In the first case, the address book information includes first command information and character information. If the address book information contains the first command information and character information, then convert the first command information into the first command word according to the command encoding rule, convert the character information into the first digital information according to the UTF-8 encoding rule, and convert the character information into the first digital information according to the DTMF encoding rule Convert the first command word and the first digital information into a first DTMF signal; then, the first DTMF signal can be modulated into a sound signal; finally, the sound signal can be played out through a loudspeaker, so that the address book can receive The device receives the sound signal.
例如,命令编码规则已经将“姓名”预先定义为命令信息,命令信息“姓名”对应的命令字为“*01#”。当通讯录信息为“姓名张三”时,由于通讯录信息中包含命令信息“姓名”和字符信息“张三”,所以按照命令编码规则将命令信息“姓名”转换成命令字“*01#”,按照UTF-8编码规则字符信息“张三”转换成数字信息,假设数字信息为“00010002”,按照DTMF编码规则将命令字“*01#”和数字信息“00010002”转换成双音多频信号,并将双音多频信号作为通讯录信号。For example, the command encoding rule has pre-defined "name" as command information, and the command word corresponding to the command information "name" is "*01#". When the address book information is "name Zhang San", since the address book information contains the command information "name" and the character information "Zhang San", the command information "name" is converted into the command word "*01#" according to the command encoding rules ", convert the character information "Zhang San" into digital information according to UTF-8 encoding rules, assuming that the digital information is "00010002", convert the command word "*01#" and digital information "00010002" into dual-tone multi frequency signal, and use the DTMF signal as the address book signal.
第二种情况,通讯录信息包含第二命令信息和第二数字信息。如果通讯录信息包含第二命令信息和第二数字信息,那么按照命令编码规则将第二命令信息转换成第二命令字,按照第二编码规则将第二命令字和第二数字信息转换成第二DTMF信号;然后,可以将第二DTMF信号调制成声音信号;最后,可以通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音信号。In the second case, the address book information includes the second command information and the second digital information. If the address book information includes the second command information and the second digital information, the second command information is converted into the second command word according to the command encoding rule, and the second command word and the second digital information are converted into the second command word according to the second encoding rule. Two DTMF signals; then, the second DTMF signal can be modulated into a sound signal; finally, the sound signal can be played out through a loudspeaker, so that the address book receiving device can receive the sound signal.
例如,命令编码规则已经将“电话号码”预先定义为命令信息,命令信息“电话号码”对应的命令字为“*02#”。当通讯录信息为“电话号码15912345678”时,由于通讯录信息中包含命令信息“电话号码”和数字信息“15912345678”,所以按照命令编码规则将命令信息“电话号码”转换成命令字“*02#”,按照DTMF编码规则将命令字“*02#”和数字信息“15912345678”转换成双音多频信号,并将双音多频信号作为通讯录信号。For example, the command encoding rule has pre-defined "telephone number" as command information, and the command word corresponding to the command information "telephone number" is "*02#". When the address book information is "telephone number 15912345678", since the address book information contains command information "telephone number" and digital information "15912345678", the command information "telephone number" is converted into the command word "*02" according to the command encoding rule #", convert the command word "*02#" and the digital information "15912345678" into DTMF signals according to the DTMF coding rules, and use the DTMF signals as address book signals.
在上述两种情况中,数字信息为0至9之间的整数;字符信息为汉字或英文等文字信息;命令字为数字和特殊符号的组合,特殊符号为#或*等符号。In the above two cases, the digital information is an integer between 0 and 9; the character information is text information such as Chinese characters or English; the command word is a combination of numbers and special symbols, and the special symbols are symbols such as # or *.
步骤S103、向通讯录接收设备发送所述通讯录信号。Step S103, sending the address book signal to the address book receiving device.
其中,通讯录信号可以为DTMF信号,也可以为其他类型的信号。在通讯录接收设备接收到该通讯录信号以后,通讯录接收设备会根据预设编码规则将通讯录信号转换成通讯录信息,从而在不借助外部设备的情况下,实现了通讯录发送设备与通讯录接收设备之间的通讯录信息的传输。Wherein, the address book signal may be a DTMF signal or other types of signals. After the address book receiving device receives the address book signal, the address book receiving device will convert the address book signal into address book information according to the preset encoding rules, thus realizing the communication between the address book sending device and the address book without the help of external equipment. The transmission of address book information between address book receiving devices.
在步骤S103中,假设通讯录信号为DTMF信号,可以采用以下方式将DTMF信号发送给通讯录接收设备:首先,将所述DTMF信号调制成声音信号;然后,通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音信号。这种方式适用于通讯录发送设备与通讯录接收设备未建立通信连接,但是通讯录接收设备在通讯录发送设备的预设范围内,那么通讯录发送设备可以将DTMF信号调制成声音信号,通过扬声器将该声音信号播放出去,以便于通讯录接收设备接收到该声音信号。例如,通讯录发送设备与通讯录接收设备的距离为1米,那么通讯录发送设备可以先将DTMF信号调制成声音信号,然后通过扬声器将调制好的声音信号播放出去,以使1米内的通讯录接收设备能够接收到声音信号。由于将DTMF信号调制成声音信号为本领域技术人员公知的技术手段,所以在此不再赘述。In step S103, assuming that the address book signal is a DTMF signal, the DTMF signal can be sent to the address book receiving device in the following manner: first, the DTMF signal is modulated into a sound signal; then, the sound signal is played out through a speaker , so that the address book receiving device receives the sound signal. This method is applicable to the communication connection between the address book sending device and the address book receiving device, but the address book receiving device is within the preset range of the address book sending device, then the address book sending device can modulate the DTMF signal into a sound signal, through The speaker plays the sound signal so that the address book receiving device can receive the sound signal. For example, the distance between the address book sending device and the address book receiving device is 1 meter, then the address book sending device can first modulate the DTMF signal into a sound signal, and then play the modulated sound signal through the speaker, so that the communication within 1 meter The recording receiving device can receive the sound signal. Since modulating a DTMF signal into an audio signal is a technical means known to those skilled in the art, it will not be repeated here.
在步骤S103中,假设通讯录信号为DTMF信号,还可以采用以下方式将DTMF信号发送给通讯录接收设备:通讯录发送设备通过通信连接向通讯录接收设备发送DTMF信号。这种方式适用于通讯录发送设备与通讯录接收设备已经建立好通信连接,通讯录发送设备通过该通信连接将DTMF信号发送给通讯录接收设备。例如,通讯录发送设备为A用户使用的手机,通讯录接收设备为B用户使用的座机电话,假设手机与座机电话已经通过移动网络建立了语音通话,此时,A用户可以向手机发送控制指令,以使手机通过移动网络将DTMF信号发送给B用户使用的座机电话。In step S103, assuming that the address book signal is a DTMF signal, the DTMF signal may also be sent to the address book receiving device in the following manner: the address book sending device sends the DTMF signal to the address book receiving device through a communication connection. This method is applicable to the communication connection between the address book sending device and the address book receiving device, and the address book sending device sends the DTMF signal to the address book receiving device through the communication connection. For example, the sending device of the address book is the mobile phone used by user A, and the receiving device of the address book is the landline phone used by user B. Assuming that the mobile phone and the landline phone have established a voice call through the mobile network, at this time, user A can send control commands to the mobile phone , so that the mobile phone sends DTMF signals to the landline phone used by user B through the mobile network.
在图1所示的实施例中,通讯录发送设备将通讯录信息转化成通讯录信号音发送给通讯录接收设备,通讯录接收设备再将接收到的通讯录信号音转化成通讯录信息,以实现通讯录信息的传输。在通讯录发送设备与通讯录接收设备传输信息的过程中,不需要用到其他任何的辅助设备即可实现,因此,本发明实施例提供的方案不仅能够减少硬件资源的投入,从而降低了硬件成本,而且适用的环境更加广泛,通用性好。In the embodiment shown in Figure 1, the address book sending device converts the address book information into an address book signal tone and sends it to the address book receiving device, and the address book receiving device converts the received address book signal tone into address book information, To realize the transmission of address book information. In the process of transmitting information between the address book sending device and the address book receiving device, it can be realized without any other auxiliary equipment. Therefore, the solution provided by the embodiment of the present invention can not only reduce the investment of hardware resources, thereby reducing the The cost, and the applicable environment is more extensive, and the versatility is good.
在本实施例的一个可选的方案中,在步骤S101之前,还可以包括以下步骤:In an optional solution of this embodiment, before step S101, the following steps may also be included:
11)、通讯录发送设备获取搜索信息;11) The address book sending device obtains the search information;
其中,搜索信息为通讯录发送设备和通讯录接收设备均可以识别的信息。在通讯录发送设备将通讯录信息发送给通讯录接收设备之前,通讯录发送设备需要先向通讯录接收设备发送搜索信号,以达到通讯录发送设备预先通知通讯录接收设备即将发送通讯录信息的目的。在通讯录接收设备识别出接收到的搜索信号为搜索信息时,则需要向通讯录发送设备发送搜索应答信号,以便于通讯录接收设备告知通讯录发送设备已经做好接收通讯录信息的准备。搜索信息的表现形式为多种,搜索信息由数字来表示,也可以由特殊符号来表示,还可以由数字与特殊符号的任意组合来表示。例如,搜索信息为“***#”。Wherein, the search information is information that can be identified by both the address book sending device and the address book receiving device. Before the address book sending device sends the address book information to the address book receiving device, the address book sending device needs to first send a search signal to the address book receiving device, so that the address book sending device notifies the address book receiving device that the address book information will be sent in advance. Purpose. When the address book receiving device recognizes that the received search signal is search information, it needs to send a search response signal to the address book sending device, so that the address book receiving device informs the address book sending device that it is ready to receive address book information. The search information can be expressed in various forms, and the search information can be represented by numbers, special symbols, or any combination of numbers and special symbols. For example, the search information is "***#".
12)、通讯录发送设备根据所述预设编码规则将所述搜索信息转换成搜索信号;12) The address book sending device converts the search information into a search signal according to the preset coding rules;
其中,需要预先定义好搜索信息与搜索信号之间的对应关系,这样预设编码规则便可以实现搜索信息与搜索信号之间的相互转换。搜索信号可以为DTMF信号,预设编码规则可以为DTMF编码规则,例如,通讯录发送设备可以根据DTMF编码规则将所述搜索信息“***#”转换成一个特定的DTMF信号;而且,通讯录接收设备也可以根据DTMF编码规则识别出该特定的DTMF信号对应的搜索信息为“***#”,从而实现通讯录发送设备与通讯录接收设备之间的相互通信。Among them, it is necessary to predefine the corresponding relationship between the search information and the search signal, so that the preset coding rules can realize mutual conversion between the search information and the search signal. The search signal can be a DTMF signal, and the preset encoding rule can be a DTMF encoding rule. For example, the address book sending device can convert the search information "***#" into a specific DTMF signal according to the DTMF encoding rule; and, the communication The directory receiving device can also identify the search information corresponding to the specific DTMF signal as "***#" according to the DTMF coding rules, so as to realize the mutual communication between the address book sending device and the address book receiving device.
13)、向所述通讯录接收设备发送所述搜索信号;13) Sending the search signal to the address book receiving device;
其中,在通讯录发送设备生成搜索信号以后,便将该搜索信号发送给通讯录接收设备,以便于该通讯录接收设备在根据预设编码规则将搜索信号转换成搜索信息时,根据预设编码规则将搜索应答信息转换成搜索应答信号发送给通讯录发送设备。Wherein, after the address book sending device generates the search signal, it sends the search signal to the address book receiving device, so that when the address book receiving device converts the search signal into search information according to the preset coding rules, The rule converts the search response information into a search response signal and sends it to the address book sending device.
搜索应答信息为通讯录发送设备和通讯录接收设备均可以识别的信息。在通讯录接收设备向通讯录发送设备发送搜索应答信号时,说明通讯录接收设备已经做好了接收通讯录信息的准备,并告知通讯录发送设备。另外,搜索应答信息的表现形式为多种,搜索信息由数字来表示,也可以由特殊符号来表示,还可以由数字与特殊符号的任意组合来表示。例如,搜索信息为“##”。The search response information is information that can be identified by both the address book sending device and the address book receiving device. When the address book receiving device sends a search response signal to the address book sending device, it indicates that the address book receiving device is ready to receive address book information, and notifies the address book sending device. In addition, there are various forms of expression of the search response information, and the search information may be represented by numbers, special symbols, or any combination of numbers and special symbols. For example, the search information is "##".
14)、接收所述通讯录接收设备发送的所述搜索应答信号;14) Receiving the search response signal sent by the address book receiving device;
其中,在通讯录发送设备接收到搜索应答信号以后,并不能根据搜索应答信号了解到通讯录接收设备已经做好了接收通讯录信息的准备。通讯录发送设备需要根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息,通过对搜索应答信息进行识别才能够得知通讯录接收设备已经做好了接收通讯录信息的准备。Wherein, after the address book sending device receives the search response signal, it cannot know that the address book receiving device is ready to receive address book information according to the search response signal. The address book sending device needs to convert the search response signal into search response information according to the preset coding rules, and only by identifying the search response information can it know that the address book receiving device is ready to receive address book information.
15)、当根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息时,执行步骤S101。15) When the search response signal is converted into search response information according to the preset encoding rule, step S101 is executed.
其中,需要预先定义好搜索应答信息与搜索应答信号之间的对应关系,这样预设编码规则便可以实现搜索应答信息与搜索应答信号之间的相互转换。搜索应答信号可以为DTMF信号,预设编码规则可以为DTMF编码规则,例如,通讯录接收设备可以根据DTMF编码规则将所述搜索应答信息“##”转换成一个特定的DTMF信号;而且,通讯录发送设备也可以根据DTMF编码规则识别出该特定的DTMF信号对应的搜索信息为“##”,从而实现通讯录发送设备与通讯录接收设备之间的相互通信。Among them, the corresponding relationship between the search response information and the search response signal needs to be defined in advance, so that the preset encoding rules can realize the mutual conversion between the search response information and the search response signal. The search response signal can be a DTMF signal, and the preset encoding rule can be a DTMF encoding rule. For example, the address book receiving device can convert the search response information "##" into a specific DTMF signal according to the DTMF encoding rule; and, the communication The directory sending device can also identify the search information corresponding to the specific DTMF signal as "##" according to the DTMF coding rules, so as to realize the mutual communication between the address book sending device and the address book receiving device.
一旦通讯录发送设备根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息,说明通讯录发送设备就会了解到通讯录接收设备已经做好接收通讯录信息的准备,那么便可以执行步骤S101,以进入获取通讯录信息的步骤。Once the address book sending device converts the search response signal into search response information according to the preset encoding rules, it means that the address book sending device will know that the address book receiving device is ready to receive address book information, and then it can Step S101 is executed to enter the step of obtaining address book information.
在步骤11)至步骤15)中,这5个步骤可以使通讯录发送设备搜索到通讯录接收设备,以便于通讯录发送设备在后续步骤可以向通讯录接收设备发送通讯录信息。In step 11) to step 15), these five steps enable the address book sending device to search for the address book receiving device, so that the address book sending device can send address book information to the address book receiving device in subsequent steps.
实施例二Embodiment two
请参见图2所示,图2所示的为另一种通讯录信息的传输方法的流程图。本实施例是在实施例一基础上的一种扩充,关于本实施例方法步骤中与实施例一重复性的内容可参见实施例一的内容,在本实施例中不再赘述。图2所示的方法不仅能够减少硬件资源的投入,通用性好,而且可以接收通讯录接收设备发送的反馈信号,在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,再重新向通讯录接收设备发送通讯录信号,以使通讯录接收设备接收到正确的通讯录信号。该方法包括:Please refer to FIG. 2 , which is a flow chart of another method for transmitting address book information. This embodiment is an extension on the basis of Embodiment 1. For content that is repeated in the method steps of this embodiment and Embodiment 1, please refer to the content of Embodiment 1, which will not be repeated in this embodiment. The method shown in Figure 2 can not only reduce the investment of hardware resources, but also has good versatility, and can receive the feedback signal sent by the address book receiving device, and determine that the address book receiving device has not successfully received the communication according to the feedback information. When the address book signal is received, the address book signal is sent to the address book receiving device again, so that the address book receiving device receives the correct address book signal. The method includes:
步骤S201、获取通讯录信息;Step S201, obtaining address book information;
步骤S202、根据预设编码规则将通讯录信息转换成通讯录信号;Step S202, converting address book information into address book signals according to preset coding rules;
步骤S203、向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息;Step S203, sending the address book signal to the address book receiving device, so that the address book receiving device converts the address book signal into the address book information according to the preset encoding rule;
步骤S204、接收通讯录接收设备发送的反馈信号;Step S204, receiving the feedback signal sent by the address book receiving device;
其中,在本发明实施例执行完步骤S203之后,通讯录接收设备已经接收到该通讯录信号。如果通讯录接收设备识别出通讯录信号存在错误,那么通讯录接收设备会向通讯录发送设备发送反馈信号,要求通讯录发送设备重新发送通讯录信号。在通讯录发送设备接收通讯录接收设备发送的反馈信号之后,通过后续步骤可以识别出该反馈信号所表示的含义。Wherein, after step S203 is executed in the embodiment of the present invention, the address book receiving device has received the address book signal. If the address book receiving device recognizes that there is an error in the address book signal, the address book receiving device will send a feedback signal to the address book sending device, requiring the address book sending device to resend the address book signal. After the address book sending device receives the feedback signal sent by the address book receiving device, the meaning of the feedback signal can be identified through subsequent steps.
步骤S205、根据所述预设编码规则将所述反馈信号转换成反馈信息;Step S205, converting the feedback signal into feedback information according to the preset encoding rule;
其中,在实施例一中已经说明如何根据预设编码规则来使信号和信息之间相互转换,所以关于此内容,可以参见实施例一的内容,在此不再赘述。Wherein, in the first embodiment, it has been explained how to convert signals and information according to the preset encoding rules, so regarding this content, reference may be made to the content of the first embodiment, and details are not repeated here.
步骤S206、当根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。Step S206, when it is determined according to the feedback information that the address book receiving device has not successfully received the address book signal, resending the address book signal to the address book receiving device.
其中,在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,说明通讯录接收设备之前接收到的通讯录信号存在错误,需要通讯录发送设备重新发送一次通讯录信号。由于反馈信息为通讯录发送设备和通讯录接收设备均能够识别的信息,所以通讯录发送设备在根据所述预设编码规则将所述反馈信号转换成反馈信息时,便可以得知反馈信息的含义,如果识别出反馈信息的含义为通讯录接收设备未成功接收通讯录信号,那么通讯录发送设备便需要重新发送一次通讯录信号,以使通讯录接收设备再接收一次该通讯录信号。如果识别出反馈信息的含义为通讯录接收设备成功接收通讯录信号,那么通讯录发送设备便可以获取下一条通讯录信息,并执行步骤S202,以使下一条通讯录信息被成功的转换成通讯录信号,并将该通讯录信号发送至通讯录接收设备中,直到所有待发送的通讯录信息全部被发送完成为止。Wherein, when it is determined according to the feedback information that the address book receiving device has not successfully received the address book signal, it means that there is an error in the address book signal received by the address book receiving device before, and the address book sending device needs to resend the communication recording signal. Since the feedback information is information that can be recognized by both the address book sending device and the address book receiving device, the address book sending device can know the feedback information when converting the feedback signal into feedback information according to the preset coding rules. Meaning, if it is recognized that the meaning of the feedback information is that the address book receiving device has failed to receive the address book signal, then the address book sending device needs to resend the address book signal so that the address book receiving device can receive the address book signal again. If it is recognized that the meaning of the feedback information is that the address book receiving device successfully receives the address book signal, then the address book sending device can obtain the next address book information, and perform step S202, so that the next address book information is successfully converted into a communication The address book signal is sent to the address book receiving device until all the address book information to be sent has been sent.
在图2所示的实施例中,本发明实施例提供的方案不仅能够减少硬件资源的投入,通用性好,而且在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,通讯录发送设备可以重新发送通讯录信号,以使通讯录接收设备接收到正确的通讯录信号。In the embodiment shown in FIG. 2 , the solution provided by the embodiment of the present invention can not only reduce the investment of hardware resources, but also has good versatility, and it is determined that the address book receiving device fails to receive the communication according to the feedback information. When the address book signal is received, the address book sending device can resend the address book signal, so that the address book receiving device receives the correct address book signal.
实施例三Embodiment three
请参见图3所示,图3所示的为又一种通讯录信息的传输方法的流程图。本实施例提供的方法可以应用在通讯录接收设备中,而实施例一提供的方法可以应用在通讯录发送设备中,所以本实施例提供的方法可以与实施例一提供的方法相互配合使用。本实施例可以应用在通讯录接收设备中,本实施例不仅可以在通讯录发送设备与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该方法包括:Please refer to FIG. 3 , which is a flow chart of another method for transmitting address book information. The method provided in this embodiment can be applied to an address book receiving device, and the method provided in Embodiment 1 can be applied to an address book sending device, so the method provided in this embodiment can be used in conjunction with the method provided in Embodiment 1. This embodiment can be applied to an address book receiving device. This embodiment can not only reduce the investment in hardware resources and reduce costs when transmitting address book information between the address book sending device and the address book receiving device, but also improve versatility. So that users can get a better experience. The method includes:
步骤S301、接收通讯录发送设备发送的通讯录信号;Step S301, receiving an address book signal sent by an address book sending device;
在步骤S301之前,通讯录发送设备已经按照预设编码规则将通讯录信息转换成通讯录信号,并将该通讯录信号发送给通讯录接收设备。通讯录接收设备在接收到该通讯录信号以后,需要利用到后续步骤将该通讯录信号再还原成通讯录信息。Before step S301, the address book sending device has converted the address book information into an address book signal according to a preset encoding rule, and sent the address book signal to the address book receiving device. After receiving the address book signal, the address book receiving device needs to use subsequent steps to restore the address book signal to address book information.
本发明实施例可以满足多种应用场景,通讯录发送设备可以为手机、座机电话、平板电脑或笔记本电脑等设备,通讯录接收设备也可以为手机、座机电话、平板电脑或笔记本电脑等设备。例如,通讯录发送设备为手机,通讯录接收设备为座机电话,此种场景可以满足手机向座机电话发送通讯录信息;再如,通讯录发送设备为座机电话,通讯录接收设备为手机,此种场景可以满足座机电话向手机发送通讯录信息;又如,通讯录发送设备和通讯录接收设备均为座机电话,此种场景可以满足座机电话向座机电话发送通讯录信息;又如,通讯录发送设备为平板电脑,通讯录接收设备为座机电话,此种场景可以满足平板电脑向座机电话发送通讯录信息。The embodiment of the present invention can meet various application scenarios. The address book sending device can be a mobile phone, a landline phone, a tablet computer, or a notebook computer, and the address book receiving device can also be a mobile phone, a landline phone, a tablet computer, or a notebook computer. For example, the address book sending device is a mobile phone, and the address book receiving device is a landline phone. This scenario can satisfy the mobile phone to send address book information to the landline phone; This scenario can meet the needs of the landline phone to send address book information to the mobile phone; another example, the address book sending device and the address book receiving device are both landline phones, this scenario can meet the needs of the landline phone to send address book information to the landline phone; another example, the address book The sending device is a tablet, and the address book receiving device is a landline phone. This scenario can satisfy the tablet computer to send address book information to the landline phone.
在不同的应用场景下,接收通讯录发送设备发送的通讯录信号的方式也不尽相同。如果通讯录发送设备与通讯录接收设备已经建立好通信连接,那么通讯录接收设备可以通过该通信连接接收通讯录发送设备发送的通讯录信号。如果通讯录发送设备与通讯录接收设备未建立好通信连接,但是通讯录接收设备在通讯录发送设备的预设范围内,那么通讯录发送设备可以将通讯录信号调制成声音信号,通过扬声器将该声音信号播放出去,以便于通讯录接收设备通过话筒接收到该声音信号。例如,通讯录发送设备与通讯录接收设备的距离为1米,那么通讯录发送设备可以先将DTMF信号调制成声音信号,然后通过扬声器将调制好的声音信号播放出去,以使1米内的通讯录接收设备能够通过话筒接收到声音信号。In different application scenarios, the manner of receiving the address book signal sent by the address book sending device is also different. If a communication connection has been established between the address book sending device and the address book receiving device, the address book receiving device can receive the address book signal sent by the address book sending device through the communication connection. If the address book sending device has not established a good communication connection with the address book receiving device, but the address book receiving device is within the preset range of the address book sending device, then the address book sending device can modulate the address book signal into a sound signal, and the address book signal will be transmitted through the speaker. The sound signal is played out so that the address book receiving device can receive the sound signal through the microphone. For example, the distance between the address book sending device and the address book receiving device is 1 meter, then the address book sending device can first modulate the DTMF signal into a sound signal, and then play the modulated sound signal through the speaker, so that the communication within 1 meter The recording receiving device can receive the sound signal through the microphone.
步骤S302、根据预设编码规则将通讯录信号转换成通讯录信息;Step S302, converting the address book signal into address book information according to a preset encoding rule;
其中,预设编码规则可以包括UTF-8(8-bit Unicode Transformation Format,万国码)编码规则、DTMF(Dual Tone Multi Frequency,双音多频)编码规则和命令编码规则。UTF-8编码规则和DTMF编码规则在国际上都是较为常用的编码规则。命令编码规则为预先设定好的规则,预先定义好命令信息与命令字的对应关系,通常将通讯录信息中的姓名、电话号码或家庭住址等设定为命令信息,将数字和特殊符号的组合设定为命令字,命令编码规则可以实现命令信息和命令字的相互转换。例如,在命令编码规则中,将命令信息“姓名”对应为命令字“*01#”,将命令信息“电话号码”对应为命令字“*02#”,将命令信息“家庭住址”对应为命令字“*03#”,等等。Among them, the preset encoding rules may include UTF-8 (8-bit Unicode Transformation Format, Universal Code) encoding rules, DTMF (Dual Tone Multi Frequency, Dual Tone Multi Frequency) encoding rules and command encoding rules. UTF-8 encoding rules and DTMF encoding rules are relatively commonly used encoding rules in the world. The command coding rules are pre-set rules, which pre-define the corresponding relationship between command information and command words. Usually, the name, phone number or home address in the address book information is set as the command information, and the numbers and special symbols are set as command information. The combination is set as a command word, and the command encoding rules can realize the mutual conversion between command information and command words. For example, in the command encoding rule, the command information "name" is corresponding to the command word "*01#", the command information "telephone number" is corresponding to the command word "*02#", and the command information "home address" is corresponding to Command word "*03#", etc.
当然,预设编码规则也可以为其他类型的编码规则,只要能够实现将通讯录信息转换成通讯录信号的规则均可。Of course, the preset encoding rules may also be other types of encoding rules, as long as the rules for converting address book information into address book signals can be realized.
下面结合上述UTF-8编码规则、DTMF编码规则和命令编码规则简要介绍转换的具体过程。在将通讯录信息转换成通讯录信号的过程中,通讯录信息存在以下两种情况:The specific process of conversion is briefly introduced below in combination with the above-mentioned UTF-8 encoding rules, DTMF encoding rules and command encoding rules. In the process of converting address book information into address book signals, the address book information has the following two situations:
第一种情况,在DTMF编码规则将通讯录信号转换成命令字和数字信息之后,确定命令字为第一命令字。如果确定命令字为第一命令字,那么按照命令编码规则将第一命令字转换成第一命令信息,按照DTMF编码规则将数字信息转换成字符信息,并将第一命令信息和字符信息作为通讯录信息。In the first case, after the address book signal is converted into a command word and digital information by the DTMF encoding rule, the command word is determined to be the first command word. If it is determined that the command word is the first command word, then convert the first command word into the first command information according to the command encoding rules, convert the digital information into character information according to the DTMF encoding rules, and use the first command information and character information as a communication record information.
例如,命令编码规则已经将“姓名”预先定义为第一命令信息,第一命令信息“姓名”对应第一命令字为“*01#”。在按照DTMF编码规则将通讯录信号转换成命令字“*01#”和数字信息“00010002”之后,由于命令字“*01#”为第一命令字,所以按照命令编码规则将第一命令字“*01#”转换成第一命令信息“姓名”,按照DTMF编码规则将数字信息“00010002”转换成字符信息“张三”,并将第一命令信息“姓名”和字符信息“张三”作为通讯录信息“姓名张三”。For example, the command encoding rule has pre-defined "name" as the first command information, and the first command information "name" corresponds to the first command word "*01#". After the address book signal is converted into the command word "*01#" and digital information "00010002" according to the DTMF encoding rule, since the command word "*01#" is the first command word, the first command word is converted according to the command encoding rule "*01#" is converted into the first command information "name", and the digital information "00010002" is converted into the character information "Zhang San" according to the DTMF coding rules, and the first command information "name" and the character information "Zhang San" are converted into As the address book information "name Zhang San".
第二种情况,在DTMF编码规则将通讯录信号转换成命令字和数字信息之后,确定命令字为第二命令字。如果确定命令字为第二命令字,那么按照命令编码规则将第二命令字转换成第二命令信息,并将第二命令信息和数字信息作为通讯录信息。In the second case, after the address book signal is converted into a command word and digital information by the DTMF encoding rule, the command word is determined to be the second command word. If it is determined that the command word is the second command word, the second command word is converted into second command information according to the command encoding rule, and the second command information and digital information are used as address book information.
例如,命令编码规则已经将“电话号码”预先定义为第二命令信息,第二命令信息“电话号码”对应第二命令字“*02#”。在按照DTMF编码规则将通讯录信号转换成命令字“*02#”和数字信息“15912345678”之后,由于命令字“*02#”为第二命令字,所以按照命令编码规则将第二命令字“*02#”转换成第二命令信息“电话号码”,并将第二命令信息“电话号码”和数字信息“15912345678”作为通讯录信息“电话号码15912345678”。For example, the command encoding rule has pre-defined "telephone number" as the second command information, and the second command information "telephone number" corresponds to the second command word "*02#". After the address book signal is converted into the command word "*02#" and digital information "15912345678" according to the DTMF encoding rule, since the command word "*02#" is the second command word, the second command word is converted according to the command encoding rule "*02#" is converted into the second command information "telephone number", and the second command information "telephone number" and the digital information "15912345678" are used as the address book information "telephone number 15912345678".
在上述两种情况中,数字信息为0至9之间的整数;字符信息为汉字或英文等文字信息;命令字为数字和特殊符号的组合,特殊符号为#或*等符号。In the above two cases, the digital information is an integer between 0 and 9; the character information is text information such as Chinese characters or English; the command word is a combination of numbers and special symbols, and the special symbols are symbols such as # or *.
步骤S303、存储通讯录信息。Step S303, storing address book information.
在图3所示的实施例中,通讯录发送设备将通讯录信息转化成通讯录信号发送给通讯录接收设备,通讯录接收设备再将接收到的通讯录信号转化成通讯录信息,以实现通讯录信息的传输。在通讯录发送设备与通讯录接收设备传输信息的过程中,不需要用到其他任何的辅助设备即可实现,因此,本发明实施例提供的方案不仅能够减少硬件资源的投入,从而降低了硬件成本,而且适用的环境更加广泛,通用性好。In the embodiment shown in Figure 3, the address book sending device converts the address book information into an address book signal and sends it to the address book receiving device, and the address book receiving device converts the received address book signal into address book information to realize Transmission of address book information. In the process of transmitting information between the address book sending device and the address book receiving device, it can be realized without any other auxiliary equipment. Therefore, the solution provided by the embodiment of the present invention can not only reduce the investment of hardware resources, thereby reducing the The cost, and the applicable environment is more extensive, and the versatility is good.
在本实施例的一个可选的方案中,在步骤S301之前,还可以包括以下步骤:In an optional solution of this embodiment, before step S301, the following steps may also be included:
21)、接收所述通讯录发送设备发送的搜索信号,所述搜索信号为所述通讯录发送设备根据所述预设编码规则将所述搜索信息转换得到的;21) Receive a search signal sent by the address book sending device, the search signal is obtained by the address book sending device converting the search information according to the preset encoding rule;
22)、当根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。22) When the search signal is converted into search information according to the preset coding rules, a search response signal is sent to the address book sending device, and the search response signal is to convert the search information according to the preset coding rules Response information converted.
关于该可选的方案的具体内容,可以与实施例一中的步骤11)至步骤15)相互参见即可,在此不再赘述。For the specific content of this optional solution, it is sufficient to refer to the steps 11) to 15) in the first embodiment, and details will not be repeated here.
实施例四Embodiment four
请参见图4所示,图4是一种通讯录信息的传输装置1的模块图,本实施例公开的装置1可以不借助任何外部设备,即可实现通讯录发送设备与通讯录接收设备7之间通讯录信息的传输,从而减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置1包括:Please refer to FIG. 4, which is a block diagram of an address book information transmission device 1. The device 1 disclosed in this embodiment can realize the address book sending device and the address book receiving device 7 without any external equipment. The transmission of address book information between contacts reduces the investment in hardware resources, reduces costs, and improves versatility, thereby enabling users to obtain a better experience. The device 1 includes:
第一获取模块11,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块12;The first acquisition module 11 is configured to acquire address book information, and transmit the address book information to the first conversion module 12;
所述第一转换模块12,用于从所述第一获取模块11接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至第一发送模块13;The first conversion module 12 is configured to receive the address book information from the first acquisition module 11, and convert the address book information into an address book signal according to a preset coding rule, and then convert the address book signal into an address book signal transmitted to the first sending module 13;
所述第一发送模块13,用于从所述第一转换模块12接收所述通讯录信号,并向通讯录接收设备7发送所述通讯录信号,以便于所述通讯录接收设备7根据所述预设编码规则将通讯录信号转换成所述通讯录信息。The first sending module 13 is configured to receive the address book signal from the first converting module 12, and send the address book signal to the address book receiving device 7, so that the address book receiving device 7 can transmit the address book signal according to the address book receiving device 7. The address book signal is converted into the address book information according to the preset encoding rule.
在一个可选择的方案中,第一转换模块12可以包括以下单元:In an optional solution, the first conversion module 12 may include the following units:
第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述第一发送模块13,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;The first execution unit is configured to convert the first command information into a first command word according to the command encoding rule when the address book information includes the first command information and character information, and convert the character according to the first encoding rule Information is converted into the first digital information, the first command word and the first digital information are converted into the first DTMF signal according to the DTMF encoding rule, and the first DTMF signal is used as the address book signal, and the The first sending module 13, the command encoding rule is predefined and used to realize the mutual conversion between command information and command words, and the first command information is an address book field in the address book information;
第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述第一发送模块13,所述第二命令信息为所述通讯录信息中的通讯录字段。The second execution unit is configured to convert the second command information into a second command word according to the command encoding rule when the address book information includes the second command information and the second digital information, and encode according to the DTMF The rule converts the second command word and the second digital information into a second DTMF signal, uses the second DTMF signal as the address book signal, executes the first sending module 13, and the first sending module 13. The second command information is an address book field in the address book information.
在另一个可选择的方案中,第一发送模块13可以包括以下单元:In another optional solution, the first sending module 13 may include the following units:
调制单元,用于将所述DTMF信号调制成声音信号;a modulating unit, configured to modulate the DTMF signal into a sound signal;
播放单元,用于通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备7接收到所述声音信号。The playback unit is configured to play the sound signal through a speaker, so that the address book receiving device 7 can receive the sound signal.
在另一个可选择的方案中,本实施例提供的装置1还可以包括以下模块:In another optional solution, the device 1 provided in this embodiment may also include the following modules:
第二获取模块14,用于获取搜索信息,并将该所述搜索信息传输至第二转换模块15;The second acquisition module 14 is configured to acquire search information, and transmit the search information to the second conversion module 15;
所述第二转换模块15,用于从所述第二获取模块14接收所述搜索信息,并根据所述预设编码规则将所述搜索信息转换成搜索信号,再将所述搜索信号发送至第二发送模块16;The second conversion module 15 is configured to receive the search information from the second acquisition module 14, convert the search information into a search signal according to the preset encoding rule, and then send the search signal to The second sending module 16;
所述第二发送模块16,用于从所述第二转换模块15接收所述搜索信号,并向所述通讯录接收设备7发送所述搜索信号,以便于所述通讯录接收设备7在根据所述预设编码规则将所述搜索信号转换成所述搜索信息时,根据所述预设编码规则将搜索应答信息转换成搜索应答信号;The second sending module 16 is configured to receive the search signal from the second converting module 15, and send the search signal to the address book receiving device 7, so that the address book receiving device 7 is configured according to the When the preset encoding rule converts the search signal into the search information, convert the search response information into a search response signal according to the preset encoding rule;
第一接收模块17,用于接收所述通讯录接收设备7发送的所述搜索应答信号,并将所述搜索应答信号发送至第一执行模块18;The first receiving module 17 is configured to receive the search response signal sent by the address book receiving device 7, and send the search response signal to the first execution module 18;
所述第一执行模块18,用于接收所述第一接收模块17发送的所述搜索应答信号,并在根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息时,执行所述第一获取模块。The first execution module 18 is configured to receive the search response signal sent by the first receiving module 17, and execute the search response signal when converting the search response signal into search response information according to the preset encoding rule. Describe the first acquisition module.
在图4所示的实施例中,本实施例提供的通讯录信息的传输装置1的功能与实施例一实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例一中的内容,在此不再一一赘述。In the embodiment shown in Fig. 4, the function of the address book information transmission device 1 provided by this embodiment corresponds to the function realized in the first embodiment, so the functions of each module in this embodiment can be referred to in the first embodiment The content will not be repeated here.
实施例五Embodiment five
请参见图5所示,图5是另一种通讯录信息的传输装置2的模块图,本实施例公开的装置2不仅能够减少硬件资源的投入,通用性好,而且可以接收通讯录接收设备7发送的反馈信号音,在判断出反馈信息为负确认信息时,在重新向通讯录接收设备7发送通讯录信号音,以使通讯录接收设备7接收到正确的通讯录信号音。该装置2包括:Please refer to Figure 5, which is a block diagram of another address book information transmission device 2. The device 2 disclosed in this embodiment can not only reduce the investment of hardware resources, but also has good versatility, and can receive address book receiving equipment 7. When the feedback signal tone sent by 7 is judged to be negative confirmation information, the address book signal tone is sent to the address book receiving device 7 again, so that the address book receiving device 7 receives the correct address book signal tone. The device 2 includes:
第一获取模块21,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块22;The first acquisition module 21 is configured to acquire address book information, and transmit the address book information to the first conversion module 22;
所述第一转换模块22,用于从所述第一获取模块21接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至第一发送模块23;The first conversion module 22 is configured to receive the address book information from the first acquisition module 21, and convert the address book information into an address book signal according to a preset coding rule, and then convert the address book signal into an address book signal transmitted to the first sending module 23;
所述第一发送模块23,用于从所述第一转换模块22接收所述通讯录信号,并向通讯录接收设备7发送所述通讯录信号,以便于所述通讯录接收设备7根据所述预设编码规则将通讯录信号转换成所述通讯录信息。The first sending module 23 is configured to receive the address book signal from the first conversion module 22, and send the address book signal to the address book receiving device 7, so that the address book receiving device 7 The address book signal is converted into the address book information according to the preset encoding rule.
第二接收模块24,用于接收所述通讯录接收设备7发送的反馈信号,并将所述反馈信号传输至第三转换模块25;The second receiving module 24 is configured to receive the feedback signal sent by the address book receiving device 7, and transmit the feedback signal to the third converting module 25;
第三转换模块25,用于从所述第二接收模块24接收所述反馈信号,并根据所述预设编码规则将所述反馈信号转换成反馈信息,再将所述反馈信息发送至第二执行模块26;The third conversion module 25 is configured to receive the feedback signal from the second receiving module 24, convert the feedback signal into feedback information according to the preset encoding rule, and then send the feedback information to the second execution module 26;
所述第二执行模块26,用于从所述第三转换模块25接收所述反馈信息,并在根据所述反馈信息确定出所述通讯录接收设备7未成功接收所述通讯录信号时,向所述通讯录接收设备7重新发送所述通讯录信号。The second executing module 26 is configured to receive the feedback information from the third conversion module 25, and when it is determined according to the feedback information that the address book receiving device 7 fails to receive the address book signal, The address book signal is resent to the address book receiving device 7 .
在图5所示的实施例中,本实施例提供的通讯录信息的传输装置2的功能与实施例二实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例二中的内容,在此不再一一赘述。In the embodiment shown in Figure 5, the function of the address book information transmission device 2 provided in this embodiment corresponds to the function realized in Embodiment 2, so the functions of each module in this embodiment can be referred to in Embodiment 2 The content will not be repeated here.
实施例六Embodiment six
请参见图6所示,图6是又一种通讯录信息的传输装置3的模块图,本实施例公开的装置3不仅可以在通讯录发送设备8与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置3包括:Please refer to FIG. 6, which is a block diagram of another device 3 for transmitting address book information. The device 3 disclosed in this embodiment can not only transmit address book information between the address book sending device 8 and the address book receiving device. , reduce the investment of hardware resources, reduce costs, and improve versatility, so that users can obtain better experience. The device 3 includes:
第一接收模块31,用于接收通讯录发送设备8发送的通讯录信号,所述通讯录信号为所述通讯录发送设备8根据预设编码规则将通讯录信息转换得到的,并将所述通讯录信号传输至转换模块32;The first receiving module 31 is configured to receive the address book signal sent by the address book sending device 8, the address book signal is obtained by the address book sending device 8 converting the address book information according to a preset coding rule, and the The address book signal is transmitted to the conversion module 32;
所述转换模块32,用于从所述第一接收模块31接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块33;The conversion module 32 is configured to receive the address book signal from the first receiving module 31, and convert the address book signal into the address book information according to the preset encoding rule, and then convert the address book information transmitted to the storage module 33;
所述存储模块33,用于从所述转换模块32接收通讯录信息,并存储所述通讯录信息。The storage module 33 is configured to receive address book information from the conversion module 32 and store the address book information.
在一个优选的方案中,转换模块32可以包括以下单元:In a preferred solution, the conversion module 32 may include the following units:
转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;A conversion unit is used to convert the address book signal into command words and digital information according to the DTMF coding rules, and the address book signal is a DTMF signal;
第一执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块33,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;The first execution unit is configured to convert the first command word into first command information according to the command encoding rule when the command word is the first command word, and convert the digital information into characters according to the first encoding rule information, and use the first command information and the character information as the address book information to execute the storage module 33, the command encoding rule is predefined and used to realize the communication between the command information and the command word mutual conversion, the first command information is an address book field in the address book information;
第二执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块33,所述第二命令信息为所述通讯录信息中的通讯录字段。The second execution unit is configured to convert the second command word into second command information according to the command encoding rules when the command word is the second command word, and convert the second command information and the digital information As the address book information, the storage module 33 is executed, and the second command information is an address book field in the address book information.
在另一个优选的方案中,接收模块31包括以下单元:In another preferred solution, the receiving module 31 includes the following units:
接收单元,用于通过话筒接收声音信号,所述声音信号为所述通讯录发送设备8根据DTMF信号调制出来的;a receiving unit, configured to receive a sound signal through a microphone, and the sound signal is modulated by the address book sending device 8 according to a DTMF signal;
还原单元,用于根据所述声音信号还原出所述DTMF信号。A restoring unit, configured to restore the DTMF signal according to the sound signal.
在另一个可选择的方案中,本实施例提供的装置3还可以包括以下模块:In another optional solution, the device 3 provided in this embodiment may also include the following modules:
第二接收模块34,用于接收所述通讯录发送设备8发送的搜索信号,所述搜索信号为所述通讯录发送设备8根据所述预设编码规则将所述搜索信息转换得到的;The second receiving module 34 is configured to receive the search signal sent by the address book sending device 8, the search signal is obtained by the address book sending device 8 converting the search information according to the preset encoding rule;
执行模块35,用于在根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备8,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。An execution module 35, configured to send a search response signal to the address book sending device 8 when converting the search signal into search information according to the preset encoding rule, the search response signal is according to the preset The coding rules are obtained by transforming the search response information.
在图6所示的实施例中,本实施例提供的通讯录信息的传输装置3的功能与实施例三实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例三中的内容,在此不再一一赘述。In the embodiment shown in Figure 6, the function of the address book information transmission device 3 provided by this embodiment corresponds to the function realized in the third embodiment, so the functions of each module in this embodiment can be referred to in the third embodiment The content will not be repeated here.
实施例七Embodiment seven
请参见图7所示,图7是又一种通讯录信息的传输装置的模块图,本实施例公开的装置可以不借助任何外部设备,即可实现通讯录发送设备与通讯录接收设备之间通讯录信息的传输,从而减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置包括:Please refer to Figure 7. Figure 7 is a block diagram of another device for transmitting address book information. The device disclosed in this embodiment can realize communication between the address book sending device and the address book receiving device without any external equipment. The transmission of the address book information reduces the investment of hardware resources, reduces the cost, and can improve the versatility, so that the user can obtain a better experience. The unit includes:
处理器41和存储器42,其中,存储器42内存储有处理器41能够执行的操作指令,处理器41读取存储器42内的操作指令用于实现以下方法:获取通讯录信息;根据预设编码规则将所述通讯录信息转换成通讯录信号;向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息。A processor 41 and a memory 42, wherein the memory 42 stores operation instructions that the processor 41 can execute, and the processor 41 reads the operation instructions in the memory 42 to implement the following methods: obtain address book information; Converting the address book information into an address book signal; sending the address book signal to an address book receiving device, so that the address book receiving device converts the address book signal into the address book information according to the preset encoding rule .
在图7所示的实施例中,本实施例提供的通讯录信息的传输装置的功能与实施例一实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例一中的内容,在此不再一一赘述。In the embodiment shown in Figure 7, the function of the address book information transmission device provided by this embodiment corresponds to the function realized in the first embodiment, so for the functions of each module in this embodiment, please refer to the content in the first embodiment , which will not be repeated here.
实施例八Embodiment Eight
请参见图8所示,图8是又一种通讯录信息的传输装置的模块图,本实施例公开的装置不仅可以在通讯录发送设备与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置包括:Please refer to FIG. 8, which is a block diagram of another device for transmitting address book information. The device disclosed in this embodiment can not only transmit address book information between an address book sending device and an address book receiving device, but also reduce The investment of hardware resources reduces costs and improves versatility, so that users can obtain better experience. The unit includes:
处理器51和存储器52,其中,存储器52内存储有处理器51能够执行的操作指令,处理器51读取存储器52内的操作指令用于实现以下方法:接收通讯录发送设备发送的通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的;根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息;存储所述通讯录信息。A processor 51 and a memory 52, wherein the memory 52 stores operating instructions executable by the processor 51, and the processor 51 reads the operating instructions in the memory 52 to implement the following method: receiving an address book signal sent by an address book sending device , the address book signal is obtained by converting the address book information according to a preset encoding rule by the address book sending device; converting the address book signal into the address book information according to the preset encoding rule; storing the Contact information.
在图8所示的实施例中,本实施例提供的通讯录信息的传输装置的功能与实施例三实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例三中的内容,在此不再一一赘述。In the embodiment shown in Fig. 8, the function of the address book information transmission device provided by this embodiment corresponds to the function realized by the third embodiment, so for the functions of each module of this embodiment, please refer to the content in the third embodiment , which will not be repeated here.
实施例九Embodiment nine
请参见图9所示,图9是一种通讯录信息的传输系统的模块图,本实施例公开的方案不仅可以在通讯录发送设备与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该系统包括:通讯录发送设备8和通讯录接收设备7;其中,Please refer to FIG. 9. FIG. 9 is a block diagram of an address book information transmission system. The solution disclosed in this embodiment can not only reduce the number of hardware when transmitting address book information between the address book sending device and the address book receiving device, The investment of resources reduces costs and improves versatility, so that users can get a better experience. The system includes: an address book sending device 8 and an address book receiving device 7; wherein,
所述通讯录发送设备8包括:The address book sending device 8 includes:
获取模块81,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块82;An acquisition module 81, configured to acquire address book information, and transmit the address book information to a first conversion module 82;
所述第一转换模块82,用于从所述获取模块81接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至发送模块83;The first conversion module 82 is configured to receive the address book information from the acquisition module 81, convert the address book information into an address book signal according to a preset encoding rule, and then transmit the address book signal to Sending module 83;
所述发送模块83,用于从所述第一转换模块82接收所述通讯录信号,并向通讯录接收设备的接收模块发送所述通讯录信号;The sending module 83 is configured to receive the address book signal from the first conversion module 82, and send the address book signal to the receiving module of the address book receiving device;
所述通讯录接收设备7包括:The address book receiving device 7 includes:
所述接收模块71,用于接收通讯录发送设备的发送模块发送的通讯录信号,并将所述通讯录信号传输至第二转换模块72;The receiving module 71 is configured to receive the address book signal sent by the sending module of the address book sending device, and transmit the address book signal to the second conversion module 72;
所述第二转换模块72,用于从所述接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块73;The second conversion module 72 is configured to receive the address book signal from the receiving module, convert the address book signal into the address book information according to the preset coding rules, and then transmit the address book information to the storage module 73;
所述存储模块73,用于从所述第二转换模块72接收通讯录信息,并存储所述通讯录信息。The storage module 73 is configured to receive address book information from the second conversion module 72 and store the address book information.
请参见图10所示,图10为是一种通讯录信息的传输系统的模块图,图10所示的模块图相对于图9而言细化了通讯录发送设备8和通讯录接收设备7中各个模块下的单元。Please refer to FIG. 10, which is a block diagram of a transmission system for address book information. Compared with FIG. 9, the block diagram shown in FIG. 10 refines the address book sending device 8 and the address book receiving device 7. Units under each module in .
在图10所示的实施例中,所述通讯录信号为DTMF信号,第一转换模块82可以包括以下单元:In the embodiment shown in FIG. 10, the address book signal is a DTMF signal, and the first conversion module 82 may include the following units:
第一执行单元821,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,执行所述发送模块83的调制单元831,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;The first execution unit 821 is configured to convert the first command information into a first command word according to the command encoding rules when the address book information includes the first command information and character information, and convert the first command information into the first command words according to the first encoding rules. The character information is converted into the first digital information, and the first command word and the first digital information are converted into the first DTMF signal according to the DTMF encoding rule, and the modulation unit 831 of the sending module 83 is executed, and the command encoding rule It is pre-defined and used to realize mutual conversion between command information and command words, the first command information is an address book field in the address book information;
第二执行单元822,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,执行所述发送模块83的调制单元831,所述第二命令信息为所述通讯录信息中的通讯录字段;The second execution unit 822 is configured to convert the second command information into a second command word according to the command encoding rule when the address book information includes the second command information and the second digital information, and according to the DTMF The encoding rule converts the second command word and the second digital information into a second DTMF signal, executes the modulation unit 831 of the sending module 83, and the second command information is the address book information. address book field;
第二转换模块72可以包括以下单元:The second conversion module 72 may include the following units:
转换单元721,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;The conversion unit 721 is used to convert the address book signal into command words and digital information according to the DTMF encoding rule, and the address book signal is a DTMF signal;
第三执行单元722,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块73;The third execution unit 722 is configured to convert the first command word into the first command information according to the command encoding rule when the command word is the first command word, and convert the digital information into the first command information according to the first encoding rule. Character information, using the first command information and the character information as the address book information, and executing the storage module 73;
第四执行单元723,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块73。The fourth execution unit 723 is configured to convert the second command word into second command information according to the command encoding rule when the command word is the second command word, and convert the second command information and the digital The information is used as the address book information, and the storage module 73 is executed.
发送模块83可以包括以下单元:The sending module 83 may include the following units:
调制单元831,用于接收第一转换模块82的第一执行单元821发送的第一DTMF信号或接收第一转换模块82的第二执行单元822发送的第二DTMF信号,并将所述第一DTMF信号或第二DTMF信号调制成声音信号;The modulation unit 831 is configured to receive the first DTMF signal sent by the first execution unit 821 of the first conversion module 82 or receive the second DTMF signal sent by the second execution unit 822 of the first conversion module 82, and transfer the first The DTMF signal or the second DTMF signal is modulated into a sound signal;
播放单元832,用于通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备7的接收模块71的接收单元711接收到所述声音信号;The playback unit 832 is configured to play the sound signal through a speaker, so that the receiving unit 711 of the receiving module 71 of the address book receiving device 7 can receive the sound signal;
接收模块71包括以下单元:The receiving module 71 includes the following units:
所述接收单元711,用于通过话筒接收所述通讯录发送设备8的发送模块83的播放单元832播放的所述声音信号;The receiving unit 711 is configured to receive the sound signal played by the playback unit 832 of the sending module 83 of the address book sending device 8 through a microphone;
还原单元712,用于根据所述声音信号还原出所述DTMF信号。The restoring unit 712 is configured to restore the DTMF signal according to the sound signal.
在图9和图10所示的实施例中,本实施例提供的通讯录信息的传输系统的功能与实施例一、实施例二和实施例三实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例一、实施例二和实施例三中的内容,在此不再一一赘述。In the embodiment shown in Fig. 9 and Fig. 10, the function of the transmission system of address book information provided by this embodiment corresponds to the function realized by Embodiment 1, Embodiment 2 and Embodiment 3, so each For the functions of the modules, refer to the content in Embodiment 1, Embodiment 2, and Embodiment 3, and details will not be repeated here.
需要说明的是,图1至图10所示的实施例只是本发明所介绍的优选实施例,本领域技术人员在此基础上,完全可以设计出更多的实施例,因此不在此处赘述。It should be noted that the embodiments shown in FIG. 1 to FIG. 10 are only preferred embodiments introduced in the present invention, and those skilled in the art can design more embodiments on this basis, so details are not repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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 may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410143768.4ACN104980904A (en) | 2014-04-11 | 2014-04-11 | Address list information transmission method, device and system |
| PCT/CN2015/074967WO2015154621A1 (en) | 2014-04-11 | 2015-03-24 | Method, device and system for transmitting address book information |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410143768.4ACN104980904A (en) | 2014-04-11 | 2014-04-11 | Address list information transmission method, device and system |
| Publication Number | Publication Date |
|---|---|
| CN104980904Atrue CN104980904A (en) | 2015-10-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410143768.4APendingCN104980904A (en) | 2014-04-11 | 2014-04-11 | Address list information transmission method, device and system |
| Country | Link |
|---|---|
| CN (1) | CN104980904A (en) |
| WO (1) | WO2015154621A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108322901A (en)* | 2018-01-19 | 2018-07-24 | 厦门盈趣科技股份有限公司 | Short distance wireless information interaction method and device based on DTMF |
| CN111065094A (en)* | 2019-12-16 | 2020-04-24 | Oppo广东移动通信有限公司 | Address book transmission method and device, storage medium and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1610370A (en)* | 2003-10-23 | 2005-04-27 | 乐金电子(中国)研究开发中心有限公司 | Phone number transmitting and receiving and automatic storage method |
| JP4094270B2 (en)* | 2001-10-23 | 2008-06-04 | 株式会社日立国際電気 | Communication terminal device |
| CN101247589A (en)* | 2007-07-04 | 2008-08-20 | 华为技术有限公司 | Mobile terminal data conversion/backup method, equipment and system |
| CN101651860A (en)* | 2008-08-15 | 2010-02-17 | 深圳富泰宏精密工业有限公司 | Address book delivery system and method |
| CN101795325A (en)* | 2010-03-26 | 2010-08-04 | 华为终端有限公司 | Number inputting method and terminal |
| CN101909265A (en)* | 2009-06-07 | 2010-12-08 | 邱逸闻 | Method and device for transmitting and recording phone number |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4094270B2 (en)* | 2001-10-23 | 2008-06-04 | 株式会社日立国際電気 | Communication terminal device |
| CN1610370A (en)* | 2003-10-23 | 2005-04-27 | 乐金电子(中国)研究开发中心有限公司 | Phone number transmitting and receiving and automatic storage method |
| CN101247589A (en)* | 2007-07-04 | 2008-08-20 | 华为技术有限公司 | Mobile terminal data conversion/backup method, equipment and system |
| CN101651860A (en)* | 2008-08-15 | 2010-02-17 | 深圳富泰宏精密工业有限公司 | Address book delivery system and method |
| CN101909265A (en)* | 2009-06-07 | 2010-12-08 | 邱逸闻 | Method and device for transmitting and recording phone number |
| CN101795325A (en)* | 2010-03-26 | 2010-08-04 | 华为终端有限公司 | Number inputting method and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108322901A (en)* | 2018-01-19 | 2018-07-24 | 厦门盈趣科技股份有限公司 | Short distance wireless information interaction method and device based on DTMF |
| CN111065094A (en)* | 2019-12-16 | 2020-04-24 | Oppo广东移动通信有限公司 | Address book transmission method and device, storage medium and electronic equipment |
| CN111065094B (en)* | 2019-12-16 | 2023-08-25 | Oppo广东移动通信有限公司 | Address book transmission method and device, storage medium and electronic equipment |
| Publication number | Publication date |
|---|---|
| WO2015154621A1 (en) | 2015-10-15 |
| Publication | Publication Date | Title |
|---|---|---|
| US11196868B2 (en) | Audio data processing method, server, client and server, and storage medium | |
| KR20130004263A (en) | Seamlessly transferring a communication | |
| CN113438251A (en) | Protocol conversion method, device and system | |
| CN115190468A (en) | Redial method and terminal device | |
| CN104980904A (en) | Address list information transmission method, device and system | |
| CN105391702A (en) | Audio/video communication method, terminal, server and platform | |
| CN104010086A (en) | Method and device for processing call information between terminals and terminal devices | |
| CN104883535A (en) | Monitoring system and operation method thereof | |
| CN103188393B (en) | remote auxiliary home communication terminal and system | |
| CN108696829A (en) | A kind of supplementary service setting processing method and processing device | |
| WO2017092315A1 (en) | Method and device for controlling television | |
| KR20230153339A (en) | System providing recorded information, method thereof and non-transitory computer readable medium having computer program recorded thereon | |
| CN111278082A (en) | Terminal communication device, method, system, equipment and storage medium | |
| KR102399457B1 (en) | System for voice call service using distal assistance device, method thereof and non-transitory computer readable medium having computer program recorded thereon | |
| US9491287B2 (en) | Ringtone assignment system and the method thereof | |
| KR102150584B1 (en) | System for voice call service using distal assistance device, method thereof and non-transitory computer readable medium having computer program recorded thereon | |
| WO2017054496A1 (en) | Method and apparatus for sending and acquiring text information | |
| CN108833708A (en) | A method for obtaining incoming call information | |
| CN105049129A (en) | Wi-Fi configuration system and method based on acoustic waves | |
| EP2866425B1 (en) | Mobile device communication method, apparatus and communication system | |
| CN115174750B (en) | DTMF signal transmission method and electronic device | |
| TWI505186B (en) | Remote command execution over a network | |
| Prtvar et al. | Voice over BLE case study: Using bluetooth LE remote controller inside Google's Voice search framework | |
| KR102402412B1 (en) | System for voice call service using distal assistance device, method thereof and non-transitory computer readable medium having computer program recorded thereon | |
| KR102150578B1 (en) | System for voice call service using distal assistance device, method thereof and non-transitory computer readable medium having computer program recorded thereon |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication | Application publication date:20151014 |