WO2016131249A1 - Method and device for grouping contacts - Google Patents

Method and device for grouping contacts Download PDF

Info

Publication number
WO2016131249A1
WO2016131249A1 PCT/CN2015/089472 CN2015089472W WO2016131249A1 WO 2016131249 A1 WO2016131249 A1 WO 2016131249A1 CN 2015089472 W CN2015089472 W CN 2015089472W WO 2016131249 A1 WO2016131249 A1 WO 2016131249A1
Authority
WO
WIPO (PCT)
Prior art keywords
capability
contact information
status
contact
rcs
Prior art date
Application number
PCT/CN2015/089472
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 WO2016131249A1 publication Critical patent/WO2016131249A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of communications, and in particular to a contact grouping method and apparatus.
  • Converged communication RCS is the abbreviation of “Rich Communication Suite”. It is a kind of converged communication service based on the address book function of mobile terminal, which integrates various communication methods and functions such as voice, message, video and content sharing. With the rapid development of the Internet, operators rely on RCS to change their original operating models and integrate user resources. Since 2014, Mobile has taken the lead in promoting RCS. RCS will integrate new functions such as calls, contacts, and short multimedia messages to provide users with new services and experiences.
  • the converged communication has the function of capability status discovery, the so-called capability status discovery is the detection of the communication capability and status of the target number, wherein the status includes at least: 1.
  • the called party is online (the called party is registered) RCS, currently online); 2.
  • the called party is not online (the called party is registered with RCS, currently not online); 3.
  • the called party is not a converged communication user (called unregistered RCS).
  • the service flow for detecting the communication capability and status of the target number is: the terminal sends a SIP OPTIONS message to the target number, detects whether the target number has been registered with the converged communication user, and has the fusion capability, and determines the response according to the response information returned by the target number. Call the communication ability and status of the target number.
  • the terminal In present, for the existing operator's user function, in the existing contact function module, due to the network side function limitation, the terminal itself cannot directly obtain the communication capability and status of the number in the contact function module.
  • the existing products and specifications of the converged communication RCS for example, the current converged communication RCS specification provided by China Mobile:
  • the discovery of the communication capability and status of the user UE to the user UE can be triggered only in the following scenarios: 1. Converged communication users When the new contact interface in the converged communication client opens the specific contact to view the details; 2.
  • the converged communication user uses the function related to the communication capability of the corresponding terminal on the converged communication client, such as sending a message after "reading after burning" .
  • the embodiment of the invention provides a contact grouping method and device, which at least solves the problem that the user experience cannot be directly obtained by directly acquiring the RCS communication capability and status through the address book in the related art.
  • a contact grouping method including: acquiring contact information in an address book list; and acquiring a capability status corresponding to the contact information according to the contact information, wherein the capability status includes at least : Supports converged communication RCS and does not support RCS; groups contact information in the address book list according to capability status.
  • the login status includes at least: online and offline, wherein the contact information in the address book list is grouped according to the capability status, including: according to the contact
  • the capability status corresponding to the information is divided into the support RCS group and the non-support RCS group; and the contact information in the RCS group is divided into online according to the online status of the contact information in the support RCS group.
  • Group and offline groups are examples of the contact information in the address book list.
  • the acquiring the capability status corresponding to the contact information according to the contact information includes: acquiring the contact mode in the contact information; and sending the capability status request to the terminal corresponding to the contact mode according to the contact information; The response to the status request determines the capability status of the contact based on the response.
  • the sending the capability status request to the terminal corresponding to the contact mode according to the contact information includes: acquiring a preset sending frequency; and sending a capability status request to the terminal corresponding to the contact mode according to the sending frequency.
  • the method before acquiring the contact information in the address book list, the method further includes: inserting a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the address book The capability status in the list that corresponds to the contact information.
  • the method further includes: comparing the currently acquired first capability state with the second capability state recorded in the capability state identifier column. Pairing; when the first capability state is different from the second capability state, replacing the second capability state with the first capability state.
  • a contact grouping apparatus including: a first obtaining module configured to acquire contact information in an address book list; and a second obtaining module configured to obtain according to contact information a capability status corresponding to the contact information, wherein the capability status at least includes: supporting the converged communication RCS and not supporting the RCS; and the grouping module is configured to group the contact information in the address book list according to the capability status.
  • the second obtaining module includes: a first sub-acquisition module, configured to obtain a contact mode in the contact information; the first sub-transmission module is configured to send the terminal corresponding to the contact mode according to the contact information.
  • the first sub-transmission module includes: a second sub-acquisition module configured to acquire a preset transmission frequency; and a second sub-transmission module configured to send a capability to the terminal corresponding to the contact mode according to the transmission frequency Status request.
  • the apparatus further includes: an inserting module, configured to insert a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the contact information in the address book list Corresponding capability status.
  • the device further includes: a comparison module, configured to compare the currently acquired first capability state with the second capability state recorded in the capability state identifier column; and the processing module is configured to be the first capability When the state is different from the second capability state, the second capability state is replaced with the first capability state.
  • the contact information in the address book list is obtained, and the capability status corresponding to the contact information is obtained according to the contact information, where the capability status includes at least: supporting the converged communication RCS and not supporting the RCS;
  • the contact information in the address book list is grouped, which solves the problem that the user experience cannot directly obtain the RCS communication capability and status directly through the address book, so that the user can directly pass the address book.
  • the list can get the effect of the contact's RCS communication capabilities.
  • FIG. 1 is a flowchart of a method of grouping contacts according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an optional contact grouping method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of an optional contact grouping method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for updating a state of a contact record capability in an actual application according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of a contact grouping apparatus according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for grouping contacts according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 obtaining contact information in the address book list
  • Step S104 Obtain a capability status corresponding to the contact information according to the contact information, where the capability status includes at least: supporting the converged communication RCS and not supporting the RCS;
  • Step S106 grouping the contact information in the address book list according to the capability status.
  • step S106 according to the capability status, grouping the contact information in the address book list, the capability status of the contact may be used as a grouping condition, and the contacts having the same capability status are grouped.
  • the form is arranged so that the user can intuitively distinguish between contacts in the address book that support the converged communication RCS and those that do not support the converged communication RCS.
  • the address book in the mobile terminal is taken as an example for description.
  • the default mode of the existing contact group management setting is a group-free management and display mode based on the alphabetical order of the contact name.
  • Contact group management settings can be added to the address book and placed in the settings menu of the contact module, or placed separately in the menu item of the contact list interface. In the setup menu, you can add options for grouping contacts by capability status, allowing users to switch the way the contacts are displayed as needed.
  • the login status includes at least: online and offline, wherein the step S106 groups the contact information in the address book list according to the capability status, including:
  • Step S61 According to the capability status corresponding to the contact information, the contact information in the address book list is divided into a support RCS group and an unsupported RCS group;
  • Step S63 according to the online status of the contact information in the support RCS group, the contact information in the support RCS group is divided into an online group and an offline group.
  • the capability status corresponding to the contact information includes at least two states of online and offline, in addition to supporting the converged communication RCS and not supporting the converged communication RCS.
  • the current communication status of the current contact can be further distinguished.
  • the contact information in the support RCS group can also be displayed in groups according to online and offline. Therefore, the communication failure of the user when using the related function of the converged communication to the contact who supports the converged communication RCS but is in the offline state is avoided, and the user experience is improved.
  • the acquiring the capability status corresponding to the contact information in step S102 may include:
  • Step S201 obtaining a contact information in the contact information.
  • Step S203 Send a capability status request to the terminal corresponding to the contact mode according to the contact information.
  • Step S205 Receive a response of the capability status request, and determine a capability status of the contact mode according to the response.
  • the contact information included in the contact information may be one or more.
  • a capability status request for verifying the status of the converged communication RCS capability is sent by each contact method included in the contact information. Based on the returned response, the current capability status of the number is determined and the existing status of the number is updated.
  • the contact information in the contact information may be a mobile phone number, a landline number, and an account name.
  • One or more of the address, email address can also be other forms of contact.
  • the capability status of each contact in the contact information is obtained by sending a capability status request.
  • the contact information in the address book can be grouped by the capability status of the contact information.
  • each contact manner may be determined. Is the login status online? If the login status of a contact mode is online, the capability status corresponding to the contact information is determined to support the converged communication RCS and the online status.
  • the sending the capability status request to the terminal corresponding to the contact mode according to the contact information may include:
  • Step S31 acquiring a preset transmission frequency
  • Step S33 according to the sending frequency, send a capability status request to the terminal corresponding to the contact mode.
  • the transmission frequency is the number of times the capability status request is sent to the terminal within a unit time.
  • the sending frequency may be the frequency set by the system by default, or may be the frequency set by the user according to requirements.
  • the capability status request can be sent to the contact mode according to the transmission frequency, thereby updating the converged communication capability of each contact information in the address book list.
  • the sending frequency may include a first sending frequency and a second sending frequency, where the first sending frequency is used to control sending a capability status request to a contact whose capability status is not supporting the converged communication RCS, to determine Whether the contact information has the capability of converged communication; the second sending frequency is used to control the sending of the capability status request to the contact whose capability status is to support the converged communication RCS, to determine whether the login status of the contact information is online.
  • the user can use the RCS to communicate with the called contact. If the user's login status is offline, the RCS-based communication may fail or be delayed. Therefore, the second transmission frequency can be increased to ensure that the login status of the contact information is updated in real time. Therefore, the first transmission frequency and the second transmission frequency can be set to different frequencies according to actual needs, thereby saving network resources and processing resources.
  • the capability status may be stored in the memory in the form of cached data, or may be directly recorded in the form of a field in a data table for storing the address book list.
  • the specific implementation manner is not Limited to the above two ways.
  • FIG. 2 is a flowchart of an optional contact grouping method according to an embodiment of the present invention, as shown in FIG.
  • the method further includes: before acquiring the contact information in the address book list in step S102, the method further includes:
  • Step S101 Insert a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the capability status corresponding to the contact information in the address book list.
  • a status identification column ie, a field for recording each piece of contact information is inserted.
  • the capability status corresponding to the contact information is obtained, the corresponding position in the status identification column is recorded.
  • FIG. 3 is a flowchart of an optional contact grouping method according to an embodiment of the present invention.
  • the contact information is acquired according to the contact information in step S104.
  • the steps of the method include:
  • Step S1051 comparing the currently acquired first capability state with the second capability state recorded in the capability state identifier column;
  • Step S1053 When the first capability state and the second capability state are different, the second capability state is replaced by the first capability state.
  • the first capability state corresponding to the contact information and the second capability state of the corresponding location record of the state identifier column in the data table are performed by step S1051 to step S1053.
  • the data table is updated with the first capability state.
  • FIG. 4 is a flowchart of an optional contact grouping method in an actual application according to an embodiment of the present invention. As shown in FIG. 4, the foregoing contact grouping method embodiment is combined with actual The application is described, and the steps of the method include:
  • Step S401 setting the management method of the address book group.
  • the setting of the management method of the address book group is used for selecting and setting the management mode of the address book group.
  • the default setting for the management of the address book grouping is the management and display mode without grouping based on the initials of the contact name.
  • the setting function of the group management mode of the address book can be placed in the setting menu of the address book module or separately placed in the menu item of the contact list interface, and the description of the mode is not limited to the above.
  • Step S402 Acquire the capability status of the existing integrated communication capability of the contact according to all the contact records in the address book.
  • the capability status may be part of the cached data for recording the contact record or directly as part of a database entry for storing the contact record, and the manner is not limited to the above description.
  • Step S403 Acquire a capability status of the existing converged communication RCS of the corresponding number in each contact record, where the capability status of the current converged communication RCS of the number is determined according to the return result of the request to the number transmission capability status, and The number is already updated.
  • the capability status is the verification result obtained by the capability discovery function of the converged communication RCS.
  • the capability discovery function is a detection function for the capability status and status of the target number, wherein the capability status can be classified into a registered RCS (ie, support for converged communication RCS) and an unregistered RCS (without support for RCS); wherein the capability status is
  • the capability status of the registered RCS also includes at least online status and offline status.
  • the service flow of the capability discovery function is: the terminal sends a message to the target number.
  • the SIP OPTIONS message is used to detect whether the contact corresponding to the target number is a converged communication user and the converged communication capability that the contact has.
  • the terminal determines the converged communication capability of the contact according to the response information returned by the target number terminal.
  • Step S404 Comparing the capability status of each number corresponding to the acquired contact record with the acquired capability status, and if there is an update, updating the capability status identifier of the contact based on the preset rule;
  • the step may be implemented by: updating the capability status of the contact record according to the capability status of each number in the contact record: 1. The ability to always use the first number. Status as the capability status of the contact record; 2. Using the specified number status in the contact record as the capability status of the contact record; 3. Sorting according to the capability status, using the number with the strongest or weakest number in each number The capability status is the capability status of the contact record.
  • the capability status acquisition rules recorded by the above contacts include, but are not limited to, the above.
  • Step S405 Group the contact information in the address book based on the capability status of the contact, and place the contact information with the same capability status under the corresponding capability status group.
  • Step S406 Refreshing the address book display list, and implementing contact group display based on the contact capability status.
  • a method for updating the contact record capability status may be provided in combination with the actual application, and FIG. 5 is a method for updating the contact record capability status.
  • the flow diagram is shown in Figure 5. The steps of the method include:
  • Step S501 Enter or update the address book list interface.
  • entering the address book list interface mainly refers to entering the main interface of the address book from the interface of other application modules, or returning to the main interface of the address book from the interface of other application modules.
  • Updating the address book list interface refers to updating the contact group management mode and updating according to the management mode and display mode of the address book list.
  • Step S502 Determine whether to select and group the contact records based on the RCS capability status and display. If not, the process goes to step S510.
  • Step S503 Acquire a capability status of the first contact record in all contact records in the address book
  • Step S504 Acquire an RCS capability status of each corresponding number in the contact record.
  • Step S505 Determine the current capability status of each number in the contact record by the capability discovery function of the converged communication RCS, and if the capability status changes, identify the number.
  • Step S506 It is determined whether there is an identifier for recording the capability status change for each number corresponding to the contact record. If not, the process proceeds to step S508.
  • Step S507 Update the capability status identifier of the contact based on the preset status according to the capability status of each number in the contact record.
  • Step S508 It is judged whether there is a next contact record, and if yes, the process goes to step S504.
  • Step S509 Update the capability status of all contact records in the address book.
  • Step S510 End.
  • the contact grouping method based on the RCS capability state can enable the user to conveniently and intuitively distinguish the capability status of the contact record in the address book, and decide how to communicate, thereby greatly facilitating the user. use.
  • the method of grouping the contact records in the address book is enriched, and the capability status corresponding to the contact record and the contact record with different capability status are intuitively displayed, thereby improving the user experience.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a contact grouping device is also provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 6 is a structural block diagram of a contact grouping apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a first acquiring module 21, a second acquiring module 23, and a grouping module 25.
  • the first obtaining module 21 is configured to obtain the contact information in the address book list.
  • the second obtaining module 23 is coupled to the first obtaining module 21, and is configured to acquire the capability corresponding to the contact information according to the contact information.
  • the state, wherein the capability state includes at least: supporting the converged communication RCS and not supporting the RCS; the grouping module 25 is coupled to the second obtaining module 23 and configured to group the contact information in the address book list according to the capability status.
  • the first obtaining module 21, the second obtaining module 23, and the grouping module 25 obtain the RCS capability status of each contact by using the address book list, and perform the contact information in the address book list through the capability status. Grouping. Thereby, the effect that the user can obtain the RCS communication capability of the contact directly through the address book list is realized. Achieved the purpose of improving the user experience. The problem of poor user experience caused by the inability to directly obtain the RCS communication capability and status directly through the address book is solved in the related art.
  • the capability status acquired by the second obtaining module is in the RCS supporting the converged communication, and the status includes at least: online and offline.
  • the capability status corresponding to the contact information includes at least two states of online and offline, in addition to supporting the converged communication RCS and not supporting the converged communication RCS. Through the above online status and offline status, the current communication status of the current contact can be further distinguished.
  • the second obtaining module 23 includes: a first sub-acquisition module 31, a first sub-transmission module 33, and a sub-determination module 35.
  • the first sub-acquisition module 31 is configured to obtain the contact information in the contact information; the first sub-transmission module 33 is configured to send a capability status request to the terminal corresponding to the contact mode according to the contact information; the sub-determination module 35, Set to receive a response to the capability status request and determine the capability status of the contact based on the response.
  • the contact information included in the contact information acquired by the first sub-acquisition module 31 may be one or more.
  • a capability status request for verifying the status of the converged communication RCS capability is sent by each contact method included in the contact information. Based on the returned response, the current capability status of the number is determined and the existing status of the number is updated.
  • the first sub-transmission module 33 includes: a second sub-acquisition module 331 and a second sub-transmission module 333.
  • the second sub-acquisition module 331 is configured to acquire a preset transmission frequency.
  • the second sub-transmission module 333 is configured to send a capability status request to the terminal corresponding to the contact mode according to the transmission frequency.
  • the sending frequency acquired by the second sub-acquisition module 331 may be a frequency set by the system default, or may be a frequency set by the user according to requirements, where the sending frequency is in a unit time. The number of times the capability status request is sent to the terminal. Through the second sub-acquisition module 331 and the second sub-transmission module 333, the capability status request can be sent to the contact mode according to the transmission frequency, thereby updating the converged communication capability of each contact information in the address book list.
  • the transmission frequency acquired by the second sub-acquisition module 331 may include a first transmission frequency and a second transmission frequency, where the first transmission frequency is used to control the capability status to not support the converged communication RCS.
  • the contact sends a capability status request to determine whether the contact information has a converged communication capability; the second transmission frequency is used to control the ability status request to be sent to the contact supporting the converged communication RCS to determine the contact information. Whether the login status is online.
  • the user can use the RCS to communicate with the called contact. If the user's login status is offline, it will cause the RCS-based communication to fail or delay and affect the user experience. Therefore, the second transmission frequency can be increased to ensure that the login status of the contact information is updated in real time. Therefore, the first transmission frequency and the second transmission frequency can be set to different frequencies according to actual needs, thereby saving network resources and processing resources.
  • FIG. 8 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes all the modules shown in FIG. The method further includes an insertion module 20 coupled to the first acquisition module 21.
  • the insertion module 20 is configured to insert a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the capability status corresponding to the contact information in the address book list.
  • a status identification column i.e., a field for recording each piece of contact information is inserted through the insertion module 20.
  • the capability status corresponding to the contact information is obtained, the corresponding position in the status identification column is recorded.
  • FIG. 9 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes all the modules shown in FIG. Also included are: a comparison module 241 and a processing module 243.
  • the comparison module 241 is coupled to the second acquisition module 23 and configured to compare the currently acquired first capability state with the second capability state recorded in the capability state identifier column; the processing module 243, and the comparison module The 241 coupling is configured to replace the second capability state with the first capability state when the first capability state is different from the second capability state.
  • the first acquired capability state corresponding to the contact information and the second location of the corresponding location of the state identification column in the data table are recorded by the comparison module 241 and the processing module 243.
  • the capability states are compared, and when the first capability state is different from the second capability state, the data table is updated with the first capability state.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • S2 Obtain a capability status corresponding to the contact information according to the contact information, where the capability status includes at least: supporting the converged communication RCS and not supporting the RCS;
  • the foregoing storage medium may include, but is not limited to, a U disk, a read only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and the like.
  • ROM read only memory
  • RAM random access memory
  • mobile hard disk a magnetic disk
  • optical disk an optical disk
  • the processor is configured to: obtain the contact information in the address book list according to the stored program code in the storage medium; and acquire the capability status corresponding to the contact information according to the contact information, where The capability status includes at least: supporting the converged communication RCS and not supporting the RCS; and grouping the contact information in the address book list according to the capability status.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described Alternatively, each of them may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the technical solution provided by the embodiment of the present invention can be applied to the grouping process of the contact, and the contact information in the address book list is obtained, and the capability status corresponding to the contact information is obtained according to the contact information, wherein the capability status includes at least : Supports converged communication RCS and does not support RCS; according to the capability status, the contact information in the address book list is grouped, which solves the problem that the user experience in the related technology cannot directly obtain the RCS communication capability and status directly through the address book. Therefore, the effect that the user can obtain the RCS communication capability of the contact directly through the address book list is realized.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a method and device for grouping contacts, comprising: acquiring contact information in a list of contacts; acquiring, on the basis of the contact information, a capability state corresponding to the contact information, where the capacity state comprises at least: converged communication RCS supported and RCS not supported; and, grouping the contact information in the list of contacts on the basis of the capability state. This solves the problem of poor user experience due to incapability in acquiring directly RCS communication capability and state via a list of contacts, thus implementing the effect of allowing a user to acquire the RCS communication capabilities of contacts directly via the list of contacts.

Description

联系人分组方法及装置Contact grouping method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种联系人分组方法及装置。The present invention relates to the field of communications, and in particular to a contact grouping method and apparatus.
背景技术Background technique
融合通信RCS是“Rich Communication Suite”的缩写,是一种基于移动终端的地址本功能,集语音、消息、视频、内容共享等多种通信方式及功能为一体的融合通信服务。随着互联网的迅猛发展,运营商以RCS为依托,改变原有的运营模式,整合用户资源。自2014年移动率先推广RCS,RCS将整合已有的通话,联系人,短彩信等基础模块功能的情况下,为用户提供全新的服务和体验。Converged communication RCS is the abbreviation of “Rich Communication Suite”. It is a kind of converged communication service based on the address book function of mobile terminal, which integrates various communication methods and functions such as voice, message, video and content sharing. With the rapid development of the Internet, operators rely on RCS to change their original operating models and integrate user resources. Since 2014, Mobile has taken the lead in promoting RCS. RCS will integrate new functions such as calls, contacts, and short multimedia messages to provide users with new services and experiences.
根据已有的融合通信RCS技术规范:融合通信具有能力状态发现的功能,所谓能力状态发现即对目标号码的通信能力和状态的探测,其中状态至少包括:1、被叫在线(被叫注册了RCS,当前在线);2、被叫不在线(被叫注册了RCS,当前不在线);3、被叫不是融合通信用户(被叫未注册RCS)。对目标号码的通信能力和状态的探测的业务流程为:终端向目标号码发送一条SIP OPTIONS消息,检测目标号码是否已注册融合通信用户及具有哪些融合能力,根据目标号码返回的响应信息,确定被叫目标号码的通信能力和状态。According to the existing RCS technical specification of converged communication: the converged communication has the function of capability status discovery, the so-called capability status discovery is the detection of the communication capability and status of the target number, wherein the status includes at least: 1. The called party is online (the called party is registered) RCS, currently online); 2. The called party is not online (the called party is registered with RCS, currently not online); 3. The called party is not a converged communication user (called unregistered RCS). The service flow for detecting the communication capability and status of the target number is: the terminal sends a SIP OPTIONS message to the target number, detects whether the target number has been registered with the converged communication user, and has the fusion capability, and determines the response according to the response information returned by the target number. Call the communication ability and status of the target number.
目前对于现有运营商的用户,在已有的联系人功能模块中,由于网络侧的功能限制,终端自身无法直接获取其联系人功能模块中号码的通信能力和状态。对于现有的融合通信RCS的产品和规范,例如:中国移动提供的当前的融合通信RCS规范:目前只在如下场景能够触发用户UE到用户UE的通讯能力和状态的发现:1、融合通信用户在融合通信客户端中的新联系界面打开特定联系人查看详情时;2、融合通信用户在融合通信客户端上使用与对应终端通讯能力相关的功能时,如发送“阅后即焚消息”前。At present, for the existing operator's user function, in the existing contact function module, due to the network side function limitation, the terminal itself cannot directly obtain the communication capability and status of the number in the contact function module. For the existing products and specifications of the converged communication RCS, for example, the current converged communication RCS specification provided by China Mobile: Currently, the discovery of the communication capability and status of the user UE to the user UE can be triggered only in the following scenarios: 1. Converged communication users When the new contact interface in the converged communication client opens the specific contact to view the details; 2. When the converged communication user uses the function related to the communication capability of the corresponding terminal on the converged communication client, such as sending a message after "reading after burning" .
基于现有的融合通信规范可以发现,对于通讯能力和状态的探测,仅仅被用于对于客户端中联系人详情中状态的显示,以及发起功能时的能力检查。用户无法通过移动终端中的联系人功能模块,直接获取联系人的RCS通讯能力和状态。Based on existing converged communication specifications, it can be found that the detection of communication capabilities and status is only used for the display of status in the contact details in the client, as well as the ability check when the function is initiated. The user cannot directly obtain the RCS communication capability and status of the contact through the contact function module in the mobile terminal.
发明内容Summary of the invention
本发明实施例提供了一种联系人分组方法及装置,至少解决相关技术中无法直接通过通讯录直接获取RCS通讯能力和状态导致的用户体验差的问题。The embodiment of the invention provides a contact grouping method and device, which at least solves the problem that the user experience cannot be directly obtained by directly acquiring the RCS communication capability and status through the address book in the related art.
根据本发明的一个实施例,提供了一种联系人分组方法,包括:获取通讯录列表中的联系人信息;根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;根据能力状态,对通讯录列表中的联系人信息进行分组。 According to an embodiment of the present invention, a contact grouping method is provided, including: acquiring contact information in an address book list; and acquiring a capability status corresponding to the contact information according to the contact information, wherein the capability status includes at least : Supports converged communication RCS and does not support RCS; groups contact information in the address book list according to capability status.
在本发明实施例中,在能力状态为支持融合通信RCS中,登录状态至少包括:在线和离线,其中,根据能力状态,对通讯录列表中的联系人信息进行分组,包括:根据与联系人信息对应的能力状态,将通讯录列表中的联系人信息分为支持RCS组和不支持RCS组;根据支持RCS组中联系人信息的在线状态,将支持RCS组中的联系人信息分为在线组和离线组。In the embodiment of the present invention, in the capability status of supporting the converged communication RCS, the login status includes at least: online and offline, wherein the contact information in the address book list is grouped according to the capability status, including: according to the contact The capability status corresponding to the information is divided into the support RCS group and the non-support RCS group; and the contact information in the RCS group is divided into online according to the online status of the contact information in the support RCS group. Group and offline groups.
在本发明实施例中,根据联系人信息,获取与联系人信息对应的能力状态包括:获取联系人信息中的联系方式;根据联系人信息向与联系方式对应的终端发送能力状态请求;接收能力状态请求的响应,根据响应确定联系方式的能力状态。In the embodiment of the present invention, the acquiring the capability status corresponding to the contact information according to the contact information includes: acquiring the contact mode in the contact information; and sending the capability status request to the terminal corresponding to the contact mode according to the contact information; The response to the status request determines the capability status of the contact based on the response.
在本发明实施例中,根据联系人信息向与联系方式对应的终端发送能力状态请求包括:获取预先设置的发送频率;根据发送频率,向与联系方式对应的终端发送能力状态请求。In the embodiment of the present invention, the sending the capability status request to the terminal corresponding to the contact mode according to the contact information includes: acquiring a preset sending frequency; and sending a capability status request to the terminal corresponding to the contact mode according to the sending frequency.
在本发明实施例中,获取通讯录列表中的联系人信息之前,方法还包括:在用于存储通讯录列表的数据表中插入能力状态标识列,其中,能力状态标识列用于记录通讯录列表中与联系人信息对应的能力状态。In the embodiment of the present invention, before acquiring the contact information in the address book list, the method further includes: inserting a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the address book The capability status in the list that corresponds to the contact information.
在本发明实施例中,在根据联系人信息,获取与联系人信息对应的能力状态之后,方法还包括:将当前获取的第一能力状态与能力状态标识列中记载的第二能力状态进行比对;当第一能力状态与第二能力状态不相同时,利用第一能力状态替换第二能力状态。In the embodiment of the present invention, after acquiring the capability status corresponding to the contact information according to the contact information, the method further includes: comparing the currently acquired first capability state with the second capability state recorded in the capability state identifier column. Pairing; when the first capability state is different from the second capability state, replacing the second capability state with the first capability state.
根据本发明的另一个实施例,提供了一种联系人分组装置,包括:第一获取模块,设置为获取通讯录列表中的联系人信息;第二获取模块,设置为根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;分组模块,设置为根据能力状态,对通讯录列表中的联系人信息进行分组。According to another embodiment of the present invention, a contact grouping apparatus is provided, including: a first obtaining module configured to acquire contact information in an address book list; and a second obtaining module configured to obtain according to contact information a capability status corresponding to the contact information, wherein the capability status at least includes: supporting the converged communication RCS and not supporting the RCS; and the grouping module is configured to group the contact information in the address book list according to the capability status.
在本发明实施例中,第二获取模块包括:第一子获取模块,设置为获取联系人信息中的联系方式;第一子发送模块,设置为根据联系人信息向与联系方式对应的终端发送能力状态请求;子确定模块,设置为接收能力状态请求的响应,根据响应确定联系方式的能力状态。In the embodiment of the present invention, the second obtaining module includes: a first sub-acquisition module, configured to obtain a contact mode in the contact information; the first sub-transmission module is configured to send the terminal corresponding to the contact mode according to the contact information. A capability status request; a sub-determination module configured to receive a response to the capability status request, and determine a capability status of the contact method based on the response.
在本发明实施例中,第一子发送模块包括:第二子获取模块,设置为获取预先设置的发送频率;第二子发送模块,设置为根据发送频率,向与联系方式对应的终端发送能力状态请求。In the embodiment of the present invention, the first sub-transmission module includes: a second sub-acquisition module configured to acquire a preset transmission frequency; and a second sub-transmission module configured to send a capability to the terminal corresponding to the contact mode according to the transmission frequency Status request.
在本发明实施例中,装置还包括:插入模块,设置为在用于存储通讯录列表的数据表中插入能力状态标识列,其中,能力状态标识列用于记录通讯录列表中与联系人信息对应的能力状态。In an embodiment of the present invention, the apparatus further includes: an inserting module, configured to insert a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the contact information in the address book list Corresponding capability status.
在本发明实施例中,装置还包括:比对模块,设置为将当前获取的第一能力状态与能力状态标识列中记载的第二能力状态进行比对;处理模块,设置为当第一能力状态与第二能力状态不相同时,利用第一能力状态替换第二能力状态。In the embodiment of the present invention, the device further includes: a comparison module, configured to compare the currently acquired first capability state with the second capability state recorded in the capability state identifier column; and the processing module is configured to be the first capability When the state is different from the second capability state, the second capability state is replaced with the first capability state.
通过本发明实施例,采用获取通讯录列表中的联系人信息;根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;根 据能力状态,对通讯录列表中的联系人信息进行分组,解决了相关技术中无法直接通过通讯录直接获取RCS通讯能力和状态导致的用户体验差的问题,从而实现了用户可以直接通过通讯录列表就可以获取联系人的RCS通讯能力的效果。According to the embodiment of the present invention, the contact information in the address book list is obtained, and the capability status corresponding to the contact information is obtained according to the contact information, where the capability status includes at least: supporting the converged communication RCS and not supporting the RCS; According to the capability status, the contact information in the address book list is grouped, which solves the problem that the user experience cannot directly obtain the RCS communication capability and status directly through the address book, so that the user can directly pass the address book. The list can get the effect of the contact's RCS communication capabilities.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的联系人分组方法的流程图;1 is a flowchart of a method of grouping contacts according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的联系人分组方法的流程图;2 is a flow chart of an optional contact grouping method according to an embodiment of the present invention;
图3是根据本发明实施例的一种可选的联系人分组方法的流程图;FIG. 3 is a flowchart of an optional contact grouping method according to an embodiment of the present invention; FIG.
图4是本发明实施例在实际应用中的一种可选的联系人分组方法的流程图;4 is a flowchart of an optional contact grouping method in an actual application according to an embodiment of the present invention;
图5是本发明实施例在实际应用中的一种可选的更新联系人记录能力状态的方法的流程示意图;FIG. 5 is a schematic flowchart of a method for updating a state of a contact record capability in an actual application according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的联系人分组装置的结构框图;FIG. 6 is a structural block diagram of a contact grouping apparatus according to an embodiment of the present invention; FIG.
图7是根据本发明实施例的一种可选的联系人分组装置的结构框图;FIG. 7 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention; FIG.
图8是根据本发明实施例的一种可选的联系人分组装置的结构框图;以及FIG. 8 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention; and
图9是根据本发明实施例的一种可选的联系人分组装置的结构框图。FIG. 9 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种联系人分组方法,图1是根据本发明实施例的联系人分组方法的流程图,如图1所示,该流程包括如下步骤:A method for grouping contacts is provided in this embodiment. FIG. 1 is a flowchart of a method for grouping contacts according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,获取通讯录列表中的联系人信息;Step S102, obtaining contact information in the address book list;
步骤S104,根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;Step S104: Obtain a capability status corresponding to the contact information according to the contact information, where the capability status includes at least: supporting the converged communication RCS and not supporting the RCS;
步骤S106,根据能力状态,对通讯录列表中的联系人信息进行分组。Step S106, grouping the contact information in the address book list according to the capability status.
上述步骤S102至步骤S106,通过通讯录列表中,对各个联系人的融合通信RCS能力状 态进行获取,并通过能力状态对通讯录列表中的联系人信息进行分组。从而实现了用户可以直接通过通讯录列表就可以获取联系人的RCS通讯能力的效果。达到了改善用户体验的目的。解决了相关技术中无法直接通过通讯录直接获取RCS通讯能力和状态导致的用户体验差的问题。The above steps S102 to S106, through the address book list, the fusion communication RCS capability of each contact Get the status and group the contact information in the address book list by the capability status. Thereby, the effect that the user can obtain the RCS communication capability of the contact directly through the address book list is realized. Achieved the purpose of improving the user experience. The problem of poor user experience caused by the inability to directly obtain the RCS communication capability and status directly through the address book is solved in the related art.
作为一个可选的实施例,在步骤S106根据能力状态,对通讯录列表中的联系人信息进行分组中,可以将联系人的能力状态作为分组条件,对具有相同能力状态的联系人以组的形式进行排列,使用户可以直观的区分通讯录中支持融合通信RCS和不支持融合通信RCS的联系人。As an optional embodiment, in step S106, according to the capability status, grouping the contact information in the address book list, the capability status of the contact may be used as a grouping condition, and the contacts having the same capability status are grouped. The form is arranged so that the user can intuitively distinguish between contacts in the address book that support the converged communication RCS and those that do not support the converged communication RCS.
在实际应用中,以移动终端中的通讯录为例进行说明,现有的联系人分组管理设置的默认方式为基于联系人名称字母排序的无分组的管理和显示方式。在通讯录中可以添加联系人分组管理设置,并置于联系人模块的设置菜单中,或者单独置于联系人列表界面的菜单项中。在设置菜单中,可以添加用于按照能力状态对联系人进行分组的选项,使用户可以根据需要对通讯录的显示方式进行切换。In the actual application, the address book in the mobile terminal is taken as an example for description. The default mode of the existing contact group management setting is a group-free management and display mode based on the alphabetical order of the contact name. Contact group management settings can be added to the address book and placed in the settings menu of the contact module, or placed separately in the menu item of the contact list interface. In the setup menu, you can add options for grouping contacts by capability status, allowing users to switch the way the contacts are displayed as needed.
作为一个可选的实施例,在能力状态为支持融合通信RCS中,登录状态至少包括:在线和离线,其中,步骤S106根据能力状态,对通讯录列表中的联系人信息进行分组,包括:As an optional embodiment, in the capability status of the support for the converged communication RCS, the login status includes at least: online and offline, wherein the step S106 groups the contact information in the address book list according to the capability status, including:
步骤S61,根据与联系人信息对应的能力状态,将通讯录列表中的联系人信息分为支持RCS组和不支持RCS组;Step S61: According to the capability status corresponding to the contact information, the contact information in the address book list is divided into a support RCS group and an unsupported RCS group;
步骤S63,根据支持RCS组中联系人信息的在线状态,将支持RCS组中的联系人信息分为在线组和离线组。Step S63, according to the online status of the contact information in the support RCS group, the contact information in the support RCS group is divided into an online group and an offline group.
其中,与联系人信息对应的能力状态至少包括支持融合通信RCS和不支持融合通信RCS之外,在支持融合通信RCS状态当中,还可以包括在线和离线至少两种状态。通过上述在线状态和离线状态,可以进一步区分当前联系人的融合通信状态。并且,通讯录在对联系人信息按照支持RCS和不支持RCS进行分组显示的基础上,还可以按照在线和离线对支持RCS组中的联系人信息进行分组显示。从而避免用户在向支持融合通信RCS但处于离线状态的联系人使用融合通信的相关功能时的通讯失败,改善了用户体验。The capability status corresponding to the contact information includes at least two states of online and offline, in addition to supporting the converged communication RCS and not supporting the converged communication RCS. Through the above online status and offline status, the current communication status of the current contact can be further distinguished. Moreover, based on the group information display of the contact information according to the support RCS and the non-supporting RCS, the contact information in the support RCS group can also be displayed in groups according to online and offline. Therefore, the communication failure of the user when using the related function of the converged communication to the contact who supports the converged communication RCS but is in the offline state is avoided, and the user experience is improved.
作为一个可选的实施例,步骤S102获取与联系人信息对应的能力状态,可以包括:As an optional embodiment, the acquiring the capability status corresponding to the contact information in step S102 may include:
步骤S201,获取联系人信息中的联系方式;Step S201, obtaining a contact information in the contact information.
步骤S203,根据联系人信息向与联系方式对应的终端发送能力状态请求;Step S203: Send a capability status request to the terminal corresponding to the contact mode according to the contact information.
步骤S205,接收能力状态请求的响应,根据响应确定联系方式的能力状态。Step S205: Receive a response of the capability status request, and determine a capability status of the contact mode according to the response.
其中,联系人信息中所包含的联系方式可能为一个或多个。通过对联系人信息中所包含的各个联系方式,发送用于验证融合通信RCS能力状态的能力状态请求。依据返回的响应,确定该号码的当前能力状态,更新该号码的已有状态。The contact information included in the contact information may be one or more. A capability status request for verifying the status of the converged communication RCS capability is sent by each contact method included in the contact information. Based on the returned response, the current capability status of the number is determined and the existing status of the number is updated.
作为一个可选的实施例,联系人信息中的联系方式可以为手机号码、座机号码、账号名 称、邮箱地址中的一种或多种,当然也可以是其他形式的联系方式。通过发送能力状态请求获取联系人信息中的各个联系方式的能力状态。当联系人信息中的任意一个联系方式具备融合通信能力时,即可判定与该联系人信息对应的能力状态为支持融合通信RCS。在本发明实施例中,可以通过联系人信息的能力状态对通讯录中的联系人信息进行分组。As an optional embodiment, the contact information in the contact information may be a mobile phone number, a landline number, and an account name. One or more of the address, email address, of course, can also be other forms of contact. The capability status of each contact in the contact information is obtained by sending a capability status request. When any of the contact information has the capability of converged communication, it can be determined that the capability status corresponding to the contact information is the support for the converged communication RCS. In the embodiment of the present invention, the contact information in the address book can be grouped by the capability status of the contact information.
在本发明的一个可选实施例中,当联系人信息中包含多个联系方式,并且在多个联系方式中包含至少两个联系方式的能力状态为支持融合通信RCS时,可以确定各个联系方式的登录状态是否为在线。如果有一个联系方式的登录状态为在线状态时,即可判定与该联系人信息对应的能力状态为支持融合通信RCS且在线状态。In an optional embodiment of the present invention, when the contact information includes multiple contact manners, and the capability status of the at least two contact manners in the multiple contact manners is to support the converged communication RCS, each contact manner may be determined. Is the login status online? If the login status of a contact mode is online, the capability status corresponding to the contact information is determined to support the converged communication RCS and the online status.
作为一个可选的实施例,步骤S203根据联系人信息向与联系方式对应的终端发送能力状态请求可以包括:As an optional embodiment, the sending the capability status request to the terminal corresponding to the contact mode according to the contact information may include:
步骤S31,获取预先设置的发送频率;Step S31, acquiring a preset transmission frequency;
步骤S33,根据发送频率,向与联系方式对应的终端发送能力状态请求。Step S33, according to the sending frequency, send a capability status request to the terminal corresponding to the contact mode.
在本发明的一个可选实施例中,发送频率是在单位时间内,向终端发送能力状态请求的次数。其中,发送频率可以是系统默认设置的频率,也可以是由用户根据需求设置的频率。通过步骤S31至步骤S33,可以按照发送频率向联系方式发送能力状态请求,从而更新通讯录列表中各个联系人信息的融合通信能力。In an optional embodiment of the invention, the transmission frequency is the number of times the capability status request is sent to the terminal within a unit time. The sending frequency may be the frequency set by the system by default, or may be the frequency set by the user according to requirements. Through steps S31 to S33, the capability status request can be sent to the contact mode according to the transmission frequency, thereby updating the converged communication capability of each contact information in the address book list.
作为一个可选的实施例,发送频率可以包含第一发送频率和第二发送频率,其中,第一发送频率用于控制向能力状态为不支持融合通信RCS的联系人发送能力状态请求,以确定该联系人信息是否具备融合通信能力;第二发送频率用于控制向能力状态为支持融合通信RCS的联系人发送能力状态请求,以确定该联系人信息的登录状态是否为在线。As an optional embodiment, the sending frequency may include a first sending frequency and a second sending frequency, where the first sending frequency is used to control sending a capability status request to a contact whose capability status is not supporting the converged communication RCS, to determine Whether the contact information has the capability of converged communication; the second sending frequency is used to control the sending of the capability status request to the contact whose capability status is to support the converged communication RCS, to determine whether the login status of the contact information is online.
在实际应用当中,如果联系人信息的能力状态为支持RCS时,用户就可以使用RCS与被叫联系人进行通讯,如果,用户的登录状态为离线,则会导致基于RCS的通讯失败或延迟。因此,可以提高第二发送频率从而保证联系人信息的登录状态得到实时的更新。因此,可以根据实际需要将第一发送频率和第二发送频率设置为不同的频率,以节省网络资源和处理资源。In practical applications, if the capability status of the contact information is RCS-enabled, the user can use the RCS to communicate with the called contact. If the user's login status is offline, the RCS-based communication may fail or be delayed. Therefore, the second transmission frequency can be increased to ensure that the login status of the contact information is updated in real time. Therefore, the first transmission frequency and the second transmission frequency can be set to different frequencies according to actual needs, thereby saving network resources and processing resources.
作为一个可选的实施例,能力状态可以是以缓存数据的形式存储于内存当中,也可以是以字段的形式直接记录在用于存储通讯录列表的数据表当中,当然,具体的实施方式不局限于上述两种方式。As an optional embodiment, the capability status may be stored in the memory in the form of cached data, or may be directly recorded in the form of a field in a data table for storing the address book list. Of course, the specific implementation manner is not Limited to the above two ways.
其中,当将能力状态以字段的形式直接记录在用于存储通讯录列表的数据表当中时,图2是根据本发明实施例的一种可选的联系人分组方法的流程图,如图2所示,在步骤S102获取通讯录列表中的联系人信息之前,方法还包括:Wherein, when the capability status is directly recorded in the form of a field in a data table for storing an address book list, FIG. 2 is a flowchart of an optional contact grouping method according to an embodiment of the present invention, as shown in FIG. The method further includes: before acquiring the contact information in the address book list in step S102, the method further includes:
步骤S101,在用于存储通讯录列表的数据表中插入能力状态标识列,其中,能力状态标识列用于记录通讯录列表中与联系人信息对应的能力状态。 Step S101: Insert a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the capability status corresponding to the contact information in the address book list.
在一个可选实施例中,通过步骤S101,在用于存储通讯录列表的数据表中,插入用于记录各条联系人信息的状态标识列(即字段)。当获取到与联系人信息对应的能力状态时,在状态标识列中的相应位置进行记录。In an optional embodiment, through the step S101, in the data table for storing the address book list, a status identification column (ie, a field) for recording each piece of contact information is inserted. When the capability status corresponding to the contact information is obtained, the corresponding position in the status identification column is recorded.
作为一种可选的实施例,图3是根据本发明实施例的一种可选的联系人分组方法的流程图,如图3所示,在步骤S104根据联系人信息,获取与联系人信息对应的能力状态之后,该方法的步骤包括:As an optional embodiment, FIG. 3 is a flowchart of an optional contact grouping method according to an embodiment of the present invention. As shown in FIG. 3, the contact information is acquired according to the contact information in step S104. After the corresponding capability status, the steps of the method include:
步骤S1051,将当前获取的第一能力状态与能力状态标识列中记载的第二能力状态进行比对;Step S1051: comparing the currently acquired first capability state with the second capability state recorded in the capability state identifier column;
步骤S1053,当第一能力状态与第二能力状态不相同时,利用第一能力状态替换第二能力状态。Step S1053: When the first capability state and the second capability state are different, the second capability state is replaced by the first capability state.
在本发明的一个可选实施例中,通过步骤S1051至步骤S1053,将当前获取到的与联系人信息对应的第一能力状态与数据表中状态标识列的相应位置记录的第二能力状态进行比对,当第一能力状态与第二能力状态不同时,用第一能力状态对数据表进行更新。In an optional embodiment of the present invention, the first capability state corresponding to the contact information and the second capability state of the corresponding location record of the state identifier column in the data table are performed by step S1051 to step S1053. In the comparison, when the first capability state is different from the second capability state, the data table is updated with the first capability state.
作为一种可选的实施例,图4是本发明实施例在实际应用中的一种可选的联系人分组方法的流程图,如图4所示,将上述联系人分组方法实施例结合实际应用进行说明,该方法的步骤包括:As an optional embodiment, FIG. 4 is a flowchart of an optional contact grouping method in an actual application according to an embodiment of the present invention. As shown in FIG. 4, the foregoing contact grouping method embodiment is combined with actual The application is described, and the steps of the method include:
步骤S401:对通讯录分组管理方式进行设置。Step S401: setting the management method of the address book group.
其中,通讯录分组管理方式的设置,是用于对通讯录分组管理方式的选择和设置。通常情况下,通讯录分组管理方式的默认设置为基于联系人名称首字母排序的无分组的管理和显示方式。对通讯录分组管理方式的设置功能可以置于通讯录模块的设置菜单中,或者单独置于联系人列表界面的菜单项中,方式描述不仅仅局限于以上。Among them, the setting of the management method of the address book group is used for selecting and setting the management mode of the address book group. Normally, the default setting for the management of the address book grouping is the management and display mode without grouping based on the initials of the contact name. The setting function of the group management mode of the address book can be placed in the setting menu of the address book module or separately placed in the menu item of the contact list interface, and the description of the mode is not limited to the above.
步骤S402:根据通讯录中的所有联系人记录,获取联系人已有的融合通信能力的能力状态。Step S402: Acquire the capability status of the existing integrated communication capability of the contact according to all the contact records in the address book.
其中,能力状态可作为用于记录联系人记录的缓存数据的一部分,或者直接作为用于存储联系人记录的数据库表项的一部分,方式不局限于如上描述。The capability status may be part of the cached data for recording the contact record or directly as part of a database entry for storing the contact record, and the manner is not limited to the above description.
步骤S403:获取每个联系人记录中对应号码已有的融合通信RCS的能力状态,其中,号码的当前的融合通信RCS的能力状态,依据向号码发送能力状态请求的返回结果进行确定,并对号码已有状态进行更新。Step S403: Acquire a capability status of the existing converged communication RCS of the corresponding number in each contact record, where the capability status of the current converged communication RCS of the number is determined according to the return result of the request to the number transmission capability status, and The number is already updated.
其中,能力状态是通过融合通信RCS的能力发现功能获得的验证结果。能力发现功能是一种对目标号码的能力状态和状态的探测功能,其中,能力状态可以分为已注册RCS(即支持融合通信RCS)和未注册RCS(不支持RCS);其中,能力状态为已注册RCS的能力状态中,还至少包含在线状态和离线状态。Among them, the capability status is the verification result obtained by the capability discovery function of the converged communication RCS. The capability discovery function is a detection function for the capability status and status of the target number, wherein the capability status can be classified into a registered RCS (ie, support for converged communication RCS) and an unregistered RCS (without support for RCS); wherein the capability status is The capability status of the registered RCS also includes at least online status and offline status.
在本发明的一个可选实施例中,能力发现功能的业务流程为:终端向目标号码发送一条 SIP OPTIONS消息来检测与目标号码对应的联系人是否为融合通信用户,以及该联系人具有的融合通信能力。终端根据目标号码终端返回的响应信息,确定该联系人的融合通信能力。In an optional embodiment of the present invention, the service flow of the capability discovery function is: the terminal sends a message to the target number. The SIP OPTIONS message is used to detect whether the contact corresponding to the target number is a converged communication user and the converged communication capability that the contact has. The terminal determines the converged communication capability of the contact according to the response information returned by the target number terminal.
步骤S404:将获取到的联系人记录对应的各个号码的能力状态与已获取的能力状态进行比对,如有更新,则基于预设规则更新该联系人的能力状态标识;Step S404: Comparing the capability status of each number corresponding to the acquired contact record with the acquired capability status, and if there is an update, updating the capability status identifier of the contact based on the preset rule;
在本实施例的一个应用场景中该步骤的实现方式可以是,根据联系人记录中各个号码的能力状态对联系人记录的能力状态进行更新的规则可采用:1、始终使用第一号码的能力状态作为该联系人记录的能力状态;2、使用联系人记录中指定号码状态作为该联系人记录的能力状态;3、根据能力状态排序,使用各号码中能力状态最强或者最弱的号码的能力状态作为该联系人记录的能力状态。如上几种联系人记录的能力状态获取规则包括但不局限于如上。In an application scenario of this embodiment, the step may be implemented by: updating the capability status of the contact record according to the capability status of each number in the contact record: 1. The ability to always use the first number. Status as the capability status of the contact record; 2. Using the specified number status in the contact record as the capability status of the contact record; 3. Sorting according to the capability status, using the number with the strongest or weakest number in each number The capability status is the capability status of the contact record. The capability status acquisition rules recorded by the above contacts include, but are not limited to, the above.
步骤S405:基于联系人的能力状态,对通讯录中的联系人信息进行分组,将具有相同能力状态的联系人信息置于相应能力状态分组下。Step S405: Group the contact information in the address book based on the capability status of the contact, and place the contact information with the same capability status under the corresponding capability status group.
步骤S406:刷新通讯录显示列表,实现基于联系人能力状态的联系人分组显示。Step S406: Refreshing the address book display list, and implementing contact group display based on the contact capability status.
作为一种可选的实施例,针对上述联系人分组方法实施例中的步骤,结合实际应用还可以提供一种更新联系人记录能力状态的方法,图5为更新联系人记录能力状态的方法的流程示意图,如图5所示,该方法的步骤包括:As an optional embodiment, for the steps in the foregoing contact grouping method embodiment, a method for updating the contact record capability status may be provided in combination with the actual application, and FIG. 5 is a method for updating the contact record capability status. The flow diagram is shown in Figure 5. The steps of the method include:
步骤S501:进入或更新通讯录列表界面。Step S501: Enter or update the address book list interface.
其中,进入通讯录列表界面主要是指从其它应用模块界面进入通讯录主界面,或者是从其它应用模块界面返回通讯录主界面。Among them, entering the address book list interface mainly refers to entering the main interface of the address book from the interface of other application modules, or returning to the main interface of the address book from the interface of other application modules.
更新通讯录列表界面是指修改联系人分组管理方式后根据通讯录列表管理方式和显示方式进行更新。Updating the address book list interface refers to updating the contact group management mode and updating according to the management mode and display mode of the address book list.
步骤S502:判断是否选择基于RCS能力状态对联系人记录分组并显示。若未使用,跳转至步骤S510。Step S502: Determine whether to select and group the contact records based on the RCS capability status and display. If not, the process goes to step S510.
步骤S503:获取通讯录中的所有联系人记录中的第一条联系人记录的能力状态;Step S503: Acquire a capability status of the first contact record in all contact records in the address book;
步骤S504:获取该条联系人记录中对应的各个号码的RCS能力状态。Step S504: Acquire an RCS capability status of each corresponding number in the contact record.
步骤S505:通过融合通信RCS的能力发现功能,确定联系人记录中各个号码当前的能力状态,能力状态如有变更,则对该号码进行标识。Step S505: Determine the current capability status of each number in the contact record by the capability discovery function of the converged communication RCS, and if the capability status changes, identify the number.
步骤S506:判断与联系人记录对应的各个号码是否存在用于记录能力状态变更的标识,如不存在,则跳转至步骤S508。Step S506: It is determined whether there is an identifier for recording the capability status change for each number corresponding to the contact record. If not, the process proceeds to step S508.
步骤S507:根据联系人记录中各号码的能力状态,基于预设规则更新该联系人的能力状态标识。Step S507: Update the capability status identifier of the contact based on the preset status according to the capability status of each number in the contact record.
步骤S508:判断是否存在下一条联系人记录,如存在,跳转至步骤S504。 Step S508: It is judged whether there is a next contact record, and if yes, the process goes to step S504.
步骤S509:更新通讯录中所有联系人记录的能力状态。Step S509: Update the capability status of all contact records in the address book.
步骤S510:结束。Step S510: End.
综上所述,通过上述实施例中,基于RCS能力状态的联系人分组方法,可以使得用户方便直观的区分通讯录中联系人记录的能力状态,决策如何进行通信,从而大大的方便了用户的使用。并且,丰富了通讯录中对联系人记录的分组方式,直观的展现了与联系人记录对应的能力状态,以及具有不同能力状态的联系人记录,提升了用户体验。同时,还可以通过分组方式的切换按钮,方便的实现对于现有联系人分组方式的兼容。In summary, in the foregoing embodiment, the contact grouping method based on the RCS capability state can enable the user to conveniently and intuitively distinguish the capability status of the contact record in the address book, and decide how to communicate, thereby greatly facilitating the user. use. Moreover, the method of grouping the contact records in the address book is enriched, and the capability status corresponding to the contact record and the contact record with different capability status are intuitively displayed, thereby improving the user experience. At the same time, it is also convenient to implement the compatibility of the existing contact grouping mode by using the grouping mode switching button.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种联系人分组装置,该装置用于实现上述实施例及可选的实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the present embodiment, a contact grouping device is also provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图6是根据本发明实施例的联系人分组装置的结构框图,如图6所示,该装置包括:第一获取模块21、第二获取模块23和分组模块25。FIG. 6 is a structural block diagram of a contact grouping apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a first acquiring module 21, a second acquiring module 23, and a grouping module 25.
其中,第一获取模块21,设置为获取通讯录列表中的联系人信息;第二获取模块23,与第一获取模块21耦合连接,设置为根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;分组模块25,与第二获取模块23耦合连接,设置为根据能力状态,对通讯录列表中的联系人信息进行分组。The first obtaining module 21 is configured to obtain the contact information in the address book list. The second obtaining module 23 is coupled to the first obtaining module 21, and is configured to acquire the capability corresponding to the contact information according to the contact information. The state, wherein the capability state includes at least: supporting the converged communication RCS and not supporting the RCS; the grouping module 25 is coupled to the second obtaining module 23 and configured to group the contact information in the address book list according to the capability status.
上述第一获取模块21、第二获取模块23和分组模块25,通过通讯录列表中,对各个联系人的融合通信RCS能力状态进行获取,并通过能力状态对通讯录列表中的联系人信息进行分组。从而实现了用户可以直接通过通讯录列表就可以获取联系人的RCS通讯能力的效果。达到了改善用户体验的目的。解决了相关技术中无法直接通过通讯录直接获取RCS通讯能力和状态导致的用户体验差的问题。The first obtaining module 21, the second obtaining module 23, and the grouping module 25 obtain the RCS capability status of each contact by using the address book list, and perform the contact information in the address book list through the capability status. Grouping. Thereby, the effect that the user can obtain the RCS communication capability of the contact directly through the address book list is realized. Achieved the purpose of improving the user experience. The problem of poor user experience caused by the inability to directly obtain the RCS communication capability and status directly through the address book is solved in the related art.
作为一个可选的实施例,第二获取模块获取到的能力状态为支持融合通信RCS中,状态至少包括:在线和离线。As an optional embodiment, the capability status acquired by the second obtaining module is in the RCS supporting the converged communication, and the status includes at least: online and offline.
其中,与联系人信息对应的能力状态至少包括支持融合通信RCS和不支持融合通信RCS之外,在支持融合通信RCS状态当中,还可以包括在线和离线至少两种状态。通过上述在线状态和离线状态,可以进一步区分当前联系人的融合通信状态。 The capability status corresponding to the contact information includes at least two states of online and offline, in addition to supporting the converged communication RCS and not supporting the converged communication RCS. Through the above online status and offline status, the current communication status of the current contact can be further distinguished.
作为一种可选的实施例,如图7所示,第二获取模块23包括:第一子获取模块31、第一子发送模块33和子确定模块35。As an optional embodiment, as shown in FIG. 7, the second obtaining module 23 includes: a first sub-acquisition module 31, a first sub-transmission module 33, and a sub-determination module 35.
其中,第一子获取模块31,设置为获取联系人信息中的联系方式;第一子发送模块33,设置为根据联系人信息向与联系方式对应的终端发送能力状态请求;子确定模块35,设置为接收能力状态请求的响应,根据响应确定联系方式的能力状态。The first sub-acquisition module 31 is configured to obtain the contact information in the contact information; the first sub-transmission module 33 is configured to send a capability status request to the terminal corresponding to the contact mode according to the contact information; the sub-determination module 35, Set to receive a response to the capability status request and determine the capability status of the contact based on the response.
在本发明的一个可选实施例中,第一子获取模块31获取到的联系人信息中所包含的联系方式可能为一个或多个。通过对联系人信息中所包含的各个联系方式,发送用于验证融合通信RCS能力状态的能力状态请求。依据返回的响应,确定该号码的当前能力状态,更新该号码的已有状态。In an optional embodiment of the present invention, the contact information included in the contact information acquired by the first sub-acquisition module 31 may be one or more. A capability status request for verifying the status of the converged communication RCS capability is sent by each contact method included in the contact information. Based on the returned response, the current capability status of the number is determined and the existing status of the number is updated.
作为一种可选的实施例,第一子发送模块33包括:第二子获取模块331和第二子发送模块333。As an optional embodiment, the first sub-transmission module 33 includes: a second sub-acquisition module 331 and a second sub-transmission module 333.
其中,第二子获取模块331,设置为获取预先设置的发送频率;第二子发送模块333,设置为根据发送频率,向与联系方式对应的终端发送能力状态请求。The second sub-acquisition module 331 is configured to acquire a preset transmission frequency. The second sub-transmission module 333 is configured to send a capability status request to the terminal corresponding to the contact mode according to the transmission frequency.
在本发明的一个可选实施例中,通过第二子获取模块331获取到的发送频率可以是系统默认设置的频率,也可以是由用户根据需求设置的频率,其中,发送频率是在单位时间内,向终端发送能力状态请求的次数。通过第二子获取模块331和第二子发送模块333,可以按照发送频率向联系方式发送能力状态请求,从而更新通讯录列表中各个联系人信息的融合通信能力。In an optional embodiment of the present invention, the sending frequency acquired by the second sub-acquisition module 331 may be a frequency set by the system default, or may be a frequency set by the user according to requirements, where the sending frequency is in a unit time. The number of times the capability status request is sent to the terminal. Through the second sub-acquisition module 331 and the second sub-transmission module 333, the capability status request can be sent to the contact mode according to the transmission frequency, thereby updating the converged communication capability of each contact information in the address book list.
作为一个可选的实施例,通过第二子获取模块331获取到的发送频率可以包含第一发送频率和第二发送频率,其中,第一发送频率用于控制向能力状态为不支持融合通信RCS的联系人发送能力状态请求,以确定该联系人信息是否具备融合通信能力;第二发送频率用于控制向能力状态为支持融合通信RCS的联系人发送能力状态请求,以确定该联系人信息的登录状态是否为在线。As an optional embodiment, the transmission frequency acquired by the second sub-acquisition module 331 may include a first transmission frequency and a second transmission frequency, where the first transmission frequency is used to control the capability status to not support the converged communication RCS. The contact sends a capability status request to determine whether the contact information has a converged communication capability; the second transmission frequency is used to control the ability status request to be sent to the contact supporting the converged communication RCS to determine the contact information. Whether the login status is online.
在实际应用当中,如果联系人信息的能力状态为支持RCS时,用户就可以使用RCS与被叫联系人进行通讯。如果,用户的登录状态为离线,则会导致基于RCS的通讯失败或延迟而影响用户体验。因此,可以提高第二发送频率从而保证联系人信息的登录状态得到实时的更新。因此,可以根据实际需要将第一发送频率和第二发送频率设置为不同的频率,以节省网络资源和处理资源。In practical applications, if the capability status of the contact information is RCS-enabled, the user can use the RCS to communicate with the called contact. If the user's login status is offline, it will cause the RCS-based communication to fail or delay and affect the user experience. Therefore, the second transmission frequency can be increased to ensure that the login status of the contact information is updated in real time. Therefore, the first transmission frequency and the second transmission frequency can be set to different frequencies according to actual needs, thereby saving network resources and processing resources.
作为一种可选的实施例,图8是根据本发明实施例的一种可选的联系人分组装置的结构框图,如图8所示,该装置除了包括图6所示的所有模块外,还包括:插入模块20,与第一获取模块21耦合连接。As an alternative embodiment, FIG. 8 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes all the modules shown in FIG. The method further includes an insertion module 20 coupled to the first acquisition module 21.
其中,插入模块20,设置为在用于存储通讯录列表的数据表中插入能力状态标识列,其中,能力状态标识列用于记录通讯录列表中与联系人信息对应的能力状态。 The insertion module 20 is configured to insert a capability status identifier column in the data table for storing the address book list, wherein the capability status identifier column is used to record the capability status corresponding to the contact information in the address book list.
在本发明的一个可选实施例中,在用于存储通讯录列表的数据表中,通过插入模块20插入用于记录各条联系人信息的状态标识列(即字段)。当获取到与联系人信息对应的能力状态时,在状态标识列中的相应位置进行记录。In an alternative embodiment of the invention, in the data table for storing the address book list, a status identification column (i.e., a field) for recording each piece of contact information is inserted through the insertion module 20. When the capability status corresponding to the contact information is obtained, the corresponding position in the status identification column is recorded.
作为一种可选的实施例,图9是根据本发明实施例的一种可选的联系人分组装置的结构框图,如图9所示,该装置除了包括图8所示的所有模块外,还包括:比对模块241和处理模块243。As an optional embodiment, FIG. 9 is a structural block diagram of an optional contact grouping apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes all the modules shown in FIG. Also included are: a comparison module 241 and a processing module 243.
其中,比对模块241,与第二获取模23耦合连接,设置为将当前获取的第一能力状态与能力状态标识列中记载的第二能力状态进行比对;处理模块243,与比对模块241耦合连接,设置为当第一能力状态与第二能力状态不相同时,利用第一能力状态替换第二能力状态。The comparison module 241 is coupled to the second acquisition module 23 and configured to compare the currently acquired first capability state with the second capability state recorded in the capability state identifier column; the processing module 243, and the comparison module The 241 coupling is configured to replace the second capability state with the first capability state when the first capability state is different from the second capability state.
在本发明的一个可选实施例中,通过比对模块241和处理模块243,将当前获取到的与联系人信息对应的第一能力状态与数据表中状态标识列的相应位置记录的第二能力状态进行比对,当第一能力状态与第二能力状态不同时,用第一能力状态对数据表进行更新。In an optional embodiment of the present invention, the first acquired capability state corresponding to the contact information and the second location of the corresponding location of the state identification column in the data table are recorded by the comparison module 241 and the processing module 243. The capability states are compared, and when the first capability state is different from the second capability state, the data table is updated with the first capability state.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,获取通讯录列表中的联系人信息;S1, obtaining contact information in the address book list;
S2,根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;S2: Obtain a capability status corresponding to the contact information according to the contact information, where the capability status includes at least: supporting the converged communication RCS and not supporting the RCS;
S3,根据能力状态,对通讯录列表中的联系人信息进行分组。S3, according to the capability status, group the contact information in the address book list.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM)、随机存取存储器(RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to, a U disk, a read only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and the like. The medium of the code.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:获取通讯录列表中的联系人信息;根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;根据能力状态,对通讯录列表中的联系人信息进行分组。Optionally, in this embodiment, the processor is configured to: obtain the contact information in the address book list according to the stored program code in the storage medium; and acquire the capability status corresponding to the contact information according to the contact information, where The capability status includes at least: supporting the converged communication RCS and not supporting the RCS; and grouping the contact information in the address book list according to the capability status.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步 骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described Alternatively, each of them may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提供的技术方案,可以应用于联系人的分组处理,采用获取通讯录列表中的联系人信息;根据联系人信息,获取与联系人信息对应的能力状态,其中,能力状态至少包括:支持融合通信RCS和不支持RCS;根据能力状态,对通讯录列表中的联系人信息进行分组,解决了相关技术中无法直接通过通讯录直接获取RCS通讯能力和状态导致的用户体验差的问题,从而实现了用户可以直接通过通讯录列表就可以获取联系人的RCS通讯能力的效果。 The technical solution provided by the embodiment of the present invention can be applied to the grouping process of the contact, and the contact information in the address book list is obtained, and the capability status corresponding to the contact information is obtained according to the contact information, wherein the capability status includes at least : Supports converged communication RCS and does not support RCS; according to the capability status, the contact information in the address book list is grouped, which solves the problem that the user experience in the related technology cannot directly obtain the RCS communication capability and status directly through the address book. Therefore, the effect that the user can obtain the RCS communication capability of the contact directly through the address book list is realized.

Claims (11)

  1. 一种联系人分组方法,包括:A method for grouping contacts, including:
    获取通讯录列表中的联系人信息;Get contact information in the address book list;
    根据所述联系人信息,获取与所述联系人信息对应的能力状态,其中,所述能力状态至少包括:支持融合通信RCS和不支持RCS;Acquiring, according to the contact information, a capability status corresponding to the contact information, where the capability status at least includes: supporting a converged communication RCS and not supporting an RCS;
    根据所述能力状态,对所述通讯录列表中的联系人信息进行分组。According to the capability status, the contact information in the address book list is grouped.
  2. 根据权利要求1所述的方法,其中,在所述能力状态为所述支持融合通信RCS中,登录状态至少包括:在线和离线,其中,根据所述能力状态,对所述通讯录列表中的联系人信息进行分组,包括:The method according to claim 1, wherein in the capability state is the support convergence communication RCS, the login status comprises at least: online and offline, wherein, according to the capability status, in the address book list Contact information is grouped, including:
    根据与所述联系人信息对应的能力状态,将所述通讯录列表中的所述联系人信息分为支持RCS组和不支持RCS组;And according to the capability status corresponding to the contact information, the contact information in the address book list is divided into a support RCS group and an unsupported RCS group;
    根据所述支持RCS组中所述联系人信息的在线状态,将所述支持RCS组中的所述联系人信息分为在线组和离线组。And according to the online status of the contact information in the supporting RCS group, the contact information in the supporting RCS group is divided into an online group and an offline group.
  3. 根据权利要求1所述的方法,其中,根据所述联系人信息,获取与所述联系人信息对应的能力状态包括:The method according to claim 1, wherein the acquiring the capability status corresponding to the contact information according to the contact information comprises:
    获取所述联系人信息中的联系方式;Obtaining the contact information in the contact information;
    根据所述联系人信息向与所述联系方式对应的终端发送能力状态请求;Transmitting a capability status request to the terminal corresponding to the contact mode according to the contact information;
    接收所述能力状态请求的响应,根据所述响应确定所述联系方式的能力状态。Receiving a response to the capability status request, determining a capability status of the contact according to the response.
  4. 根据权利要求3所述的方法,其中,根据所述联系人信息向与所述联系方式对应的终端发送能力状态请求包括:The method according to claim 3, wherein the sending the capability status request to the terminal corresponding to the contact mode according to the contact information comprises:
    获取预先设置的发送频率;Obtain a preset transmission frequency;
    根据所述发送频率,向与所述联系方式对应的终端发送能力状态请求。Transmitting a capability status request to the terminal corresponding to the contact mode according to the transmission frequency.
  5. 根据权利要求1所述的方法,其中,获取通讯录列表中的联系人信息之前,所述方法还包括:The method of claim 1, wherein before the obtaining contact information in the address book list, the method further comprises:
    在用于存储所述通讯录列表的数据表中插入能力状态标识列,其中,所述能力状态标识列用于记录所述通讯录列表中与所述联系人信息对应的能力状态。Inserting a capability status identifier column in a data table for storing the address book list, wherein the capability status identifier column is configured to record a capability status corresponding to the contact information in the address book list.
  6. 根据权利要求5所述的方法,其中,在根据所述联系人信息,获取与所述联系人信息对应的能力状态之后,所述方法还包括:The method of claim 5, wherein after the acquiring the capability status corresponding to the contact information according to the contact information, the method further comprises:
    将当前获取的第一能力状态与所述能力状态标识列中记载的第二能力状态进行比对; Comparing the currently acquired first capability state with the second capability state recorded in the capability state identifier column;
    当所述第一能力状态与所述第二能力状态不相同时,利用所述第一能力状态替换所述第二能力状态。When the first capability state is different from the second capability state, the second capability state is replaced with the first capability state.
  7. 一种联系人分组装置,包括:A contact grouping device, comprising:
    第一获取模块,设置为获取通讯录列表中的联系人信息;The first obtaining module is configured to obtain contact information in the address book list;
    第二获取模块,设置为根据所述联系人信息,获取与所述联系人信息对应的能力状态,其中,所述能力状态至少包括:支持融合通信RCS和不支持RCS;The second obtaining module is configured to acquire, according to the contact information, a capability status corresponding to the contact information, where the capability status includes at least: supporting a converged communication RCS and not supporting an RCS;
    分组模块,设置为根据所述能力状态,对所述通讯录列表中的联系人信息进行分组。A grouping module is configured to group contact information in the address book list according to the capability status.
  8. 根据权利要求7所述的装置,其中,第二获取模块包括:The apparatus of claim 7, wherein the second obtaining module comprises:
    第一子获取模块,设置为获取所述联系人信息中的联系方式;a first sub-acquisition module, configured to obtain a contact information in the contact information;
    第一子发送模块,设置为根据所述联系人信息向与所述联系方式对应的终端发送能力状态请求;The first sub-transmission module is configured to send a capability status request to the terminal corresponding to the contact mode according to the contact information;
    子确定模块,设置为接收所述能力状态请求的响应,根据所述响应确定所述联系方式的能力状态。The sub-determination module is configured to receive a response to the capability status request, and determine a capability status of the contact mode according to the response.
  9. 根据权利要求8所述的装置,其中,第一子发送模块包括:The apparatus of claim 8, wherein the first sub-transmission module comprises:
    第二子获取模块,设置为获取预先设置的发送频率;a second sub-acquisition module configured to obtain a preset transmission frequency;
    第二子发送模块,设置为根据所述发送频率,向与所述联系方式对应的终端发送能力状态请求。The second sub-transmission module is configured to send a capability status request to the terminal corresponding to the contact mode according to the sending frequency.
  10. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7 wherein said apparatus further comprises:
    插入模块,设置为在用于存储所述通讯录列表的数据表中插入能力状态标识列,其中,所述能力状态标识列用于记录所述通讯录列表中与所述联系人信息对应的能力状态。Inserting a module, configured to insert a capability status identifier column in a data table for storing the address book list, wherein the capability status identifier column is configured to record an ability in the address book list corresponding to the contact information status.
  11. 根据权利要求10所述的装置,其中,所述装置还包括:The device of claim 10, wherein the device further comprises:
    比对模块,设置为将当前获取的第一能力状态与所述能力状态标识列中记载的第二能力状态进行比对;The comparison module is configured to compare the currently acquired first capability state with the second capability state recorded in the capability state identifier column;
    处理模块,设置为当所述第一能力状态与所述第二能力状态不相同时,利用所述第一能力状态替换所述第二能力状态。 And a processing module, configured to replace the second capability state with the first capability state when the first capability state and the second capability state are different.
PCT/CN2015/089472 2015-07-16 2015-09-11 Method and device for grouping contacts WO2016131249A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510418329.4 2015-07-16
CN201510418329.4A CN106358140B (en) 2015-07-16 2015-07-16 Contact person grouping method and device

Publications (1)

Publication Number Publication Date
WO2016131249A1 true WO2016131249A1 (en) 2016-08-25

Family

ID=56692526

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089472 WO2016131249A1 (en) 2015-07-16 2015-09-11 Method and device for grouping contacts

Country Status (2)

Country Link
CN (1) CN106358140B (en)
WO (1) WO2016131249A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018045639A1 (en) * 2016-09-08 2018-03-15 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for querying terminal information

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941556B (en) * 2017-04-20 2020-08-04 青岛海信移动通信技术股份有限公司 Method and device for determining information of converged communication contact persons
CN109104293B (en) * 2017-06-20 2022-05-31 中兴通讯股份有限公司 Method and device for managing converged communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384243A (en) * 2012-05-03 2013-11-06 三星电子株式会社 Method and apparatus for exchanging sip option message for capability discovery of rich communication suite in portable terminal
CN103516893A (en) * 2012-06-18 2014-01-15 三星电子株式会社 Method and apparatus for performing capability discovery of rich communication suite in portable terminal
EP2741541A1 (en) * 2011-08-22 2014-06-11 Huawei Technologies Co., Ltd Capability inquiry method, communication terminal and application server
CN104518944A (en) * 2013-09-27 2015-04-15 中兴通讯股份有限公司 Method, device, and system for on-line state conversion of communication suite
CN104753877A (en) * 2013-12-30 2015-07-01 中国移动通信集团公司 Group communication method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857605B (en) * 2012-07-23 2015-05-13 小米科技有限责任公司 Grouping method and apparatus of contacts
CN103873518B (en) * 2012-12-14 2018-01-09 中国电信股份有限公司 Multiple terminals synchronously obtains method, system and the Web server of enhancing address list
US20140372557A1 (en) * 2013-06-18 2014-12-18 Research In Motion Limited System and Method for Adaptation of Capability Discovery for a Multitude of Transport Protocol Requirements/Scenarios Through Interworking
US9313164B2 (en) * 2013-06-24 2016-04-12 Qualcomm Incorporated Updating rich communication suite capability information over a communications network
EP2863603A1 (en) * 2013-10-18 2015-04-22 Alcatel Lucent A method for optimizing the capability discovery of terminals in an IMS network
CN103618664B (en) * 2013-12-04 2017-10-27 中国联合网络通信集团有限公司 The sending method and device of a kind of status information
CN104363356B (en) * 2014-10-29 2017-12-22 东莞宇龙通信科技有限公司 A kind of associated person information exchange method and device
CN104615675B (en) * 2015-01-19 2018-01-09 苏宁云商集团股份有限公司 Converged communication method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2741541A1 (en) * 2011-08-22 2014-06-11 Huawei Technologies Co., Ltd Capability inquiry method, communication terminal and application server
CN103384243A (en) * 2012-05-03 2013-11-06 三星电子株式会社 Method and apparatus for exchanging sip option message for capability discovery of rich communication suite in portable terminal
CN103516893A (en) * 2012-06-18 2014-01-15 三星电子株式会社 Method and apparatus for performing capability discovery of rich communication suite in portable terminal
CN104518944A (en) * 2013-09-27 2015-04-15 中兴通讯股份有限公司 Method, device, and system for on-line state conversion of communication suite
CN104753877A (en) * 2013-12-30 2015-07-01 中国移动通信集团公司 Group communication method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018045639A1 (en) * 2016-09-08 2018-03-15 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for querying terminal information

Also Published As

Publication number Publication date
CN106358140A (en) 2017-01-25
CN106358140B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US9674241B2 (en) System and method for maintaining associations within a social network for a user
US10116792B2 (en) Adding additional information to caller ID information
JP6009713B2 (en) Exchange of contact profiles between client devices during a communication session
US10110536B2 (en) System for managing event notifications to client devices
KR101570406B1 (en) Method and apparatus for implementing user relationship in social network application
US9253439B2 (en) Managing complex video call scenarios in volte calls
US9215195B2 (en) Method and apparatus for message synchronization in instant messaging applications
US20160277327A1 (en) Method and system for caching input content
WO2014071734A1 (en) Method and apparatus for message synchronization in instant messaging applications
US10264109B2 (en) Contact synchronization between related devices of a subscriber account
EP3469842B1 (en) Method, mobile device and system for preventing the creation of redundant entries when logging communication events
US20130054635A1 (en) Procuring communication session records
WO2016131249A1 (en) Method and device for grouping contacts
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CN109964458A (en) Channel recommender system and method
CN105827780A (en) Caller identification method and caller identification device
US20140089430A1 (en) Data-sharing method, terminal, server, and system
US20200304627A1 (en) Incoming Voice Calling Method and Terminal
WO2017000453A1 (en) Method and device for managing contact number
EP2833310A1 (en) Provisioning a relation between users in a network subsystem
KR20140099813A (en) Autonomic selective importation of contacts in a contact management system
CN114827690A (en) Network resource display method, device and system

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

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

Country of ref document: EP

Kind code of ref document: A1