WO2016045259A1 - 远程搜索联系人的方法以及智能移动终端 - Google Patents

远程搜索联系人的方法以及智能移动终端 Download PDF

Info

Publication number
WO2016045259A1
WO2016045259A1 PCT/CN2015/070613 CN2015070613W WO2016045259A1 WO 2016045259 A1 WO2016045259 A1 WO 2016045259A1 CN 2015070613 W CN2015070613 W CN 2015070613W WO 2016045259 A1 WO2016045259 A1 WO 2016045259A1
Authority
WO
WIPO (PCT)
Prior art keywords
business card
electronic business
terminal
card file
contact
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2015/070613
Other languages
English (en)
French (fr)
Inventor
胡成军
谢瀚武
张建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Publication of WO2016045259A1 publication Critical patent/WO2016045259A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for remotely searching for contacts and an intelligent mobile terminal.
  • the smart terminal or the function terminal has a Bluetooth function, it is possible to realize the contact search function between the function terminal and the smart terminal by using Bluetooth.
  • a Bluetooth PBAP protocol is provided, which can implement a search between a smart terminal and a function terminal contact.
  • the search process is performed. It will consume a large amount of memory resources of the smart terminal, and it will take a long time. Moreover, due to the excessive amount of information, in the process of transmitting search results, the contact information may be lost, resulting in incomplete information. Sex.
  • the contact information stored by the smart terminal itself is separated from the information stored in the SIM card, the contact information received by the function terminal is also separated, and the function terminal needs to re-sort the received contacts. A list of contact information that is consistent with the order of the contacts in the smart terminal is obtained, and this process consumes a large resource of the functional terminal and is time consuming.
  • the technical problem to be solved by the present invention is to provide a method for remotely searching for contacts and an intelligent mobile terminal, which can quickly implement the search function of the contact, and occupy small memory resources, and well protect the integrity of the contact information.
  • a technical solution adopted by the present invention is to provide a method for remotely searching for contacts, including:
  • the first terminal After establishing a Bluetooth SPP connection with the second terminal, the first terminal receives and parses the search request sent by the second terminal, and obtains a request type and a keyword of the search request.
  • the first terminal searches for a contact corresponding to the keyword, and after the searched contact is not zero, packages the contact into at least one electronic business card file, and numbers the electronic business card file;
  • the first terminal sends the first electronic business card file to the second terminal;
  • the first terminal acquires the number of the target electronic business card file from the browsing request, and sends the target electronic business card file corresponding to the number to the second terminal of the second terminal.
  • the target electronic business card file is determined by the second terminal according to the screen sliding instruction acquired by the second terminal and the first electronic business card file currently displayed on the screen; if the screen sliding instruction is Sliding down, and the location of the contact currently displayed by the screen exceeds the contact list threshold of the first electronic business card file, and the number of the first electronic business card file is not the first one, and the second terminal
  • the number of the second electronic business card file stored in the second cache unit is not the previous one of the first electronic business card file number, and the number of the target electronic file is the previous one of the first electronic business card file number;
  • the screen slide instruction is to slide up, and the position of the contact currently displayed on the screen exceeds the first electronic business card file a contact list threshold, and the number of the first electronic business card file is not the last one, and the number
  • the contact list threshold of the first electronic business card file is an intermediate value of the number of contacts in the first electronic business card file.
  • the first terminal searches for a contact corresponding to the keyword, and packages the contact into at least one electronic business card file, and performs the electronic business card file after the searched contact is not zero.
  • the numbering step specifically includes the following steps:
  • the first terminal searches for a contact corresponding to the keyword; determines whether the number of the contacts is zero;
  • the first terminal determines whether the number of the contacts exceeds a predetermined value, and if not, the first terminal directly packages the contact into an electronic business card. a file, and numbering the electronic business card file; if the number of the contacts exceeds the predetermined value, the first terminal divides the contact into at least two parts and respectively package the electronic business card file, and The electronic business card files are numbered separately.
  • another technical solution adopted by the present invention is to provide a method for remotely searching for a contact, including:
  • the second terminal allocates the first cache unit and the second cache unit
  • the second terminal After the second terminal establishes a Bluetooth SPP connection with the first terminal, determining a current status of the second terminal, where the status includes a login status and a browsing status;
  • the target electronic business card file is that after the first terminal searches for a contact according to the keyword, and determines that the contact is not zero, the contact is packaged into at least one electronic business card file and Obtained after numbering;
  • the second terminal sends a login request to the first terminal to The first terminal acquires the first electronic business card file;
  • the second terminal acquires a screen sliding instruction of the current screen, according to the screen sliding instruction and the current screen
  • the number of the displayed first electronic business card file determines the number of the target electronic business card file, and sends a browsing request including the number of the target electronic business card file to the first terminal;
  • the screen sliding instruction is sliding downward, and the location of the contact currently displayed by the screen exceeds the contact list threshold of the first electronic business card file in which the first electronic business card file is located, and the first electronic business card file
  • the number of the target electronic business card file is not the first one, and the number of the second electronic business card file stored by the second cache unit of the second terminal is not the previous one of the number of the first electronic business card file, and the number of the target electronic business card file is a previous one of the number of the first electronic business card file;
  • the contact list threshold of the first electronic business card file is an intermediate value of the number of contacts in the first electronic business card file.
  • a smart mobile terminal for remotely searching for contacts including:
  • a receiving module a control module, a search module, a file packing module, and a sending module
  • the receiving module is configured to receive a search request sent by the second terminal after the smart mobile terminal establishes a Bluetooth SPP connection with the second terminal;
  • the control module is configured to parse the search request, obtain a request type of the search request, and a keyword;
  • the search module is configured to search for a contact corresponding to the keyword
  • the file packaging module is configured to package the contact into at least one electronic business card file after the search module searches for a contact that is not zero. And numbering the electronic business card files;
  • the sending module is configured to send a target electronic business card file corresponding to the request type to the second terminal;
  • the sending module is specifically configured to: when the request type is a login request, send the first electronic business card file to the second terminal; when the request type is a browsing request, the control module is After obtaining the number of the target electronic business card file in the browsing request, the target electronic business card file corresponding to the number is sent to the second cache unit of the second terminal;
  • the target electronic business card file is determined by the second terminal according to the screen sliding instruction acquired by the second terminal and the number of the first electronic business card file currently displayed on the screen; wherein the number of the target electronic business card file is in the
  • the screen slide command is a downward slide, and the location of the contact currently displayed by the screen exceeds the contact list threshold of the first electronic business card file in which the first electronic business card file is located, and the number of the first electronic business card file is not the first
  • the number of the second electronic business card file stored by the second cache unit of the second terminal is not the previous one of the number of the first electronic business card file, and is the previous one of the first electronic business card file number
  • the slide command is swiped up, and the location of the contact currently displayed by the screen exceeds the contact list threshold of the first electronic business card file in which the first electronic business card file is located, and the number of the first electronic business card file is not the last One, and the number of the second electronic business card file stored in the second cache unit of the second terminal is not the first electronic After a number
  • the contact list threshold of the first electronic business card file is an intermediate value of the number of contacts in the first electronic business card file.
  • the control module is further configured to: after the search module searches for a contact corresponding to the keyword and determines that the number of the contacts is not zero, determine whether the number of the contacts exceeds a predetermined value;
  • the file packaging module is specifically configured to: when the number of the contacts does not exceed a predetermined value, the first terminal directly packages the contact into an electronic business card file, and numbers the electronic business card file; When the number of the contacts exceeds a predetermined value, the first terminal divides the contacts into at least two parts and respectively package them into electronic business card files, and respectively numbers the electronic business card files.
  • the invention has the beneficial effects that, after the first terminal of the present invention receives the search request including the request type and the keyword sent by the second terminal, the first terminal of the present invention searches for the contact corresponding to the keyword by using the Bluetooth SPP. And packaging the contact corresponding to the keyword into at least one electronic business card file, and numbering it, and then according to the request type of the search request, the request type is a login request, and the first terminal obtains the target electronic business card file from the browsing request. And numbering, and transmitting the target electronic business card file corresponding to the number to the second cache unit of the second terminal.
  • the transmission of the contact information by the contact information is not only fast, but also sends an electronic business card file to the second terminal at a time according to the screen sliding instruction of the second terminal, that is, a partial contact is sent at a time instead of all the contacts. After multiple times, all the contact information in the first terminal can be displayed on the screen of the second terminal, which can reduce the memory resources of the functional terminal, and can effectively prevent the loss of contact information and effectively protect the integrity of information transmission. .
  • FIG. 1 is a schematic structural diagram of an embodiment of a system for remotely searching for contacts according to the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of a system for remotely searching for contacts according to the present invention
  • FIG. 3 is a schematic flow chart of an embodiment of a method for remotely searching for contacts according to the present invention.
  • FIG. 4 is a schematic flow chart of another embodiment of a method for remotely searching for contacts according to the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of an intelligent mobile terminal for remotely searching for contacts according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal for remotely searching for contacts according to the present invention.
  • FIG. 1 is a schematic structural diagram of an embodiment of a system for remotely searching for contacts according to the present invention.
  • 2 is a schematic structural diagram of an embodiment of a system for remotely searching for contacts of the present invention, which is a further description of the system operation mode of the remote search contact in FIG. 1, wherein the mobile terminal and the second terminal in FIG.
  • the system for remotely searching for contacts of the present embodiment includes a first terminal 101 and a second terminal 102.
  • the first terminal 101 is a smart mobile terminal with a large memory
  • the second terminal 102 is a mobile terminal with a small memory, which may be a smart mobile terminal, a functional terminal, or other information that can store browsing information.
  • Electronic terminal equipment is not limited here.
  • a connection is established between the first terminal 101 and the second terminal 102 via Bluetooth, preferably via a Bluetooth SPP.
  • the second terminal 102 After receiving the search instruction of the user, the second terminal 102 first allocates the first cache unit and the second cache unit in order to be able to search for the contact from the first terminal 101. After establishing a connection with the first terminal 101 through the Bluetooth SPP, the second terminal 102 sends a search request to the first terminal 101 to request a remote search for the contact. Among them, the search request includes the request type and the keyword. After receiving the search request sent by the second terminal 102, the first terminal 101 parses the search request, and obtains the request type and the keyword from the search request. Then, the first terminal 101 performs a search in the stored contact information according to the above-mentioned keyword, wherein the contact information includes the contact information stored in the SIM card and the contact information stored by the first terminal 101 itself.
  • the first terminal 101 After the first terminal 101 obtains the contact corresponding to the keyword, it determines whether the contact is zero. If the contact information is not zero, the contact is packaged into at least one electronic business card file, and each electronic business card file is Numbered.
  • the first terminal 101 further determines to send the target electronic business card file corresponding to the above request type to the second terminal 102 according to the request type of the search request. If the request type is a login request, that is, no electronic business card file is displayed in the first cache unit of the second terminal 102, the first terminal 101 sends the first electronic business card file to the second cache unit of the second terminal 102. in.
  • the first terminal 101 acquires the number of the target electronic business card file from the browsing request, and sends the target electronic business card file corresponding to the number to the second cache unit of the second terminal 102;
  • the target electronic business card file is determined by the second terminal 102 according to the screen sliding instruction acquired by the second terminal 102 and the first electronic business card file currently displayed on the screen; if the screen sliding instruction is sliding downward, and the screen is currently displayed The location of the contact exceeds the contact list threshold of the first electronic business card file, as shown in FIG.
  • the second "Li Si” displayed on the terminal screen, and the number of the first electronic business card file is not the first one
  • the number The number of the second electronic business card file stored in the second cache unit of the second terminal 102 is not the previous one of the first electronic business card file number
  • the number of the target electronic file is the previous one of the first electronic business card file number
  • the first terminal 101 sending the electronic business card file before the first electronic business card file number to the cache unit of the second terminal; if the screen is sliding The motion instruction is to slide up, and the location of the contact currently displayed on the screen exceeds the contact list threshold of the first electronic business card file, and the number of the first electronic business card file is not the last one
  • the second cache unit of the second terminal 102 The number of the second electronic business card file stored in is not the number of the first electronic business card file, and the number of the target electronic file is the latter of the first electronic business card file number.
  • the second terminal 102 receives the target electronic business card file of the contact corresponding to the search request sent by the first terminal 101.
  • the first terminal after receiving the search request including the request type and the keyword sent by the second terminal by using the Bluetooth, the first terminal searches for the contact corresponding to the keyword, and packages the contact corresponding to the keyword into at least An electronic business card file is numbered, and then according to the request type of the search request, when the request type is a login request, the first terminal sends the first electronic business card file to the second terminal.
  • the request type is a browsing request
  • the first terminal acquires the number of the target electronic business card file from the browsing request, and sends the target electronic business card file corresponding to the number to the second cache unit of the second terminal.
  • the contact information in the first terminal can be realized by sending an electronic business card file to the second terminal at a time according to the screen sliding instruction of the second terminal. It can be displayed on the screen of the second terminal, which can reduce the memory resources of the function terminal, and can effectively prevent the loss of contact information and effectively protect the integrity of information transmission.
  • the contacts stored in the first terminal and the SIM card are not separated, and are sent to the second terminal as a whole, so that the second terminal does not need to be reordered, and the contact order and the first in the second terminal can be realized.
  • the consistency of the terminal not only saves time, but also saves the function terminal memory, which ensures the real-time search and brings convenience to the user.
  • FIG. 3 is a schematic flowchart diagram of an embodiment of a remote search contact method according to the present invention.
  • the remote search method of this embodiment includes:
  • the first terminal After establishing a Bluetooth SPP connection with the second terminal, the first terminal receives and parses the search request sent by the second terminal, and obtains a request type and a keyword of the search request.
  • the first terminal In order to enable the first terminal to implement a contact search relationship with the second terminal, the first terminal, after establishing a connection with the second terminal through the Bluetooth SPP, receives a search request sent by the second terminal, and parses the search request to obtain the search. The type of request requested and the keyword.
  • the first terminal searches for a contact corresponding to the keyword, and after the searched contact is not zero, packages the contact into at least one electronic business card file, and numbers the electronic business card file.
  • the first terminal performs a search in the stored contact information according to the keyword, where the contact information includes the contact information stored in the SIM card and the contact information stored by the first terminal itself. By searching, if the searched contact is not zero, the first terminal and the terminal package the contact into at least one electronic business card file, and number the electronic business card file.
  • the first terminal After the first terminal obtains the contact corresponding to the keyword, it is determined whether the number of the contacts exceeds the subscription value, and further determines the number of the packaged electronic business card files. If the number of contacts corresponding to the keyword does not exceed the subscription value, the first terminal directly packages all the contacts corresponding to the keyword into an electronic business card file, and numbers the electronic business card file. If the number of the contacts corresponding to the keyword exceeds the subscription value, the first terminal divides the contact corresponding to the keyword into at least two parts and separately package the electronic business card file into each electronic business card file. The files are numbered separately.
  • the predetermined value can be automatically set by a person, for example, it is set to 50, and can also be automatically set by the system, and no limitation is made here.
  • the first terminal divides the stored contact information into at least two parts and separately packages the electronic business card file.
  • the contact information stored by the first terminal may also be divided into at least two parts of different numbers and packaged into electronic business card files.
  • each electronic business card file contains the number of contacts included in the electronic business card file.
  • the number of the electronic business card file may be continuous or discontinuous Arabic numerals, such as 1, 2, 3, 4, or may be English letters or other types of letters, as long as the order can be recognized, and is not limited herein.
  • the first terminal sends a target electronic business card file corresponding to the request type to the second terminal.
  • the request type of the search request is a login request, that is, no electronic business card file is stored in the first cache unit of the current second terminal
  • the first electronic business card file is sent to the cache unit of the second terminal for the second The terminal displays. If there is only one electronic business card file, the electronic business card file is directly sent to the second cache unit of the second terminal.
  • the request type of the search request is a browsing request, that is, the screen of the current second terminal is displaying a first electronic business card file corresponding to the keyword sent by the first terminal
  • the first terminal further obtains from the browsing request.
  • a number of the target electronic business card file, and the target electronic business card file corresponding to the number is sent to the second cache unit of the second terminal.
  • the target electronic business card file is determined by the second terminal according to the screen sliding instruction acquired by the second terminal and the first electronic business card file currently displayed on the screen.
  • the screen slide command is sliding downward, and the position of the contact currently displayed on the screen exceeds the contact list threshold of the first electronic business card file, and the number of the first electronic business card file displayed on the current second terminal screen is not the first one
  • the number of the second electronic business card file stored in the second cache unit of the second terminal is not the previous one of the first electronic business card file number
  • the number of the target electronic file is the number of the first electronic business card file. Previous.
  • the screen sliding instruction is upward sliding, and the position of the contact currently displayed on the screen exceeds the contact list threshold of the first electronic business card file, and the number of the first electronic business card file displayed on the current second terminal screen is not the last one, And the number of the second electronic business card file stored in the second cache unit of the second terminal is not the number of the first electronic business card file, and the number of the target electronic file is the next one of the first electronic business card file number.
  • the list threshold is an intermediate position of the number of contacts in the first electronic business card file.
  • the 50th contact may be set as a threshold, in another embodiment.
  • the medium threshold can also be elsewhere in the electronic business card file.
  • all the contact information of the first electronic business card file may not be completely displayed, and the electronic business card file may also set two critical values, the critical value of the upper end, and the lower limit. value.
  • the first terminal After receiving the search request including the request type and the keyword sent by the second terminal by using the Bluetooth, the first terminal searches for a contact corresponding to the keyword, and associates the contact corresponding to the keyword. Packing into at least one electronic business card file, and numbering it, and then according to the request type of the search request, in the request type being a login request, the first terminal obtains the number of the target electronic business card file from the browsing request, and corresponds to the number The target electronic business card file is sent to the second cache unit of the second terminal. By transmitting the contact information through the package, not only the transmission speed is fast, but also all the contact information in the first terminal can be realized by sending an electronic business card file to the second terminal at a time according to the screen sliding instruction of the second terminal.
  • the second terminal can reduce the memory resources of the function terminal, and can effectively prevent the loss of contact information and effectively protect the integrity of information transmission.
  • the contacts stored in the first terminal and the SIM card are not separated, and are sent to the second terminal as a whole, so that the second terminal does not need to be reordered, and the contact order and the first in the second terminal can be realized.
  • the consistency of the terminal not only saves time, but also saves the function terminal memory, which ensures the real-time search and brings convenience to the user.
  • FIG. 4 is a schematic flowchart of another embodiment of a remote search contact of the present invention.
  • the method of this embodiment includes:
  • the second terminal allocates the first cache unit and the second cache unit.
  • the second terminal After receiving the request for the user to search for the contact by the first terminal, the second terminal further acquires the keyword. Then, the second terminal allocates and displays the electronic business card file corresponding to the second terminal keyword sent by the first terminal, and the second terminal first allocates the first cache unit and the second cache unit.
  • the first cache unit is configured to store the first electronic business card file currently displayed by the second terminal, and the second cache unit is configured to store the electronic business card file corresponding to the search request sent by the first terminal.
  • the second terminal After the second terminal establishes a Bluetooth SPP connection with the first terminal, determining a current status of the second terminal, where the status includes a login status and a browsing status, and sending, to the first terminal, a status corresponding to the status. Searching for a request to acquire a target electronic business card file corresponding to the search request from the first terminal.
  • the search request includes a request type and a keyword; wherein the target electronic business card file is a contact corresponding to the keyword after the first terminal searches according to the keyword, and determines the contact
  • the contacts corresponding to the keywords are packaged into at least one electronic business card file and numbered. Specifically, after obtaining the contact corresponding to the keyword, the first terminal determines whether the number of the contacts exceeds the subscription value, and further determines the number of the packaged electronic business card files. If the number of contacts corresponding to the keyword does not exceed the subscription value, the first terminal directly packages all the contacts corresponding to the keyword into an electronic business card file, and numbers the electronic business card file.
  • the first terminal divides the contact corresponding to the keyword into at least two parts and separately package the electronic business card file into each electronic business card file.
  • the files are numbered separately.
  • the predetermined value can be automatically set by a person, for example, it is set to 50, and can also be automatically set by the system, and no limitation is made here.
  • the first terminal divides the stored contact information into at least two parts and separately packages the electronic business card file.
  • the contact information stored by the first terminal may also be divided into at least two parts of different numbers and packaged into electronic business card files.
  • each electronic business card file contains the number of contacts included in the electronic business card file.
  • the number of the electronic business card file may be continuous or discontinuous Arabic numerals, such as 1, 2, 3, 4, or may be English letters or other types of letters, as long as the order can be recognized, and is not limited herein.
  • the second terminal determines that its current state is the login state, that is, when no electronic business card file is stored in the first cache unit, the second terminal sends a login request to the first terminal to acquire the first Electronic business card files.
  • the second terminal determines that its current state is the browsing state, that is, the first cache unit stores the first electronic business card file
  • the second terminal acquires a screen sliding instruction of the current screen, and the screen sliding instruction is that the user is sliding the second terminal screen And obtaining the number, and determining the number of the target electronic business card file according to the screen sliding instruction and the number of the first electronic business card file currently displayed on the screen, and transmitting a browsing request including the number of the target electronic business card file to the first terminal.
  • the second terminal sends a browsing request including the number of the target electronic business card file to the first terminal, so as to acquire the target electronic business card file of the first electronic business card file number from the first terminal.
  • the second terminal sends a browsing request including the number of the target electronic business card file to the first terminal, to acquire the target electronic business card file of the first electronic business card file number from the first terminal.
  • the list threshold is an intermediate position of the number of contacts in the first electronic business card file.
  • the 50th may be set as a critical value.
  • the threshold value may also be other places of the electronic business card file.
  • all the contact information of the first electronic business card file may not be completely displayed, and the electronic business card file may also be set to two. The critical value, the upper threshold, and the lower threshold.
  • the second terminal After the second terminal establishes a connection with the first terminal by using the Bluetooth SPP, the second terminal sends a search request including the request type and the keyword to the first terminal, so as to acquire the search request corresponding to the search request from the first terminal.
  • Electronic business card file The electronic business card file is obtained after the first terminal searches for the keyword according to the keyword, and after the search is not zero, the contact is carried out, packaged, and numbered. If the current state of the second terminal is the login state, the second terminal sends a login request to the first terminal to acquire the first electronic business card file from the first terminal.
  • the second terminal acquires a screen sliding instruction of the current screen, and determines the number of the target electronic business card file according to the screen sliding instruction and the number of the first electronic business card file currently displayed on the screen, and includes the A browsing request for the number of the target electronic business card file is sent to the first terminal to acquire an electronic business card file corresponding to the browsing request from the first terminal.
  • the transmission is fast, and the second terminal acquires the screen sliding instruction, so that the first terminal sends only one electronic business card file to the second terminal at a time, which can reduce the function terminal memory. All the contact information in the first terminal can be displayed on the screen of the second terminal under the premise of the resource.
  • the order of the contact information in the second terminal can be completely consistent with the order of the contacts stored in the first terminal, and no further contact is needed.
  • FIG. 5 is a schematic structural diagram of an embodiment of an intelligent mobile terminal for remotely searching for contacts according to the present invention.
  • the smart mobile terminal of this embodiment includes a receiving module 501, a control module 502, a search module 503, a file packing module 504, and a sending module 505.
  • the receiving module 501 is configured to receive a search request sent by the second terminal after the smart mobile terminal establishes a Bluetooth SPP connection with the second terminal.
  • the control module 502 is configured to control the module to parse the search request, obtain a request type of the search request, and a keyword.
  • the receiving module 501 receives the search request sent by the second terminal.
  • the control module parses the search request to obtain the request type and the keyword of the search request.
  • the search module 503 is configured to search for a contact corresponding to the keyword
  • the file packaging module 504 is configured to package the contact into at least one electronic business card file after the search module searches for a contact that is not zero. And numbering the electronic business card files.
  • the search module 503 searches for the stored contact information according to the above keywords, wherein the contact information includes the contact information stored in the SIM card and the contact information stored by the smart mobile terminal itself. After obtaining all the contacts corresponding to the above keywords by the search of the search module 503, the control module 502 further determines whether the contacts are zero, and when determining that the contacts are not zero, the file packaging module 504 packages the contacts. Form at least one electronic business card file and number the electronic business card files.
  • the file packaging module 504 determines the number of the packaged electronic business card files according to whether the number of contacts corresponding to the keyword exceeds the predetermined value. If the number of contacts corresponding to the keyword does not exceed the predetermined value, the file packaging module 404 directly packages all the contacts corresponding to the keyword into an electronic business card file, and numbers the electronic business card file. If the number of contacts corresponding to the keyword exceeds the subscription value, the file packaging module 504 divides the contact corresponding to the keyword into at least two parts and packages the electronic business card file into each electronic file. The business card files are numbered separately.
  • the sending module 505 is configured to send a target electronic business card file corresponding to the request type to the second terminal.
  • the sending module 505 is specifically configured to send the first electronic business card file to the second terminal when the request type is a login request.
  • the sending module 505 is further configured to: after the request type is a browsing request, the control module 502 obtains the number of the target electronic business card file from the browsing request, and sends the target electronic business card file corresponding to the number to the second terminal. In the cache unit.
  • the target electronic business card file is determined by the second terminal according to the screen sliding instruction obtained by the second terminal and the first electronic business card file currently displayed on the screen; wherein the number of the target electronic business card file is sliding downward in the screen sliding instruction And the location of the contact currently displayed by the second terminal screen exceeds the contact list threshold of the first electronic business card file in which it is located, and the number of the first electronic business card file is not the first one, and the second cache of the second terminal When the number of the second electronic business card file stored in the unit is not the previous one of the number of the first electronic business card file, it is the previous one of the first electronic business card file number.
  • the slide command is swiped up, and the position of the contact currently displayed on the screen exceeds the contact list threshold of the first electronic business card file in which the first electronic business card file is located, and the number of the first electronic business card file is not the last one, and the second terminal
  • the number of the second electronic business card file stored in the second cache unit is not the latter of the number of the first electronic business card file, and is the latter of the number of the first electronic business card file.
  • the smart module After receiving the search request including the request type and the keyword sent by the second terminal by the receiving module, the smart module receives the search request by the control module, and the search module searches for the contact corresponding to the keyword.
  • the file packaging module packages the contact corresponding to the keyword into at least one electronic business card file, and numbers the same, and then the sending module sends the first electronic business card file according to the request type of the search request, and the request type is a login request.
  • the control module acquires the number of the target electronic business card file from the browsing request, and sends the target electronic business card file corresponding to the number to the second cache unit of the second terminal.
  • the contact information in the smart mobile terminal can be realized by sending only one electronic business card file to the second terminal at a time according to the screen sliding instruction of the second terminal. It can be displayed on the screen of the second terminal, which can reduce the memory resources of the function terminal, and can effectively prevent the loss of contact information and effectively protect the integrity of information transmission.
  • the contacts stored in the smart mobile terminal and the SIM card are not separated, and are sent to the second terminal as a whole, so that the second terminal does not need to be reordered, and the contact order and the first in the second terminal can be realized.
  • the consistency of the terminal not only saves time, but also saves the function terminal memory, which ensures the real-time search and brings convenience to the user.
  • FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal for remotely searching for a contact according to the present invention.
  • the mobile terminal of the present embodiment includes an allocation module 601, a control module 602, a sending module 603, and a receiving module 604.
  • the allocation module 601 is configured to allocate the first cache unit and the second cache unit.
  • the receiving module 604 of the mobile terminal further acquires the keyword after receiving the request of the user to search for the contact by the first terminal. Then, the mobile terminal first allocates the first cache unit and the second cache unit in order to receive and display the target electronic business card file corresponding to the second terminal keyword sent by the first terminal.
  • the first cache unit is configured to store the first electronic business card file currently displayed by the second terminal
  • the second cache unit is configured to store the target electronic business card file corresponding to the search request sent by the first terminal.
  • the control module 602 is configured to determine a current state of the mobile terminal after the mobile terminal establishes a Bluetooth SPP connection with the first terminal, where the status includes a login status and a browsing status;
  • the sending module 603 is configured to send, to the first terminal, a search request corresponding to the state, to acquire a target electronic business card file corresponding to the search request from the first terminal.
  • the search request includes a request type and a keyword; wherein the target electronic business card file is a contact obtained by the first terminal after searching according to the keyword, and after determining that the contact is not zero, the contact is packaged into at least An electronic business card file is obtained after numbering.
  • the sending module 603 is specifically configured to send a login request to the first terminal when the current state of the mobile terminal is a login state, that is, the first cache unit does not store any electronic business card file, to obtain the first one from the first terminal.
  • Electronic business card file is specifically configured to send a login request to the first terminal when the current state of the mobile terminal is a login state, that is, the first cache unit does not store any electronic business card file, to obtain the first one from the first terminal.
  • Electronic business card file Electronic business card file.
  • the sending module 603 is further configured to: when the state is a browsing state, that is, the first cache unit stores the first electronic business card file, and the control module 602 acquires a screen sliding instruction of the current screen, according to the screen sliding instruction and the first electronic currently displayed on the screen. After the number of the business card file determines the number of the target electronic business card file, a browsing request including the number of the target electronic business card file is sent to the first terminal.
  • the number of the target electronic business card file is slid downward in the screen sliding instruction, and the location of the contact currently displayed by the screen exceeds the contact list threshold value of the first electronic business card file in which the screen is located, and the When the number of the electronic business card file is not the first one, and the number of the second electronic business card file stored by the second buffer unit of the second terminal is not the previous one of the numbers of the first electronic business card file, Correspondingly, the sending module 603 sends a browsing request including the number of the target electronic business card file to the first terminal to acquire the first electronic business card file from the first terminal. The electronic business card file before the number.
  • the screen slide command is swiping up, and the position of the contact currently displayed on the screen exceeds the contact list threshold of the first electronic business card file in which it is located, and the number of the first electronic business card file is not the last one, and the second The number of the second electronic business card file stored in the second cache unit of the terminal is not the latter of the number of the first electronic business card file, and is the latter of the number of the first electronic business card file; correspondingly, the sending module 603 Sending a browsing request including the number of the target electronic business card file to the first terminal, to acquire the electronic business card file after the first electronic business card file number from the first terminal;
  • the receiving module 604 is configured to receive, by the module, the second electronic business card file corresponding to the search request returned by the first terminal to the second cache unit.
  • the sending module sends a search request including the request type and the keyword to the first terminal, to acquire the search request corresponding to the search request from the first terminal.
  • Electronic business card file The electronic business card file is obtained after the first terminal searches for the keyword according to the keyword, and after the search is not zero, the contact is carried out, packaged, and numbered. If the current state of the mobile terminal is the login state, the sending module sends a login request to the first terminal to acquire the first electronic business card file from the first terminal.
  • the second terminal acquires a screen sliding instruction of the current screen, and determines the number of the target electronic business card file according to the screen sliding instruction and the number of the first electronic business card file currently displayed on the screen, and includes the A browsing request for the number of the target electronic business card file is sent to the first terminal; to obtain an electronic business card file corresponding to the browsing request from the first terminal.
  • the transmission is not only fast, but the mobile terminal obtains a screen sliding instruction, so that the first terminal only sends an electronic business card file to the mobile terminal at a time, which can reduce the memory resources of the functional terminal. All the contact information in the first terminal can be displayed on the screen of the mobile terminal.
  • the order of the contact information in the mobile terminal can be completely consistent with the order of the contacts stored in the first terminal, and no further contact is needed.
  • the sorting is performed to further save the memory resources of the first terminal, and the contact information can be effectively prevented from being lost, and the real-time performance of the contact search is enhanced, which brings convenience to the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种远程搜索联系人的方法以及智能移动终端,包括:第一终端与第二终端建立蓝牙SPP连接后,接收并解析第二终端发送的搜索请求得到请求类型及关键字;搜索与关键字相应的联系人,在搜索到联系人不为零后将联系人打包成至少一个电子名片文件并进行编号;将与请求类型相对应的目标电子名片文件发送至第二终端;如果请求类型为登录请求,将第一个电子名片文件发送至第二终端;如果请求类型为浏览请求,从浏览请求获取目标电子名片文件的编号,并将与编号对应的目标电子名片文件发送至第二终端。通过上述方式,本发明能够快速地实现联系人的搜索功能,而且占用内存资源小,很好地保护了联系人信息的完整性。

Description

远程搜索联系人的方法以及智能移动终端
【技术领域】
本发明涉及通信技术领域,特别是涉及一种远程搜索联系人的方法以及智能移动终端。
【背景技术】
伴随着移动终端和网络的飞速发展,人们的社交范围越来越广泛,需要存储的联系人也越来越多。这对移动终端存储结构的大小提出了更高的要求。然而,虽然智能终端在内存上一般不会出现问题,但是常用的功能终端,如老人机却显得不那么与时俱进。
一般情况下,无论是智能终端还是功能终端都具有蓝牙功能,利用蓝牙实现功能终端与智能终端之间的联系人搜索功能成为一种可能。
现有技术中,提供了一种蓝牙PBAP协议,能够实现智能终端与功能终端联系人之间的搜索,但是此种方法中,如果智能终端中存储的联系人较多,进行搜索的过程中的则会耗费智能终端大量的内存资源,且耗时也会较长,而且由于信息量过大,在进行搜索结果传输过程中的,还有可能造成联系人信息的丢失,而造成信息的不完整性。另外,由于智能终端本身存储的联系人信息与SIM卡中存储的信息是分开的,功能终端接收到的联系人信息也是分开的,功能终端需要重新对接收到的联系人进行混合排序后,才能得到与智能终端的中联系人的顺序一致的联系人信息列表,而这个过程会消耗功能终端很大的资源,并且耗时也较差长。
【发明内容】
本发明主要解决的技术问题是提供一种远程搜索联系人的方法以及智能移动终端,能够快速地实现联系人的搜索功能,而且占用内存资源小,很好地保护了联系人信息的完整性。
为解决上述技术问题,本发明采用的一个技术方案是:提供一种远程搜索联系人的方法,包括:
第一终端与第二终端建立蓝牙SPP连接后,接收并解析所述第二终端发送的搜索请求,得到所述搜索请求的请求类型以及关键字;
所述第一终端搜索与所述关键字相应的联系人,在搜索到联系人不为零后将所述联系人打包成至少一个电子名片文件,并对所述电子名片文件进行编号;
所述第一终端将与所述请求类型相对应的目标电子名片文件发送至所述第二终端;
其中,如果所述请求类型为登录请求,则所述第一终端将第一个电子名片文件发送至所述第二终端;
如果所述请求类型为浏览请求,则所述第一终端从所述浏览请求获取所述目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中;其中,所述目标电子名片文件是所述第二终端根据其获取到的屏幕滑动指令以及其屏幕当前显示的第一电子名片文件的编号确定的;如果所述屏幕滑动指令为向下滑动,并且所述屏幕当前显示的联系人的位置超过所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件编号前一个,则所述目标电子文件的编号为所述第一电子名片文件编号的前一个;如果所述屏幕滑动指令为向上滑动,并且所述屏幕当前显示的联系人的位置超过所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是最后一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号后一个,则所述目标电子文件的编号为所述第一电子名片文件编号的后一个。
其中,所述第一电子名片文件的联系人列表临界值为所述第一电子名片文件中联系人数量的中间值。
其中,所述所述第一终端搜索与所述关键字相应的联系人,并将所述联系人打包成至少一个电子名片文件,在搜索到联系人不为零后对所述电子名片文件进行编号的步骤具体包括如下步骤:
所述第一终端搜索与所述关键字相对应的联系人;确定所述联系人的数量是否为零;
如果所述联系人的数量不为零,则所述第一终端判断所述联系人的数量是否超过预定值,如果没有超过,则所述第一终端将所述联系人直接打包成一个电子名片文件,并对所述电子名片文件进行编号;如果所述联系人的数量超过了所述预定值,则所述第一终端将所述联系人分成至少两部分并分别打包成电子名片文件,并分别对所述电子名片文件进行编号。
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种远程搜索联系人的方法,包括:
第二终端分配第一缓存单元以及第二缓存单元;
所述第二终端与第一终端建立蓝牙SPP连接后,确定所述第二终端当前状态;其中,所述状态包括登录状态以及浏览状态;
向所述第一终端发送与所述状态相对应的搜索请求,以从所述第一终端获取与所述搜索请求对应的目标电子名片文件;其中,所述搜索请求包括请求类型以及关键字;其中,所述目标电子名片文件是在所述第一终端将根据所述关键字进行搜索联系人,并确定所述联系人不为零后,将所述联系人打包成至少一个电子名片文件并进行编号后得到的;
其中,如果所述第二终端当前状态为登录状态,即所述第一缓存单元没有存储任一电子名片文件时,则所述第二终端向所述第一终端发送登录请求,以从所述第一终端获取第一个电子名片文件;
如果所述第二终端当前状态为浏览状态,即所述第一缓存单元存储有第一电子名片文件时,所述第二终端获取当前屏幕的屏幕滑动指令,根据所述屏幕滑动指令以及屏幕当前显示的第一电子名片文件的编号确定所述目标电子名片文件的编号,并将包括所述目标电子名片文件的编号的浏览请求发送至所述第一终端;
其中,如果所述屏幕滑动指令为向下滑动,并且所述屏幕当前显示的联系人的位置超过其所在的所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的前一个,则所述目标电子名片文件的编号为所述第一电子名片文件编号的前一个;如果所述屏幕滑动指令为向上滑动,并且所述屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是最后一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的后一个,则所述目标电子名片文件的编号为所述第一电子名片文件的编号的后一个;
接收并保存所述第一终端返回的与所述搜索请求对应的目标电子名片文件至所述第二缓存单元中。
其中,所述第一电子名片文件的联系人列表临界值为所述第一电子名片文件中联系人数量的中间值。
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种远程搜索联系人的智能移动终端,包括:
接收模块、控制模块、搜索模块、文件打包模块以及发送模块,
所述接收模块用于在所述智能移动终端与第二终端建立蓝牙SPP连接后,接收所述第二终端发送的搜索请求;
所述控制模块用于解析所述搜索请求,得到所述搜索请求的请求类型以及关键字;
所述搜索模块用于搜索与所述关键字相应的联系人,所述文件打包模块用于在所述搜索模块搜索到联系人不为零后将所述联系人打包成至少一个电子名片文件,并对所述电子名片文件进行编号;
所述发送模块用于将与所述请求类型相对应的目标电子名片文件发送至所述第二终端;
其中,所述发送模块具体用于在所述请求类型为登录请求时,将第一个电子名片文件发送至所述第二终端;在所述请求类型为浏览请求,所述控制模块从所述浏览请求中获取所述目标电子名片文件的编号后,将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中;
其中,所述目标电子名片文件是所述第二终端根据其获取到的屏幕滑动指令以及其屏幕当前显示的第一电子名片文件的编号确定的;其中,所述目标电子名片文件的编号在所述屏幕滑动指令为向下滑动,并且所述屏幕当前显示的联系人的位置超过其所在的所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的前一个时,为所述第一电子名片文件编号的前一个;在所述屏幕滑动指令为向上滑动,并且所述屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是最后一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的后一个,为所述第一电子名片文件的编号的后一个。
其中,所述第一电子名片文件的联系人列表临界值为所述第一电子名片文件中联系人数量的中间值。
其中,所述控制模块还用于在所述搜索模块搜索到与所述关键字对应的联系人且确定所述联系人的数量不为零后,判断所述联系人的数量是否超过预定值;所述文件打包模块具体用于在所述联系人的数量没有超过预定值时,将所述第一终端将所述联系人直接打包成一个电子名片文件,并对所述电子名片文件进行编号;在所述联系人的数量超过预定值时,所述第一终端将所述联系人分成至少两部分并分别打包成电子名片文件,并分别对所述电子名片文件进行编号。
本发明的有益效果是:区别于现有技术的情况,本发明第一终端通过蓝牙SPP接收到第二终端发送的包含请求类型以及关键字的搜索请求后,搜索与关键字对应的联系人,并将与关键字对应的联系人打包成至少一个电子名片文件,并对其进行编号,然后根据搜索请求的请求类型,在请求类型为登录请求,第一终端从浏览请求获取目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中。通过将联系人信息打包后进行传输不仅传输速度快,而且根据第二终端的屏幕滑动指令每次只向第二终端发送一个电子名片文件,即一次发送的是部分联系人而不是全部联系人,多次之后即可实现第一终端中所有的联系人信息均可在第二终端的屏幕上显示,能够降低功能终端内存资源,而且能够有效防止联系人信息的丢失,有效保护信息传输的完整性。
【附图说明】
图1是本发明远程搜索联系人的系统的一实施方式的结构示意图;
图2是本发明远程搜索联系人的系统的一实施方式的原理结构示意图;
图3是本发明远程搜索联系人的方法的实施方式的流程示意图;
图4是本发明远程搜索联系人的方法的另一实施方式的流程示意图;
图5是本发明远程搜索联系人的智能移动终端的一实施方式的结构示意图;
图6是本发明远程搜索联系人的移动终端的一实施方式的结构示意图。
【具体实施方式】
参阅图1以及图2,图1是本发明远程搜索联系人的系统的一实施方式的结构示意图。图2是本发明远程搜索联系人的系统的一实施方式的原理结构示意图,是对图1中远程搜索联系人的系统工作方式的进一步描述,其中,图2中的移动终端而第二终端。本实施方式的远程搜索联系人的系统包括第一终端101以及第二终端102。其中,第一终端101为内存较大的智能移动终端,第二终端102为内存较小的移动终端,可以为智能移动终端,也可以为功能终端,还可以为其他可以存储浏览联系人信息的电子终端设备,此处不做限定。第一终端101与第二终端102之间通过蓝牙建立连接,优选地,通过蓝牙SPP建立连接。
第二终端102在接收到用户的搜索指令后,为了能够从第一终端101中搜索联系人,先分配第一缓存单元以及第二缓存单元。再通过蓝牙SPP与第一终端101建立连接后,第二终端102向第一终端101发送搜索请求,请求远程搜索联系人。其中,搜索请求中包括请求类型以及关键字。第一终端101接收到第二终端102发送的搜索请求后,解析上述搜索请求,从搜索请求中得到请求类型以及关键字。然后,第一终端101根据上述关键字在其存储的联系人信息中进行搜索,其中,上述联系人信息包括SIM卡中存储联系人信息以及第一终端101本身存储的联系人信息。
第一终端101得到与关键字相对应的联系人后,判断联系人是否为零,如果联系人信息不为零,则将上述联系人打包成至少一个电子名片文件,并对每一个电子名片文件进行编号。
然后,第一终端101再根据搜索请求的请求类型确定向第二终端102发送与上述请求类型相对应的目标电子名片文件。如果,上述请求类型为登录请求,即第二终端102的第一缓存单元中没有显示任何电子名片文件,则第一终端101将第一个电子名片文件发送至第二终端102的第二缓存单元中。
如果上述请求类型为浏览请求,则第一终端101从浏览请求获取目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端102的第二缓存单元中;其中,所述目标电子名片文件是第二终端102根据其获取到的屏幕滑动指令以及其屏幕当前显示的第一电子名片文件的编号确定的;如果屏幕滑动指令为向下滑动,并且屏幕当前显示的联系人的位置超过所述第一电子名片文件的联系人列表临界值,如图2中第二在终端屏幕显示的“李四”,且第一电子名片文件的编号不是第一个,且第二终端102的第二缓存单元中存储的第二电子名片文件的编号不是第一电子名片文件编号前一个,则目标电子文件的编号为所述第一电子名片文件编号的前一个;第一终端101将第一电子名片文件编号前的电子名片文件发送至第二终端的缓存单元中;如果屏幕滑动指令为向上滑动,并且屏幕当前显示的联系人的位置超过第一电子名片文件的联系人列表临界值,且第一电子名片文件的编号不是最后一个,且第二终端102的第二缓存单元中存储的第二电子名片文件的编号不是第一电子名片文件的编号后一个,则目标电子文件的编号为第一电子名片文件编号的后一个。
对应的,第二终端102接收第一终端101发送的与搜索请求相对应的联系人的目标电子名片文件。
通过上述方式,本发明第一终端通过蓝牙接收到第二终端发送的包含请求类型以及关键字的搜索请求后,搜索与关键字对应的联系人,并将与关键字对应的联系人打包成至少一个电子名片文件,并对其进行编号,然后根据搜索请求的请求类型,在请求类型为登录请求,第一终端将第一个电子名片文件发送至第二终端。在请求类型为浏览请求时,第一终端从浏览请求获取目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中。通过将联系人信息通过打包后进行传输不仅传输速度快,而且根据第二终端的屏幕滑动指令每次只向第二终端发送一个电子名片文件,即可实现第一终端中所有的联系人信息均可在第二终端的屏幕上显示,能够降低功能终端内存资源,而且能够有效防止联系人信息的丢失,有效保护信息传输的完整性。而且,并没有将存储在第一终端和SIM卡中的联系人分开,作为一个整体发送至第二终端,使第二终端无需重新排序,便可实现了第二终端中联系人顺序与第一终端的一致性,不仅节省了时间,而且也节省了功能终端内存,保证了搜索的实时性,为用户带来了方便。
参阅图3,图3是本发明远程搜索联系人方法的一实施方式的流程示意图。本实施方式的远程搜索方法包括:
301:第一终端与第二终端建立蓝牙SPP连接后,接收并解析所述第二终端发送的搜索请求,得到所述搜索请求的请求类型以及关键字。
为了使第一终端与第二终端实现联系人搜索关系,第一终端在与第二终端通过蓝牙SPP建立连接后,接收第二终端发送的搜索请求,并对上述搜索请求进行解析,得到上述搜索请求的请求类型以及关键字。
302:第一终端搜索与所述关键字相应的联系人,在搜索到联系人不为零后将所述联系人打包成至少一个电子名片文件,并对所述电子名片文件进行编号。
第一终端根据上述关键字在其存储的联系人信息中进行搜索,其中,上述联系人信息包括SIM卡中存储联系人信息以及第一终端本身存储的联系人信息。通过搜索,如果搜索到的联系人不为零,则第一终端一终端将上述联系人打包成至少一个电子名片文件,并对上述电子名片文件进行编号。
具体地,第一终端得到与关键字相对应的联系人的后,判断上述联系人的数量是否超过了预订值,进而进一步地来确定打包后的电子名片文件的数量。如果与关键字相对应的联系人的数量没有超过预订值,则第一终端直接将所有的与关键字相对应的联系人打包成一个电子名片文件,并对该电子名片文件进行编号。如果,上述与关键字相对应的联系人的数量超过了预订值,则第一终端将上述与关键字相对应的联系人分成至少两部分并分别打包成电子名片文件,并对每一个电子名片文件分别进行编号。其中,上述预定值可以通过人为自动设定,如设定为50个,也可以通过系统自动设定,此处不做限制。
需要说明的是,在与关键字相对应的联系人的数量超过了预订值时,第一终端将其存储的联系人信息等分成至少两部分并分别打包成电子名片文件,在其他实施方式中,也可以将第一终端存储的联系人信息分成数量不相等的至少两个部分并分别打包成电子名片文件。但是不论是等分还是不等分,每个电子名片文件中均包含本电子名片文件中包含的联系人的数量。电子名片文件的编号可以为连续或不连续的阿拉伯数字,如1,2,3,4,也可以为英文字母或其他类型字母,只要能识别顺序即可,此处不做限定。
303:所述第一终端将与所述请求类型相对应的目标电子名片文件发送至所述第二终端。
如果搜索请求的的请求类型为登录请求,即当前第二终端的第一缓存单元中未存储任何电子名片文件,则将第一个电子名片文件发送至第二终端的缓存单元中,供第二终端进行显示。如果只有一个电子名片文件,则直接将上述电子名片文件发送至第二终端的第二缓存单元中。
如果搜索请求的请求类型为浏览请求,即当前第二终端的屏幕正显示一由第一终端搜索后发送的与关键字相对应的第一电子名片文件,第一终端进一步地从浏览请求中获取所述目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中。其中,上述目标电子名片文件是第二终端根据其获取到的屏幕滑动指令以及其屏幕当前显示的第一电子名片文件的编号确定的。如果屏幕滑动指令为向下滑动,并且屏幕当前显示的联系人的位置超过第一电子名片文件的联系人列表临界值,且当前第二终端屏幕显示的第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件编号前一个,则目标电子文件的编号为所述第一电子名片文件编号的前一个。如果上述屏幕滑动指令为向上滑动,并且屏幕当前显示的联系人的位置超过第一电子名片文件的联系人列表临界值,且当前第二终端屏幕显示的第一电子名片文件的编号不是最后一个,且第二终端的第二缓存单元中存储的第二电子名片文件的编号不是第一电子名片文件的编号后一个,则目标电子文件的编号为第一电子名片文件编号的后一个。
优选地,列表临界值为第一电子名片文件中联系人数量的中间位置,比如,第一电子名片文件中有100个联系人,可以设定第50个联系人为临界值,在另一个实施方式中临界值还可以为电子名片文件的其他地方。在其他实施方式中,由于第二终端的屏幕比较有限,可能不能完全显示第一电子名片文件的所有联系人信息,电子名片文件也可以设定两个临界值,如上端临界值,和下端临界值。
区别于现有技术,本实施方式第一终端通过蓝牙接收到第二终端发送的包含请求类型以及关键字的搜索请求后,搜索与关键字对应的联系人,并将与关键字对应的联系人打包成至少一个电子名片文件,并对其进行编号,然后根据搜索请求的请求类型,在请求类型为登录请求,第一终端从浏览请求获取目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中。通过将联系人信息通过打包后进行传输不仅传输速度快,而且根据第二终端的屏幕滑动指令每次只向第二终端发送一个电子名片文件,即可实现第一终端中所有的联系人信息均可在第二终端的屏幕上显示,能够降低功能终端内存资源,而且能够有效防止联系人信息的丢失,有效保护信息传输的完整性。而且,并没有将存储在第一终端和SIM卡中的联系人分开,作为一个整体发送至第二终端,使第二终端无需重新排序,便可实现了第二终端中联系人顺序与第一终端的一致性,不仅节省了时间,而且也节省了功能终端内存,保证了搜索的实时性,为用户带来了方便。
参阅图4,图4是本发明远程搜索联系人的另一实施方式的流程示意图。本实施方式的方法包括:
401:第二终端分配第一缓存单元以及第二缓存单元。
第二终端接收到用户向第一终端搜索联系人的请求后,进一步地获取关键字。然后,第二终端为了接收并显示第一终端发送的与第二终端关键字相对应的电子名片文件,第二终端先分配第一缓存单元以及第二缓存单元。其中,第一缓存单元用于存储第二终端当前显示的第一电子名片文件,第二缓存单元用于存储第一终端发送的与搜索请求向对应的电子名片文件。
402:所述第二终端与第一终端建立蓝牙SPP连接后,确定所述第二终端当前状态;其中,所述状态包括登录状态以及浏览状态;向第一终端发送与所述状态相对应的搜索请求,以从所述第一终端获取与所述搜索请求对应的目标电子名片文件。
其中,所述搜索请求包括请求类型以及关键字;其中,所述目标电子名片文件是在所述第一终端根据上述关键字搜索后得到与关键字相对应的联系人,并确定所述联系人不为零后,将与关键字相对应的联系人打包成至少一个电子名片文件并编号后得到的。具体地,第一终端在得到与关键字对应的联系人后,判断上述联系人的数量是否超过了预订值,进一步确定打包后的电子名片文件的数量。如果与关键字相对应的联系人的数量没有超过预订值,则第一终端直接将所有的与关键字相对应的联系人打包成一个电子名片文件,并对该电子名片文件进行编号。如果,上述与关键字相对应的联系人的数量超过了预订值,则第一终端将上述与关键字相对应的联系人分成至少两部分并分别打包成电子名片文件,并对每一个电子名片文件分别进行编号。其中,上述预定值可以通过人为自动设定,如设定为50个,也可以通过系统自动设定,此处不做限制。
需要说明的是,在与关键字相对应的联系人的数量超过了预订值时,第一终端将其存储的联系人信息等分成至少两部分并分别打包成电子名片文件,在其他实施方式中,也可以将第一终端存储的联系人信息分成数量不相等的至少两个部分并分别打包成电子名片文件。但是不论是等分还是不等分,每个电子名片文件中均包含本电子名片文件中包含的联系人的数量。电子名片文件的编号可以为连续或不连续的阿拉伯数字,如1,2,3,4,也可以为英文字母或其他类型字母,只要能识别顺序即可,此处不做限定。
如果第二终端确定其当前的状态为登录状态时,即第一缓存单元中没有存储任一电子名片文件时,第二终端向第一终端发送登录请求,以从所述第一终端获取第一个电子名片文件。
如果第二终端确定其当前的状态为浏览状态,即第一缓存单元存储有第一电子名片文件,第二终端获取当前屏幕的屏幕滑动指令,上述屏幕滑动指令是从用户在滑动第二终端屏幕时获取到的,并根据屏幕滑动指令以及屏幕当前显示的第一电子名片文件的编号确定目标电子名片文件的编号,并将包括目标电子名片文件的编号的浏览请求发送至第一终端。如果屏幕滑动指令为向下滑动,并且屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是第一个,且第二终端的第二缓存单元存储的第二电子名片文件的编号不是第一电子名片文件的编号的前一个,所述目标电子名片文件的编号为所述第一电子名片文件编号的前一个;则第二终端将包括上述目标电子名片文件的编号的浏览请求发送至第一终端,以从第一终端获取所述第一电子名片文件编号前一个的目标电子名片文件。
如果屏幕滑动指令为向上滑动,并且屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且第一电子名片文件的编号不是最后一个,且第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的后一个,则目标电子名片文件的编号为所述第一电子名片文件的编号的后一个;则第二终端将包括上述目标电子名片文件的编号的浏览请求发送至第一终端,以从第一终端获取所述第一电子名片文件编号后一个的目标电子名片文件。
优选地,列表临界值为第一电子名片文件中联系人数量的中间位置,比如,第一电子名片文件中有100个联系人,可以设定第50个为临界值,在另一个实施方式中临界值还可以为电子名片文件的其他地方,在其他实施方式中,由于第二终端的屏幕比较有限,可能不能完全显示第一电子名片文件的所有联系人信息,电子名片文件也可以设定两个临界值,如上端临界值,和下端临界值。
403:接收并保存所述第一终端返回的与所述搜索请求对应的目标电子名片文件至所述第二缓存单元中。
区别于现有技术,本实施方式第二终端通过蓝牙SPP与第一终端建立连接后,向第一终端发送包含请求类型以及关键字的搜索请求,以从第一终端获取与搜索请求相对应的电子名片文件。其中,上述电子名片文件是第一终端将根据关键字进行搜索,且经过搜索后联系人不为零后将上述联系人进行、打包、编号后得到的。如果第二终端的当前状态为登录状态,则第二终端向第一终端发送登录请求,以从第一终端获取第一个电子名片文件。如果当前第二终端的状态为浏览状态,第二终端获取当前屏幕的屏幕滑动指令,根据屏幕滑动指令以及屏幕当前显示的第一电子名片文件的编号确定目标电子名片文件的编号,并将包括所述目标电子名片文件的编号的浏览请求发送至所述第一终端,以从第一终端获取到与浏览请求对应的电子名片文件。通过第一终端将联系人信息进行打包后进行传输不仅传输速度快,而且第二终端获取屏幕滑动指令,使第一终端每次只向第二终端发送一个电子名片文件,能够在降低功能终端内存资源的前提下实现第一终端中所有的联系人信息均可在第二终端的屏幕上显示。而且由于第一终端的电子名片文件是直接其存储的联系人信息顺序进行分部分,能够第二终端中的联系人信息顺序与第一终端中存储的联系人顺序完全一致,无需进一步地对联系人进行排序,进一步地节省第一终端的内存资源,并且能够有效防止联系人信息丢失,增强联系人搜索的实时性,为用户带来方便。
如图5所示,图5为本发明远程搜索联系人的智能移动终端的一实施方式的结构示意图。本实施方式的智能移动终端包括接收模块501、控制模块502、搜索模块503、文件打包模块504以及发送模块505。
接收模块501用于在所述智能移动终端与第二终端建立蓝牙SPP连接后,接收所述第二终端发送的搜索请求。控制模块502用于控制模块用于解析所述搜索请求,得到所述搜索请求的请求类型以及关键字。
为了使智能移动终端与第二终端实现联系人搜索关系,智能移动终端在与第二终端通过蓝牙建立连接后,接收模块501接收第二终端发送的搜索请求。控制模块对上述搜索请求进行解析,得到上述搜索请求的请求类型以及关键字。
搜索模块503用于搜索与所述关键字相应的联系人,所述文件打包模块504用于在所述搜索模块搜索到联系人不为零后将所述联系人打包成至少一个电子名片文件,并对所述电子名片文件进行编号。
搜索模块503根据上述关键字在其存储的联系人信息中进行搜索,其中,上述联系人信息包括SIM卡中存储联系人信息以及智能移动终端本身存储的联系人信息。通过搜索模块503的搜索,得到与上述关键字相对应的所有联系人后,控制模块502进一步判断联系人是否为零,并在确定联系人不为零时,文件打包模块504将上述联系人打包成至少一个电子名片文件,并对上述电子名片文件进行编号。
具体地,文件打包模块504根据上述与关键字相对应的联系人的数量是否超过了预订值,来确定打包后的电子名片文件的数量。如果与关键字相对应的联系人的数量没有超过预订值,则文件打包模块404直接将所有的与关键字相对应的联系人打包成一个电子名片文件,并对该电子名片文件进行编号。如果,上述与关键字相对应的联系人的数量超过了预订值,则文件打包模块504将上述与关键字相对应的联系人分成至少两部分并分别打包成电子名片文件,并对每一个电子名片文件分别进行编号。
发送模块505用于将与所述请求类型相对应的目标电子名片文件发送至所述第二终端。
发送模块505具体用于在所述请求类型为登录请求时,将第一个电子名片文件发送至所述第二终端。
发送模块505还用于在请求类型为浏览请求,控制模块502从浏览请求中获取所述目标电子名片文件的编号后,将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中。其中,目标电子名片文件是第二终端根据其获取到的屏幕滑动指令以及其屏幕当前显示的第一电子名片文件的编号确定的;其中,目标电子名片文件的编号在屏幕滑动指令为向下滑动,并且第二终端屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且第一电子名片文件的编号不是第一个,且第二终端的第二缓存单元存储的第二电子名片文件的编号不是第一电子名片文件的编号的前一个时,为第一电子名片文件编号的前一个。
在屏幕滑动指令为向上滑动,并且屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且第一电子名片文件的编号不是最后一个,且第二终端的第二缓存单元中存储的第二电子名片文件的编号不是第一电子名片文件的编号的后一个,为第一电子名片文件的编号的后一个。
区别于现有技术,本实施方式智能移动终端通过接收模块接收到第二终端发送的包含请求类型以及关键字的搜索请求后,经过控制模块的解析,搜索模块搜索与关键字对应的联系人,文件打包模块将与关键字对应的联系人打包成至少一个电子名片文件,并对其进行编号,然后发送模块根据搜索请求的请求类型,在请求类型为登录请求,将第一个电子名片文件发送至第二终端。在请求类型为浏览请求时,控制模块从浏览请求获取目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中。通过将联系人信息通过打包后进行传输不仅传输速度快,而且根据第二终端的屏幕滑动指令每次只向第二终端发送一个电子名片文件,即可实现智能移动终端中所有的联系人信息均可在第二终端的屏幕上显示,能够降低功能终端内存资源,而且能够有效防止联系人信息的丢失,有效保护信息传输的完整性。而且,并没有将存储在智能移动终端和SIM卡中的联系人分开,作为一个整体发送至第二终端,使第二终端无需重新排序,便可实现了第二终端中联系人顺序与第一终端的一致性,不仅节省了时间,而且也节省了功能终端内存,保证了搜索的实时性,为用户带来了方便。
参阅图6,图6是本发明远程搜索联系人的移动终端的一实施方式的结构示意图,本实施方式的移动终端包括分配模块601、控制模块602、发送模块603以及接收模块604。
分配模块601用于分配第一缓存单元以及第二缓存单元。
移动终端的接收模块604接收到用户向第一终端搜索联系人的请求后,进一步地获取关键字。然后,移动终端为了接收并显示第一终端发送的与第二终端关键字相对应的目标电子名片文件,分配模块601先分配第一缓存单元以及第二缓存单元。其中,第一缓存单元用于存储第二终端当前显示的第一电子名片文件,第二缓存单元用于存储第一终端发送的与搜索请求向对应的目标电子名片文件。
控制模块602用于在移动终端与第一终端建立蓝牙SPP连接后,确定所述移动终端当前状态,其中,所述状态包括登录状态以及浏览状态;
发送模块603用于向所述第一终端发送与所述状态相对应的搜索请求,以从所述第一终端获取与所述搜索请求对应的目标电子名片文件。
其中,搜索请求包括请求类型以及关键字;其中,上述目标电子名片文件是所述第一终端根据关键字进行搜索后得到的联系人,并确定联系人不为零后,将联系人打包成至少一个电子名片文件并进行编号后得到的。
发送模块603具体用于在移动终端当前状态为登录状态,即第一缓存单元没有存储任一电子名片文件时,向所述第一终端发送登录请求,以从所述第一终端获取第一个电子名片文件。
所述发送模块603还用于在状态为浏览状态,即第一缓存单元存储有第一电子名片文件,控制模块602获取当前屏幕的屏幕滑动指令,根据屏幕滑动指令以及屏幕当前显示的第一电子名片文件的编号确定目标电子名片文件的编号后,将包括所述目标电子名片文件的编号的浏览请求发送至所述第一终端。
其中,所述目标电子名片文件的编号在屏幕滑动指令为向下滑动,并且所述屏幕当前显示的联系人的位置超过其所在的所述第一电子名片文件的联系人列表临界值,且第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的前一个时,为所述第一电子名片文件编号的前一个,对应地,发送模块603将包括上述目标电子名片文件的编号的浏览请求发送至所述第一终端,以从所述第一终端获取所述第一电子名片文件编号前的电子名片文件。
在屏幕滑动指令为向上滑动,并且屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且第一电子名片文件的编号不是最后一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的后一个,为所述第一电子名片文件的编号的后一个;对应地,发送模块603将包括上述目标电子名片文件的编号的浏览请求发送至所述第一终端,以从所述第一终端获取所述第一电子名片文件编号后的电子名片文件;
接收模块604用于接收模块用于接收并保存所述第一终端返回的与所述搜索请求对应的第二电子名片文件至所述第二缓存单元中。
区别于现有技术,本实施方式移动终端通过蓝牙与第一终端建立连接后,发送模块向第一终端发送包含请求类型以及关键字的搜索请求,以从第一终端获取与搜索请求相对应的电子名片文件。其中,上述电子名片文件是第一终端将根据关键字进行搜索,且经过搜索后联系人不为零后将上述联系人进行、打包、编号后得到的。如果移动终端的当前状态为登录状态,则发送模块向第一终端发送登录请求,以从第一终端获取第一个电子名片文件。如果当前移动终端的状态为浏览状态,第二终端获取当前屏幕的屏幕滑动指令,根据屏幕滑动指令以及屏幕当前显示的第一电子名片文件的编号确定目标电子名片文件的编号,并将包括所述目标电子名片文件的编号的浏览请求发送至所述第一终端;以从第一终端获取到与浏览请求对应的电子名片文件。通过第一终端将联系人信息进行打包后进行传输不仅传输速度快,而且移动终端获取屏幕滑动指令,使第一终端每次只向移动终端发送一个电子名片文件,能够在降低功能终端内存资源的前提下实现第一终端中所有的联系人信息均可在移动终端的屏幕上显示。而且由于第一终端的电子名片文件是直接其存储的联系人信息顺序进行分部分,能够移动终端中的联系人信息顺序与第一终端中存储的联系人顺序完全一致,无需进一步地对联系人进行排序,进一步地节省第一终端的内存资源,并且能够有效防止联系人信息丢失,增强联系人搜索的实时性,为用户带来方便。
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (8)

  1. 一种远程搜索联系人的方法,其中,包括:
    第一终端与第二终端建立蓝牙SPP连接后,接收并解析所述第二终端发送的搜索请求,得到所述搜索请求的请求类型以及关键字;
    所述第一终端搜索与所述关键字相应的联系人,在搜索到联系人不为零后将所述联系人打包成至少一个电子名片文件,并对所述电子名片文件进行编号;
    所述第一终端将与所述请求类型相对应的目标电子名片文件发送至所述第二终端;
    其中,如果所述请求类型为登录请求,则所述第一终端将第一个电子名片文件发送至所述第二终端;
    如果所述请求类型为浏览请求,则所述第一终端从所述浏览请求获取所述目标电子名片文件的编号,并将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中;其中,所述目标电子名片文件是所述第二终端根据其获取到的屏幕滑动指令以及其屏幕当前显示的第一电子名片文件的编号确定的;如果所述屏幕滑动指令为向下滑动,并且所述屏幕当前显示的联系人的位置超过所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件编号前一个,则所述目标电子文件的编号为所述第一电子名片文件编号的前一个;如果所述屏幕滑动指令为向上滑动,并且所述屏幕当前显示的联系人的位置超过所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是最后一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号后一个,则所述目标电子文件的编号为所述第一电子名片文件编号的后一个。
  2. 根据权利要求1所述的方法,其中,所述第一电子名片文件的联系人列表临界值为所述第一电子名片文件中联系人数量的中间值。
  3. 根据权利要求1所述的方法,其中,所述所述第一终端搜索与所述关键字相应的联系人,在搜索到联系人不为零后将所述联系人打包成至少一个电子名片文件,并对所述电子名片文件进行编号的步骤具体包括如下步骤:
    所述第一终端搜索与所述关键字相对应的联系人;确定所述联系人的数量是否为零;
    如果所述联系人的数量不为零,则所述第一终端判断所述联系人的数量是否超过预定值,如果没有超过,则所述第一终端将所述联系人直接打包成一个电子名片文件,并对所述电子名片文件进行编号;如果所述联系人的数量超过了所述预定值,则所述第一终端将所述联系人分成至少两部分并分别打包成电子名片文件,并分别对所述电子名片文件进行编号。
  4. 一种远程搜索联系人的方法,其中,包括:
    第二终端分配第一缓存单元以及第二缓存单元;
    所述第二终端与第一终端建立蓝牙SPP连接后,确定所述第二终端当前状态;其中,所述状态包括登录状态以及浏览状态;
    向所述第一终端发送与所述状态相对应的搜索请求,以从所述第一终端获取与所述搜索请求对应的目标电子名片文件;其中,所述搜索请求包括请求类型以及关键字;其中,所述目标电子名片文件是在所述第一终端将根据所述关键字进行搜索联系人,并确定所述联系人不为零后,将所述联系人打包成至少一个电子名片文件并进行编号后得到的;
    其中,如果所述第二终端当前状态为登录状态,即所述第一缓存单元没有存储任一电子名片文件时,则所述第二终端向所述第一终端发送登录请求,以从所述第一终端获取第一个电子名片文件;
    如果所述第二终端当前状态为浏览状态,即所述第一缓存单元存储有第一电子名片文件时,所述第二终端获取当前屏幕的屏幕滑动指令,根据所述屏幕滑动指令以及屏幕当前显示的第一电子名片文件的编号确定所述目标电子名片文件的编号,并将包括所述目标电子名片文件的编号的浏览请求发送至所述第一终端;
    其中,如果所述屏幕滑动指令为向下滑动,并且所述屏幕当前显示的联系人的位置超过其所在的所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的前一个,则所述目标电子名片文件的编号为所述第一电子名片文件编号的前一个;如果所述屏幕滑动指令为向上滑动,并且所述屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是最后一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的后一个,则所述目标电子名片文件的编号为所述第一电子名片文件的编号的后一个;
    接收并保存所述第一终端返回的与所述搜索请求对应的目标电子名片文件至所述第二缓存单元中。
  5. 根据权利要求4所述的方法,其中,所述第一电子名片文件的联系人列表临界值为所述第一电子名片文件中联系人数量的中间值。
  6. 一种远程搜索联系人的智能移动终端,其中,包括:接收模块、控制模块、搜索模块、文件打包模块以及发送模块,
    所述接收模块用于在所述智能移动终端与第二终端建立蓝牙SPP连接后,接收所述第二终端发送的搜索请求;
    所述控制模块用于解析所述搜索请求,得到所述搜索请求的请求类型以及关键字;
    所述搜索模块用于搜索与所述关键字相应的联系人,所述文件打包模块用于在所述搜索模块搜索到联系人不为零后将所述联系人打包成至少一个电子名片文件,并对所述电子名片文件进行编号;
    所述发送模块用于将与所述请求类型相对应的目标电子名片文件发送至所述第二终端;
    其中,所述发送模块具体用于在所述请求类型为登录请求时,将第一个电子名片文件发送至所述第二终端;在所述请求类型为浏览请求,所述控制模块从所述浏览请求中获取所述目标电子名片文件的编号后,将与所述编号对应的目标电子名片文件发送至第二终端的第二缓存单元中;
    其中,所述目标电子名片文件是所述第二终端根据其获取到的屏幕滑动指令以及其屏幕当前显示的第一电子名片文件的编号确定的;其中,所述目标电子名片文件的编号在所述屏幕滑动指令为向下滑动,并且所述屏幕当前显示的联系人的位置超过其所在的所述第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是第一个,且所述第二终端的第二缓存单元存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的前一个时,为所述第一电子名片文件编号的前一个;在所述屏幕滑动指令为向上滑动,并且所述屏幕当前显示的联系人的位置超过其所在的第一电子名片文件的联系人列表临界值,且所述第一电子名片文件的编号不是最后一个,且所述第二终端的第二缓存单元中存储的第二电子名片文件的编号不是所述第一电子名片文件的编号的后一个,为所述第一电子名片文件的编号的后一个。
  7. 根据权利要求6所述的智能移动终端,其中,
    所述第一电子名片文件的联系人列表临界值为所述第一电子名片文件中联系人数量的中间值。
  8. 根据权利要求6所述的智能移动终端,其中,
    所述控制模块还用于在所述搜索模块搜索到与所述关键字对应的联系人且确定所述联系人的数量不为零后,判断所述联系人的数量是否超过预定值;所述文件打包模块具体用于在所述联系人的数量没有超过预定值时,将所述第一终端将所述联系人直接打包成一个电子名片文件,并对所述电子名片文件进行编号;在所述联系人的数量超过预定值时,所述第一终端将所述联系人分成至少两部分并分别打包成电子名片文件,并分别对所述电子名片文件进行编号。
PCT/CN2015/070613 2014-09-24 2015-01-13 远程搜索联系人的方法以及智能移动终端 Ceased WO2016045259A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410494426.7 2014-09-24
CN201410494426.7A CN104301858B (zh) 2014-09-24 2014-09-24 远程搜索联系人的方法、智能移动终端以及移动终端

Publications (1)

Publication Number Publication Date
WO2016045259A1 true WO2016045259A1 (zh) 2016-03-31

Family

ID=52321382

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070613 Ceased WO2016045259A1 (zh) 2014-09-24 2015-01-13 远程搜索联系人的方法以及智能移动终端

Country Status (2)

Country Link
CN (1) CN104301858B (zh)
WO (1) WO2016045259A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209156A (zh) * 2010-03-31 2011-10-05 阿里巴巴集团控股有限公司 一种同步联系人信息的方法、装置和系统
CN102238259A (zh) * 2010-04-29 2011-11-09 比亚迪股份有限公司 一种手机通讯录文件设置方法、生成方法、及导入方法
CN102665193A (zh) * 2012-03-19 2012-09-12 信源通科技(深圳)有限公司 移动终端及基于移动终端的远程共享通信录的方法
CN202587117U (zh) * 2012-03-19 2012-12-05 信源通科技(深圳)有限公司 移动终端
CN103841253A (zh) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 一种添加联系人的方法和终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8233886B2 (en) * 2007-08-15 2012-07-31 Sony Mobile Communications Ab Accessing stored data objects using contact data corresponding to a remote communications party

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209156A (zh) * 2010-03-31 2011-10-05 阿里巴巴集团控股有限公司 一种同步联系人信息的方法、装置和系统
CN102238259A (zh) * 2010-04-29 2011-11-09 比亚迪股份有限公司 一种手机通讯录文件设置方法、生成方法、及导入方法
CN102665193A (zh) * 2012-03-19 2012-09-12 信源通科技(深圳)有限公司 移动终端及基于移动终端的远程共享通信录的方法
CN202587117U (zh) * 2012-03-19 2012-12-05 信源通科技(深圳)有限公司 移动终端
CN103841253A (zh) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 一种添加联系人的方法和终端

Also Published As

Publication number Publication date
CN104301858B (zh) 2019-11-08
CN104301858A (zh) 2015-01-21

Similar Documents

Publication Publication Date Title
WO2016072714A1 (en) Electronic device and method for providing filter in electronic device
WO2011147324A1 (zh) 多接口固态硬盘及其处理方法和系统
WO2017045395A1 (zh) 一种虚拟sim卡实现方法及系统
WO2015069021A1 (en) Method for executing function in response to touch input and electronic device implementing the same
WO2018036167A1 (zh) 测试任务执行机分配方法、装置、服务器和存储介质
WO2015020457A1 (en) Method and apparatus for wi-fi direct connection cross-reference to related application(s)
WO2016080558A1 (ko) 조건수정모드를 실행할 수 있는 IoT 관리 디바이스 및 그 제어 방법
WO2017131354A2 (en) Apparatus and method for managing history information in an electronic device
WO2010047458A1 (ko) Cpns 환경에서 팀플레이 게임 시 데이터를 효과적으로 전송하기 위한 시스템 및 방법과 이를 위한 cpns 서버, 이동통신 단말기 및 종단 단말기
WO2015126050A1 (en) Apparatus and method for controlling transmission of push messages
WO2016019861A1 (zh) 基于QT Embedded系统的字符显示方法和系统
WO2020096262A1 (ko) 전자 장치, 그의 개인 정보 제공 방법 및 이를 기록한 컴퓨터 판독 가능 기록매체
WO2017063396A1 (zh) 一种基于移动设备的智能搜索方法及系统
WO2016123898A1 (zh) 一种短信管理方法及其移动终端
WO2015002443A1 (en) Mobile device and method for controlling transmission to web server in mobile device
EP3074870A1 (en) Electronic device and method of managing memory of electronic device
WO2016033939A1 (zh) 智能终端、功能终端及通知信息的同步推送方法
WO2015093902A1 (ko) 스마트 홈 시스템의 피 제어 장치 검색 및 제어 방법과 장치
WO2016013815A1 (ko) 데이터 운용 방법 및 전자 장치
WO2016086558A1 (zh) 智能终端信息显示方法及智能终端
WO2013176431A1 (ko) 단말을 서버에 할당하고 단말로의 효율적인 메시징을 위한 시스템 및 방법
WO2014126352A1 (en) Email management apparatus and method of electronic device
WO2018014796A1 (zh) 一种虚拟sim卡的实现方法、装置、系统及移动终端
WO2015068929A1 (ko) 컨텐츠 중심 네트워크에서 패킷 특성을 고려하는 노드의 동작 방법 및 노드
WO2016045259A1 (zh) 远程搜索联系人的方法以及智能移动终端

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase