WO2015117462A1 - Method and device for sending/receiving information about contact person - Google Patents

Method and device for sending/receiving information about contact person Download PDF

Info

Publication number
WO2015117462A1
WO2015117462A1 PCT/CN2014/091691 CN2014091691W WO2015117462A1 WO 2015117462 A1 WO2015117462 A1 WO 2015117462A1 CN 2014091691 W CN2014091691 W CN 2014091691W WO 2015117462 A1 WO2015117462 A1 WO 2015117462A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
feature
format
file
feature data
Prior art date
Application number
PCT/CN2014/091691
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 WO2015117462A1 publication Critical patent/WO2015117462A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
    • H04M1/2757Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a method and device for transmitting contact information, and a receiving method and device.
  • the contact item is a relatively core module in the mobile phone, and the format of the feature information of the contact in the contact item is saved and sent to the external terminal for sharing, etc., which are all important parts in the mobile phone usage scenario.
  • the feature information in the current contact item is mainly stored and processed in the mobile phone through the database, and the feature information generally includes an image, a name, a number, etc., and the feature information in the contact item is saved and backed up.
  • the external terminal sends the sharing process mainly through the vcf file format.
  • the vcf file format is not a commonly used file format, and when the feature information of the image is combined with other information, it is inconvenient to send.
  • the external terminal generally does not have software that can open the file, so that the file cannot be browsed, and the sharing of the contact file is meaningless, affecting the user experience.
  • the embodiment of the invention provides a method and a device for transmitting contact information, which solves the problem that the contact feature information in the prior art does not easily be sent to an external device when the image feature data is included.
  • the embodiment of the present invention adopts the following technical solutions:
  • a method for sending contact information including:
  • the feature information includes at least text feature information and image feature information, wherein one of the feature information includes feature data of a format, the special feature
  • the format of the levy data includes at least: a text feature data format and an image feature data format;
  • the contact file is sent by way of data communication.
  • the encapsulating the feature information corresponding to the contact to be processed into a contact file in an image format comprises: encoding feature data in the image feature data format, and storing the encoded feature data in An image information portion of the contact file; integrating feature data of a non-image feature data format according to a preset rule; and inserting the integrated feature data into other portions of the contact file other than the image information portion .
  • the integrating the feature data of the non-image feature data format according to the preset rule comprises: integrating each text feature sub-data in the text feature data format by using a type identifier and a content, respectively.
  • the method further includes: receiving, by the user, the sending control information, where the sending control information includes the sending object, where the sending the contact file by means of data communication, including Transmitting the contact file to the sending object by means of data communication;
  • the method further includes: receiving, by the user, the sending control information, where the sending control information includes: sending the object;
  • the manner of transmitting the data communication includes: transmitting the contact file to the sending object by means of data communication.
  • the feature information further includes audio feature information and video feature information
  • the format of the feature data further includes: an audio feature data format and a video feature data format.
  • a device for transmitting contact information comprising:
  • a feature information extraction module configured to extract feature information of the to-be-processed contact, where the feature information includes at least text feature information and image feature information; wherein the feature information includes feature data of a format, and the feature data is The format includes at least: a text feature data format and an image feature data format;
  • a file encapsulating module configured to send the to-be-processed contact extracted in the feature information extraction module
  • the feature information of the person is encapsulated into a contact file in an image format
  • the file sending module is configured to send the contact file obtained by the file encapsulating module by means of data communication.
  • the file encapsulating module includes: a data encoding sub-module, configured to encode feature data in the image feature data format, and store the encoded feature data in an image information portion of the contact file; a data integration sub-module, configured to integrate feature data of a non-image feature data format according to a preset rule; and a data insertion sub-module configured to insert the integrated feature data into the image information portion of the contact file Other parts outside.
  • the data integration sub-module is configured to integrate each text feature sub-data in the text feature data format with a type identifier plus content.
  • the sending device further includes an information receiving module, configured to receive the sending control information of the user, where the sending control information includes a sending object, where the file sending module is configured to obtain the file encapsulating module
  • the contact file is sent to the sending object by means of data communication.
  • the feature information further includes audio feature information and video feature information
  • the format of the feature data further includes: an audio feature data format and a video feature data format.
  • the embodiment of the invention further provides a method and a device for receiving contact information, which solves the problem that the information is not easily browsed after receiving the contact feature information sent by the external terminal in the prior art.
  • the embodiment of the present invention also adopts the following technical solutions:
  • a method for receiving contact information including:
  • Parsing the contact file, the parsed contact file includes feature information of the contact, the feature information includes at least text feature information and image feature information; wherein the feature information includes feature data of a format
  • the format of the feature data includes at least: a text feature data format and an image feature data format;
  • Each feature information of the contact is extracted separately, and each feature information of the extracted contact is saved into a corresponding storage space.
  • the method further includes: directly displaying the image Sign data and / or text feature data.
  • the feature information further includes audio feature information and video feature information
  • the format of the feature data further includes: an audio feature data format and a video feature data format.
  • a device for receiving contact information comprising:
  • a file receiving module configured to receive a contact file in an image format sent by an external terminal
  • a file parsing module configured to parse the contact file, where the parsed contact file includes feature information of the contact, the feature information includes at least text feature information and image feature information, wherein one of the feature information includes a format of feature data, the format of the feature data at least comprising: a text feature data format and an image feature data format;
  • the file saving module is configured to extract each feature information of the contact separately, and save each feature information of the extracted contact into a corresponding storage space.
  • the feature information further includes audio feature information and video feature information
  • the format of the feature data further includes: an audio feature data format and a video feature data format.
  • the embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the sending end device, the device is executable to execute the method for transmitting the contact information.
  • the embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the receiving device, enabling the device to perform the method for receiving the contact information.
  • the embodiment of the invention provides a method and a device for sending contact information.
  • the image file format can be directly adopted.
  • the way of data communication is sent to an external terminal for sharing. This not only facilitates the user's operation when sharing the file, but also saves the image in an image format, which also facilitates the user's browsing, and directly browses in the form of pictures, highlighting and strengthening the contact feature information.
  • the image feature data is a cognitive experience of the image mode, which dilutes the cognitive experience of textual feature data such as names and numbers.
  • the embodiment of the invention further provides a method and a device for receiving contact information, and receiving an external terminal Sending and parsing the contact file in the image format, the parsed contact file includes feature information of the contact, the feature information includes at least text feature information and image feature information; wherein the feature information includes A format of feature data, the format of the feature data includes at least: a text feature data format and an image feature data format; and then each feature information of the contact is separately extracted and saved into a corresponding storage space.
  • the feature information includes A format of feature data
  • the format of the feature data includes at least: a text feature data format and an image feature data format
  • each feature information of the contact is separately extracted and saved into a corresponding storage space.
  • the file information and the file reading are performed by saving the feature information in the contact item in an image format, so that the scene of communication and communication between people through the mobile phone is closer to face-to-face cognition.
  • the experience also shortens the response time of the user who uses the contact at the beginning of the establishment.
  • FIG. 1 is a schematic flowchart of a method for sending contact feature information according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a contact file in an image format according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for receiving contact feature information according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a contact feature information sending apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a file encapsulation module according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a contact feature information receiving apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for sending contact feature information according to an embodiment of the present invention. As shown in Figure 1, after the sending method starts, it includes:
  • S101 Extract at least two feature information of the to-be-processed contact: text feature information and image feature information, where the feature information includes feature data of a format, and the format of the feature data includes at least: a text feature data format and an image. Feature data format.
  • Extracting the at least two feature information of the to-be-processed contact includes: receiving at least two characteristics of the contact input by the user to the mobile terminal The information or the at least two feature information of the contact sent by the social network received by the mobile terminal; the mobile terminal includes a mobile phone or a tablet computer, and the like; the text feature data includes: a phone number of the contact, an email address, The data of the residential address, the name, and the like; the image feature data includes: an avatar image of the contact, a whole body image or other image capable of representing the feature of the contact, and the like; in addition, the format of the feature data further includes: an audio feature data format and a video The feature data format or the like, for example, the audio feature data is the voice of the contact or the like.
  • S102 Encapsulate the at least two feature information corresponding to the to-be-processed contact into a contact file in an image format.
  • the image format in the contact file of the image format is generally the same or compatible format as the image feature data in the feature information, such as jpg.
  • the feature data in the image feature data format is encoded, and the encoded feature data is stored in the image information portion of the contact file; and the feature data in the non-image feature data format is integrated according to a preset rule. Inserting the integrated feature data into other parts of the contact file other than the image information portion.
  • the feature data of the non-image feature data format includes: text feature data, video feature data, and audio feature data, and each feature data is integrated according to its type, and is inserted into the data description of the image feature data format.
  • forming a contact file in an image format optionally, if the at least two feature information corresponding to the to-be-processed contact is just the feature data of the image feature data format and the text feature data format, then the text feature data format is The processing of the data is: integrating each text feature sub-data in the text feature data format by means of a type identifier plus content.
  • FIG. 2 a schematic diagram of a contact file in an image format in an embodiment of the present invention is shown in FIG. 2 . Referring to FIG.
  • the text feature data is encoded according to the file header rule to generate a file header, that is, the text feature data is encoded into a text information portion of the contact file of the image format.
  • the file header rules are as follows: specify identifiers for different types of subdata, such as the identifier of the telephone number is TEL, the name identifier is NAME, the address identifier is ADD, the mailbox identifier is MAIL, and the identifier is followed by a string. Record the data content. For example, after TEL is "18049074xxx", and after NAME is "Zhang xx".
  • the image feature data is a JPEG format image file in the mobile terminal.
  • the markup value is first recorded by using some mark, and the value range is 0xFFE0 ⁇ 0xFFEF, and then placed.
  • the start tag of the image data stream (0 value is 0xFFD8)
  • the data stream of the JPEG image is stored after the start tag
  • the image end tag (value is 0xFFD9).
  • the above obtained header containing the identifier and the corresponding information string The content is inserted into the description data in the image feature data JPEG file, and the value ranges from 0xFFE0 to 0xFFEF, replacing the original description data.
  • the image data starting from 0xFFD8 and ending at 0xFFD9 has not changed.
  • the JPEG file after replacing the description data is saved, thus generating a contact file in the image format of jpg as a file suffix.
  • the contact file of the image format formed by the above package is shared with other external terminals through various communication methods.
  • the external terminal is a mobile terminal, such as a mobile phone or a tablet computer; and the data communication manner includes a manner of WiFi communication, wireless network communication, mobile data communication, Bluetooth communication, and storage communication between SD cards.
  • the method further includes: receiving the sending control information of the user, where the sending control information includes: sending the object; sending the contact file by means of data communication Specifically, the method includes: sending the contact file to the sending object by means of data communication.
  • the user receives a control operation instruction of the contact item in the mobile terminal, where the instruction generally includes: sending an object, etc.; therefore, when the mobile terminal receives the control operation instruction of the user, the contact file is sent according to the instruction. send the object.
  • the sending control information may further include a sending manner, such as a sending manner of WiFi communication, wireless network communication, mobile data communication, or Bluetooth communication.
  • the method further includes: receiving the sending control information of the user, where the sending control information includes: sending the object Sending the contact file by way of data communication specifically includes: sending the contact file to the sending object by means of data communication.
  • the user receives a control operation instruction of the contact item in the mobile terminal, where the instruction generally includes: a sending object, a sending manner, and the like; therefore, when the mobile terminal receives the control operation instruction of the user, the contact will be according to the instruction.
  • the file is sent to the sending object through its specified communication.
  • the method for sending the contact feature information provided in this embodiment, by encapsulating the contact feature information into a contact file in an image format, and then transmitting the contact information, so that the user can better share the contact information, and the operation is simple. Conveniently, there is no major change to the image feature data in the contact, and storing and transmitting the file through the image provides the user with another visual experience.
  • FIG. 3 is a schematic flowchart diagram of a method for receiving contact feature information according to an embodiment of the present invention. As shown in Figure 3, the method begins by:
  • S201 Receive a contact file in an image format sent by an external terminal.
  • the external terminal is a mobile terminal, including a mobile phone or a tablet computer; the image format generally includes an image format commonly used in mobile terminals such as jpg; and the receiving manner includes: WiFi communication, wireless network communication, Bluetooth communication, and SD card
  • the communication of the contact file is performed by means of storage communication or the like.
  • the parsed contact file includes at least two feature information of the contact: text feature information and image feature information, wherein the feature information includes feature data of a format.
  • the format of the feature data includes at least: a text feature data format and an image feature data format.
  • the format of the feature data further includes: a video feature data format and an audio feature data format; specifically, when the contact file includes two feature information, and the feature information is: text feature data and image feature data, the specific
  • the parsing process includes (according to the encapsulation process of the above contact file): firstly, the description data starting from 0xFFE0 is read, parsed according to the file header rule, and each type of identifier and the string corresponding to the identifier are respectively read. To obtain each type and corresponding text feature data, and the obtained data is saved in a text file. As the image feature data is not changed, as long as the attached text feature data is parsed, its own image feature data will also be parsed.
  • S203 Extract each feature information of the contact separately and save it in the corresponding storage space.
  • the saved according to the contact item on the device is saved. In this way, the user can conveniently contact and communicate with the contact when he or she needs to use the feature information of the contact.
  • the contact file is parsed, and the parsed contact file includes at least two feature information of the contact, and one feature information includes feature data of a format, and the format of the feature data includes at least: text feature data.
  • the method further includes: directly displaying image feature data and/or text feature data in the contact file. Since the feature information includes at least two formats of data: a text feature data format and an image feature data format, the displayed content is displayed in at least two parts: one portion displays image feature data, and the other portion displays text feature data.
  • the user understands the content displayed by the user, it is considered whether it is necessary to store the contact file or directly abandon the contact file.
  • step S203 After separately extracting each feature information of the contact, directly displaying the image feature data and/or the text feature data in the contact file, before saving the feature information of the contact to the corresponding storage space, : Receives a storage control instruction for user operation.
  • the method for receiving contact feature information provided by the embodiment of the present invention is convenient for the user to completely save and display the image feature data and the text feature data in the file by parsing the contact file of the received image format.
  • the transmission and sharing of information between the two, and the display of its image data increases the user's visual awareness of the contact, increasing the user experience.
  • FIG. 4 is a schematic structural diagram of a contact feature information sending apparatus according to an embodiment of the present invention.
  • the sending device may be disposed in a mobile device such as a mobile phone or a tablet computer, and the mobile device includes a microprocessor and a memory.
  • the sending device 400 of the contact feature information includes: a feature information extracting module 401, a file encapsulating module 402, and a file sending module 403.
  • the feature information extracting module 401 is configured to extract a contact to be processed. At least two feature information: text feature information and image feature information, wherein one of the feature information includes feature data of one format.
  • the format of the feature data includes at least: a text feature data format and an image feature data format;
  • the file encapsulating module 402 is configured to encapsulate at least two feature information of the to-be-processed contact extracted in the feature information extraction module 401 into A contact file in an image format;
  • the file sending module 303 is configured to send the contact file obtained by the file encapsulating module 402 by means of data communication.
  • the feature information extraction module 401 is specifically configured to receive at least two feature information of the contact input by the user or extract at least two feature information of the contact sent in the received social network;
  • the text feature data includes: The data of the person's phone number, email address, home address, name, etc.;
  • the image feature data includes: an avatar image of the contact, a whole body image or other image capable of representing the feature of the contact, etc.; in addition, the format of the feature data is further
  • the method includes: an audio feature data format and a video feature data format;
  • the data communication manner includes a manner of WiFi communication, wireless network communication, mobile data communication, Bluetooth communication, or storage communication between SD cards; and
  • the sending device of the contact feature information 400 includes mobile terminals such as mobile phones, tablets, and the like.
  • the user can better share the contact information, and the operation is simple and convenient, and the image feature data in the contact is No major changes have been made, and storing and sending files by means of images provides the user with another visual experience.
  • the sending device 400 of the contact feature information further includes an information receiving module, configured to receive the sending control information of the user, where the sending control information includes: a sending object; and the file sending module 403 Specifically, the contact file obtained by the file encapsulating module 402 is sent to the sending object by means of data communication.
  • the sending control information may further include a sending manner, and the sending control information received by the information receiving module may be obtained before the feature information extracting module 401 extracts the feature information of the contact, or may be completely contacted by the file encapsulating module 402. After the encapsulation of the person file. Then, the file sending module 403 further sends the contact file to its corresponding sending object according to the corresponding sending manner according to the sending control information received by the information receiving module.
  • FIG. 5 is a schematic structural diagram of a file encapsulating module according to an embodiment of the present invention.
  • the file encapsulating module 402 specifically includes: a data encoding sub-module 4021, configured to encode feature data in the image feature data format, and store the encoded feature data in the contact file.
  • the image information sub-block 4022 is configured to integrate the feature data of the non-image feature data format according to a preset rule; the data insertion sub-module 4023 is configured to insert the integrated feature data into the contact file. Other parts than the image information part.
  • the data integration sub-module 4022 processes the data of the text feature data format as: Each text feature sub-data in the text feature data format is integrated by means of a type identifier plus content.
  • FIG. 6 is a schematic structural diagram of a contact feature information receiving apparatus according to an embodiment of the present invention.
  • the receiving device may be disposed in a mobile device such as a mobile phone or a tablet computer, and the mobile device includes a microprocessor and a memory.
  • the receiving device 600 includes: a file receiving module 601, a file parsing module 602, and a file saving module 603.
  • the file receiving module 601 is configured to receive an image format sent by an external terminal. a contact file;
  • the file parsing module 602 is configured to parse the contact file, and the parsed contact file includes at least two contacts Feature information, the feature information includes a format of feature data, the format of the feature data includes at least: a text feature data format and an image feature data format;
  • the file save module 603 is configured to separately extract feature information of the contact, And save it to the corresponding storage space. According to the above-mentioned parsed feature data of each type, it is saved according to the storage manner of the contact item on the device.
  • the receiving device 600 of the contact feature information further includes a display module.
  • the display module includes a text display sub-module and an image display sub-module, and the text display sub-module is configured to display the contact file. Data in a text feature data format; the image display sub-module is configured to display data of an image feature data format in the contact file.
  • the sending device and the receiving device of the contact feature information in the following examples all use a mobile phone as an example, and of course, other mobile communications such as a tablet computer can also be used. device).
  • the first application scenario Share the contact file to a friend immediately after creating the contact.
  • the user can input contact related information, such as name, number, etc.; at the same time, the contact avatar can be set, and the camera program or image browser program of the mobile phone is started when the setting is completed. After all the information is filled in, the user selects to save the contact.
  • the feature information extraction module and the file encapsulation module are started, and are coded according to rules in the file encapsulation module to generate a file header including various identifiers and their contents; then the generated file header is inserted into the JPEG file structure rule according to the JPEG file structure rule.
  • the feature information extraction module obtains the avatar JPEG file structure and generates a new JPEG file.
  • This file can be named at this time, such as "Zhang XX.jpg".
  • the user can generate one or more contact files (XXX.jpg%) by EMAIL as an attachment to a friend, or send it to a friend via social software such as WeChat, so that the contact file can be shared. .
  • the second application scenario making and receiving calls.
  • the dialer program uses the file parsing module to parse the contact file and obtain the phone number, and then dial the number.
  • the call program obtains the caller number, then queries the corresponding contact information in the mobile phone, finds a matching contact file, and then obtains JPEG image data from the contact file, and displays the image to the user by using the display module. The user sees the contact image at this time, and does not need to see who is calling by phone number or name, so that the contact of the incoming call can be perceived more quickly and intuitively.
  • the embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the transmitting device, the device can implement the sending method of the contact feature information.
  • the embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the receiving device, enabling the device to implement the method for receiving the contact feature information.
  • the embodiment of the invention provides a method and a device for transmitting contact feature information, which can directly encapsulate the image feature data and other feature data in the contact feature information into a contact file of an image format, thereby directly adopting an image format.
  • the method is sent to an external terminal for sharing by means of data communication.
  • the embodiment of the invention further provides a method and a device for receiving contact feature information, which receive and analyze a contact file in an image format sent by an external terminal, and the parsed contact file includes at least two features of the contact.
  • Information, one of the feature information includes feature data of a format
  • the format of the feature data includes at least: a text feature data format and an image feature data format; and then each feature information of the contact is separately extracted and saved Go to the corresponding storage space.
  • the feature information in the contact item is shared in the image format to other mobile terminals, and the contact file in the image format sent by other mobile terminals is received for reading, so that the user can conveniently use the mobile phone. Communicate and communicate between people, This can be closer to the face-to-face approach. In addition, it is also possible to shorten the response time of the user who uses the contact at the beginning of the establishment.
  • the method and device for transmitting contact feature information provided by the embodiment of the present invention, the receiving method and device, can directly encapsulate the image feature data and other feature data in the contact feature information into a contact file in an image format.
  • the format of the method is sent to the external terminal for sharing by means of data communication, so that the user can conveniently communicate and communicate with each other through mobile devices such as mobile phones and tablet computers, and the communication and communication are closer to face-to-face.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A method and device for sending/receiving feature information about a contact person. The method for sending feature information about a contact person comprises: extracting feature information about a contact person to be processed, the feature information at least comprising text feature information and image feature information, wherein one piece of feature information comprises feature data in one format, and the formats of the feature data at least comprise a text feature data format and an image feature data format; packaging the feature information corresponding to the contact person to be processed into a contact person file in a picture format; and sending the contact person file by means of data communications. The receiving method comprises: receiving a contact person file in a picture format which is sent by an external terminal; parsing the contact person file; and respectively extracting each piece of feature information of a contact person, and saving same in a corresponding storage space.

Description

一种联系人信息的发送方法及装置、接收方法及装置Method and device for transmitting contact information, receiving method and device 技术领域Technical field
本发明涉及无线通信领域,尤其涉及一种联系人信息的发送方法及装置、接收方法及装置。The present invention relates to the field of wireless communications, and in particular, to a method and device for transmitting contact information, and a receiving method and device.
背景技术Background technique
随着移动终端技术的发展,如,手机、平板电脑等移动终端已成为人们日常生活中必不可少的通信和社交工具。社交网络、即时聊天工具、浏览器、联系人项等功能是移动终端中使用比较频繁的部分,这些部分能够方便地使用及操作对人们的日常使用体验是非常重要。其中,联系人项是手机中一个比较核心的模块,对于联系人项中的联系人的特征信息以什么样的格式进行保存、发送给外部终端进行分享等都是手机使用场景中较为重要的一部分。在相关技术中,当前联系人项中的特征信息在手机内主要通过数据库方式进行存储、处理等,特征信息一般包括图像、姓名及号码等,在联系人项中的特征信息的保存备份和与外部终端发送分享的过程中主要是通过vcf文件格式进行的。但是,vcf文件格式不是比较常用的文件格式,且图像的特征信息与其他信息合在一起时,发送很不方便。另外,外部终端一般不具有能打开该文件的软件,从而不能对该文件进行浏览,造成分享该联系人文件则毫无意义,影响了用户的体验。With the development of mobile terminal technologies, mobile terminals such as mobile phones and tablet computers have become indispensable communication and social tools in people's daily lives. Social network, instant messenger, browser, contact items and other functions are frequently used in mobile terminals, and these parts can be easily used and operated very importantly for people's daily use experience. The contact item is a relatively core module in the mobile phone, and the format of the feature information of the contact in the contact item is saved and sent to the external terminal for sharing, etc., which are all important parts in the mobile phone usage scenario. . In the related art, the feature information in the current contact item is mainly stored and processed in the mobile phone through the database, and the feature information generally includes an image, a name, a number, etc., and the feature information in the contact item is saved and backed up. The external terminal sends the sharing process mainly through the vcf file format. However, the vcf file format is not a commonly used file format, and when the feature information of the image is combined with other information, it is inconvenient to send. In addition, the external terminal generally does not have software that can open the file, so that the file cannot be browsed, and the sharing of the contact file is meaningless, affecting the user experience.
发明内容Summary of the invention
本发明实施例提供一种联系人信息的发送方法及装置,解决了现有技术中联系人特征信息包括图像特征数据时不容易发送给外部设备的问题。The embodiment of the invention provides a method and a device for transmitting contact information, which solves the problem that the contact feature information in the prior art does not easily be sent to an external device when the image feature data is included.
为了解决上述问题,本发明实施例采用以下技术方案:In order to solve the above problem, the embodiment of the present invention adopts the following technical solutions:
一种联系人信息的发送方法,包括:A method for sending contact information, including:
提取待处理联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息,其中,一个所述特征信息包括一种格式的特征数据,所述特 征数据的格式至少包括:文本特征数据格式和图像特征数据格式;Extracting feature information of the to-be-processed contact, the feature information includes at least text feature information and image feature information, wherein one of the feature information includes feature data of a format, the special feature The format of the levy data includes at least: a text feature data format and an image feature data format;
将待处理联系人对应的所述特征信息封装成一个图像格式的联系人文件;Encapsulating the feature information corresponding to the to-be-processed contact into a contact file in an image format;
将所述联系人文件通过数据通信的方式进行发送。The contact file is sent by way of data communication.
可选地,所述将待处理联系人对应的所述特征信息封装成一个图像格式的联系人文件包括:将所述图像特征数据格式中的特征数据进行编码,将编码后的特征数据存储在所述联系人文件的图像信息部;将非图像特征数据格式的特征数据按照预设规则进行整合;将整合后的特征数据插入到所述联系人文件中的除图像信息部之外的其他部分。Optionally, the encapsulating the feature information corresponding to the contact to be processed into a contact file in an image format comprises: encoding feature data in the image feature data format, and storing the encoded feature data in An image information portion of the contact file; integrating feature data of a non-image feature data format according to a preset rule; and inserting the integrated feature data into other portions of the contact file other than the image information portion .
可选地,所述将非图像特征数据格式的特征数据按照预设规则进行整合包括:将文本特征数据格式中的每个文本特征子数据分别以类型标识符加内容的方式进行整合。Optionally, the integrating the feature data of the non-image feature data format according to the preset rule comprises: integrating each text feature sub-data in the text feature data format by using a type identifier and a content, respectively.
可选地,在所述提取待处理联系人的特征信息之前还包括:接收用户的发送控制信息,所述发送控制信息包括发送对象;其中将所述联系人文件通过数据通信的方式进行发送包括:将所述联系人文件通过数据通信的方式发送给所述发送对象;Optionally, before the extracting the feature information of the to-be-processed contact, the method further includes: receiving, by the user, the sending control information, where the sending control information includes the sending object, where the sending the contact file by means of data communication, including Transmitting the contact file to the sending object by means of data communication;
或者,在将待处理联系人对应的所述特征信息封装成一个图像格式的联系人文件之后还包括:接收用户的发送控制信息,所述发送控制信息包括发送对象;将所述联系人文件通过数据通信的方式进行发送包括:将所述联系人文件通过数据通信的方式发送给所述发送对象。Or, after the feature information corresponding to the to-be-processed contact is encapsulated into a contact file in an image format, the method further includes: receiving, by the user, the sending control information, where the sending control information includes: sending the object; The manner of transmitting the data communication includes: transmitting the contact file to the sending object by means of data communication.
可选地,所述特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。Optionally, the feature information further includes audio feature information and video feature information, where the format of the feature data further includes: an audio feature data format and a video feature data format.
一种联系人信息的发送装置,包括:A device for transmitting contact information, comprising:
特征信息提取模块,设置为提取待处理联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息;其中,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;And a feature information extraction module, configured to extract feature information of the to-be-processed contact, where the feature information includes at least text feature information and image feature information; wherein the feature information includes feature data of a format, and the feature data is The format includes at least: a text feature data format and an image feature data format;
文件封装模块,设置为将所述特征信息提取模块中所提取的待处理联系 人的特征信息封装成一个图像格式的联系人文件;a file encapsulating module, configured to send the to-be-processed contact extracted in the feature information extraction module The feature information of the person is encapsulated into a contact file in an image format;
文件发送模块,设置为将所述文件封装模块所得到的联系人文件通过数据通信的方式进行发送。The file sending module is configured to send the contact file obtained by the file encapsulating module by means of data communication.
可选地,所述文件封装模块包括:数据编码子模块,设置为将所述图像特征数据格式中的特征数据进行编码,将编码后的特征数据存储在所述联系人文件的图像信息部;数据整合子模块,设置为将非图像特征数据格式的特征数据按照预设规则进行整合;数据插入子模块,设置为将整合后的特征数据插入到所述联系人文件中的除图像信息部之外的其他部分。Optionally, the file encapsulating module includes: a data encoding sub-module, configured to encode feature data in the image feature data format, and store the encoded feature data in an image information portion of the contact file; a data integration sub-module, configured to integrate feature data of a non-image feature data format according to a preset rule; and a data insertion sub-module configured to insert the integrated feature data into the image information portion of the contact file Other parts outside.
可选地,所述数据整合子模块是设置为将文本特征数据格式中的每个文本特征子数据分别以类型标识符加内容的方式进行整合。Optionally, the data integration sub-module is configured to integrate each text feature sub-data in the text feature data format with a type identifier plus content.
可选地,所述发送装置还包括信息接收模块,设置为接收用户的发送控制信息,所述发送控制信息包括发送对象;其中,所述文件发送模块是设置为将所述文件封装模块所得到的联系人文件通过数据通信的方式发送给所述发送对象。Optionally, the sending device further includes an information receiving module, configured to receive the sending control information of the user, where the sending control information includes a sending object, where the file sending module is configured to obtain the file encapsulating module The contact file is sent to the sending object by means of data communication.
可选地,所述特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。Optionally, the feature information further includes audio feature information and video feature information, where the format of the feature data further includes: an audio feature data format and a video feature data format.
本发明实施例还提供一种联系人信息的接收方法及装置,解决了现有技术中接收外部终端发送的联系人特征信息后不容易浏览信息的问题。The embodiment of the invention further provides a method and a device for receiving contact information, which solves the problem that the information is not easily browsed after receiving the contact feature information sent by the external terminal in the prior art.
为了解决上述问题,本发明实施例还采用以下技术方案:In order to solve the above problem, the embodiment of the present invention also adopts the following technical solutions:
一种联系人信息的接收方法,包括:A method for receiving contact information, including:
接收外部终端发送的图像格式的联系人文件;Receiving a contact file in an image format sent by an external terminal;
对所述联系人文件进行解析,解析后的联系人文件包括联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息;其中,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;Parsing the contact file, the parsed contact file includes feature information of the contact, the feature information includes at least text feature information and image feature information; wherein the feature information includes feature data of a format The format of the feature data includes at least: a text feature data format and an image feature data format;
分别提取联系人的每个特征信息,并将提取的联系人的每个特征信息保存到对应的存储空间内。Each feature information of the contact is extracted separately, and each feature information of the extracted contact is saved into a corresponding storage space.
可选地,对所述联系人文件进行解析之后还包括:直接显示所述图像特 征数据和/或文本特征数据。Optionally, after parsing the contact file, the method further includes: directly displaying the image Sign data and / or text feature data.
可选地,所说特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。Optionally, the feature information further includes audio feature information and video feature information, and the format of the feature data further includes: an audio feature data format and a video feature data format.
一种联系人信息的接收装置,包括:A device for receiving contact information, comprising:
文件接收模块,设置为接收外部终端发送的图像格式的联系人文件;a file receiving module, configured to receive a contact file in an image format sent by an external terminal;
文件解析模块,设置为对所述联系人文件进行解析,解析后的联系人文件包括联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息,其中,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;a file parsing module, configured to parse the contact file, where the parsed contact file includes feature information of the contact, the feature information includes at least text feature information and image feature information, wherein one of the feature information includes a format of feature data, the format of the feature data at least comprising: a text feature data format and an image feature data format;
文件保存模块,设置为分别提取联系人的每个特征信息,并将提取的联系人的每个特征信息保存到对应的存储空间内。The file saving module is configured to extract each feature information of the contact separately, and save each feature information of the extracted contact into a corresponding storage space.
可选地,所述特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。Optionally, the feature information further includes audio feature information and video feature information, where the format of the feature data further includes: an audio feature data format and a video feature data format.
本发明实施例还提供一种计算机程序及其载体,所述计算机程序包括程序指令,当该程序指令被发送端设备执行时,使得该设备可执行权利要求上述联系人信息的发送方法。The embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the sending end device, the device is executable to execute the method for transmitting the contact information.
本发明实施例还提供一种计算机程序及其载体,所述计算机程序包括程序指令,当该程序指令被接收端设备执行时,使得该设备可执行上述联系人信息的接收方法。The embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the receiving device, enabling the device to perform the method for receiving the contact information.
本发明实施例提供了一种联系人信息的发送方法及装置,通过将联系人特征信息中的图像特征数据与其他特征数据封装成一个图像格式的联系人文件,可以直接以图像格式的方式通过数据通信的方式发送给外部终端进行分享。这样不仅方便了用户进行分享该文件时的操作,而且其保存方式也是以图像格式进行保存,这样也方便了用户的浏览,且直接以图片的方式进行浏览,突出和加强了联系人特征信息中的图像特征数据这一图像模式的认知体验,淡化了名字、号码等文本特征数据类的认知体验。The embodiment of the invention provides a method and a device for sending contact information. By encapsulating the image feature data and other feature data in the contact feature information into a contact file in an image format, the image file format can be directly adopted. The way of data communication is sent to an external terminal for sharing. This not only facilitates the user's operation when sharing the file, but also saves the image in an image format, which also facilitates the user's browsing, and directly browses in the form of pictures, highlighting and strengthening the contact feature information. The image feature data is a cognitive experience of the image mode, which dilutes the cognitive experience of textual feature data such as names and numbers.
本发明实施例还提供了一种联系人信息的接收方法及装置,接收外部终 端发送的图像格式的联系人文件并对其进行解析,解析后的联系人文件包括联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息;其中,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;然后再分别提取联系人的每个特征信息,并将其保存到对应的存储空间内。这样,对于接收到带有图像格式的数据时,能快速地通过解析进行保存及显示,且通过直观的图像获取信息,增加了用户分享信息的兴趣及体验。本发明实施例通过将联系人项中的特征信息以图像格式的保存方式来进行文件传输以及文件读取,使得通过手机进行人与人之间沟通和交流的场景,更接近于面对面的认知体验,也缩短了使用联系人的相关应用在建立之初使用者的反应时间。The embodiment of the invention further provides a method and a device for receiving contact information, and receiving an external terminal Sending and parsing the contact file in the image format, the parsed contact file includes feature information of the contact, the feature information includes at least text feature information and image feature information; wherein the feature information includes A format of feature data, the format of the feature data includes at least: a text feature data format and an image feature data format; and then each feature information of the contact is separately extracted and saved into a corresponding storage space. In this way, when receiving data with an image format, it can be quickly saved and displayed by parsing, and the information is acquired through an intuitive image, thereby increasing the interest and experience of the user to share information. In the embodiment of the present invention, the file information and the file reading are performed by saving the feature information in the contact item in an image format, so that the scene of communication and communication between people through the mobile phone is closer to face-to-face cognition. The experience also shortens the response time of the user who uses the contact at the beginning of the establishment.
附图概述BRIEF abstract
图1为本发明一实施例提供的联系人特征信息发送方法的流程示意图;1 is a schematic flowchart of a method for sending contact feature information according to an embodiment of the present invention;
图2为本发明一实施例中的图像格式的联系人文件示意图;2 is a schematic diagram of a contact file in an image format according to an embodiment of the present invention;
图3为本发明一实施例提供的联系人特征信息接收方法的流程示意图;FIG. 3 is a schematic flowchart of a method for receiving contact feature information according to an embodiment of the present invention;
图4为本发明一实施例提供的联系人特征信息发送装置的结构示意图;FIG. 4 is a schematic structural diagram of a contact feature information sending apparatus according to an embodiment of the present invention;
图5为本发明一实施例提供的文件封装模块的结构示意图;FIG. 5 is a schematic structural diagram of a file encapsulation module according to an embodiment of the present invention;
图6为本发明一实施例提供的联系人特征信息接收装置的结构示意图。FIG. 6 is a schematic structural diagram of a contact feature information receiving apparatus according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明一实施例提供的联系人特征信息的发送方法的流程示意图。如图1所示,发送方法开始后包括:FIG. 1 is a schematic flowchart of a method for sending contact feature information according to an embodiment of the present invention. As shown in Figure 1, after the sending method starts, it includes:
S101:提取待处理联系人的至少两个特征信息:文本特征信息和图像特征信息,其中,一个特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式。提取待处理联系人的至少两个特征信息包括:接收用户对移动终端输入的联系人的至少两个特征 信息或提取移动终端接收到的社交网络中发送过来的联系人的至少两个特征信息;所述移动终端包括手机或平板电脑等;所述文本特征数据包括:联系人的电话号码、邮箱地址、住宅地址、姓名等数据;所述图像特征数据包括:联系人的头像图像、全身图像或其他能够代表联系人特征的图像等;另外,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式等,如,所述音频特征数据为该联系人的声音等。S101: Extract at least two feature information of the to-be-processed contact: text feature information and image feature information, where the feature information includes feature data of a format, and the format of the feature data includes at least: a text feature data format and an image. Feature data format. Extracting the at least two feature information of the to-be-processed contact includes: receiving at least two characteristics of the contact input by the user to the mobile terminal The information or the at least two feature information of the contact sent by the social network received by the mobile terminal; the mobile terminal includes a mobile phone or a tablet computer, and the like; the text feature data includes: a phone number of the contact, an email address, The data of the residential address, the name, and the like; the image feature data includes: an avatar image of the contact, a whole body image or other image capable of representing the feature of the contact, and the like; in addition, the format of the feature data further includes: an audio feature data format and a video The feature data format or the like, for example, the audio feature data is the voice of the contact or the like.
S102:将待处理联系人对应的所述至少两个特征信息封装成一个图像格式的联系人文件。所述图像格式的联系人文件中的图像格式一般是与其特征信息中的图像特征数据的格式相同或者相兼容的格式,如jpg等。具体地,将所述图像特征数据格式中的特征数据进行编码,将编码后的特征数据存储在所述联系人文件的图像信息部;将非图像特征数据格式的特征数据按照预设规则进行整合;将整合后的特征数据插入到所述联系人文件中的除图像信息部之外的其他部分。可选地,非图像特征数据格式的特征数据包括:文本特征数据、视频特征数据和声频特征数据,将每个特征数据按照其类型进行整合,并插入到所述图像特征数据格式中的数据描述部分,形成一个图像格式的联系人文件;可选地,如果所述待处理联系人对应的至少两个特征信息刚好为图像特征数据格式和文本特征数据格式的特征数据,则对于文本特征数据格式的数据的处理为:将文本特征数据格式中的每个文本特征子数据分别以类型标识符加内容的方式进行整合。可选地,本发明一实施例中的图像格式的联系人文件的示意图如图2所示。请参见图2,将文本特征数据按照文件头规则进行编码,生成文件头,即该文本特征数据编码后为这个图像格式的联系人文件的文本信息部分。文件头规则如下:对不同类型的子数据指定标识符,比如电话号码的标识符为TEL,名字标识符为NAME,地址标识符为ADD,邮箱标识符为MAIL;标识符后以字符串的方式记录数据内容。比如TEL后为“18049074xxx”,NAME后为“张xx”等。具体地,所述的图像特征数据在移动终端中是一个JPEG格式的图像文件,在JPEG文件格式中,最开始先是用一些标记来记录存放描述数据,其标记数值范围:0xFFE0~0xFFEF,然后放置图像数据流的起始标记(0数值为0xFFD8),在起始标记的后面开始存放JPEG图像的数据流,最后则是图像结束标记(数值为0xFFD9)。将上述所得到的包含标识符和对应信息字符串的文件头内 容,插入所述图像特征数据JPEG文件中的描述数据内,其数值范围为:0xFFE0~0xFFEF,替换原有描述数据。而从0xFFD8起始并结束于0xFFD9之间的图像数据并没有任何改动。对替换描述数据后的JPEG文件进行保存,这样就生成了一个jpg为文件后缀的图像格式的联系人文件。S102: Encapsulate the at least two feature information corresponding to the to-be-processed contact into a contact file in an image format. The image format in the contact file of the image format is generally the same or compatible format as the image feature data in the feature information, such as jpg. Specifically, the feature data in the image feature data format is encoded, and the encoded feature data is stored in the image information portion of the contact file; and the feature data in the non-image feature data format is integrated according to a preset rule. Inserting the integrated feature data into other parts of the contact file other than the image information portion. Optionally, the feature data of the non-image feature data format includes: text feature data, video feature data, and audio feature data, and each feature data is integrated according to its type, and is inserted into the data description of the image feature data format. And forming a contact file in an image format; optionally, if the at least two feature information corresponding to the to-be-processed contact is just the feature data of the image feature data format and the text feature data format, then the text feature data format is The processing of the data is: integrating each text feature sub-data in the text feature data format by means of a type identifier plus content. Optionally, a schematic diagram of a contact file in an image format in an embodiment of the present invention is shown in FIG. 2 . Referring to FIG. 2, the text feature data is encoded according to the file header rule to generate a file header, that is, the text feature data is encoded into a text information portion of the contact file of the image format. The file header rules are as follows: specify identifiers for different types of subdata, such as the identifier of the telephone number is TEL, the name identifier is NAME, the address identifier is ADD, the mailbox identifier is MAIL, and the identifier is followed by a string. Record the data content. For example, after TEL is "18049074xxx", and after NAME is "Zhang xx". Specifically, the image feature data is a JPEG format image file in the mobile terminal. In the JPEG file format, the markup value is first recorded by using some mark, and the value range is 0xFFE0~0xFFEF, and then placed. The start tag of the image data stream (0 value is 0xFFD8), the data stream of the JPEG image is stored after the start tag, and finally the image end tag (value is 0xFFD9). The above obtained header containing the identifier and the corresponding information string The content is inserted into the description data in the image feature data JPEG file, and the value ranges from 0xFFE0 to 0xFFEF, replacing the original description data. The image data starting from 0xFFD8 and ending at 0xFFD9 has not changed. The JPEG file after replacing the description data is saved, thus generating a contact file in the image format of jpg as a file suffix.
S103:将所述联系人文件通过数据通信的方式进行发送。即将上述封装形成的图像格式的联系人文件通过各种通信方式与其他外部终端进行分享。所述外部终端为移动终端,如手机、平板电脑等;所述数据通信方式包括WiFi通信、无线网络通信、移动数据通信、蓝牙通信、SD卡间的存储通信等方式。S103: Send the contact file by means of data communication. The contact file of the image format formed by the above package is shared with other external terminals through various communication methods. The external terminal is a mobile terminal, such as a mobile phone or a tablet computer; and the data communication manner includes a manner of WiFi communication, wireless network communication, mobile data communication, Bluetooth communication, and storage communication between SD cards.
在步骤S101:提取待处理联系人的至少两个特征信息之前,还包括:接收用户的发送控制信息,所述发送控制信息包括:发送对象;将所述联系人文件通过数据通信的方式进行发送具体包括:将所述联系人文件通过数据通信的方式发送给所述发送对象。具体地,接收用户对移动终端中联系人项的控制操作指令,所述指令一般包括:发送对象等;所以当移动终端接收到用户的控制操作指令后,将根据该指令将联系人文件发送给发送对象。可选地,所述发送控制信息还可以包括发送方式,如WiFi通信、无线网络通信、移动数据通信或蓝牙通信等的发送方式。Before the step of extracting the at least two pieces of feature information of the to-be-processed contact, the method further includes: receiving the sending control information of the user, where the sending control information includes: sending the object; sending the contact file by means of data communication Specifically, the method includes: sending the contact file to the sending object by means of data communication. Specifically, the user receives a control operation instruction of the contact item in the mobile terminal, where the instruction generally includes: sending an object, etc.; therefore, when the mobile terminal receives the control operation instruction of the user, the contact file is sent according to the instruction. send the object. Optionally, the sending control information may further include a sending manner, such as a sending manner of WiFi communication, wireless network communication, mobile data communication, or Bluetooth communication.
或者,在步骤S102:将待处理联系人对应的所述至少两个特征信息封装成一个图像格式的联系人文件之后,还包括:接收用户的发送控制信息,所述发送控制信息包括:发送对象;将所述联系人文件通过数据通信的方式进行发送具体包括:将所述联系人文件通过数据通信的方式发送给所述发送对象。具体地,接收用户对移动终端中联系人项的控制操作指令,所述指令一般包括:发送对象及发送方式等;所以当移动终端接收到用户的控制操作指令后,将根据该指令将联系人文件通过其指定的通信发送给发送对象。Alternatively, after the at least two feature information corresponding to the to-be-processed contact is encapsulated into the contact file of the image format, the method further includes: receiving the sending control information of the user, where the sending control information includes: sending the object Sending the contact file by way of data communication specifically includes: sending the contact file to the sending object by means of data communication. Specifically, the user receives a control operation instruction of the contact item in the mobile terminal, where the instruction generally includes: a sending object, a sending manner, and the like; therefore, when the mobile terminal receives the control operation instruction of the user, the contact will be according to the instruction. The file is sent to the sending object through its specified communication.
本实施例提供的联系人特征信息的发送方法,通过将联系人特征信息封装成一个图像格式的联系人文件后再进行发送的方式,使得用户能够更好地将联系人信息进行分享,操作简单方便,对联系人中的图像特征数据没有进行较大的改动,且通过图像的方式来存储和发送文件给用户提供了另一种视觉体验。 The method for sending the contact feature information provided in this embodiment, by encapsulating the contact feature information into a contact file in an image format, and then transmitting the contact information, so that the user can better share the contact information, and the operation is simple. Conveniently, there is no major change to the image feature data in the contact, and storing and transmitting the file through the image provides the user with another visual experience.
图3为本发明一实施例提供的联系人特征信息接收方法的流程示意图图。如图3所示,该方法开始后包括:FIG. 3 is a schematic flowchart diagram of a method for receiving contact feature information according to an embodiment of the present invention. As shown in Figure 3, the method begins by:
S201:接收外部终端发送的图像格式的联系人文件。所述外部终端为移动终端,包括手机或平板电脑等;所述图像格式一般包括jpg等移动终端中常用的图像格式;其接收方式包括:WiFi通信、无线网络通信、蓝牙通信、SD卡间的存储通信等方式进行对联系人文件的接收。S201: Receive a contact file in an image format sent by an external terminal. The external terminal is a mobile terminal, including a mobile phone or a tablet computer; the image format generally includes an image format commonly used in mobile terminals such as jpg; and the receiving manner includes: WiFi communication, wireless network communication, Bluetooth communication, and SD card The communication of the contact file is performed by means of storage communication or the like.
S202:对联系人文件进行解析,解析后的联系人文件包括联系人的至少两个特征信息:文本特征信息和图像特征信息,其中一个特征信息包括一种格式的特征数据。所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式。所述特征数据的格式还包括:视频特征数据格式和音频特征数据格式;具体地,当所述联系人文件包括两个特征信息,其特征信息为:文本特征数据和图像特征数据,则其具体的解析过程包括(根据上述联系人文件的封装过程得到):首先读取0xFFE0起始的描述数据,根据文件头规则进行解析,分别读取每种类型的标识符及对应标识符所带字符串,从而得到每种类型及对应的文本特征数据,得到的数据保存到文本文件中。而对于图像特征数据由于没有改动,即只要将其附带的文本特征数据解析出来,其自身的图像特征数据也将得到解析。S202: Parse the contact file, where the parsed contact file includes at least two feature information of the contact: text feature information and image feature information, wherein the feature information includes feature data of a format. The format of the feature data includes at least: a text feature data format and an image feature data format. The format of the feature data further includes: a video feature data format and an audio feature data format; specifically, when the contact file includes two feature information, and the feature information is: text feature data and image feature data, the specific The parsing process includes (according to the encapsulation process of the above contact file): firstly, the description data starting from 0xFFE0 is read, parsed according to the file header rule, and each type of identifier and the string corresponding to the identifier are respectively read. To obtain each type and corresponding text feature data, and the obtained data is saved in a text file. As the image feature data is not changed, as long as the attached text feature data is parsed, its own image feature data will also be parsed.
S203:分别提取联系人的每个特征信息,并将其保存到对应的存储空间内。可选地,根据上述解析后的每种类型的特征数据按照本设备上的联系人项的保存方式进行保存。这样,用户在需要使用该联系人的特征信息时,能够非常方便地与该联系人进行联系和通信。S203: Extract each feature information of the contact separately and save it in the corresponding storage space. Optionally, according to the parsed feature data of each type, the saved according to the contact item on the device is saved. In this way, the user can conveniently contact and communicate with the contact when he or she needs to use the feature information of the contact.
在步骤S202:对联系人文件进行解析,解析后的联系人文件包括联系人的至少两个特征信息,一个特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式之后,还包括:直接显示所述联系人文件中的图像特征数据和/或文本特征数据。由于特征信息中至少包括两种格式的数据:文本特征数据格式和图像特征数据格式,则其显示的内容至少分成两部分进行显示:一部分显示图像特征数据,另一部分显示文本特征数据。另外,当用户对其显示的内容进行了解后,再考虑是否需要存储该联系人文件或者直接放弃该联系人文件。因此,在步骤S203: 在分别提取联系人的每个特征信息,直接显示所述联系人文件中的图像特征数据和/或文本特征数据之后,将所述联系人的特征信息保存到对应的存储空间内之前,还包括:接收用户操作的存储控制指令。In step S202, the contact file is parsed, and the parsed contact file includes at least two feature information of the contact, and one feature information includes feature data of a format, and the format of the feature data includes at least: text feature data. After the format and image feature data format, the method further includes: directly displaying image feature data and/or text feature data in the contact file. Since the feature information includes at least two formats of data: a text feature data format and an image feature data format, the displayed content is displayed in at least two parts: one portion displays image feature data, and the other portion displays text feature data. In addition, after the user understands the content displayed by the user, it is considered whether it is necessary to store the contact file or directly abandon the contact file. Therefore, in step S203: After separately extracting each feature information of the contact, directly displaying the image feature data and/or the text feature data in the contact file, before saving the feature information of the contact to the corresponding storage space, : Receives a storage control instruction for user operation.
本本发明实施例提供的联系人特征信息的接收方法,通过解析所接收的图像格式的联系人文件,将该文件中所具有的图像特征数据及文本特征数据进行完整的保存及显示,方便了用户之间信息的传递和分享,且其图像数据的展示增加了用户对联系人的视觉认识,增加了用户体验。The method for receiving contact feature information provided by the embodiment of the present invention is convenient for the user to completely save and display the image feature data and the text feature data in the file by parsing the contact file of the received image format. The transmission and sharing of information between the two, and the display of its image data increases the user's visual awareness of the contact, increasing the user experience.
图4为本发明一实施例提供的联系人特征信息发送装置的结构示意图。所述发送装置可以设置在手机、平板电脑等移动设备中,所述移动设备包括微处理器和存储器。FIG. 4 is a schematic structural diagram of a contact feature information sending apparatus according to an embodiment of the present invention. The sending device may be disposed in a mobile device such as a mobile phone or a tablet computer, and the mobile device includes a microprocessor and a memory.
如图4所示,所述联系人特征信息的发送装置400包括:特征信息提取模块401、文件封装模块402和文件发送模块403;其中,特征信息提取模块401,设置为提取待处理联系人的至少两个特征信息:文本特征信息和图像特征信息,其中一个所述特征信息包括一种格式的特征数据。所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;文件封装模块402,设置为将所述特征信息提取模块401中所提取的待处理联系人的至少两个特征信息封装成一个图像格式的联系人文件;文件发送模块303,设置为将所述文件封装模块402所得到的联系人文件通过数据通信的方式进行发送。所述特征信息提取模块401具体设置为接收用户输入的联系人的至少两个特征信息或提取接收到的社交网络中发送过来的联系人的至少两个特征信息;所述文本特征数据包括:联系人的电话号码、邮箱地址、住宅地址、姓名等数据;所述图像特征数据包括:联系人的头像图像、全身图像或其他能够代表联系人特征的图像等;另外,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式;所述数据通信方式包括WiFi通信、无线网络通信、移动数据通信、蓝牙通信或SD卡间的存储通信等方式;所述联系人特征信息的发送装置400包括移动终端,如手机、平板电脑等。通过将联系人特征信息封装成一个图像格式的联系人文件后再进行发送的方式,使得用户能够更好地将联系人信息进行分享,操作简单方便,对联系人中的图像特征数据 没有进行较大的改动,且通过图像的方式来存储和发送文件给用户提供了另一种视觉体验。As shown in FIG. 4, the sending device 400 of the contact feature information includes: a feature information extracting module 401, a file encapsulating module 402, and a file sending module 403. The feature information extracting module 401 is configured to extract a contact to be processed. At least two feature information: text feature information and image feature information, wherein one of the feature information includes feature data of one format. The format of the feature data includes at least: a text feature data format and an image feature data format; the file encapsulating module 402 is configured to encapsulate at least two feature information of the to-be-processed contact extracted in the feature information extraction module 401 into A contact file in an image format; the file sending module 303 is configured to send the contact file obtained by the file encapsulating module 402 by means of data communication. The feature information extraction module 401 is specifically configured to receive at least two feature information of the contact input by the user or extract at least two feature information of the contact sent in the received social network; the text feature data includes: The data of the person's phone number, email address, home address, name, etc.; the image feature data includes: an avatar image of the contact, a whole body image or other image capable of representing the feature of the contact, etc.; in addition, the format of the feature data is further The method includes: an audio feature data format and a video feature data format; the data communication manner includes a manner of WiFi communication, wireless network communication, mobile data communication, Bluetooth communication, or storage communication between SD cards; and the sending device of the contact feature information 400 includes mobile terminals such as mobile phones, tablets, and the like. By encapsulating the contact feature information into a contact file of an image format and then transmitting the file, the user can better share the contact information, and the operation is simple and convenient, and the image feature data in the contact is No major changes have been made, and storing and sending files by means of images provides the user with another visual experience.
在本发明的一实施例中,所述联系人特征信息的发送装置400还包括信息接收模块,设置为接收用户的发送控制信息,所述发送控制信息包括:发送对象;所述文件发送模块403具体设置为将所述文件封装模块402所得到的联系人文件通过数据通信的方式发送给所述发送对象。所述发送控制信息还可以包括发送方式等;所述信息接收模块接收用户的发送控制信息可以在特征信息提取模块401提取带联系人的特征信息之前,也可以在所述文件封装模块402完整联系人文件的封装之后。然后,所述文件发送模块403再根据所述信息接收模块所接收的发送控制信息按照其对应的发送方式将联系人文件发送给其对应的发送对象。In an embodiment of the present invention, the sending device 400 of the contact feature information further includes an information receiving module, configured to receive the sending control information of the user, where the sending control information includes: a sending object; and the file sending module 403 Specifically, the contact file obtained by the file encapsulating module 402 is sent to the sending object by means of data communication. The sending control information may further include a sending manner, and the sending control information received by the information receiving module may be obtained before the feature information extracting module 401 extracts the feature information of the contact, or may be completely contacted by the file encapsulating module 402. After the encapsulation of the person file. Then, the file sending module 403 further sends the contact file to its corresponding sending object according to the corresponding sending manner according to the sending control information received by the information receiving module.
图5为本发明一实施例提供的文件封装模块的结构示意图。如图5所示,所述文件封装模块402具体包括:数据编码子模块4021,设置为将所述图像特征数据格式中的特征数据进行编码,将编码后的特征数据存储在所述联系人文件的图像信息部;数据整合子模块4022,设置为将非图像特征数据格式的特征数据按照预设规则进行整合;数据插入子模块4023,设置为将整合后的特征数据插入到所述联系人文件中的除图像信息部之外的其他部分。当所述待处理联系人对应的至少两个特征信息刚好为图像特征数据格式和文本特征数据格式的特征数据时,则所述数据整合子模块4022对于文本特征数据格式的数据的处理为:将文本特征数据格式中的每个文本特征子数据分别以类型标识符加内容的方式进行整合。FIG. 5 is a schematic structural diagram of a file encapsulating module according to an embodiment of the present invention. As shown in FIG. 5, the file encapsulating module 402 specifically includes: a data encoding sub-module 4021, configured to encode feature data in the image feature data format, and store the encoded feature data in the contact file. The image information sub-block 4022 is configured to integrate the feature data of the non-image feature data format according to a preset rule; the data insertion sub-module 4023 is configured to insert the integrated feature data into the contact file. Other parts than the image information part. When the at least two feature information corresponding to the to-be-processed contact is the feature data format of the image feature data format and the text feature data format, the data integration sub-module 4022 processes the data of the text feature data format as: Each text feature sub-data in the text feature data format is integrated by means of a type identifier plus content.
图6为本发明一实施例提供的联系人特征信息接收装置的结构示意图。所述接收装置可以设置在手机、平板电脑等移动设备中,所述移动设备包括微处理器和存储器。FIG. 6 is a schematic structural diagram of a contact feature information receiving apparatus according to an embodiment of the present invention. The receiving device may be disposed in a mobile device such as a mobile phone or a tablet computer, and the mobile device includes a microprocessor and a memory.
如图6所示,所述联系人特征信息的接收装置600包括:文件接收模块601、文件解析模块602和文件保存模块603;其中,文件接收模块601,设置为接收外部终端发送的图像格式的联系人文件;文件解析模块602,设置为对所述联系人文件进行解析,解析后的联系人文件包括联系人的至少两个 特征信息,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;文件保存模块603,设置为分别提取联系人的特征信息,并将其保存到对应的存储空间内。根据上述解析后的每种类型的特征数据按照本设备上的联系人项的保存方式进行保存。这样,用户在需要使用该联系人的特征信息时,能够非常方便地与该联系人进行联系和通信。所述联系人特征信息的接收装置600还包括显示模块,可选地,所述显示模块包括文本显示子模块和图像显示子模块,所述文本显示子模块设置为显示所述联系人文件中的文本特征数据格式的数据;所述图像显示子模块设置为显示所述联系人文件中的图像特征数据格式的数据。通过解析所接收的图像格式的联系人文件,将该文件中所具有的图像特征数据及文本特征数据进行完整的保存及显示,通过以图像数据的展示方式来展示联系人文件的信息增加了用户对联系人的视觉认识,同时也增加了用户的体验。As shown in FIG. 6, the receiving device 600 includes: a file receiving module 601, a file parsing module 602, and a file saving module 603. The file receiving module 601 is configured to receive an image format sent by an external terminal. a contact file; the file parsing module 602 is configured to parse the contact file, and the parsed contact file includes at least two contacts Feature information, the feature information includes a format of feature data, the format of the feature data includes at least: a text feature data format and an image feature data format; and the file save module 603 is configured to separately extract feature information of the contact, And save it to the corresponding storage space. According to the above-mentioned parsed feature data of each type, it is saved according to the storage manner of the contact item on the device. In this way, the user can conveniently contact and communicate with the contact when he or she needs to use the feature information of the contact. The receiving device 600 of the contact feature information further includes a display module. Optionally, the display module includes a text display sub-module and an image display sub-module, and the text display sub-module is configured to display the contact file. Data in a text feature data format; the image display sub-module is configured to display data of an image feature data format in the contact file. By parsing the contact file of the received image format, the image feature data and the text feature data possessed in the file are completely saved and displayed, and the information of the contact file is displayed by displaying the image data to increase the user. A visual understanding of the contacts also increases the user experience.
下面对本发明实施例方案在实际应用场景中的详细步骤进行说明(以下例子中的所述联系人特征信息的发送装置及接收装置都是以手机为例,当然也可以用平板电脑等其它移动通信设备)。The following describes the detailed steps in the actual application scenario of the solution in the embodiment of the present invention. The sending device and the receiving device of the contact feature information in the following examples all use a mobile phone as an example, and of course, other mobile communications such as a tablet computer can also be used. device).
第一种应用场景:创建联系人后马上将联系人文件分享给朋友。The first application scenario: Share the contact file to a friend immediately after creating the contact.
在手机中的联系人程序内,选择创建联系人。在创建界面,用户可以输入联系人相关信息,如名字、号码等;同时可以设置联系人头像,设置时启动手机的照相机程序或图像浏览器程序,所有信息填写完毕后,用户选择保存联系人,此时特征信息提取模块和文件封装模块启动,在文件封装模块中按照规则进行编码,生成包括各类标识符及其内容的文件头;随后将该生成的文件头按JPEG文件结构规则,插入从特征信息提取模块中得到的头像JPEG文件结构中,并生成一个新的JPEG文件。此时可以对此文件进行命名,比如“张XX.jpg”。用户对生成的一个或多个联系人文件(XXX.jpg…)可以通过EMAIL将其作为附件传给朋友,或者通过社交软件如微信等发送给朋友,这样就可以将该联系人文件进行分享了。朋友收到后,利用电脑或手机中的普通看图软件(如windows图像查看器、ACDSEE、图库等)即可打开 此联系人文件查看图像,可以很方便的整理和分享名片文件。如果要查看号码等其它文本类信息,可以选择通过联系人程序中的文件解析模块来解析该文件后,再查看联系人的文本信息。In the contacts program in your phone, select Create contact. In the creation interface, the user can input contact related information, such as name, number, etc.; at the same time, the contact avatar can be set, and the camera program or image browser program of the mobile phone is started when the setting is completed. After all the information is filled in, the user selects to save the contact. At this time, the feature information extraction module and the file encapsulation module are started, and are coded according to rules in the file encapsulation module to generate a file header including various identifiers and their contents; then the generated file header is inserted into the JPEG file structure rule according to the JPEG file structure rule. The feature information extraction module obtains the avatar JPEG file structure and generates a new JPEG file. This file can be named at this time, such as "Zhang XX.jpg". The user can generate one or more contact files (XXX.jpg...) by EMAIL as an attachment to a friend, or send it to a friend via social software such as WeChat, so that the contact file can be shared. . After receiving the friend, you can use the ordinary viewing software in the computer or mobile phone (such as windows image viewer, ACDSEE, library, etc.) to open This contact file allows you to view and share business card files with ease. If you want to view other text information such as numbers, you can choose to parse the file through the file parsing module in the contact program, and then view the text information of the contact.
第二种应用场景:拨打与接听电话。The second application scenario: making and receiving calls.
拨打电话时,通过浏览联系人图像文件,找到需要拨号的头像,点击并启动拨号器,拨号器程序利用文件解析模块进行联系人文件解析并获取电话号码,然后拨出此号码。接到一个来电时,通话程序获得来电号码,然后查询手机中对应的联系人信息,找到匹配的联系人文件,然后从此联系人文件中获得JPEG图像数据,利用显示模块将图像显示给用户。用户此时看到的是联系人图像,不需要通过电话号码或者名字去看是谁的来电,这样就能更快地、更直观地感知来电的联系人。When making a call, browse the contact image file, find the avatar that needs to be dialed, click and start the dialer. The dialer program uses the file parsing module to parse the contact file and obtain the phone number, and then dial the number. When receiving an incoming call, the call program obtains the caller number, then queries the corresponding contact information in the mobile phone, finds a matching contact file, and then obtains JPEG image data from the contact file, and displays the image to the user by using the display module. The user sees the contact image at this time, and does not need to see who is calling by phone number or name, so that the contact of the incoming call can be perceived more quickly and intuitively.
本发明实施例还提供一种计算机程序及其载体,该计算机程序包括程序指令,当该程序指令被发送端设备执行时,使得该设备可实施上述联系人特征信息的发送方法。The embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the transmitting device, the device can implement the sending method of the contact feature information.
本发明实施例还提供一种计算机程序及其载体,该计算机程序包括程序指令,当该程序指令被接收端设备执行时,使得该设备可实施上述联系人特征信息的接收方法。The embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the receiving device, enabling the device to implement the method for receiving the contact feature information.
本发明实施例提供了一种联系人特征信息的发送方法及装置,通过将联系人特征信息中的图像特征数据与其他特征数据封装成一个图像格式的联系人文件,从而可以直接以图像格式的方式通过数据通信的方式发送给外部终端进行分享。本发明实施例还提供了一种联系人特征信息的接收方法及装置,接收外部终端发送的图像格式的联系人文件并对其进行解析,解析后的联系人文件包括联系人的至少两个特征信息,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;然后再分别提取联系人的每个特征信息,并将其保存到对应的存储空间内。本发明实施例通过将联系人项中的特征信息以图像格式的保存方式来分享给其他移动终端,以及接收其他移动终端发送的图像格式的联系人文件进行读取等,使得用户能够通过手机方便地进行人与人之间沟通和交流, 这样能够更接近于面对面的方式。另外,还可以缩短使用联系人的相关应用在建立之初使用者的反应时间。The embodiment of the invention provides a method and a device for transmitting contact feature information, which can directly encapsulate the image feature data and other feature data in the contact feature information into a contact file of an image format, thereby directly adopting an image format. The method is sent to an external terminal for sharing by means of data communication. The embodiment of the invention further provides a method and a device for receiving contact feature information, which receive and analyze a contact file in an image format sent by an external terminal, and the parsed contact file includes at least two features of the contact. Information, one of the feature information includes feature data of a format, the format of the feature data includes at least: a text feature data format and an image feature data format; and then each feature information of the contact is separately extracted and saved Go to the corresponding storage space. In the embodiment of the present invention, the feature information in the contact item is shared in the image format to other mobile terminals, and the contact file in the image format sent by other mobile terminals is received for reading, so that the user can conveniently use the mobile phone. Communicate and communicate between people, This can be closer to the face-to-face approach. In addition, it is also possible to shorten the response time of the user who uses the contact at the beginning of the establishment.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps above may be accomplished by a program that instructs the associated hardware, such as a read-only memory or the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明的权利要求的保护范围。The invention may, of course, be embodied in a variety of other embodiments without departing from the spirit and scope of the invention. Changes and modifications are intended to fall within the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提供的联系人特征信息的发送方法及装置,接收方法及装置,通过将联系人特征信息中的图像特征数据与其他特征数据封装成一个图像格式的联系人文件,可以直接以图像格式的方式通过数据通信的方式发送给外部终端进行分享,使得用户能够通过手机、平板电脑等移动设备方便地进行人与人之间沟通和交流,这种沟通和交流更接近于面对面的方式。 The method and device for transmitting contact feature information provided by the embodiment of the present invention, the receiving method and device, can directly encapsulate the image feature data and other feature data in the contact feature information into a contact file in an image format. The format of the method is sent to the external terminal for sharing by means of data communication, so that the user can conveniently communicate and communicate with each other through mobile devices such as mobile phones and tablet computers, and the communication and communication are closer to face-to-face.

Claims (19)

  1. 一种联系人信息的发送方法,包括:A method for sending contact information, including:
    提取待处理联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息,其中,一个特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;Extracting feature information of the to-be-processed contact, the feature information includes at least text feature information and image feature information, wherein the feature information includes feature data of a format, and the format of the feature data includes at least: a text feature data format and Image feature data format;
    将待处理联系人对应的所述特征信息封装成一个图像格式的联系人文件;Encapsulating the feature information corresponding to the to-be-processed contact into a contact file in an image format;
    将所述联系人文件通过数据通信的方式进行发送。The contact file is sent by way of data communication.
  2. 根据权利要求1所述的发送方法,其中,所述将待处理联系人对应的所述特征信息封装成一个图像格式的联系人文件包括:The transmitting method according to claim 1, wherein the packaging the feature information corresponding to the contact to be processed into a contact file in an image format comprises:
    将所述图像特征数据格式中的特征数据进行编码,将编码后的特征数据存储在所述联系人文件的图像信息部;将非图像特征数据格式的特征数据按照预设规则进行整合;将整合后的特征数据插入到所述联系人文件中的除图像信息部之外的其他部分。Encoding the feature data in the image feature data format, storing the encoded feature data in an image information portion of the contact file; integrating feature data of the non-image feature data format according to a preset rule; The subsequent feature data is inserted into other portions of the contact file other than the image information portion.
  3. 根据权利要求2所述的发送方法,其中,所述将非图像特征数据格式的特征数据按照预设规则进行整合包括:The transmitting method according to claim 2, wherein the integrating the feature data of the non-image feature data format according to a preset rule comprises:
    将文本特征数据格式中的每个文本特征子数据分别以类型标识符加内容的方式进行整合。Each text feature sub-data in the text feature data format is integrated by means of a type identifier plus content.
  4. 根据权利要求1-3任一项所述的发送方法,其中,在所述提取待处理联系人的特征信息之前还包括:The sending method according to any one of claims 1 to 3, further comprising: before the extracting the feature information of the contact to be processed:
    接收用户的发送控制信息,所述发送控制信息包括发送对象,其中,将所述联系人文件通过数据通信的方式进行发送包括:将所述联系人文件通过数据通信的方式发送给所述发送对象;Receiving the sending control information of the user, where the sending control information includes a sending object, wherein sending the contact file by means of data communication comprises: sending the contact file to the sending object by means of data communication ;
    或者,在将待处理联系人对应的所述特征信息封装成一个图像格式的联系人文件之后还包括:Or, after the feature information corresponding to the to-be-processed contact is encapsulated into a contact file in an image format, the method further includes:
    接收用户的发送控制信息,所述发送控制信息包括发送对象,其中,将所述联系人文件通过数据通信的方式进行发送包括:将所述联系人文件通过 数据通信的方式发送给所述发送对象。Receiving the sending control information of the user, where the sending control information includes a sending object, where sending the contact file by means of data communication comprises: passing the contact file The manner of data communication is sent to the transmitting object.
  5. 根据权利要求1-3任一项所述的发送方法,其中,所述特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。The transmitting method according to any one of claims 1 to 3, wherein the feature information further comprises audio feature information and video feature information, and the format of the feature data further comprises: an audio feature data format and a video feature data format.
  6. 一种联系人信息的接收方法,包括:A method for receiving contact information, including:
    接收外部终端发送的图像格式的联系人文件;Receiving a contact file in an image format sent by an external terminal;
    对所述联系人文件进行解析,解析后的联系人文件包括联系人的特征信息,所示特征信息至少包括文本特征信息和图像特征信息,其中,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;Parsing the contact file, the parsed contact file includes feature information of the contact, and the feature information includes at least text feature information and image feature information, wherein one of the feature information includes feature data of a format The format of the feature data includes at least: a text feature data format and an image feature data format;
    分别提取联系人的每个特征信息,并将提取的联系人的每个特征信息保存到对应的存储空间内。Each feature information of the contact is extracted separately, and each feature information of the extracted contact is saved into a corresponding storage space.
  7. 根据权利要求6所述的接收方法,在对所述联系人文件进行解析之后还包括:The receiving method according to claim 6, further comprising: after parsing the contact file:
    直接显示所述联系人文件中的图像特征数据和/或文本特征数据。The image feature data and/or the text feature data in the contact file are directly displayed.
  8. 根据权利要求6所述的接收方法,其中,所述特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。The receiving method according to claim 6, wherein the feature information further comprises audio feature information and video feature information, and the format of the feature data further comprises: an audio feature data format and a video feature data format.
  9. 一种联系人信息的发送装置,包括:A device for transmitting contact information, comprising:
    特征信息提取模块,设置为提取待处理联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息,其中,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;a feature information extraction module, configured to extract feature information of a to-be-processed contact, where the feature information includes at least text feature information and image feature information, wherein one of the feature information includes feature data of a format, and the feature data is The format includes at least: a text feature data format and an image feature data format;
    文件封装模块,设置为将所述特征信息提取模块中所提取的待处理联系人的特征信息封装成一个图像格式的联系人文件;a file encapsulating module, configured to encapsulate feature information of the to-be-processed contact extracted in the feature information extraction module into a contact file in an image format;
    文件发送模块,设置为将所述文件封装模块所得到的联系人文件通过数据通信的方式进行发送。 The file sending module is configured to send the contact file obtained by the file encapsulating module by means of data communication.
  10. 根据权利要求9所述的发送装置,其中所述文件封装模块包括:The transmitting device according to claim 9, wherein the file encapsulation module comprises:
    数据编码子模块,设置为将所述图像特征数据格式中的特征数据进行编码,将编码后的特征数据存储在所述联系人文件的图像信息部;a data encoding sub-module, configured to encode feature data in the image feature data format, and store the encoded feature data in an image information portion of the contact file;
    数据整合子模块,设置为将非图像特征数据格式的特征数据按照预设规则进行整合;a data integration sub-module configured to integrate feature data of a non-image feature data format according to a preset rule;
    数据插入子模块,设置为将整合后的特征数据插入到所述联系人文件中的除图像信息部之外的其他部分。The data insertion sub-module is configured to insert the integrated feature data into other portions of the contact file other than the image information portion.
  11. 根据权利要求10所述的发送装置,其中所述数据整合子模块是设置为将文本特征数据格式中的每个文本特征子数据分别以类型标识符加内容的方式进行整合。The transmitting apparatus according to claim 10, wherein said data integration sub-module is arranged to integrate each text feature sub-data in the text feature data format by a type identifier plus content, respectively.
  12. 根据权利要求9-11任一项所述的发送装置,还包括:The transmitting device according to any one of claims 9-11, further comprising:
    信息接收模块,设置为接收用户的发送控制信息,所述发送控制信息包括发送对象,其中,所述文件发送模块是设置为将所述文件封装模块所得到的联系人文件通过数据通信的方式发送给所述发送对象。The information receiving module is configured to receive the sending control information of the user, where the sending control information includes a sending object, where the file sending module is configured to send the contact file obtained by the file encapsulating module by means of data communication Send the object to the said.
  13. 根据权利要求9-11任一项所述的发送装置,其中,所述特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。The transmitting device according to any one of claims 9-11, wherein the feature information further comprises audio feature information and video feature information, and the format of the feature data further comprises: an audio feature data format and a video feature data format.
  14. 一种联系人信息的接收装置,包括:A device for receiving contact information, comprising:
    文件接收模块,设置为接收外部终端发送的图像格式的联系人文件;a file receiving module, configured to receive a contact file in an image format sent by an external terminal;
    文件解析模块,设置为对所述联系人文件进行解析,解析后的联系人文件包括联系人的特征信息,所述特征信息至少包括文本特征信息和图像特征信息,其中,一个所述特征信息包括一种格式的特征数据,所述特征数据的格式至少包括:文本特征数据格式和图像特征数据格式;a file parsing module, configured to parse the contact file, where the parsed contact file includes feature information of the contact, the feature information includes at least text feature information and image feature information, wherein one of the feature information includes a format of feature data, the format of the feature data at least comprising: a text feature data format and an image feature data format;
    文件保存模块,设置为分别提取联系人的每个特征信息,并将提取的联系人的每个特征信息保存到对应的存储空间内。The file saving module is configured to extract each feature information of the contact separately, and save each feature information of the extracted contact into a corresponding storage space.
  15. 如权利要求14所述的接收装置,其中所述特征信息还包括音频特征信息和视频特征信息,所述特征数据的格式还包括:音频特征数据格式和视频特征数据格式。 The receiving apparatus according to claim 14, wherein said feature information further comprises audio feature information and video feature information, and said format of said feature data further comprises: an audio feature data format and a video feature data format.
  16. 一种计算机程序,包括程序指令,当该程序指令被发送端设备执行时,使得该设备可执行权利要求1-5任一项的方法。A computer program comprising program instructions that, when executed by a transmitting device, cause the device to perform the method of any of claims 1-5.
  17. 一种载有权利要求16所述计算机程序的载体。A carrier carrying the computer program of claim 16.
  18. 一种计算机程序,包括程序指令,当该程序指令被接收端设备执行时,使得该设备可执行权利要求6-7任一项的方法。A computer program comprising program instructions which, when executed by a receiving device, cause the device to perform the method of any of claims 6-7.
  19. 一种载有权利要求18所述计算机程序的载体。 A carrier carrying the computer program of claim 18.
PCT/CN2014/091691 2014-08-18 2014-11-19 Method and device for sending/receiving information about contact person WO2015117462A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410410191.9A CN105472086A (en) 2014-08-18 2014-08-18 Contact feature information sending method, contact feature information sending device, receiving method and receiving device
CN201410410191.9 2014-08-18

Publications (1)

Publication Number Publication Date
WO2015117462A1 true WO2015117462A1 (en) 2015-08-13

Family

ID=53777271

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/091691 WO2015117462A1 (en) 2014-08-18 2014-11-19 Method and device for sending/receiving information about contact person

Country Status (2)

Country Link
CN (1) CN105472086A (en)
WO (1) WO2015117462A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111065094A (en) * 2019-12-16 2020-04-24 Oppo广东移动通信有限公司 Address book transmission method and device, storage medium and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786749A (en) * 2017-10-31 2018-03-09 努比亚技术有限公司 A kind of information processing method, terminal and computer-readable recording medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475077A (en) * 2000-09-18 2004-02-11 松下电器产业株式会社 Image recording/reproducing device and method disc and image reproducing device
CN1691631A (en) * 2004-04-19 2005-11-02 三星电子株式会社 Method for management of vcards
CN101185094A (en) * 2005-06-23 2008-05-21 微软公司 Sending and receiving electronic business cards

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475077A (en) * 2000-09-18 2004-02-11 松下电器产业株式会社 Image recording/reproducing device and method disc and image reproducing device
CN1691631A (en) * 2004-04-19 2005-11-02 三星电子株式会社 Method for management of vcards
CN101185094A (en) * 2005-06-23 2008-05-21 微软公司 Sending and receiving electronic business cards

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111065094A (en) * 2019-12-16 2020-04-24 Oppo广东移动通信有限公司 Address book transmission method and device, storage medium and electronic equipment
CN111065094B (en) * 2019-12-16 2023-08-25 Oppo广东移动通信有限公司 Address book transmission method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN105472086A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
JP6255646B2 (en) Message system
US10049147B2 (en) Method, apparatus and terminal for processing documents
CN102855059B (en) Terminal and information sharing method
KR100469409B1 (en) Personal information management method for mobile communication device
US8718689B2 (en) Method for displaying related information and mobile communication terminal
US20150116391A1 (en) Method and system to share display attributes of content
CN109241470A (en) Page display method, apparatus and system
EP4148551A1 (en) Screen projection method and terminal
KR20090080693A (en) Terminal and method for displaying contents thereof
US20220086269A1 (en) Caller Identification Display Method Based on Application, and Terminal Device
WO2017114190A1 (en) File uploading processing method and device
CN103023870A (en) Method, device and equipment for outputting data in message
CN104182419A (en) Method and device for processing character information in picture
WO2015117462A1 (en) Method and device for sending/receiving information about contact person
CN112328330A (en) iOS component calling method, device, middleware, electronic equipment and medium
JP5852976B2 (en) User terminal, user profile display system, user profile display method, program for user terminal
EP4354270A1 (en) Service recommendation method and electronic device
CN103647818A (en) Method and system for realizing function setting
CN114371895A (en) Terminal device, mail marking method and storage medium
CN107423130A (en) Mobile terminal is broadcasted and the display systems and method of advertisement
CN102447716B (en) Portable electric appts and the reminding method for content choice
US20130185658A1 (en) Portable Electronic Device, Content Publishing Method, And Prompting Method
JP6360227B2 (en) Message system
US9635171B2 (en) User profile display user terminal, user profile display system, user profile display method, and program for user profile display user terminal
CN102447717A (en) Portable electronic equipment and content publishing method for same

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: 14881558

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: 14881558

Country of ref document: EP

Kind code of ref document: A1