WO2015154621A1 - Method, device and system for transmitting address book information - Google Patents

Method, device and system for transmitting address book information Download PDF

Info

Publication number
WO2015154621A1
WO2015154621A1 PCT/CN2015/074967 CN2015074967W WO2015154621A1 WO 2015154621 A1 WO2015154621 A1 WO 2015154621A1 CN 2015074967 W CN2015074967 W CN 2015074967W WO 2015154621 A1 WO2015154621 A1 WO 2015154621A1
Authority
WO
WIPO (PCT)
Prior art keywords
address book
information
signal
command
encoding rule
Prior art date
Application number
PCT/CN2015/074967
Other languages
French (fr)
Chinese (zh)
Inventor
金云飞
储成
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015154621A1 publication Critical patent/WO2015154621A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals

Definitions

  • the address book information includes the second command information and the second digital information
  • converting the second command information into a second command word according to the command encoding rule and performing the foregoing according to the DTMF encoding rule.
  • the method further includes:
  • the step of acquiring the address book information is performed.
  • the search response signal is sent to the address book transmitting device, and the search response signal is used to convert the search response information according to the preset encoding rule. owned.
  • the method further includes:
  • the storage module is configured to receive address book information from the conversion module, and store the address book information.
  • command information "name” corresponds to the command word “*01#”
  • the command information "phone number” corresponds to the command word “*02#”
  • the command information "home address” corresponds to Command word “*03#”, and so on.
  • Step S205 Convert the feedback signal into feedback information according to the preset encoding rule.
  • the address book transmitting device can acquire the next address book information, and step S202 is performed to enable the next address book information to be successfully converted into communication. Record the signal and send the address book signal to the address book receiving device until all the address book information to be sent is sent.
  • FIG. 3 is a flowchart of still another method for transmitting address book information.
  • the method provided in this embodiment can be applied to the address book receiving device, and the method provided in the first embodiment can be applied to the address book sending device. Therefore, the method provided in this embodiment can be used in conjunction with the method provided in the first embodiment.
  • the embodiment can be applied to the address book receiving device. This embodiment can reduce the input of hardware resources, reduce the cost, and improve the versatility when the address book information is transmitted between the address book sending device and the address book receiving device. So that users get a better experience.
  • the method includes:
  • the address book transmitting device converts the address book information into an address book signal and sends the address book signal to the address book receiving device
  • the address book receiving device converts the received address book signal into the address book information to implement The transmission of address book information.
  • the device can be implemented without using any other auxiliary device. Therefore, the solution provided by the embodiment of the invention can not only reduce the input of hardware resources, but also reduce the hardware. Cost, and the applicable environment is more extensive and versatile.
  • FIG. 8 is a block diagram of another apparatus for transmitting address book information.
  • the apparatus disclosed in this embodiment can reduce not only when the address book information is transmitted between the address book sending device and the address book receiving device.
  • the investment of hardware resources reduces costs, and can improve versatility, so that users get a better experience.
  • the device includes:
  • the second conversion module 72 is configured to receive an address book signal from the receiving module, and convert the address book signal into the address book information according to the preset encoding rule, and then transmit the address book information.
  • the converting unit 721 is configured to convert the address book signal into a command word and digital information according to a DTMF encoding rule, where the address book signal is a DTMF signal;
  • the receiving module 71 includes the following units:

Abstract

Disclosed are a method, device and system for transmitting address book information. The method comprises: acquiring address book information; converting the address book information into an address book signal according to a preset encoding rule; and 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 the process of transmitting information between an address book sending device and an address book receiving device, information transmission can be realized without using any other auxiliary devices. Therefore, the solution provided in the embodiments of the present invention can not only reduce the input of hardware resources, thereby reducing hardware costs, but also can have a wider applicable environment and a good generality.

Description

一种通讯录信息的传输方法、装置及系统Method, device and system for transmitting address book information
本申请要求于2014年4月11日提交中国专利局、申请号为201410143768.4、发明名称为“通讯录信息的传输方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201410143768.4, entitled "Transmission Method, Apparatus and System for Address Book Information", filed on April 11, 2014, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及通信技术领域,更具体的说,涉及通讯录信息的传输方法、装置及系统。The present invention relates to the field of communication technologies, and more particularly 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, personal privacy, etc., employees in the office prefer to use landline phones (such as IP phones) to make calls. Since a large amount of address book information is stored on the mobile phone, employees often dial the landline phone while watching the phone's address book, which is very inefficient.
目前,要将手机内的通讯录信息导入座机电话,需采用以下方法:首先,将手机与电脑相连,通过电脑上的第三方软件将手机的通讯录信息导出为座机电话能识别的通讯录文件,并将通讯录文件存储在电脑中;然后,通过U盘将电脑上的通讯录文件传送到座机电话中;最后,座机电话在识别出该通讯录文件后,将通讯录文件中的信息导入座机电话的通讯录。At present, to import the address book information in the mobile phone into the landline phone, the following methods are required: First, connect the mobile phone to the computer, and export the phone address information of the mobile phone to the address book file that the landline phone can recognize through the third-party software on the computer. And storing the address book file in the computer; then, transferring the address book file on the computer to the landline phone through the USB flash drive; finally, after the landline phone recognizes the address book file, the information in the address book file is imported. The address book of the landline phone.
在研究和实践过程中,发明人发现上述传输方法至少存在以下问题:In the course of research and practice, the inventors found that the above transmission method has at least the following problems:
上述传输方法需要利用U盘将电脑中的通讯录文件传送到座机电话中,所以上述传输方法仅适用于具有USB接口的座机电话,而现在大部分的中低端座机电话出于成本考虑都不提供USB接口,在座机电话不具有USB接口时,则无法使用上述传输方法;而且,上述传输方法需要使用电脑和U盘等外部设备作为传输媒介,如果在具体的环境下没有电脑和U盘等外部设备,仅靠手机和座机电话就无法实现二者之间通讯录信息的传输,所以现有传输方法的通用性较差,在很多具体的应用环境下都不适用。The above transmission method needs to transfer the address book file in the computer to the landline telephone by using the U disk, so the above transmission method is only applicable to the landline telephone with the USB interface, and now most of the low-end landline telephones are not cost-conscious. The USB interface is provided. When the landline telephone does not have a USB interface, the above transmission method cannot be used; and the above transmission method requires an external device such as a computer and a USB flash drive as a transmission medium, and if there is no computer or U disk in a specific environment, External devices cannot transmit address book information between mobile phones and landline phones. Therefore, the existing transmission methods are less versatile and are 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 telephone without using an external device has become the most problem to be solved at present.
发明内容Summary of the invention
本发明实施例提供一种通讯录信息的传输方法、装置及系统,保证在不借助外部设备就能够实现手机与座机电话之间通讯录信息的传输,从而减少硬件资源的投入。 The embodiment of the invention provides a method, a device and a system for transmitting address book information, which can ensure the transmission of address book information between the mobile phone and the landline phone without using external devices, thereby reducing the investment of hardware resources.
为了解决上述技术问题,本发明实施例公开了如下技术方案:In order to solve the above technical problem, the embodiment of the present invention discloses the following technical solutions:
第一方面,一种通讯录信息的传输方法,包括:In a first aspect, a method for transmitting address book information includes:
获取通讯录信息;Get address book information;
根据预设编码规则将所述通讯录信息转换成通讯录信号;Converting the address book information into an address book signal according to a preset encoding rule;
向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息。And transmitting 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.
结合上述第一方面,在第一种可能的实现方式中,所述根据预设编码规则将所述通讯录信息转换成通讯录信号,包括以下子步骤:With reference to the foregoing first aspect, in a first possible implementation manner, the 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 the first command information and the character information, the first command information is converted into the first command word according to the command encoding rule, and the character information is converted into the first digital information according to the first encoding rule. Converting the first command word and the first digital information into a first DTMF signal according to a dual tone multi-frequency DTMF coding rule, and using the first DTMF signal as the address book signal to perform the address book Receiving, by the receiving device, the address record signal step;
当所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述向通讯录接收设备发送所述通讯录信号步骤;And when the address book information includes the second command information and the second digital information, converting the second command information into a second command word according to the command encoding rule, and performing the foregoing according to the DTMF encoding rule. Converting the second command word and the second digital information into a second DTMF signal, and using the second DTMF signal as the address book signal, performing the step of transmitting the address book signal to the address book receiving device;
所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息和所述第二命令信息均为所述通讯录信息中的通讯录字段。The command encoding rule is predefined and used to implement mutual conversion between the command information and the command word, and the first command information and the second command information are all address book fields in the address book information.
结合上述第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述第一编码规则为万国码UTF-8编码规则。With reference to the first possible implementation manner of the foregoing first aspect, in a second possible implementation manner, the first coding rule is a Unicode UTF-8 encoding rule.
结合上述第一方面的第一种可能的实现方式,在第三种可能的实现方式中,所述第一命令字和所述第二命令字均为数字、特殊符号或数字与特殊符号的任意组合。In conjunction with the first possible implementation of the foregoing first aspect, in a third possible implementation, the first command word and the second command word are all numbers, special symbols, or any of numbers and special symbols. combination.
结合上述第一方面,在第四种可能的实现方式中,所述通讯录信号为DTMF信号;所述向通讯录接收设备发送所述通讯录信号,包括:With reference to the foregoing first aspect, in a fourth possible implementation, the address book signal is a DTMF signal; and the sending the address book signal to the address book receiving device includes:
将所述DTMF信号调制成声音信号;Modulating the DTMF signal into a sound signal;
通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音 信号。Playing the sound signal through a speaker so that the address receiving device receives the sound signal.
结合上述第一方面,在第五种可能的实现方式中,在所述向通讯录接收设备发送所述通讯录信号之后,还包括:With reference to the foregoing first aspect, in a fifth possible implementation, after the sending the address book signal to the address book receiving device, the method further includes:
接收所述通讯录接收设备发送的反馈信号;Receiving a feedback signal sent by the address book receiving device;
根据所述预设编码规则将所述反馈信号转换成反馈信息;Converting the feedback signal into feedback information according to the preset encoding rule;
当根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。And determining, when the address book receiving device fails to receive the address book signal according to the feedback information, resending the address book signal to the address book receiving device.
结合上述第一方面,在第六种可能的实现方式中,在所述获取通讯录信息之前,还包括:In combination with the foregoing first aspect, in the sixth possible implementation, before the obtaining the address book information, the method further includes:
获取搜索信息;Get 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, according to the preset encoding rule Search response information is converted into a search response signal;
接收所述通讯录接收设备发送的所述搜索应答信号;Receiving the search response signal sent by the address book receiving device;
当根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息时,执行所述获取通讯录信息的步骤。When the search response signal is converted into search response information according to the preset encoding rule, the step of acquiring the address book information is performed.
第二方面,一种通讯录信息的传输方法,包括:The second aspect is a method for transmitting address book information, including:
接收通讯录发送设备发送的通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的;Receiving an address book signal sent by the address book sending device, where the address book signal is converted by the address book sending device according to a preset encoding rule;
根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息;Converting the address book signal into the address book information according to the preset encoding rule;
存储所述通讯录信息。The address book information is stored.
结合上述第二方面,在第一种可能的实现方式中,所述通讯录信号为DTMF信号,所述根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,包括以下子步骤:With reference to the foregoing second aspect, in a first possible implementation, the address book signal is a DTMF signal, and the address book signal is converted into the address book information according to the preset encoding rule, including the following Substeps:
按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息; Converting the address book signal into command words and digital information according to DTMF encoding rules;
当所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储所述通讯录信息的步骤;When the command word is the first command word, converting the first command word into the first command information according to the command encoding rule, converting the digital information into character information according to the first encoding rule, and a command information and the character information as the address book information, performing the step of storing the address book information;
当所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储所述通讯录信息的步骤;When the command word is the second command word, converting the second command word into the second command information according to the command encoding rule, and using the second command information and the digital information as the address book information, Performing the step of storing the address book information;
所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息和所述第二命令信息均为所述通讯录信息中的通讯录字段。The command encoding rule is predefined and used to implement mutual conversion between the command information and the command word, and the first command information and the second command information are all address book fields in the address book information.
结合上述第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述第一编码规则为万国码UTF-8编码规则。In conjunction with the first possible implementation of the foregoing second aspect, in a second possible implementation, the first encoding rule is a Unicode UTF-8 encoding rule.
结合上述第二方面的第一种可能的实现方式,在第三种可能的实现方式中,所述命令字、第一命令字和第二命令字均为数字、特殊符号或数字与特殊符号的任意组合。In conjunction with the first possible implementation of the foregoing second aspect, in a 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信号;所述接收通讯录发送设备发送的通讯录信号,包括:With reference to the foregoing second aspect, in a fourth possible implementation, the address book signal is a DTMF signal, and the address book signal sent by the receiving address book sending device includes:
通过话筒接收声音信号,所述声音信号为所述通讯录发送设备根据DTMF信号调制出来的;Receiving a sound signal through a microphone, the sound signal being modulated by the address book transmitting device according to the DTMF signal;
根据所述声音信号还原出所述DTMF信号。The DTMF signal is restored based on the sound signal.
结合上述第二方面,在第五种可能的实现方式中,在所述接收通讯录发送设备发送的通讯录信号之前,还包括:With reference to the foregoing second aspect, in a fifth possible implementation, before the 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 the search signal is converted into search information according to the preset encoding rule, the search response signal is sent to the address book transmitting device, and the search response signal is used to convert the search response information according to the preset encoding rule. owned.
第三方面,一种通讯录信息的传输装置,包括:In a third aspect, a device for transmitting address book information includes:
第一获取模块,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块;a first acquiring 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 first acquiring module, and edit according to a preset The code rule converts the address book information into an address book signal, and then transmits 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 is configured according to the preset code The rules convert the address book signal into the address book information.
结合上述第三方面,在第一种可能的实现方式中,所述第一转换模块包括以下单元:In conjunction with the foregoing third aspect, in a first possible implementation, the first conversion module includes the following units:
第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述第一发送模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to: when the address book information includes the first command information and the character information, convert the first command information into a first command word according to a command encoding rule, and use the first encoding rule according to the first encoding rule Converting the information into the first digital information, converting the first command word and the first digital information into a first DTMF signal according to a DTMF encoding rule, using the first DTMF signal as the address book signal, performing the a first sending module, where the command encoding rule is predefined and used to implement mutual conversion between command information and a command word, where the first command information is an address book field in the address book information;
第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述第一发送模块,所述第二命令信息为所述通讯录信息中的通讯录字段。a second execution unit, configured to: when the address book information includes the second command information and the second digital information, convert the second command information into a second command word according to the command encoding rule, according to the DTMF encoding Converting the second command word and the second digital information into a second DTMF signal, using the second DTMF signal as the address book signal, performing the first sending module, the second The command information is an address book field in the address book information.
结合上述第三方面,在第二种可能的实现方式中,所述通讯录信号为DTMF信号;所述第一发送模块包括:With reference to the foregoing third aspect, in a second possible implementation, 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;
播放单元,用于通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音信号。a playing unit, configured to play the sound signal through a speaker, so that the address receiving device receives the sound signal.
结合上述第三方面,在第三种可能的实现方式中,还包括:In combination with the foregoing third aspect, in a third possible implementation manner, the method further includes:
第二获取模块,用于获取搜索信息,并将该所述搜索信息传输至第二转换模块;a second acquiring module, configured to acquire search information, and transmit the search information to the second conversion module;
所述第二转换模块,用于从所述第二获取模块接收所述搜索信息,并根据所述预设编码规则将所述搜索信息转换成搜索信号,再将所述搜索信号发送至第二发送模块;The second conversion module is configured to receive the search information from the second acquiring module, convert the search information into a search signal according to the preset encoding rule, and send the search signal to a second Sending module
所述第二发送模块,用于从所述第二转换模块接收所述搜索信号,并向所述通讯录接收设备发送所述搜索信号,以便于所述通讯录接收设备在根据所述预设编码规则将所述搜索信号转换成所述搜索信息时,根据所述预设编码规则将搜索应答信息转换成搜索 应答信号;The second sending module is configured to receive the search signal from the second conversion module, and send the search signal to the address receiving device, so that the address receiving device is according to the preset When the encoding rule converts the search signal into the search information, converting the search response information into a search according to the preset encoding rule Response signal
第一接收模块,用于接收所述通讯录接收设备发送的所述搜索应答信号,并将所述搜索应答信号发送至第一执行模块;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 execute the foregoing when converting the search response signal into search response information according to the preset encoding rule. An acquisition module.
结合上述第三方面,在第四种可能的实现方式中,还包括:In combination with the foregoing third aspect, in a fourth possible implementation manner, the method further includes:
第二接收模块,用于接收所述通讯录接收设备发送的反馈信号,并将所述反馈信号传输至第三转换模块;a second receiving module, 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 send the feedback information to the second execution module ;
所述第二执行模块,用于从所述第三转换模块接收所述反馈信息,并在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。The second execution module is configured to receive the feedback information from the third conversion module, and when determining, according to the feedback information, that the address book receiving device does not successfully receive the address book signal, to the The address book receiving device resends the address book signal.
第四方面,一种通讯录信息的传输装置,包括:In a fourth aspect, a device for transmitting address book information includes:
第一接收模块,用于接收通讯录发送设备发送的通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的,并将所述通讯录信号传输至转换模块;a first receiving module, configured to receive an address book signal sent by the address book sending device, where the address book signal is converted by the address book sending device according to a preset encoding rule, and the address book signal is converted Transfer to the conversion module;
所述转换模块,用于从所述第一接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块;The conversion module is configured to receive an address book signal from the first receiving module, convert the address book signal into the address book information according to the preset encoding rule, 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 foregoing fourth aspect, in a first possible implementation, the conversion module includes the following units:
转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;a conversion unit, configured to convert the address book signal into a command word and digital information according to a DTMF encoding rule, where the address book signal is a DTMF signal;
第一执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块,所述命令 编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to convert the first command word into first command information according to a command encoding rule when the command word is a first command word, and convert the digital information into characters according to a first encoding rule And executing the storage module with the first command information and the character information as the address book information, the command Encoding rules are predefined and used to implement mutual conversion between command information and command words, the first command information being an address book field in the address book information;
第二执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块,所述第二命令信息为所述通讯录信息中的通讯录字段。a second execution unit, configured to: when the command word is a second command word, convert the second command word into second command information according to a command encoding rule, and use 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信号;所述接收模块包括以下单元:With reference to the foregoing fourth aspect, in a second possible implementation manner, the address book signal is a DTMF signal; and the receiving module includes the following unit:
接收单元,用于通过话筒接收声音信号,所述声音信号为所述通讯录发送设备根据DTMF信号调制出来的;a receiving unit, configured to receive, by using a microphone, a sound signal, where the sound signal is modulated by the address book transmitting device according to the DTMF signal;
还原单元,用于根据所述声音信号还原出所述DTMF信号。And a restoring unit, configured to restore the DTMF signal according to the sound signal.
结合上述第四方面,在第三种可能的实现方式中,还包括:In combination with the foregoing fourth aspect, in a third possible implementation manner, the method further includes:
第二接收模块,用于接收所述通讯录发送设备发送的搜索信号,所述搜索信号为所述通讯录发送设备根据所述预设编码规则将所述搜索信息转换得到的;a second receiving module, configured to receive 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;
执行模块,用于在根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。An execution module, configured to: when the search signal is converted into search information according to the preset encoding rule, send a search response signal to the address book sending device, where the search response signal is according to the preset encoding rule Convert the search response information.
第五方面,一种通讯录信息的传输系统,包括:通讯录接收设备和通讯录发送设备;A fifth aspect is a transmission system for address book information, comprising: an address book receiving device and an address book transmitting device;
所述通讯录发送设备包括:The address book sending device includes:
获取模块,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块;An obtaining module, configured 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 acquiring 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 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 a receiving module of the address book receiving device;
所述通讯录接收设备包括:The address book receiving device includes:
所述接收模块,用于接收通讯录发送设备的发送模块发送的通讯录信号,并将所述通讯录信号传输至第二转换模块; The receiving module is configured to receive an address book signal sent by a sending module of the address book sending device, and transmit the address book signal to the second converting module;
所述第二转换模块,用于从所述接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块;The second conversion module is configured to receive an address book signal from the receiving module, convert the address book signal into the address book information according to the preset encoding rule, 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 foregoing fifth aspect, in a first possible implementation manner, the first conversion module includes the following units:
第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述发送模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to: when the address book information includes the first command information and the character information, convert the first command information into a first command word according to a command encoding rule, and use the first encoding rule according to the first encoding rule Converting the information into the first digital information, converting the first command word and the first digital information into a first DTMF signal according to a DTMF encoding rule, using the first DTMF signal as the address book signal, performing the a sending module, where the command encoding rule is predefined and used to implement mutual conversion between command information and a command word, where the first command information is an address book field in the address book information;
第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述发送模块,所述第二命令信息为所述通讯录信息中的通讯录字段;a second execution unit, configured to: when the address book information includes the second command information and the second digital information, convert the second command information into a second command word according to the command encoding rule, according to the DTMF encoding The rule converts the second command word and the second digital information into a second DTMF signal, and uses the second DTMF signal as the address book signal to execute the sending module, the second command information For the address book field in the address book information;
所述第二转换模块包括以下单元:The second conversion module includes the following units:
转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;a conversion unit, configured to convert the address book signal into a command word and digital information according to a DTMF encoding rule, where the address book signal is a DTMF signal;
第三执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块;a third execution unit, configured to convert the first command word into first command information according to a command encoding rule when the command word is a first command word, and convert the digital information into characters according to a first encoding rule And executing the storage module as the information, and using the first command information and the character information as the address book information;
第四执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块。a fourth execution unit, configured to: when the command word is a second command word, convert the second command word into second command information according to a command encoding rule, and use the second command information and the digital information As the address book information, the storage module is executed.
结合上述第五方面,在第二种可能的实现方式中,所述通讯录信号为DTMF信号;With reference to the foregoing fifth aspect, 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 playing 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 receives the sound signal;
所述接收模块包括以下单元:The receiving module includes the following units:
所述接收单元,用于通过话筒接收所述通讯录发送设备的发送模块的播放单元播放的所述声音信号;The receiving unit is configured to receive, by using a microphone, the sound signal played by a playing unit of a sending module of the address book sending device;
还原单元,用于根据所述声音信号还原出所述DTMF信号。And 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 features:
在本发明实施例提供的方案中,通讯录发送设备将通讯录信息转化成通讯录信号发送给通讯录接收设备,通讯录接收设备再将接收到的通讯录信号转化成通讯录信息,以实现通讯录信息的传输。在通讯录发送设备与通讯录接收设备传输信息的过程中,不需要用到其他任何的辅助设备即可实现,因此,本发明实施例提供的方案不仅能够减少硬件资源的投入,从而降低了硬件成本,而且适用的环境更加广泛,通用性好。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 the message to the address book receiving device, and the address book receiving device converts the received address book signal into the address book information to implement The transmission of address book information. In the process of transmitting the information by the address book sending device and the address book receiving device, the device can be implemented without using any other auxiliary device. Therefore, the solution provided by the embodiment of the invention can not only reduce the input of hardware resources, but also reduce the hardware. Cost, and the applicable environment is more extensive and versatile.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1为本发明实施例提供的一种通讯录信息的传输方法的流程图;FIG. 1 is a flowchart of a method for transmitting address book information according to an embodiment of the present invention;
图2为本发明实施例提供的另一种通讯录信息的传输方法的流程图;2 is a flowchart of another method for transmitting address book information according to an embodiment of the present invention;
图3为本发明实施例提供的又一种通讯录信息的传输方法的流程图;FIG. 3 is a flowchart of still another method for transmitting address book information according to an embodiment of the present invention;
图4为本发明实施例提供的一种通讯录信息的传输装置的模块图;4 is a block diagram of a device for transmitting address book information according to an embodiment of the present invention;
图5为本发明实施例提供的另一种通讯录信息的传输装置的模块图;FIG. 5 is a block diagram of another apparatus for transmitting address book information according to an embodiment of the present invention;
图6为本发明实施例提供的又一种通讯录信息的传输装置的模块图;FIG. 6 is a block diagram of still another device for transmitting address book information according to an embodiment of the present invention;
图7为本发明实施例提供的又一种通讯录信息的传输装置的模块图;FIG. 7 is a block diagram of still another device for transmitting address book information according to an embodiment of the present invention;
图8为本发明实施例提供的又一种通讯录信息的传输装置的模块图; FIG. 8 is a block diagram of still another apparatus for transmitting address book information according to an embodiment of the present invention;
图9为本发明实施例提供的一种通讯录信息的传输系统的模块图;FIG. 9 is a block diagram of a system for transmitting address book information according to an embodiment of the present invention;
图10为本发明实施例提供的一种通讯录信息的传输系统的模块图。FIG. 10 is a block diagram of a system for transmitting address book information according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种通讯录信息的传输方法及装置,由于上述通讯录信息的传输方法、装置及系统的具体实现存在多种方式,下面通过具体实施例进行详细说明:The embodiment of the invention provides a method and a device for transmitting address book information. Since there are various ways to implement the method, device and system for transmitting the address book information, the following detailed description is given by way of specific embodiments:
实施例一Embodiment 1
请参见图1所示,图1所示的为一种通讯录信息的传输方法的流程图。本实施例可以应用在通讯录发送设备中。由于本发明实施例提供的方法可以使通讯录发送设备和通讯录接收设备具有信息的获取与存储功能、信息与信号的转换功能以及信号的发送与接收功能,所以本发明实施例提供的方法可以不借助任何外部设备,即可实现通讯录发送设备与通讯录接收设备之间通讯录信息的传输,从而减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该方法包括:Referring to FIG. 1, FIG. 1 is a flowchart of a method for transmitting address book information. This embodiment can be applied to an address book transmitting device. 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 the functions of acquiring and storing information, converting information and signals, and transmitting and receiving signals. The communication of the address book information between the address book sending device and the address book receiving device can be realized without any external device, thereby reducing the investment of hardware resources, reducing the cost, and improving the versatility, thereby enabling the user to obtain a better experience. . The method includes:
步骤S101、获取通讯录信息;Step S101: Obtain address book information.
其中,本发明实施例可以满足多种应用场景,通讯录发送设备可以为手机、座机电话、平板电脑或笔记本电脑等设备,通讯录接收设备也可以为手机、座机电话、平板电脑或笔记本电脑等设备。例如,通讯录发送设备为手机,通讯录接收设备为座机电话,此种场景可以满足手机向座机电话发送通讯录信息;再如,通讯录发送设备为座机电话,通讯录接收设备为手机,此种场景可以满足座机电话向手机发送通讯录信息;又如,通讯录发送设备和通讯录接收设备均为座机电话,此种场景可以满足座机电话向座机电话发送通讯录信息;又如,通讯录发送设备为平板电脑,通讯录接收设备为座机电话,此种场景可以满足平板电脑向座机电话发送通讯录信息。当然,本发明实施例所能够适用的场景还有很多,并不局限于上述提到的应用场景。The embodiment of the present invention can satisfy 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 laptop computer. device. 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 sending the address book information to the landline phone; for example, the address book sending device is a landline phone, and the address book receiving device is a mobile phone. The scenario can satisfy the landline phone sending the address book information to the mobile phone; for example, the address book sending device and the address book receiving device are landline phones, such a scenario can satisfy the landline phone sending the address book information to the landline phone; for example, the address book The sending device is a tablet computer, 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 scenarios that can be applied to the embodiments of the present invention, and are not limited to the application scenarios mentioned above.
通讯录发送设备要获取存储器中预先存储的通讯录信息。通讯录信息可以包括姓名、电话号码、家庭住址、传真、电子邮件和备注等信息,当然,通讯录信息并不局限于此,还可以扩展其他的信息。例如,假设通讯录信息仅包括姓名和电话号码,姓名为 张三,电话号码为15996,那么就获取该通讯录信息,即“姓名张三,电话号码15996”。The address book transmitting device acquires address book information stored in advance in the memory. The address book information can include information such as name, phone number, home address, fax, email, and notes. Of course, the address book information is not limited to this, and other information can be extended. For example, suppose the address book information only includes the name and phone number, and the name is Zhang San, the phone number is 15996, then get the address book information, that is, "name Zhang San, phone number 15996".
步骤S102、根据预设编码规则将通讯录信息转换成通讯录信号;Step S102: Convert the address book information into an address book signal according to a preset encoding rule.
其中,预设编码规则可以包括UTF-8(8-bit Unicode Transformation Format,万国码)编码规则、DTMF(Dual Tone Multi Frequency,双音多频)编码规则和命令编码规则。UTF-8编码规则和DTMF编码规则在国际上都是较为常用的编码规则。命令编码规则为预先设定好的规则,预先定义好命令信息与命令字的对应关系,命令编码规则可以实现命令信息和命令字的相互转换。命令信息为通信录信息中的通讯录字段,例如,命令信息为通讯录信息中的姓名、电话号码或家庭住址等通讯录字段;命令字可以由数字来表示,也可以由特殊符号来表示,还可以由数字与特殊符号的任意组合来表示。例如,在命令编码规则中,将命令信息“姓名”对应为命令字“*01#”,将命令信息“电话号码”对应为命令字“*02#”,将命令信息“家庭住址”对应为命令字“*03#”,等等。The preset encoding rules may include UTF-8 (8-bit Unicode Transformation Format), DTMF (Dual Tone Multi Frequency) encoding rules, and command encoding rules. UTF-8 encoding rules and DTMF encoding rules are commonly used in the international encoding rules. The command encoding rule is a preset rule, and the correspondence between the command information and the command word is defined in advance, and the command encoding rule can realize mutual conversion between the command information and the command word. The command information is an address book field in the address book information. For example, the command information is an address book field such as a name, a phone number, or a home address in the address book information; the command word may 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" corresponds to the command word "*01#", the command information "phone number" corresponds to the command word "*02#", and the command information "home address" corresponds to Command word "*03#", and so on.
当然,预设编码规则也可以为其他类型的编码规则,无论是什么样的编码规则,只要该编码规则能够将通讯录信息转换成通讯录信号即可。Of course, the preset encoding rule can also be other types of encoding rules, no matter what kind of encoding rule, as long as the encoding rule can convert the address book information into an address book signal.
下面结合上述UTF-8编码规则、DTMF编码规则和命令编码规则简要介绍转换的具体过程。在将通讯录信息转换成通讯录信号的过程中,通讯录信息存在以下两种情况:The following describes the specific process of conversion in combination with the above UTF-8 encoding rules, DTMF encoding rules, and command encoding rules. In the process of converting address book information into address book signals, there are two cases in the address book information:
第一种情况,通讯录信息包含第一命令信息和字符信息。如果通讯录信息包含第一命令信息和字符信息,那么按照命令编码规则将第一命令信息转换成第一命令字,按照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 includes the first command information and the character information, the first command information is converted into the first command word according to the command encoding rule, and the character information is converted into the first digital information according to the UTF-8 encoding rule, according to the DTMF encoding rule. Converting 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 the speaker to facilitate the address book receiving The device receives the sound signal.
例如,命令编码规则已经将“姓名”预先定义为命令信息,命令信息“姓名”对应的命令字为“*01#”。当通讯录信息为“姓名张三”时,由于通讯录信息中包含命令信息“姓名”和字符信息“张三”,所以按照命令编码规则将命令信息“姓名”转换成命令字“*01#”,按照UTF-8编码规则字符信息“张三”转换成数字信息,假设数字信息为“00010002”,按照DTMF编码规则将命令字“*01#”和数字信息“00010002”转换成双音多频信号,并将双音多频信号作为通讯录信号。For example, the command encoding rule has previously defined "name" as command information, and the command word corresponding to the command information "name" is "*01#". When the address book information is "name sheet three", since the address book information includes 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 rule. ”, according to the UTF-8 encoding rule character information “Zhang San” is converted into digital information, assuming the digital information is “00010002”, the command word “*01#” and the digital information “00010002” are converted into two-tones according to the DTMF encoding rule. The frequency signal and the dual tone multi-frequency signal are used 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, converting the second command information into the second command word according to the command encoding rule, and converting the second command word and the second digital information into the second encoding rule according to the second encoding rule Two DTMF signals; then, To modulate the second DTMF signal into a sound signal; finally, the sound signal can be played out through the speaker so that the address receiving device receives the sound signal.
例如,命令编码规则已经将“电话号码”预先定义为命令信息,命令信息“电话号码”对应的命令字为“*02#”。当通讯录信息为“电话号码15912345678”时,由于通讯录信息中包含命令信息“电话号码”和数字信息“15912345678”,所以按照命令编码规则将命令信息“电话号码”转换成命令字“*02#”,按照DTMF编码规则将命令字“*02#”和数字信息“15912345678”转换成双音多频信号,并将双音多频信号作为通讯录信号。For example, the command encoding rule has previously defined the "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 includes the command information "telephone number" and the digital information "15912345678", the command information "telephone number" is converted into the command word "*02" according to the command encoding rule. #", according to the DTMF encoding rule, the command word "*02#" and the digital information "15912345678" are converted into a dual-tone multi-frequency signal, and the dual-tone multi-frequency signal is used as an address book signal.
在上述两种情况中,数字信息为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: Send the address book signal to the address book receiving device.
其中,通讯录信号可以为DTMF信号,也可以为其他类型的信号。在通讯录接收设备接收到该通讯录信号以后,通讯录接收设备会根据预设编码规则将通讯录信号转换成通讯录信息,从而在不借助外部设备的情况下,实现了通讯录发送设备与通讯录接收设备之间的通讯录信息的传输。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 converts the address book signal into the address book information according to the preset encoding rule, thereby realizing the address book sending device and without using the external device. The transmission of address book information between the 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 transmitted to the address book receiving device in the following manner: first, the DTMF signal is modulated into a sound signal; and then the sound signal is played out through the speaker. So that the address receiving device receives the sound signal. This method is suitable for the communication record transmitting device and the address book receiving device not establishing a communication connection, but the address book receiving device is within the preset range of the address book transmitting device, then the address book transmitting device can modulate the DTMF signal into a sound signal, The speaker plays the sound signal so that the address receiving device receives the sound signal. For example, if the distance between the address book sending device and the address book receiving device is 1 meter, the address book transmitting device can first modulate the DTMF signal into a sound signal, and then play the modulated sound signal through the speaker to make the communication within 1 meter. The recording receiving device can receive the sound signal. Since the modulation of the DTMF signal into a sound signal is a technical means well known to those skilled in the art, it will not be described herein.
在步骤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 can also be transmitted to the address book receiving device in the following manner: The address book transmitting device transmits the DTMF signal to the address book receiving device through the communication connection. This method is suitable for the communication connection device and the address book receiving device have established a communication connection, and the address book transmitting device transmits the DTMF signal to the address book receiving device through the communication connection. For example, the address book sending device is a mobile phone used by the A user, and the address book receiving device is a landline phone used by the B user. It is assumed that the mobile phone and the landline phone have established a voice call through the mobile network. At this time, the A user can send a control command to the mobile phone. So that the mobile phone sends the DTMF signal to the landline phone used by the B user through the mobile network.
在图1所示的实施例中,通讯录发送设备将通讯录信息转化成通讯录信号音发送给通讯录接收设备,通讯录接收设备再将接收到的通讯录信号音转化成通讯录信息,以实现通讯录信息的传输。在通讯录发送设备与通讯录接收设备传输信息的过程中,不需要用到其他任何的辅助设备即可实现,因此,本发明实施例提供的方案不仅能够减少硬件资源的投入,从而降低了硬件成本,而且适用的环境更加广泛,通用性好。In the embodiment shown in FIG. 1, the address book transmitting 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 the address book information. To achieve the transmission of address book information. In the process of transmitting the information by the address book sending device and the address book receiving device, the device can be implemented without using any other auxiliary device. Therefore, the solution provided by the embodiment of the invention can not only reduce the input of hardware resources, but also reduce the hardware. Cost, and the applicable environment is more extensive and versatile.
在本实施例的一个可选的方案中,在步骤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;
其中,搜索信息为通讯录发送设备和通讯录接收设备均可以识别的信息。在通讯录发送设备将通讯录信息发送给通讯录接收设备之前,通讯录发送设备需要先向通讯录接收设备发送搜索信号,以达到通讯录发送设备预先通知通讯录接收设备即将发送通讯录信息的目的。在通讯录接收设备识别出接收到的搜索信号为搜索信息时,则需要向通讯录发送设备发送搜索应答信号,以便于通讯录接收设备告知通讯录发送设备已经做好接收通讯录信息的准备。搜索信息的表现形式为多种,搜索信息由数字来表示,也可以由特殊符号来表示,还可以由数字与特殊符号的任意组合来表示。例如,搜索信息为“***#”。The search information is information that can be recognized by 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 receiving device is about to send the address book information. purpose. When the address receiving device recognizes that the received search signal is the search information, it needs to send a search response signal to the address book transmitting device, so that the address book receiving device informs the address book sending device that the address book transmitting device is ready to receive the address book information. Search information is expressed in a variety of forms. Search information is represented by numbers, by special symbols, and by 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 encoding rule;
其中,需要预先定义好搜索信息与搜索信号之间的对应关系,这样预设编码规则便可以实现搜索信息与搜索信号之间的相互转换。搜索信号可以为DTMF信号,预设编码规则可以为DTMF编码规则,例如,通讯录发送设备可以根据DTMF编码规则将所述搜索信息“***#”转换成一个特定的DTMF信号;而且,通讯录接收设备也可以根据DTMF编码规则识别出该特定的DTMF信号对应的搜索信息为“***#”,从而实现通讯录发送设备与通讯录接收设备之间的相互通信。Wherein, the correspondence between the search information and the search signal needs to be defined in advance, so that the preset encoding rule can realize the mutual conversion between the search information and the search signal. The search signal may be a DTMF signal, and the preset encoding rule may be a DTMF encoding rule. For example, the address book transmitting device may convert the search information “***#” into a specific DTMF signal according to the DTMF encoding rule; The recording receiving device can also identify that the search information corresponding to the specific DTMF signal is “***#” according to the DTMF encoding rule, thereby implementing mutual communication between the address book transmitting device and the address book receiving device.
13)、向所述通讯录接收设备发送所述搜索信号;13) transmitting the search signal to the address book receiving device;
其中,在通讯录发送设备生成搜索信号以后,便将该搜索信号发送给通讯录接收设备,以便于该通讯录接收设备在根据预设编码规则将搜索信号转换成搜索信息时,根据预设编码规则将搜索应答信息转换成搜索应答信号发送给通讯录发送设备。After the address book sending device generates the search signal, the search signal is sent to the address book receiving device, so that the address book receiving device converts the search signal into the search information according to the preset encoding rule, according to the preset code. The rule converts the search response information into a search response signal and sends it to the address book transmitting device.
搜索应答信息为通讯录发送设备和通讯录接收设备均可以识别的信息。在通讯录接收设备向通讯录发送设备发送搜索应答信号时,说明通讯录接收设备已经做好了接收通讯录信息的准备,并告知通讯录发送设备。另外,搜索应答信息的表现形式为多种,搜索信息由数字来表示,也可以由特殊符号来表示,还可以由数字与特殊符号的任意组合来表示。例如,搜索信息为“##”。 The search response information is information that can be recognized 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 transmitting device, it indicates that the address book receiving device is ready to receive the address book information, and informs the address book transmitting device. In addition, the search response information is expressed in a plurality of forms, the search information is represented by a number, may be represented by a special symbol, or may be represented by 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;
其中,在通讯录发送设备接收到搜索应答信号以后,并不能根据搜索应答信号了解到通讯录接收设备已经做好了接收通讯录信息的准备。通讯录发送设备需要根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息,通过对搜索应答信息进行识别才能够得知通讯录接收设备已经做好了接收通讯录信息的准备。After receiving the search response signal, the address book sending device cannot know that the address book receiving device has prepared to receive the address book information according to the search response signal. The address book sending device needs to convert the search response signal into the search response information according to the preset encoding rule, and by identifying the search response information, it can be known that the address book receiving device is ready to receive the address book information.
15)、当根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息时,执行步骤S101。15) When the search response signal is converted into the search response information according to the preset encoding rule, step S101 is performed.
其中,需要预先定义好搜索应答信息与搜索应答信号之间的对应关系,这样预设编码规则便可以实现搜索应答信息与搜索应答信号之间的相互转换。搜索应答信号可以为DTMF信号,预设编码规则可以为DTMF编码规则,例如,通讯录接收设备可以根据DTMF编码规则将所述搜索应答信息“##”转换成一个特定的DTMF信号;而且,通讯录发送设备也可以根据DTMF编码规则识别出该特定的DTMF信号对应的搜索信息为“##”,从而实现通讯录发送设备与通讯录接收设备之间的相互通信。Wherein, the correspondence between the search response information and the search response signal needs to be defined in advance, so that the preset encoding rule can realize the mutual conversion between the search response information and the search response signal. The search response signal may be a DTMF signal, and the preset encoding rule may be a DTMF encoding rule. For example, the address book receiving device may convert the search response information “##” into a specific DTMF signal according to the DTMF encoding rule; The recording and transmitting device can also identify that the search information corresponding to the specific DTMF signal is “##” according to the DTMF encoding rule, thereby implementing mutual communication between the address book transmitting 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 rule, it indicates that the address book sending device knows that the address book receiving device is ready to receive the address book information, then Step S101 is performed to enter the step of acquiring the address book information.
在步骤11)至步骤15)中,这5个步骤可以使通讯录发送设备搜索到通讯录接收设备,以便于通讯录发送设备在后续步骤可以向通讯录接收设备发送通讯录信息。In step 11) to step 15), the five steps enable the address book transmitting device to search for the address book receiving device, so that the address book transmitting device can transmit the address book information to the address book receiving device in a subsequent step.
实施例二 Embodiment 2
请参见图2所示,图2所示的为另一种通讯录信息的传输方法的流程图。本实施例是在实施例一基础上的一种扩充,关于本实施例方法步骤中与实施例一重复性的内容可参见实施例一的内容,在本实施例中不再赘述。图2所示的方法不仅能够减少硬件资源的投入,通用性好,而且可以接收通讯录接收设备发送的反馈信号,在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,再重新向通讯录接收设备发送通讯录信号,以使通讯录接收设备接收到正确的通讯录信号。该方法包括:Referring to FIG. 2, FIG. 2 is a flowchart of another method for transmitting address book information. This embodiment is an extension of the first embodiment. For the content of the method in this embodiment, the content of the method is repetitive, and the content of the first embodiment is not mentioned in the embodiment. The method shown in FIG. 2 can not only reduce the input of hardware resources, but also has good versatility, and can receive the feedback signal sent by the address book receiving device, and determine, according to the feedback information, that the address book receiving device does not successfully receive the communication. When the signal is recorded, the address book signal is sent back to the address receiving device to enable the address book receiving device to receive the correct address book signal. The method includes:
步骤S201、获取通讯录信息;Step S201, obtaining address book information;
步骤S202、根据预设编码规则将通讯录信息转换成通讯录信号; Step S202: Convert the address book information into an address book signal according to a preset encoding rule.
步骤S203、向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息;Step S203: Send 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: Receive a feedback signal sent by the address book receiving device.
其中,在本发明实施例执行完步骤S203之后,通讯录接收设备已经接收到该通讯录信号。如果通讯录接收设备识别出通讯录信号存在错误,那么通讯录接收设备会向通讯录发送设备发送反馈信号,要求通讯录发送设备重新发送通讯录信号。在通讯录发送设备接收通讯录接收设备发送的反馈信号之后,通过后续步骤可以识别出该反馈信号所表示的含义。After the step S203 is performed in the embodiment of the present invention, the address book receiving device has received the address book signal. If the address receiving device recognizes that there is an error in the address book signal, the address book receiving device sends a feedback signal to the address book transmitting device, requesting the address book transmitting device to resend the address book signal. After the address book transmitting device receives the feedback signal sent by the address book receiving device, the meaning represented by the feedback signal can be identified through subsequent steps.
步骤S205、根据所述预设编码规则将所述反馈信号转换成反馈信息;Step S205: Convert the feedback signal into feedback information according to the preset encoding rule.
其中,在实施例一中已经说明如何根据预设编码规则来使信号和信息之间相互转换,所以关于此内容,可以参见实施例一的内容,在此不再赘述。For example, in the first embodiment, how to convert the signal and the information according to the preset coding rule is used. Therefore, for the content, refer to the content of the first embodiment, and details are not described herein again.
步骤S206、当根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。Step S206: When it is determined according to the feedback information that the address book receiving device does not successfully receive the address book signal, retransmit the address book signal to the address book receiving device.
其中,在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,说明通讯录接收设备之前接收到的通讯录信号存在错误,需要通讯录发送设备重新发送一次通讯录信号。由于反馈信息为通讯录发送设备和通讯录接收设备均能够识别的信息,所以通讯录发送设备在根据所述预设编码规则将所述反馈信号转换成反馈信息时,便可以得知反馈信息的含义,如果识别出反馈信息的含义为通讯录接收设备未成功接收通讯录信号,那么通讯录发送设备便需要重新发送一次通讯录信号,以使通讯录接收设备再接收一次该通讯录信号。如果识别出反馈信息的含义为通讯录接收设备成功接收通讯录信号,那么通讯录发送设备便可以获取下一条通讯录信息,并执行步骤S202,以使下一条通讯录信息被成功的转换成通讯录信号,并将该通讯录信号发送至通讯录接收设备中,直到所有待发送的通讯录信息全部被发送完成为止。When it is determined that the address book receiving device does not successfully receive the address book signal according to the feedback information, it indicates that there is an error in the address book signal received by the address book receiving device, and the address book sending device needs to resend the communication. Record the signal. Since the feedback information is information that can be recognized by the address book sending device and the address book receiving device, when the address book transmitting device converts the feedback signal into feedback information according to the preset encoding rule, the feedback information can be known. Meaning, if the meaning of the feedback information is recognized that the address book receiving device has not successfully received the address book signal, the address book transmitting device needs to resend the address book signal once, so that the address book receiving device receives the address book signal again. If the meaning of the feedback information is recognized that the address book receiving device successfully receives the address book signal, the address book transmitting device can acquire the next address book information, and step S202 is performed to enable the next address book information to be successfully converted into communication. Record the signal and send the address book signal to the address book receiving device until all the address book information to be sent is sent.
在图2所示的实施例中,本发明实施例提供的方案不仅能够减少硬件资源的投入,通用性好,而且在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,通讯录发送设备可以重新发送通讯录信号,以使通讯录接收设备接收到正确的通讯录信号。In the embodiment shown in FIG. 2, the solution provided by the embodiment of the present invention can not only reduce the input of hardware resources, but also has good versatility, and determines that the address book receiving device does not successfully receive the communication according to the feedback information. When the signal is recorded, the address book transmitting device can resend the address book signal so that the address book receiving device receives the correct address book signal.
实施例三 Embodiment 3
请参见图3所示,图3所示的为又一种通讯录信息的传输方法的流程图。本实施例提供的方法可以应用在通讯录接收设备中,而实施例一提供的方法可以应用在通讯录发送设备中,所以本实施例提供的方法可以与实施例一提供的方法相互配合使用。本实施例可以应用在通讯录接收设备中,本实施例不仅可以在通讯录发送设备与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该方法包括:Referring to FIG. 3, FIG. 3 is a flowchart of still another method for transmitting address book information. The method provided in this embodiment can be applied to the address book receiving device, and the method provided in the first embodiment can be applied to the address book sending device. Therefore, the method provided in this embodiment can be used in conjunction with the method provided in the first embodiment. The embodiment can be applied to the address book receiving device. This embodiment can reduce the input of hardware resources, reduce the cost, and improve the versatility when the address book information is transmitted between the address book sending device and the address book receiving device. So that users get a better experience. The method includes:
步骤S301、接收通讯录发送设备发送的通讯录信号;Step S301: Receive an address book signal sent by the address book sending device.
在步骤S301之前,通讯录发送设备已经按照预设编码规则将通讯录信息转换成通讯录信号,并将该通讯录信号发送给通讯录接收设备。通讯录接收设备在接收到该通讯录信号以后,需要利用到后续步骤将该通讯录信号再还原成通讯录信息。Before step S301, the address book transmitting device has converted the address book information into an address book signal according to a preset encoding rule, and transmits the address book signal to the address book receiving device. After receiving the address book signal, the address book receiving device needs to use the subsequent steps to restore the address book signal to the address book information.
本发明实施例可以满足多种应用场景,通讯录发送设备可以为手机、座机电话、平板电脑或笔记本电脑等设备,通讯录接收设备也可以为手机、座机电话、平板电脑或笔记本电脑等设备。例如,通讯录发送设备为手机,通讯录接收设备为座机电话,此种场景可以满足手机向座机电话发送通讯录信息;再如,通讯录发送设备为座机电话,通讯录接收设备为手机,此种场景可以满足座机电话向手机发送通讯录信息;又如,通讯录发送设备和通讯录接收设备均为座机电话,此种场景可以满足座机电话向座机电话发送通讯录信息;又如,通讯录发送设备为平板电脑,通讯录接收设备为座机电话,此种场景可以满足平板电脑向座机电话发送通讯录信息。The embodiment of the invention can satisfy various application scenarios. The address book sending device can be a mobile phone, a landline phone, a tablet computer or a laptop 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 sending the address book information to the landline phone; for example, the address book sending device is a landline phone, and the address book receiving device is a mobile phone. The scenario can satisfy the landline phone sending the address book information to the mobile phone; for example, the address book sending device and the address book receiving device are landline phones, such a scenario can satisfy the landline phone sending the address book information to the landline phone; for example, the address book The sending device is a tablet computer, 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 in which the address book signals sent by the address book transmitting device are received is also different. If the address book transmitting device and the address book receiving device have established a communication connection, the address book receiving device can receive the address book signal sent by the address book transmitting device through the communication connection. If the address book sending device and the address book receiving device do not establish a communication connection, but the address book receiving device is within the preset range of the address book transmitting device, the address book transmitting device can modulate the address book signal into a sound signal, and the speaker will The sound signal is played out so that the address receiving device receives the sound signal through the microphone. For example, if the distance between the address book sending device and the address book receiving device is 1 meter, the address book transmitting device can first modulate the DTMF signal into a sound signal, and then play the modulated sound signal through the speaker to make the communication within 1 meter. The recording receiving device can receive the sound signal through the microphone.
步骤S302、根据预设编码规则将通讯录信号转换成通讯录信息;Step S302: Convert 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#”,等等。The preset encoding rules may include UTF-8 (8-bit Unicode Transformation Format), DTMF (Dual Tone Multi Frequency) encoding rules, and command encoding rules. UTF-8 encoding rules and DTMF encoding rules are commonly used in the international encoding rules. Command encoding The rule is a pre-set rule, and the correspondence between the command information and the command word is defined in advance. Usually, the name, telephone number or home address in the address book information is set as the command information, and the combination of the number and the special symbol is set. Defined as a command word, the command encoding rule can realize the mutual conversion of command information and command words. For example, in the command encoding rule, the command information "name" corresponds to the command word "*01#", the command information "phone number" corresponds to the command word "*02#", and the command information "home address" corresponds to Command word "*03#", and so on.
当然,预设编码规则也可以为其他类型的编码规则,只要能够实现将通讯录信息转换成通讯录信号的规则均可。Of course, the preset encoding rule can also be other types of encoding rules, as long as the rules for converting the address book information into the address book signal can be implemented.
下面结合上述UTF-8编码规则、DTMF编码规则和命令编码规则简要介绍转换的具体过程。在将通讯录信息转换成通讯录信号的过程中,通讯录信息存在以下两种情况:The following describes the specific process of conversion in combination with the above UTF-8 encoding rules, DTMF encoding rules, and command encoding rules. In the process of converting address book information into address book signals, there are two cases in the address book information:
第一种情况,在DTMF编码规则将通讯录信号转换成命令字和数字信息之后,确定命令字为第一命令字。如果确定命令字为第一命令字,那么按照命令编码规则将第一命令字转换成第一命令信息,按照DTMF编码规则将数字信息转换成字符信息,并将第一命令信息和字符信息作为通讯录信息。In the first case, after the DTMF encoding rule converts the address book signal into the command word and the digital information, it is determined that the command word is the first command word. If it is determined that the command word is the first command word, the first command word is converted into the first command information according to the command encoding rule, the digital information is converted into the character information according to the DTMF encoding rule, and the first command information and the character information are used as the communication. Record information.
例如,命令编码规则已经将“姓名”预先定义为第一命令信息,第一命令信息“姓名”对应第一命令字为“*01#”。在按照DTMF编码规则将通讯录信号转换成命令字“*01#”和数字信息“00010002”之后,由于命令字“*01#”为第一命令字,所以按照命令编码规则将第一命令字“*01#”转换成第一命令信息“姓名”,按照DTMF编码规则将数字信息“00010002”转换成字符信息“张三”,并将第一命令信息“姓名”和字符信息“张三”作为通讯录信息“姓名张三”。For example, the command encoding rule has previously defined "name" as the first command information, and the first command information "name" corresponds to the first command word being "*01#". After the address book signal is converted into the command word "*01#" and the digital information "00010002" according to the DTMF encoding rule, since the command word "*01#" is the first command word, the first command word is executed according to the command encoding rule. "*01#" is converted into the first command information "name", the digital information "00010002" is converted into the character information "Zhang San" according to the DTMF encoding rule, and the first command information "name" and the character information "Zhang San" are converted. As the address book information "name Zhang San".
第二种情况,在DTMF编码规则将通讯录信号转换成命令字和数字信息之后,确定命令字为第二命令字。如果确定命令字为第二命令字,那么按照命令编码规则将第二命令字转换成第二命令信息,并将第二命令信息和数字信息作为通讯录信息。In the second case, after the DTMF encoding rule converts the address book signal into the command word and the digital information, it is determined that the command word is the second command word. If it is determined that the command word is the second command word, the second command word is converted into the second command information according to the command encoding rule, and the second command information and the digital information are used as the address book information.
例如,命令编码规则已经将“电话号码”预先定义为第二命令信息,第二命令信息“电话号码”对应第二命令字“*02#”。在按照DTMF编码规则将通讯录信号转换成命令字“*02#”和数字信息“15912345678”之后,由于命令字“*02#”为第二命令字,所以按照命令编码规则将第二命令字“*02#”转换成第二命令信息“电话号码”,并将第二命令信息“电话号码”和数字信息“15912345678”作为通讯录信息“电话号码15912345678”。For example, the command encoding rule has previously defined the "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 the digital information "15912345678" according to the DTMF encoding rule, since the command word "*02#" is the second command word, the second command word is executed 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 FIG. 3, the address book transmitting device converts the address book information into an address book signal and sends the address book signal to the address book receiving device, and the address book receiving device converts the received address book signal into the address book information to implement The transmission of address book information. In the process of transmitting the information by the address book sending device and the address book receiving device, the device can be implemented without using any other auxiliary device. Therefore, the solution provided by the embodiment of the invention can not only reduce the input of hardware resources, but also reduce the hardware. Cost, and the applicable environment is more extensive and versatile.
在本实施例的一个可选的方案中,在步骤S301之前,还可以包括以下步骤:In an optional solution of this embodiment, before step S301, the following steps may also be included:
21)、接收所述通讯录发送设备发送的搜索信号,所述搜索信号为所述通讯录发送设备根据所述预设编码规则将所述搜索信息转换得到的;21) 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;
22)、当根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。22), when converting the search signal into search information according to the preset encoding rule, sending a search response signal to the address book sending device, where the search response signal is to search according to the preset encoding rule The response information is converted.
关于该可选的方案的具体内容,可以与实施例一中的步骤11)至步骤15)相互参见即可,在此不再赘述。For details of the optional solution, reference may be made to the mutual reference to the step 11) to the step 15) in the first embodiment, and details are not described herein again.
实施例四Embodiment 4
请参见图4所示,图4是一种通讯录信息的传输装置1的模块图,本实施例公开的装置1可以不借助任何外部设备,即可实现通讯录发送设备与通讯录接收设备7之间通讯录信息的传输,从而减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置1包括:Referring to FIG. 4, FIG. 4 is a block diagram of a device 1 for transmitting address information. The device 1 disclosed in this embodiment can implement the address book sending device and the address book receiving device 7 without any external device. The transmission of address book information, thereby reducing the investment of hardware resources, reducing costs, and can improve versatility, so that users get a better experience. The device 1 comprises:
第一获取模块11,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块12;The first obtaining module 11 is configured to acquire address book information, and transmit the address book information to the first converting module 12;
所述第一转换模块12,用于从所述第一获取模块11接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至第一发送模块13;The first conversion module 12 is configured to receive the address book information from the first acquiring module 11, and convert the address book information into an address book signal according to a preset encoding rule, and then the address book signal Transfer 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 The preset encoding rule converts the address book signal into the address book information.
在一个可选择的方案中,第一转换模块12可以包括以下单元: In an alternative, the first conversion module 12 can include the following elements:
第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述第一发送模块13,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to: when the address book information includes the first command information and the character information, convert the first command information into a first command word according to a command encoding rule, and use the first encoding rule according to the first encoding rule Converting the information into the first digital information, converting the first command word and the first digital information into a first DTMF signal according to a DTMF encoding rule, using the first DTMF signal as the address book signal, performing the a first sending module 13, the command encoding rule is pre-defined and used to implement mutual conversion between command information and a command word, where the first command information is an address book field in the address book information;
第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述第一发送模块13,所述第二命令信息为所述通讯录信息中的通讯录字段。a second execution unit, configured to: when the address book information includes the second command information and the second digital information, convert the second command information into a second command word according to the command encoding rule, according to the DTMF encoding Converting the second command word and the second digital information into a second DTMF signal, using the second DTMF signal as the address book signal, executing the first sending module 13, the The second command information is an address book field in the address book information.
在另一个可选择的方案中,第一发送模块13可以包括以下单元:In another alternative, 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接收到所述声音信号。And a playing unit, configured to play the sound signal through the speaker, so that the address receiving device 7 receives the sound signal.
在另一个可选择的方案中,本实施例提供的装置1还可以包括以下模块:In another alternative, the apparatus 1 provided in this embodiment may further include the following modules:
第二获取模块14,用于获取搜索信息,并将该所述搜索信息传输至第二转换模块15;The second obtaining module 14 is configured to acquire search information, and transmit the search information to the second converting module 15;
所述第二转换模块15,用于从所述第二获取模块14接收所述搜索信息,并根据所述预设编码规则将所述搜索信息转换成搜索信号,再将所述搜索信号发送至第二发送模块16;The second conversion module 15 is configured to receive the search information from the second acquiring module 14, convert the search information into a search signal according to the preset encoding rule, and send the search signal to a 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 receiving device 7 so that the address receiving device 7 is based on When the preset encoding rule converts the search signal into the search information, converting 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 executing 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 implementation when converting the search response signal into search response information according to the preset encoding rule. The first acquisition module is described.
在图4所示的实施例中,本实施例提供的通讯录信息的传输装置1的功能与实施例一实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例一中的内容,在此不再一一赘述。In the embodiment shown in FIG. 4, the function of the transmission device 1 of the address book information provided in this embodiment corresponds to the function implemented in the first embodiment. Therefore, the functions of the modules in this embodiment can be referred to in the first embodiment. The content is not repeated here.
实施例五Embodiment 5
请参见图5所示,图5是另一种通讯录信息的传输装置2的模块图,本实施例公开的装置2不仅能够减少硬件资源的投入,通用性好,而且可以接收通讯录接收设备7发送的反馈信号音,在判断出反馈信息为负确认信息时,在重新向通讯录接收设备7发送通讯录信号音,以使通讯录接收设备7接收到正确的通讯录信号音。该装置2包括:Referring to FIG. 5, FIG. 5 is a block diagram of another device 2 for transmitting address information. The device 2 disclosed in this embodiment can not only reduce the input of hardware resources, but also has good versatility, and can receive the address book receiving device. 7 The feedback signal sound sent, when it is judged that the feedback information is the negative confirmation information, retransmits the address book signal tone to the address book receiving device 7 so that the address book receiving device 7 receives the correct address book signal tone. The device 2 comprises:
第一获取模块21,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块22;The first obtaining module 21 is configured to acquire address book information, and transmit the address book information to the first converting module 22;
所述第一转换模块22,用于从所述第一获取模块21接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至第一发送模块23;The first conversion module 22 is configured to receive the address book information from the first acquiring module 21, and convert the address book information into an address book signal according to a preset encoding rule, and then the address book signal Transfer 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 converting module 22, and send the address book signal to the address book receiving device 7 so that the address book receiving device 7 can The preset encoding rule converts the address book signal into the address book information.
第二接收模块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 send the feedback information to the second Execution module 26;
所述第二执行模块26,用于从所述第三转换模块25接收所述反馈信息,并在根据所述反馈信息确定出所述通讯录接收设备7未成功接收所述通讯录信号时,向所述通讯录接收设备7重新发送所述通讯录信号。The second execution module 26 is configured to receive the feedback information from the third conversion module 25, and when determining, according to the feedback information, that the address book receiving device 7 does not successfully 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 FIG. 5, the function of the transmission device 2 of the address book information provided in this embodiment corresponds to the function implemented in the second embodiment. Therefore, the functions of the modules in this embodiment can be referred to in the second embodiment. The content is not repeated here.
实施例六 Embodiment 6
请参见图6所示,图6是又一种通讯录信息的传输装置3的模块图,本实施例公开的装置3不仅可以在通讯录发送设备8与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置3包括:Referring to FIG. 6, FIG. 6 is a block diagram of another transmission device 3 for the address book information. The device 3 disclosed in this embodiment can not only transmit the address book information between the address book transmitting device 8 and the address book receiving device. When the hardware resources are reduced, the cost is reduced, and the versatility can be improved, so that the user can get a better experience. The device 3 comprises:
第一接收模块31,用于接收通讯录发送设备8发送的通讯录信号,所述通讯录信号为所述通讯录发送设备8根据预设编码规则将通讯录信息转换得到的,并将所述通讯录信号传输至转换模块32;The first receiving module 31 is configured to receive an address book signal sent by the address book sending device 8, where the address book signal is converted by the address book sending device 8 according to a preset encoding 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 an 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 the address book information Transfer 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 aspect, the conversion module 32 can include the following elements:
转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;a conversion unit, configured to convert the address book signal into a command word and digital information according to a DTMF encoding rule, where the address book signal is a DTMF signal;
第一执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块33,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to convert the first command word into first command information according to a command encoding rule when the command word is a first command word, and convert the digital information into characters according to a first encoding rule And the storage module 33 is executed by using the first command information and the character information as the address book information, where the command encoding rule is predefined and used to implement between the command information and the command word. Converting to each other, the first command information is an address book field in the address book information;
第二执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块33,所述第二命令信息为所述通讯录信息中的通讯录字段。a second execution unit, configured to: when the command word is a second command word, convert the second command word into second command information according to a command encoding rule, and use 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 comprises the following units:
接收单元,用于通过话筒接收声音信号,所述声音信号为所述通讯录发送设备8根据DTMF信号调制出来的;a receiving unit, configured to receive a sound signal through the microphone, wherein the sound signal is modulated by the address book transmitting device 8 according to the DTMF signal;
还原单元,用于根据所述声音信号还原出所述DTMF信号。And a restoring unit, configured to restore the DTMF signal according to the sound signal.
在另一个可选择的方案中,本实施例提供的装置3还可以包括以下模块: In another alternative, the apparatus 3 provided in this embodiment may further 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, and the search signal is obtained by converting the search information according to the preset encoding rule by the address book sending device 8;
执行模块35,用于在根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备8,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。The execution module 35 is configured to send a search response signal to the address book transmitting device 8 when converting the search signal into search information according to the preset encoding rule, where the search response signal is according to the preset The encoding rule converts the search response information.
在图6所示的实施例中,本实施例提供的通讯录信息的传输装置3的功能与实施例三实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例三中的内容,在此不再一一赘述。In the embodiment shown in FIG. 6, the function of the transmission device 3 of the address book information provided in this embodiment corresponds to the function implemented in the third embodiment. Therefore, the functions of the modules in this embodiment can be referred to in the third embodiment. The content is not repeated here.
实施例七Example 7
请参见图7所示,图7是又一种通讯录信息的传输装置的模块图,本实施例公开的装置可以不借助任何外部设备,即可实现通讯录发送设备与通讯录接收设备之间通讯录信息的传输,从而减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置包括:Referring to FIG. 7, FIG. 7 is a block diagram of another transmission device for address book information. The device disclosed in this embodiment can realize the communication between the address book sending device and the address book receiving device without any external device. The transmission of address book information, thereby reducing the investment of hardware resources, reducing costs, and can improve versatility, so that users get a better experience. The device includes:
处理器41和存储器42,其中,存储器42内存储有处理器41能够执行的操作指令,处理器41读取存储器42内的操作指令用于实现以下方法:获取通讯录信息;根据预设编码规则将所述通讯录信息转换成通讯录信号;向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息。The processor 41 and the memory 42, wherein the memory 42 stores operation instructions executable by the processor 41, and the processor 41 reads the operation instructions in the memory 42 for implementing the following method: acquiring address book information; according to preset encoding rules Converting the address book information into an address book signal; transmitting 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 .
在图7所示的实施例中,本实施例提供的通讯录信息的传输装置的功能与实施例一实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例一中的内容,在此不再一一赘述。In the embodiment shown in FIG. 7, the function of the transmission device of the address book information provided in this embodiment corresponds to the function implemented in the first embodiment. Therefore, the function of each module in the embodiment can be referred to the content in the first embodiment. I will not repeat them here.
实施例八Example eight
请参见图8所示,图8是又一种通讯录信息的传输装置的模块图,本实施例公开的装置不仅可以在通讯录发送设备与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该装置包括:Referring to FIG. 8, FIG. 8 is a block diagram of another apparatus for transmitting address book information. The apparatus disclosed in this embodiment can reduce not only when the address book information is transmitted between the address book sending device and the address book receiving device. The investment of hardware resources reduces costs, and can improve versatility, so that users get a better experience. The device includes:
处理器51和存储器52,其中,存储器52内存储有处理器51能够执行的操作指令,处理器51读取存储器52内的操作指令用于实现以下方法:接收通讯录发送设备发送的 通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的;根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息;存储所述通讯录信息。The processor 51 and the memory 52, wherein the memory 52 stores therein an operation instruction executable by the processor 51, and the processor 51 reads the operation instruction in the memory 52 for implementing the method of receiving the transmission by the address book transmitting device. An address book signal, wherein the address book signal is converted by the address book sending device according to a preset encoding rule; and the address book signal is converted into the address book information according to the preset encoding rule; The address book information is stored.
在图8所示的实施例中,本实施例提供的通讯录信息的传输装置的功能与实施例三实现的功能相对应,所以关于本实施例各个模块的功能可参见实施例三中的内容,在此不再一一赘述。In the embodiment shown in FIG. 8, the function of the transmission device of the address book information provided in this embodiment corresponds to the function implemented in the third embodiment. Therefore, the function of each module in this embodiment can be referred to the content in the third embodiment. I will not repeat them here.
实施例九Example nine
请参见图9所示,图9是一种通讯录信息的传输系统的模块图,本实施例公开的方案不仅可以在通讯录发送设备与通讯录接收设备之间传输通讯录信息时,减少硬件资源的投入,降低成本,而且可以提高通用性,从而使用户获得较好的体验。该系统包括:通讯录发送设备8和通讯录接收设备7;其中,Referring to FIG. 9, FIG. 9 is a block diagram of a transmission system for address book information. The solution disclosed in this embodiment can reduce hardware not only when the address book information is transmitted between the address book sending device and the address book receiving device. The investment of resources reduces costs and can improve versatility, so that users can get a better experience. The system includes: an address book transmitting device 8 and an address book receiving device 7; wherein
所述通讯录发送设备8包括:The address book sending device 8 includes:
获取模块81,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块82;The obtaining module 81 is configured to obtain the address book information, and transmit the address book information to the first conversion module 82;
所述第一转换模块82,用于从所述获取模块81接收所述通讯录信息,并根据预设编码规则将所述通讯录信息转换成通讯录信号,再将所述通讯录信号传输至发送模块83;The first conversion module 82 is configured to receive the address book information from the acquiring 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 the Sending module 83;
所述发送模块83,用于从所述第一转换模块82接收所述通讯录信号,并向通讯录接收设备的接收模块发送所述通讯录信号;The sending module 83 is configured to receive the address book signal from the first converting module 82, and send the address book signal to a 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 transmitting device, and transmit the address book signal to the second converting module 72;
所述第二转换模块72,用于从所述接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块73;The second conversion module 72 is configured to receive an address book signal from the receiving module, and convert the address book signal into the address book information according to the preset encoding rule, 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中各个模块下的单元。Referring to FIG. 10, FIG. 10 is a block diagram of a transmission system for address book information, and the module diagram shown in FIG. 10 refines the address book transmitting device 8 and the address book receiving device 7 with respect to FIG. The unit under each module.
在图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 executing unit 821 is configured to: when the address book information includes the first command information and the character information, convert the first command information into a first command word according to a command encoding rule, according to the first encoding rule Converting the character information into the first digital information, converting the first command word and the first digital information into a first DTMF signal according to a DTMF encoding rule, and performing a modulation unit 831 of the transmitting module 83, the command encoding rule Pre-defined and used to implement 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,所述第二命令信息为所述通讯录信息中的通讯录字段;a second executing unit 822, configured to: when the address book information includes the second command information and the second digital information, convert the second command information into a second command word according to the command encoding rule, according to the DTMF The encoding rule converts the second command word and the second digital information into a second DTMF signal, and performs a modulation unit 831 of the sending module 83, where the second command information is in the address book information Address book field;
第二转换模块72可以包括以下单元:The second conversion module 72 can include the following units:
转换单元721,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;The converting unit 721 is configured to convert the address book signal into a command word and digital information according to a DTMF encoding rule, where the address book signal is a DTMF signal;
第三执行单元722,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块73;The third executing 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 encoding rule according to the first encoding rule. Character information, and the first command information and the character information as the address book information, the storage module 73;
第四执行单元723,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块73。a fourth executing unit 723, configured to: when the command word is a second command word, convert the second command word into second command information according to a command encoding rule, and use the second command information and the number The information is used as the address book information to execute the storage module 73.
发送模块83可以包括以下单元:The sending module 83 can include the following units:
调制单元831,用于接收第一转换模块82的第一执行单元821发送的第一DTMF信号或接收第一转换模块82的第二执行单元822发送的第二DTMF信号,并将所述第一DTMF信号或第二DTMF信号调制成声音信号; The modulating unit 831 is configured to receive the first DTMF signal sent by the first executing unit 821 of the first converting module 82 or the second DTMF signal sent by the second executing unit 822 of the first converting module 82, and the first The DTMF signal or the second DTMF signal is modulated into a sound signal;
播放单元832,用于通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备7的接收模块71的接收单元711接收到所述声音信号;The playing unit 832 is configured to play the sound signal through the speaker, so that the receiving unit 711 of the receiving module 71 of the address book receiving device 7 receives the sound signal;
接收模块71包括以下单元:The receiving module 71 includes the following units:
所述接收单元711,用于通过话筒接收所述通讯录发送设备8的发送模块83的播放单元832播放的所述声音信号;The receiving unit 711 is configured to receive, by using a microphone, the sound signal played by the playing unit 832 of the sending module 83 of the address book transmitting device 8;
还原单元712,用于根据所述声音信号还原出所述DTMF信号。The restoration 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 functions of the transmission system of the address book information provided in this embodiment correspond to the functions implemented in the first embodiment, the second embodiment, and the third embodiment. For the functions of the module, refer to the contents in the first embodiment, the second embodiment, and the third embodiment, and details are not described herein again.
需要说明的是,图1至图10所示的实施例只是本发明所介绍的优选实施例,本领域技术人员在此基础上,完全可以设计出更多的实施例,因此不在此处赘述。It should be noted that the embodiments shown in FIG. 1 to FIG. 10 are only preferred embodiments of the present invention, and those skilled in the art can design more embodiments based on this, and therefore are not described herein.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (25)

  1. 一种通讯录信息的传输方法,其特征在于,包括:A method for transmitting address book information, comprising:
    获取通讯录信息;Get address book information;
    根据预设编码规则将所述通讯录信息转换成通讯录信号;Converting the address book information into an address book signal according to a preset encoding rule;
    向通讯录接收设备发送所述通讯录信号,以便于所述通讯录接收设备根据所述预设编码规则将通讯录信号转换成所述通讯录信息。And transmitting 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.
  2. 根据权利要求1所述的通讯录信息的传输方法,其特征在于,所述根据预设编码规则将所述通讯录信息转换成通讯录信号,包括以下子步骤:The method for transmitting address book information according to claim 1, wherein the converting the address book information into an address book signal according to a preset encoding rule comprises the following substeps:
    当所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照双音多频DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述向通讯录接收设备发送所述通讯录信号步骤;When the address book information includes the first command information and the character information, the first command information is converted into the first command word according to the command encoding rule, and the character information is converted into the first digital information according to the first encoding rule. Converting the first command word and the first digital information into a first DTMF signal according to a dual tone multi-frequency DTMF coding rule, and using the first DTMF signal as the address book signal to perform the address book Receiving, by the receiving device, the address record signal step;
    当所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述向通讯录接收设备发送所述通讯录信号步骤;And when the address book information includes the second command information and the second digital information, converting the second command information into a second command word according to the command encoding rule, and performing the foregoing according to the DTMF encoding rule. Converting the second command word and the second digital information into a second DTMF signal, and using the second DTMF signal as the address book signal, performing the step of transmitting the address book signal to the address book receiving device;
    所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息和所述第二命令信息均为所述通讯录信息中的通讯录字段。The command encoding rule is predefined and used to implement mutual conversion between the command information and the command word, and the first command information and the second command information are all address book fields in the address book information.
  3. 根据权利要求2所述的通讯录信息的传输方法,其特征在于,所述第一编码规则为万国码UTF-8编码规则。The method for transmitting address book information according to claim 2, wherein the first encoding rule is a Unicode UTF-8 encoding rule.
  4. 根据权利要求2所述的通讯录信息的传输方法,其特征在于,所述第一命令字和所述第二命令字均为数字、特殊符号或数字与特殊符号的任意组合。The method for transmitting address book information according to claim 2, wherein the first command word and the second command word are each a number, a special symbol, or any combination of a number and a special symbol.
  5. 根据权利要求1所述的通讯录信息的传输方法,其特征在于,所述通讯录信号为DTMF信号;所述向通讯录接收设备发送所述通讯录信号,包括:The method for transmitting address book information according to claim 1, wherein the address book signal is a DTMF signal; and the transmitting the address book signal to the address book receiving device comprises:
    将所述DTMF信号调制成声音信号;Modulating the DTMF signal into a sound signal;
    通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备接收到所述声音信号。The sound signal is played out through a speaker so that the address receiving device receives the sound signal.
  6. 根据权利要求1所述的通讯录信息的传输方法,其特征在于,在所述向通讯录接收设备发送所述通讯录信号之后,还包括:The method for transmitting address book information according to claim 1, wherein after the transmitting the address book signal to the address book receiving device, the method further comprises:
    接收所述通讯录接收设备发送的反馈信号;Receiving a feedback signal sent by the address book receiving device;
    根据所述预设编码规则将所述反馈信号转换成反馈信息;Converting the feedback signal into feedback information according to the preset encoding rule;
    当根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。And determining, when the address book receiving device fails to receive the address book signal according to the feedback information, resending the address book signal to the address book receiving device.
  7. 根据权利要求1所述的通讯录信息的传输方法,其特征在于,在所述获取通讯录 信息之前,还包括:The method for transmitting address book information according to claim 1, wherein said obtaining an address book is Before the information, it also includes:
    获取搜索信息;Get 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, according to the preset encoding rule Search response information is converted into a search response signal;
    接收所述通讯录接收设备发送的所述搜索应答信号;Receiving the search response signal sent by the address book receiving device;
    当根据所述预设编码规则将所述搜索应答信号转换成搜索应答信息时,执行所述获取通讯录信息的步骤。When the search response signal is converted into search response information according to the preset encoding rule, the step of acquiring the address book information is performed.
  8. 一种通讯录信息的传输方法,其特征在于,包括:A method for transmitting address book information, comprising:
    接收通讯录发送设备发送的通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的;Receiving an address book signal sent by the address book sending device, where the address book signal is converted by the address book sending device according to a preset encoding rule;
    根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息;Converting the address book signal into the address book information according to the preset encoding rule;
    存储所述通讯录信息。The address book information is stored.
  9. 根据权利要求8所述的通讯录信息的传输方法,其特征在于,所述通讯录信号为DTMF信号,所述根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,包括以下子步骤:The method for transmitting address book information according to claim 8, wherein the address book signal is a DTMF signal, and the address book signal is converted into the address book information according to the preset encoding rule. Includes the following substeps:
    按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息;Converting the address book signal into command words and digital information according to DTMF encoding rules;
    当所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储所述通讯录信息的步骤;When the command word is the first command word, converting the first command word into the first command information according to the command encoding rule, converting the digital information into character information according to the first encoding rule, and a command information and the character information as the address book information, performing the step of storing the address book information;
    当所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储所述通讯录信息的步骤;When the command word is the second command word, converting the second command word into the second command information according to the command encoding rule, and using the second command information and the digital information as the address book information, Performing the step of storing the address book information;
    所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息和所述第二命令信息均为所述通讯录信息中的通讯录字段。The command encoding rule is predefined and used to implement mutual conversion between the command information and the command word, and the first command information and the second command information are all address book fields in the address book information.
  10. 根据权利要求9所述的通讯录信息的传输方法,其特征在于,所述第一编码规则为万国码UTF-8编码规则。The method for transmitting address book information according to claim 9, wherein the first encoding rule is a Unicode UTF-8 encoding rule.
  11. 根据权利要求9所述的通讯录信息的传输方法,其特征在于,所述命令字、第一命令字和第二命令字均为数字、特殊符号或数字与特殊符号的任意组合。The method for transmitting address book information according to claim 9, wherein the command word, the first command word and the second command word are all numbers, special symbols or any combination of numbers and special symbols.
  12. 根据权利要求8所述的通讯录信息的传输方法,其特征在于,所述通讯录信号为DTMF信号;所述接收通讯录发送设备发送的通讯录信号,包括:The method for transmitting address book information according to claim 8, wherein the address book signal is a DTMF signal; and the address book signal sent by the receiving address book transmitting device comprises:
    通过话筒接收声音信号,所述声音信号为所述通讯录发送设备根据DTMF信号调制 出来的;Receiving a sound signal through a microphone, the sound signal being modulated by the address book transmitting device according to a DTMF signal from;
    根据所述声音信号还原出所述DTMF信号。The DTMF signal is restored based on the sound signal.
  13. 根据权利要求8所述的通讯录信息的传输方法,其特征在于,在所述接收通讯录发送设备发送的通讯录信号之前,还包括:The method for transmitting address book information according to claim 8, wherein before the receiving the address book signal sent by the address book transmitting device, the method further comprises:
    接收所述通讯录发送设备发送的搜索信号,所述搜索信号为所述通讯录发送设备根据所述预设编码规则将所述搜索信息转换得到的;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 the search signal is converted into search information according to the preset encoding rule, the search response signal is sent to the address book transmitting device, and the search response signal is used to convert the search response information according to the preset encoding rule. owned.
  14. 一种通讯录信息的传输装置,其特征在于,包括:A device for transmitting address book information, comprising:
    第一获取模块,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块;a first acquiring 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 first acquiring module, convert the address book information into an address book signal according to a preset encoding rule, and 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 is configured according to the preset code The rules convert the address book signal into the address book information.
  15. 根据权利要求14所述的通讯录信息的传输装置,其特征在于,所述第一转换模块包括以下单元:The apparatus for transmitting address book information according to claim 14, wherein the first conversion module comprises the following units:
    第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述第一发送模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to: when the address book information includes the first command information and the character information, convert the first command information into a first command word according to a command encoding rule, and use the first encoding rule according to the first encoding rule Converting the information into the first digital information, converting the first command word and the first digital information into a first DTMF signal according to a DTMF encoding rule, using the first DTMF signal as the address book signal, performing the a first sending module, where the command encoding rule is predefined and used to implement mutual conversion between command information and a command word, where the first command information is an address book field in the address book information;
    第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述第一发送模块,所述第二命令信息为所述通讯录信息中的通讯录字段。a second execution unit, configured to: when the address book information includes the second command information and the second digital information, convert the second command information into a second command word according to the command encoding rule, according to the DTMF encoding Converting the second command word and the second digital information into a second DTMF signal, using the second DTMF signal as the address book signal, performing the first sending module, the second The command information is an address book field in the address book information.
  16. 根据权利要求14所述的通讯录信息的传输装置,其特征在于,所述通讯录信号为DTMF信号;所述第一发送模块包括:The device for transmitting address book information according to claim 14, wherein the address book signal is a DTMF signal; the first sending module comprises:
    调制单元,用于将所述DTMF信号调制成声音信号;a modulating unit, configured to modulate the DTMF signal into a sound signal;
    播放单元,用于通过扬声器将所述声音信号播放出去,以便于所述通讯录接收设备 接收到所述声音信号。a playing unit, configured to play the sound signal through a speaker, so as to facilitate the address receiving device The sound signal is received.
  17. 根据权利要求14所述的通讯录信息的传输装置,其特征在于,还包括:The device for transmitting address book information according to claim 14, further comprising:
    第二获取模块,用于获取搜索信息,并将该所述搜索信息传输至第二转换模块;a second acquiring module, configured to acquire search information, and transmit the search information to the second conversion module;
    所述第二转换模块,用于从所述第二获取模块接收所述搜索信息,并根据所述预设编码规则将所述搜索信息转换成搜索信号,再将所述搜索信号发送至第二发送模块;The second conversion module is configured to receive the search information from the second acquiring module, convert the search information into a search signal according to the preset encoding rule, and send the search signal to a second Sending module
    所述第二发送模块,用于从所述第二转换模块接收所述搜索信号,并向所述通讯录接收设备发送所述搜索信号,以便于所述通讯录接收设备在根据所述预设编码规则将所述搜索信号转换成所述搜索信息时,根据所述预设编码规则将搜索应答信息转换成搜索应答信号;The second sending module is configured to receive the search signal from the second conversion module, and send the search signal to the address receiving device, so that the address receiving device is according to the preset When the encoding rule converts the search signal into the search information, converting the search response information into a 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 execute the foregoing when converting the search response signal into search response information according to the preset encoding rule. An acquisition module.
  18. 根据权利要求14所述的通讯录信息的传输装置,其特征在于,还包括:The device for transmitting address book information according to claim 14, further comprising:
    第二接收模块,用于接收所述通讯录接收设备发送的反馈信号,并将所述反馈信号传输至第三转换模块;a second receiving module, 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 send the feedback information to the second execution module ;
    所述第二执行模块,用于从所述第三转换模块接收所述反馈信息,并在根据所述反馈信息确定出所述通讯录接收设备未成功接收所述通讯录信号时,向所述通讯录接收设备重新发送所述通讯录信号。The second execution module is configured to receive the feedback information from the third conversion module, and when determining, according to the feedback information, that the address book receiving device does not successfully receive the address book signal, to the The address book receiving device resends the address book signal.
  19. 一种通讯录信息的传输装置,其特征在于,包括:A device for transmitting address book information, comprising:
    第一接收模块,用于接收通讯录发送设备发送的通讯录信号,所述通讯录信号为所述通讯录发送设备根据预设编码规则将通讯录信息转换得到的,并将所述通讯录信号传输至转换模块;a first receiving module, configured to receive an address book signal sent by the address book sending device, where the address book signal is converted by the address book sending device according to a preset encoding rule, and the address book signal is converted Transfer to the conversion module;
    所述转换模块,用于从所述第一接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块;The conversion module is configured to receive an address book signal from the first receiving module, convert the address book signal into the address book information according to the preset encoding rule, 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.
  20. 根据权利要求19所述的通讯录信息的传输装置,其特征在于,所述转换模块包括以下单元:The device for transmitting address book information according to claim 19, wherein the conversion module comprises the following units:
    转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号; a conversion unit, configured to convert the address book signal into a command word and digital information according to a DTMF encoding rule, where the address book signal is a DTMF signal;
    第一执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to convert the first command word into first command information according to a command encoding rule when the command word is a first command word, and convert the digital information into characters according to a first encoding rule And executing the storage module as the information, and using the first command information and the character information as the address book information, where the command encoding rule is predefined and used to implement mutual interaction between command information and command words. Converting, the first command information is an address book field in the address book information;
    第二执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块,所述第二命令信息为所述通讯录信息中的通讯录字段。a second execution unit, configured to: when the command word is a second command word, convert the second command word into second command information according to a command encoding rule, and use 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.
  21. 根据权利要求19所述的通讯录信息的传输装置,其特征在于,所述通讯录信号为DTMF信号;所述接收模块包括以下单元:The device for transmitting address book information according to claim 19, wherein the address book signal is a DTMF signal; and the receiving module comprises the following unit:
    接收单元,用于通过话筒接收声音信号,所述声音信号为所述通讯录发送设备根据DTMF信号调制出来的;a receiving unit, configured to receive, by using a microphone, a sound signal, where the sound signal is modulated by the address book transmitting device according to the DTMF signal;
    还原单元,用于根据所述声音信号还原出所述DTMF信号。And a restoring unit, configured to restore the DTMF signal according to the sound signal.
  22. 根据权利要求19所述的通讯录信息的传输装置,其特征在于,还包括:The device for transmitting address book information according to claim 19, further comprising:
    第二接收模块,用于接收所述通讯录发送设备发送的搜索信号,所述搜索信号为所述通讯录发送设备根据所述预设编码规则将所述搜索信息转换得到的;a second receiving module, configured to receive 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;
    执行模块,用于在根据所述预设编码规则将所述搜索信号转换成搜索信息时,将搜索应答信号发送给所述通讯录发送设备,所述搜索应答信号为根据所述预设编码规则将搜索应答信息转换得到的。An execution module, configured to: when the search signal is converted into search information according to the preset encoding rule, send a search response signal to the address book sending device, where the search response signal is according to the preset encoding rule Convert the search response information.
  23. 一种通讯录信息的传输系统,其特征在于,包括:通讯录接收设备和通讯录发送设备;A transmission system for address book information, comprising: an address book receiving device and an address book transmitting device;
    所述通讯录发送设备包括:The address book sending device includes:
    获取模块,用于获取通讯录信息,并将所述通讯录信息传输至第一转换模块;An obtaining module, configured 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 acquiring 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 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 a receiving module of the address book receiving device;
    所述通讯录接收设备包括:The address book receiving device includes:
    所述接收模块,用于接收通讯录发送设备的发送模块发送的通讯录信号,并将所述通讯录信号传输至第二转换模块;The receiving module is configured to receive an address book signal sent by a sending module of the address book sending device, and transmit the address book signal to the second converting module;
    所述第二转换模块,用于从所述接收模块接收通讯录信号,并根据所述预设编码规则将所述通讯录信号转换成所述通讯录信息,再将所述通讯录信息传输至存储模块;The second conversion module is configured to receive an address book signal from the receiving module, convert the address book signal into the address book information according to the preset encoding rule, 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.
  24. 根据权利要求23所述的通讯录信息的传输系统,其特征在于,A transmission system for address book information according to claim 23, characterized in that
    所述第一转换模块包括以下单元:The first conversion module includes the following units:
    第一执行单元,用于在所述通讯录信息包含第一命令信息和字符信息时,按照命令编码规则将所述第一命令信息转换成第一命令字,按照第一编码规则将所述字符信息转换成第一数字信息,按照DTMF编码规则将所述第一命令字和所述第一数字信息转换成第一DTMF信号,将所述第一DTMF信号作为所述通讯录信号,执行所述发送模块,所述命令编码规则为预先定义的且用于实现命令信息与命令字之间的相互转换,所述第一命令信息为所述通讯录信息中的通讯录字段;a first execution unit, configured to: when the address book information includes the first command information and the character information, convert the first command information into a first command word according to a command encoding rule, and use the first encoding rule according to the first encoding rule Converting the information into the first digital information, converting the first command word and the first digital information into a first DTMF signal according to a DTMF encoding rule, using the first DTMF signal as the address book signal, performing the a sending module, where the command encoding rule is predefined and used to implement mutual conversion between command information and a command word, where the first command information is an address book field in the address book information;
    第二执行单元,用于在所述通讯录信息包含第二命令信息和第二数字信息时,按照所述命令编码规则将所述第二命令信息转换成第二命令字,按照所述DTMF编码规则将所述所述第二命令字和所述第二数字信息转换成第二DTMF信号,将所述第二DTMF信号作为所述通讯录信号,执行所述发送模块,所述第二命令信息为所述通讯录信息中的通讯录字段;a second execution unit, configured to: when the address book information includes the second command information and the second digital information, convert the second command information into a second command word according to the command encoding rule, according to the DTMF encoding The rule converts the second command word and the second digital information into a second DTMF signal, and uses the second DTMF signal as the address book signal to execute the sending module, the second command information For the address book field in the address book information;
    所述第二转换模块包括以下单元:The second conversion module includes the following units:
    转换单元,用于按照DTMF编码规则将所述通讯录信号转换成命令字和数字信息,所述通讯录信号为DTMF信号;a conversion unit, configured to convert the address book signal into a command word and digital information according to a DTMF encoding rule, where the address book signal is a DTMF signal;
    第三执行单元,用于在所述命令字为第一命令字时,按照命令编码规则将所述第一命令字转换成第一命令信息,按照第一编码规则将所述数字信息转换成字符信息,并将所述第一命令信息和所述字符信息作为所述通讯录信息,执行所述存储模块;a third execution unit, configured to convert the first command word into first command information according to a command encoding rule when the command word is a first command word, and convert the digital information into characters according to a first encoding rule And executing the storage module as the information, and using the first command information and the character information as the address book information;
    第四执行单元,用于在所述命令字为第二命令字时,按照命令编码规则将所述第二命令字转换成第二命令信息,并将所述第二命令信息和所述数字信息作为所述通讯录信息,执行所述存储模块。a fourth execution unit, configured to: when the command word is a second command word, convert the second command word into second command information according to a command encoding rule, and use the second command information and the digital information As the address book information, the storage module is executed.
  25. 根据权利要求23所述的通讯录信息的传输系统,其特征在于,所述通讯录信号为DTMF信号;The communication system for transmitting address information according to claim 23, wherein said 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 playing 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 receives the sound signal;
    所述接收模块包括以下单元:The receiving module includes the following units:
    所述接收单元,用于通过话筒接收所述通讯录发送设备的发送模块的播放单元播放的所述声音信号;The receiving unit is configured to receive, by using a microphone, the sound signal played by a playing unit of a sending module of the address book sending device;
    还原单元,用于根据所述声音信号还原出所述DTMF信号。 And a restoring unit, configured to restore the DTMF signal according to the sound signal.
PCT/CN2015/074967 2014-04-11 2015-03-24 Method, device and system for transmitting address book information WO2015154621A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410143768.4A CN104980904A (en) 2014-04-11 2014-04-11 Address list information transmission method, device and system
CN201410143768.4 2014-04-11

Publications (1)

Publication Number Publication Date
WO2015154621A1 true WO2015154621A1 (en) 2015-10-15

Family

ID=54276882

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074967 WO2015154621A1 (en) 2014-04-11 2015-03-24 Method, device and system for transmitting address book information

Country Status (2)

Country Link
CN (1) CN104980904A (en)
WO (1) WO2015154621A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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
CN111065094B (en) * 2019-12-16 2023-08-25 Oppo广东移动通信有限公司 Address book transmission method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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, device and system
CN101795325A (en) * 2010-03-26 2010-08-04 华为终端有限公司 Number inputting method and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100690712B1 (en) * 2003-10-23 2007-03-09 엘지전자 주식회사 Method for loading phone number when line is busy
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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, device and system
CN101795325A (en) * 2010-03-26 2010-08-04 华为终端有限公司 Number inputting method and terminal

Also Published As

Publication number Publication date
CN104980904A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
US8281369B2 (en) Method and apparatus for creating secure write-enabled web pages that are associated with active telephone calls
US20170034149A1 (en) Intelligent Communications Method, Terminal, and System
US20110179182A1 (en) Method for pairing a computer with a video conference device
CN104035565A (en) Input method, input device, auxiliary input method and auxiliary input system
KR102041172B1 (en) Session Initiation Method and Device
CN104244198B (en) The method and device that a kind of pair of calling on-state is prompted
US9658817B2 (en) Screen sharing terminal, method of screen sharing, and program for screen sharing terminal
WO2013102413A1 (en) Voice approval method, device and system
KR20130004263A (en) Seamlessly transferring a communication
EP4262320A1 (en) Call processing system and call processing method
CN101606360B (en) Unique compressed call identifiers
TW201607357A (en) Toning control method of WiFi device setting by smart device
CN104010086B (en) The processing method of call-information and device, terminal installation between terminal
CN103840997A (en) Method and device for establishing network connection
WO2015154621A1 (en) Method, device and system for transmitting address book information
US8634519B2 (en) Selecting a message greeting for an unavailable party based upon contextual data associated with a contacting party
CN104486665A (en) Remote assistance method and device of mobile terminal
US10848530B2 (en) Conference system and method for interworking between audio conference and web conference
CN103001948A (en) Method and system for controlling computer terminal by handheld device through scan codes
CN105391702A (en) Audio/video communication method, terminal, server and platform
US20140179294A1 (en) Electronic device and method for transferring communication session
WO2017054496A1 (en) Method and apparatus for sending and acquiring text information
US9819720B2 (en) System and method to correlate local media URIs between web browsers
US9491287B2 (en) Ringtone assignment system and the method thereof
TW201640863A (en) Instant communication method and server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15776496

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15776496

Country of ref document: EP

Kind code of ref document: A1