Movatterモバイル変換


[0]ホーム

URL:


CN114285814B - Chat parameter setting method, device, electronic device and storage medium - Google Patents

Chat parameter setting method, device, electronic device and storage medium
Download PDF

Info

Publication number
CN114285814B
CN114285814BCN202111611652.5ACN202111611652ACN114285814BCN 114285814 BCN114285814 BCN 114285814BCN 202111611652 ACN202111611652 ACN 202111611652ACN 114285814 BCN114285814 BCN 114285814B
Authority
CN
China
Prior art keywords
chat
parameter
contact
contact object
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111611652.5A
Other languages
Chinese (zh)
Other versions
CN114285814A (en
Inventor
王燕兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202111611652.5ApriorityCriticalpatent/CN114285814B/en
Publication of CN114285814ApublicationCriticalpatent/CN114285814A/en
Application grantedgrantedCritical
Publication of CN114285814BpublicationCriticalpatent/CN114285814B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本申请提供了一种聊天参数的设置方法、装置、电子设备及存储介质。上述聊天参数的设置方法包括:接收对第一联系对象和第二联系对象的第一输入;响应于第一输入,将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数。

The present application provides a chat parameter setting method, device, electronic device and storage medium. The chat parameter setting method includes: receiving a first input to a first contact object and a second contact object; in response to the first input, setting the chat parameter corresponding to the first contact object as the chat parameter of the second contact object.

Description

Translated fromChinese
聊天参数的设置方法、装置、电子设备及存储介质Chat parameter setting method, device, electronic device and storage medium

技术领域Technical Field

本申请属于通信技术领域,具体涉及聊天参数的设置方法、装置、电子设备及存储介质。The present application belongs to the field of communication technology, and specifically relates to a method, device, electronic device and storage medium for setting chat parameters.

背景技术Background technique

目前,大部分社交软件都支持用户对联系人设置对应的聊天参数,上述聊天参数包括头像、昵称、聊天背景、消息提示音等信息。这样,用户可以基于聊天参数,使用社交软件与联系人进行聊天。Currently, most social software supports users to set corresponding chat parameters for contacts, including avatar, nickname, chat background, message prompt tone, etc. In this way, users can use social software to chat with contacts based on the chat parameters.

然而,当用户通讯录中的联系人数量较多时,用户需要通过较为繁琐的操作为每个联系人设置聊天参数,这增加了用户的工作量,使得聊天参数的设置需要花费较长时间。However, when the number of contacts in the user's address book is large, the user needs to set chat parameters for each contact through relatively cumbersome operations, which increases the user's workload and makes the setting of chat parameters take a long time.

发明内容Summary of the invention

本申请实施例的目的是一种聊天参数的设置方法、装置、电子设备及存储介质,能够解决对联系对象设置聊天参数需要消耗较长时间,且效率较低的问题。The purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for setting chat parameters, which can solve the problem that setting chat parameters for contact objects takes a long time and is inefficient.

第一方面,本申请实施例提供了一种聊天参数的设置方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for setting chat parameters, the method comprising:

接收对第一联系对象和第二联系对象的第一输入;receiving a first input of a first contact object and a second contact object;

响应于所述第一输入,将所述第一联系对象对应的聊天参数设置为所述第二联系对象的聊天参数。In response to the first input, a chat parameter corresponding to the first contact object is set as a chat parameter of the second contact object.

第二方面,本申请实施例提供了一种聊天参数的设置装置,该装置包括:In a second aspect, an embodiment of the present application provides a device for setting chat parameters, the device comprising:

第一接收模块,用于接收对第一联系对象和第二联系对象的第一输入;A first receiving module, configured to receive a first input of a first contact object and a second contact object;

第一设置模块,用于响应于所述第一输入,将所述第一联系对象对应的聊天参数设置为所述第二联系对象的聊天参数。A first setting module is configured to set, in response to the first input, a chat parameter corresponding to the first contact object as a chat parameter of the second contact object.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

本申请实施例中,接收对第一联系对象和第二联系对象的第一输入;响应于第一输入,将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数。本申请实施例中,用户不需要单独对每个联系对象设置聊天参数,只需执行第一输入即可将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数,这减少了设置聊天参数的操作步骤,进而减少了设置聊天参数的时间,提高了对联系对象设置聊天参数的效率。In the embodiment of the present application, a first input to a first contact object and a second contact object is received; in response to the first input, a chat parameter corresponding to the first contact object is set as a chat parameter of the second contact object. In the embodiment of the present application, the user does not need to set the chat parameter for each contact object separately, and only needs to execute the first input to set the chat parameter corresponding to the first contact object as the chat parameter of the second contact object, which reduces the operation steps for setting the chat parameter, thereby reducing the time for setting the chat parameter and improving the efficiency of setting the chat parameter for the contact object.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是现有技术中设置聊天背景的流程图;FIG1 is a flow chart of setting a chat background in the prior art;

图2是本申请实施例提供的聊天参数的设置方法的流程图;FIG2 is a flow chart of a method for setting chat parameters provided in an embodiment of the present application;

图3是本申请实施例提供的聊天参数的设置方法的应用场景图之一;FIG3 is one of the application scenario diagrams of the method for setting chat parameters provided in an embodiment of the present application;

图4是本申请实施例提供的聊天参数的设置方法的应用场景图之二;FIG4 is a second application scenario diagram of the method for setting chat parameters provided in an embodiment of the present application;

图5是本申请实施例提供的聊天参数的设置方法的应用场景图之三;FIG5 is a third application scenario diagram of the method for setting chat parameters provided in an embodiment of the present application;

图6是本申请实施例提供的聊天参数的设置方法的应用场景图之四;FIG6 is a fourth application scenario diagram of the method for setting chat parameters provided in an embodiment of the present application;

图7是本申请实施例提供的聊天参数的设置方法的应用流程图;7 is an application flow chart of a method for setting chat parameters provided in an embodiment of the present application;

图8是本申请实施例提供的聊天参数的设置装置的结构图;FIG8 is a structural diagram of a device for setting chat parameters provided in an embodiment of the present application;

图9是本申请实施例提供的电子设备的结构图;FIG9 is a structural diagram of an electronic device provided in an embodiment of the present application;

图10是本申请实施例提供的电子设备的硬件结构图。FIG. 10 is a hardware structure diagram of an electronic device provided in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.

目前,大部分社交软件都支持用户对联系人设置对应的头像、昵称、聊天背景等信息,可以将上述头像、昵称、聊天背景等信息作为该联系人对应的聊天参数。在现有技术中,用户需要通过较为繁琐的操作逐一对每个联系人设置聊天参数,At present, most social software supports users to set corresponding avatars, nicknames, chat backgrounds and other information for contacts, and the above avatars, nicknames, chat backgrounds and other information can be used as chat parameters for the contact. In the prior art, users need to set chat parameters for each contact one by one through relatively cumbersome operations.

请参阅图1,图1是现有技术中设置聊天背景的流程图。在图1示出的对聊天背景进行设置的流程中,用户需要先从包括多个联系人的通讯录中选择目标联系人,进入该目标联系人对应的聊天参数设置界面,在该聊天参数设置界面选择图片作为与该目标联系人聊天时的聊天背景。Please refer to Figure 1, which is a flow chart of setting a chat background in the prior art. In the process of setting a chat background shown in Figure 1, the user needs to first select a target contact from an address book including multiple contacts, enter a chat parameter setting interface corresponding to the target contact, and select a picture as a chat background when chatting with the target contact in the chat parameter setting interface.

当用户通讯录中的联系人数量较多时,用户需要通过较为繁琐的操作为每个联系人设置聊天参数,这使得聊天参数的设置需要消耗较长时间,降低了对联系对象设置聊天参数的效率。When the number of contacts in the user's address book is large, the user needs to set chat parameters for each contact through relatively cumbersome operations, which makes the setting of chat parameters take a long time and reduces the efficiency of setting chat parameters for the contact objects.

为了解决上述技术问题,本申请实施例提供了一种聊天参数的设置方法。下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的聊天参数的设置方法进行详细地说明。In order to solve the above technical problems, the embodiment of the present application provides a method for setting chat parameters. The following is a detailed description of the method for setting chat parameters provided by the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.

请参阅图2,图2是本申请实施例提供的聊天参数的设置方法的流程图。本申请实施例提供的聊天参数的设置方法包括以下步骤:Please refer to Figure 2, which is a flow chart of a method for setting chat parameters provided in an embodiment of the present application. The method for setting chat parameters provided in an embodiment of the present application comprises the following steps:

S101,接收对第一联系对象和第二联系对象的第一输入。S101: Receive a first input of a first contact object and a second contact object.

本实施例提供的聊天参数的设置方法可以应用于聊天参数的设置装置,可选地,在聊天参数的设置装置显示聊天列表界面的情况下,接收第一输入。The chat parameter setting method provided in this embodiment can be applied to a chat parameter setting device. Optionally, when the chat parameter setting device displays a chat list interface, a first input is received.

其中,上述聊天列表界面包括与第一联系对象关联的选项,以及与第二联系对象关联的选项。上述第一输入可以是滑动输入,或其他类型的输入;第一输入的输入起点为第一联系对象关联的选项,第一输入的输入终点为第二联系对象关联的选项,应理解,在其他实施例中,第一输入的输入终点为第一联系对象关联的选项,第一输入的输入起点为第二联系对象关联的选项。The chat list interface includes options associated with the first contact object and options associated with the second contact object. The first input may be a sliding input or other types of input; the input starting point of the first input is the option associated with the first contact object, and the input end point of the first input is the option associated with the second contact object. It should be understood that in other embodiments, the input end point of the first input is the option associated with the first contact object, and the input starting point of the first input is the option associated with the second contact object.

S102,响应于所述第一输入,将所述第一联系对象对应的聊天参数设置为所述第二联系对象的聊天参数。S102: In response to the first input, set a chat parameter corresponding to the first contact object as a chat parameter of the second contact object.

本步骤中,响应于第一输入,将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数,使得第一联系对象对应的聊天参数与第二联系对象对应的聊天参数相同。In this step, in response to the first input, the chat parameter corresponding to the first contact object is set as the chat parameter of the second contact object, so that the chat parameter corresponding to the first contact object is the same as the chat parameter corresponding to the second contact object.

为便于理解,请参阅图3,如图3所示,图3中虚线部分表征用户执行的第一输入,该第一输入的输入起点对应的联系对象为“好友5”,输入终点对应的联系对象为“好友1”,基于第一输入,将“好友5”确定为第一联系对象,“好友1”确定为第二联系对象,进一步的,响应于第一输入,将“好友5”的聊天参数设置为“好友1”对应的聊天参数。For ease of understanding, please refer to Figure 3. As shown in Figure 3, the dotted part in Figure 3 represents the first input performed by the user. The contact object corresponding to the input starting point of the first input is "Friend 5", and the contact object corresponding to the input end point is "Friend 1". Based on the first input, "Friend 5" is determined as the first contact object, and "Friend 1" is determined as the second contact object. Further, in response to the first input, the chat parameters of "Friend 5" are set to the chat parameters corresponding to "Friend 1".

示例性地,“好友1”对应的聊天参数包括头像为头像1,聊天背景为图像1,在接收对“好友1”和“好友5”的第一输入后,“好友1”为第一联系对象,“好友5”为第二联系对象,则可以设置“好友5”的聊天参数设置为包括头像为头像1,聊天背景为图像1。在其他实施例中,执行第一输入之后,聊天列表界面显示弹窗,该弹窗用于确定是否将第一联系对象的聊天参数设置为第二联系对象的聊天参数,用户可以对该弹窗执行相应的输入,以设置第一联系对象的聊天参数为第二联系对象的聊天参数,或者不对第一联系对象的聊天参数进行设置。Exemplarily, the chat parameters corresponding to "Friend 1" include the avatar being avatar 1 and the chat background being image 1. After receiving the first input of "Friend 1" and "Friend 5", "Friend 1" is the first contact object and "Friend 5" is the second contact object, and the chat parameters of "Friend 5" can be set to include the avatar being avatar 1 and the chat background being image 1. In other embodiments, after the first input is executed, a pop-up window is displayed on the chat list interface, and the pop-up window is used to determine whether to set the chat parameters of the first contact object as the chat parameters of the second contact object. The user can perform corresponding input on the pop-up window to set the chat parameters of the first contact object as the chat parameters of the second contact object, or not to set the chat parameters of the first contact object.

本申请实施例中,接收对第一联系对象和第二联系对象的第一输入;响应于第一输入,将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数。本申请实施例中,用户不需要单独对每个联系对象设置聊天参数,只需执行第一输入即可将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数,这减少了设置聊天参数的操作步骤,进而减少了设置聊天参数的时间,提高了对联系对象设置聊天参数的效率。In the embodiment of the present application, a first input to a first contact object and a second contact object is received; in response to the first input, a chat parameter corresponding to the first contact object is set as a chat parameter of the second contact object. In the embodiment of the present application, the user does not need to set the chat parameter for each contact object separately, and only needs to execute the first input to set the chat parameter corresponding to the first contact object as the chat parameter of the second contact object, which reduces the operation steps for setting the chat parameter, thereby reducing the time for setting the chat parameter and improving the efficiency of setting the chat parameter for the contact object.

可选地,所述接收对第一联系对象和第二联系对象的第一输入之后,所述方法还包括:Optionally, after receiving the first input of the first contact object and the second contact object, the method further includes:

响应于所述第一输入,显示N个参数设置选项;In response to the first input, displaying N parameter setting options;

接收对目标参数设置选项的第二输入;receiving a second input of target parameter setting options;

响应于所述第二输入,将所述第二联系对象对应的目标聊天参数,设置为所述目标参数设置选项表征的聊天参数。In response to the second input, the target chat parameter corresponding to the second contact object is set to the chat parameter represented by the target parameter setting option.

本实施例中,上述第一输入还可以包括第一子输入和第二子输入,其中,第一子输入与第一联系对象关联,第二子输入与第二联系对象关联。为便于理解,请参阅图4,在图4示出的场景中,第一子输入与第一联系对象即“好友5”关联,第二子输入与第二联系对象即“好友1”关联。在接收到第一输入之后,显示N个参数设置选项。其中,每个参数设置选项与一个目标聊天参数关联,且每个参数设置选项表征一个聊天参数。In this embodiment, the first input may further include a first sub-input and a second sub-input, wherein the first sub-input is associated with the first contact object, and the second sub-input is associated with the second contact object. For ease of understanding, please refer to FIG. 4. In the scenario shown in FIG. 4, the first sub-input is associated with the first contact object, i.e., "Friend 5", and the second sub-input is associated with the second contact object, i.e., "Friend 1". After receiving the first input, N parameter setting options are displayed. Each parameter setting option is associated with a target chat parameter, and each parameter setting option represents a chat parameter.

应理解,可以将第一联系对象对应的聊天参数称为第一聊天参数,将第二联系对象对应的聊天参数称为第二聊天参数,将第一聊天参数与第二聊天参数之间参数值不同的聊天参数确定为目标聊天参数。可选地,第二联系对象对应的目标聊天参数为第一联系对象的聊天参数中的一项或多项,与目标参数设置选项相对应。It should be understood that the chat parameter corresponding to the first contact object may be referred to as the first chat parameter, the chat parameter corresponding to the second contact object may be referred to as the second chat parameter, and the chat parameter having different parameter values between the first chat parameter and the second chat parameter may be determined as the target chat parameter. Optionally, the target chat parameter corresponding to the second contact object is one or more of the chat parameters of the first contact object, corresponding to the target parameter setting option.

本实施例中,在显示N个参数设置选项之后,接收对目标参数设置选项的第二输入。其中,上述第二输入可以是滑动输入,或其他类型的输入,在此不做具体限定。上述目标参数设置选项为N个参数设置选项中第二输入对应的至少一个参数设置选项。In this embodiment, after displaying N parameter setting options, a second input for a target parameter setting option is received. The second input may be a sliding input or other types of input, which are not specifically limited here. The target parameter setting option is at least one parameter setting option corresponding to the second input among the N parameter setting options.

响应于第二输入,将第一联系对象对应的目标聊天参数和第二联系对象对应的目标聊天参数,设置为目标参数设置选项表征的聊天参数。示例性的,在图4所示的场景中,响应第一输入之后,在聊天列表界面显示弹窗,弹窗内容为“好友1”和“好友5”不同的聊天参数,用户可以通过第二输入选择相应的聊天参数以对第二联系对象“好友1”进行聊天参数设置,即将第一聊天对象和第二聊天对象的聊天参数不同的聊天参数筛选出来,便于用户根据该不同的聊天参数对第二聊天参数进行便捷地设置。可选地,也可以响应于第二输入,将第二联系对象对应的目标聊天参数和所述第二联系对象对应的目标聊天参数,设置为所述目标参数设置选项表征的聊天参数。可以通过一个输入,同时设置第一联系对象和第二联系对象的聊天参数。In response to the second input, the target chat parameters corresponding to the first contact object and the target chat parameters corresponding to the second contact object are set to the chat parameters represented by the target parameter setting option. Exemplarily, in the scenario shown in FIG4, after responding to the first input, a pop-up window is displayed on the chat list interface, and the pop-up window content is different chat parameters for "Friend 1" and "Friend 5". The user can select the corresponding chat parameters through the second input to set the chat parameters for the second contact object "Friend 1", that is, the chat parameters that are different from the chat parameters of the first chat object and the second chat object are screened out, so that the user can conveniently set the second chat parameters according to the different chat parameters. Optionally, in response to the second input, the target chat parameters corresponding to the second contact object and the target chat parameters corresponding to the second contact object can also be set to the chat parameters represented by the target parameter setting option. The chat parameters of the first contact object and the second contact object can be set simultaneously through one input.

本实施例中,用户可以通过执行第一输入和第二输入,对第一联系对象对应的第一聊天参数和第二联系对象对应的第二聊天参数之间不同的聊天参数进行设置,以此减少了对联系对象设置聊天参数的步骤,提高了设置聊天参数的效率。In this embodiment, the user can set different chat parameters between the first chat parameter corresponding to the first contact object and the second chat parameter corresponding to the second contact object by executing the first input and the second input, thereby reducing the steps of setting the chat parameters for the contact objects and improving the efficiency of setting the chat parameters.

可选地,所述方法还包括:Optionally, the method further comprises:

在显示新增联系对象界面,且所述新增联系对象界面表征的新增联系对象为群组的情况下,将所述群组中与预设联系人存在关联关系的联系人,确定为第三联系人;When a new contact object interface is displayed and the new contact object represented by the new contact object interface is a group, a contact in the group that has an association relationship with the preset contact is determined as a third contact;

将所述新增联系对象的聊天参数,设置为所述第三联系人对应的参数模块中的聊天参数。The chat parameters of the newly added contact object are set as the chat parameters in the parameter module corresponding to the third contact.

可选地,新增联系对象为第二联系对象。新增联系对象可以是新增加的联系对象。Optionally, the newly added contact object is a second contact object. The newly added contact object may be a newly added contact object.

本实施例中,当显示新增联系对象界面,且新增联系对象为群组的情况下,确定群组中与预设联系人存在关联关系的联系人,可选地,可以通过查找通讯录,将通讯录中属于该群组中的联系人确定为第三联系人。进一步的,将该群组的聊天参数,设置为第三联系人对应的参数模块中的聊天参数。具体的技术方案,请参阅后续实施例。In this embodiment, when the interface for adding a new contact object is displayed and the new contact object is a group, a contact in the group that is associated with the preset contact is determined. Optionally, the contact in the address book that belongs to the group can be determined as the third contact by searching the address book. Further, the chat parameters of the group are set to the chat parameters in the parameter module corresponding to the third contact. For specific technical solutions, please refer to the subsequent embodiments.

在其他实施例中,若通过查找通讯录,未得到第三联系人,则可以显示聊天参数设置界面,由用户手动设置群组的聊天参数。In other embodiments, if the third contact is not found by searching the address book, a chat parameter setting interface may be displayed, and the user may manually set the chat parameters of the group.

本实施例中,在初次加入群组时,通过确定第三联系人,进而基于第三联系人的参数模板设置上述群组的聊天参数,整个过程不需要用户执行任何操作,以此提高了设置聊天参数的效率。In this embodiment, when joining a group for the first time, the chat parameters of the group are set based on the parameter template of the third contact by determining the third contact. The entire process does not require the user to perform any operation, thereby improving the efficiency of setting the chat parameters.

应理解,在显示新增联系对象界面的情况下,可以在该新增联系对象界面显示弹窗,该弹窗包括第一控件和第二控件,其中第一控件表征显示聊天参数设置界面,第二控件表征显示新增参数模板界面。It should be understood that when a new contact object interface is displayed, a pop-up window may be displayed on the new contact object interface, the pop-up window comprising a first control and a second control, wherein the first control represents a display of a chat parameter setting interface, and the second control represents a display of a new parameter template interface.

在接收到对新增联系对象界面的输入的情况下,显示聊天参数设置界面。其中,上述输入的指向对象为第一控件,上述第二输入可以是触控输入、滑动输入或其他类型的输入,在此不做具体限制。When receiving an input to the interface for adding a new contact object, a chat parameter setting interface is displayed, wherein the input points to the first control, and the second input may be a touch input, a sliding input, or other types of input, which are not specifically limited here.

在其他实施例中,用户也可以对新增联系对象界面显示的第二控件执行输入,响应于该输入,显示新增参数模板界面,进而用户可以在该新增参数模板界面设置新的参数模板,并将群组的聊天参数设置为该新的参数模板包括的聊天参数。In other embodiments, the user may also input the second control displayed on the new contact object interface. In response to the input, a new parameter template interface is displayed, and the user may set a new parameter template on the new parameter template interface and set the chat parameters of the group to the chat parameters included in the new parameter template.

为便于理解,请参阅图5,图5示出的是新增群组时显示的新增联系对象界面,该新增联系对象界面显示有第一控件和第二控件,其中,第一控件的显示内容为“选择”,第二控件的显示内容为“添加”,用户可以对第一控件执行输入,进而显示聊天参数设置界面。For ease of understanding, please refer to Figure 5, which shows a new contact object interface displayed when a new group is added. The new contact object interface displays a first control and a second control, wherein the display content of the first control is "Select" and the display content of the second control is "Add". The user can input the first control to display the chat parameter setting interface.

可选地,所述将所述新增联系对象的聊天参数,设置为所述第三联系人对应的参数模块中的聊天参数包括:Optionally, setting the chat parameters of the newly added contact object as chat parameters in the parameter module corresponding to the third contact includes:

在存在多个第三联系人的情况下,将对应第三联系人数量最多的参数模板确定为第一目标参数模板;In the case where there are multiple third contacts, the parameter template corresponding to the largest number of third contacts is determined as the first target parameter template;

将所述新增联系对象的聊天参数,设置为所述第一目标参数模板包括的聊天参数。The chat parameters of the newly added contact object are set to the chat parameters included in the first target parameter template.

本实施例中,若新增联系对象为群组,即用户被拉入一个新的群组,则通过查找用户通讯录,将通讯录与该群组共同存在的联系人确定为第三联系人,将第三联系人对应的参数模板称为第一目标参数模板。In this embodiment, if the newly added contact object is a group, that is, the user is added to a new group, the user's address book is searched to determine the contact that exists in the address book and the group as the third contact, and the parameter template corresponding to the third contact is called the first target parameter template.

在第三联系人的数量大于1的情况下,将对应第三联系人数量最多的参数模板,确定为第一目标参数模板;进一步的,在确定第一目标参数模板后,将新增联系人的聊天参数设置为第一目标参数模板包括的聊天参数。When the number of third contacts is greater than 1, the parameter template corresponding to the largest number of third contacts is determined as the first target parameter template; further, after the first target parameter template is determined, the chat parameters of the newly added contacts are set to the chat parameters included in the first target parameter template.

可选地,所述方法还包括:Optionally, the method further comprises:

在显示新增联系对象界面,且所述新增联系对象界面表征的新增联系对象为新增联系人的情况下,确定所述新增联系人对应的第二目标参数模板;When a new contact object interface is displayed and the new contact object represented by the new contact object interface is a new contact, determining a second target parameter template corresponding to the new contact;

将所述新增联系对象的聊天参数,设置为所述第二目标参数模板包括的聊天参数。The chat parameters of the newly added contact object are set as the chat parameters included in the second target parameter template.

本实施例中,当显示新增联系对象界面,且新增联系对象为联系人的情况下,确定与新增联系人对应的共同群组,可选地,可以通过查找用户通讯录,将通讯录中包括该新增联系人的群组称为共同群组;或者,确定与新增联系人对应的共同联系人,可选地,可以通过查找用户通讯录和新增联系人的通讯录,确定与该新增联系人对应的共同联系人。进一步的,将新增联系对象的聊天参数,设置为第二目标参数模板包括的聊天参数,其中,上述第二目标参数模板即共同联系人对应的参数模块或者共同群组对应的参数模板。In this embodiment, when the interface for adding a new contact object is displayed and the new contact object is a contact, the common group corresponding to the new contact is determined. Optionally, the group including the new contact in the address book can be called the common group by searching the user's address book; or, the common contact corresponding to the new contact is determined. Optionally, the common contact corresponding to the new contact can be determined by searching the user's address book and the address book of the new contact. Further, the chat parameters of the new contact object are set to the chat parameters included in the second target parameter template, wherein the second target parameter template is the parameter module corresponding to the common contact or the parameter template corresponding to the common group.

在其他实施例中,若通过查找用户通讯录和新增联系人的通讯录,未得到共同群组或共同联系人,则可以显示聊天参数设置界面,由用户手动设置群组的聊天参数。In other embodiments, if no common group or common contact is obtained by searching the user's address book and the address book of the newly added contact, a chat parameter setting interface may be displayed, and the user may manually set the chat parameters of the group.

本实施例中,在新增联系人时,通过确定共同群组或共同联系人,进而基于共同群组或共同联系人的参数模板设置上述新增联系人的聊天参数,整个过程不需要用户执行任何操作,以此提高了设置聊天参数的效率。In this embodiment, when adding a new contact, by determining a common group or common contact, the chat parameters of the new contact are set based on the parameter template of the common group or common contact. The entire process does not require the user to perform any operation, thereby improving the efficiency of setting chat parameters.

可选地,所述确定所述新增联系人对应的第二目标参数模板包括:Optionally, the determining a second target parameter template corresponding to the newly added contact includes:

将第四联系人对应的参数模块,确定为所述第二目标参数模板;所述第四联系人为所述新增联系人的通讯录中与预设联系人存在关联关系的联系人;或者,The parameter module corresponding to the fourth contact is determined as the second target parameter template; the fourth contact is a contact in the address book of the newly added contact who is associated with the preset contact; or,

将目标群组对应的参数模块,确定为所述第二目标参数模板;所述目标群组包括所述新增联系人和预设联系人。The parameter module corresponding to the target group is determined as the second target parameter template; the target group includes the newly added contacts and the preset contacts.

本实施例中,一种可选地实施方式为,查找用户通讯录和新增联系人的通讯录,确定预设联系人与该新增联系人的共同联系人,其中,上述预设联系人即用户。将该共同联系人称为第四联系人,并将第四联系人对应的参数模板确定为第二目标参数模板。In this embodiment, an optional implementation is to search the user's address book and the address book of the newly added contact, determine the common contact of the preset contact and the newly added contact, wherein the preset contact is the user. The common contact is called the fourth contact, and the parameter template corresponding to the fourth contact is determined as the second target parameter template.

另一种可选地实施方式为,查找用户通讯录,将存在该新增联系人的群组确定为目标群组,将目标群组对应的参数模板称为第二目标参数模板。Another optional implementation is to search the user's address book, determine the group containing the newly added contact as the target group, and refer to the parameter template corresponding to the target group as the second target parameter template.

在其他实施例中,可以先通过查找用户通讯录,确定用户与新增联系人对应的共同群组,在存在共同群组的情况下,根据共同群组对应的参数模板设置新增联系人的聊天参数;在不存在共同群组的情况下,通过查找用户通讯录和新增联系人的通讯录,确定第四联系人,进而根据第四联系人对应的参数模板设置新增联系人的聊天参数。In other embodiments, the common group corresponding to the user and the newly added contact can be first determined by searching the user's address book. If a common group exists, the chat parameters of the newly added contact can be set according to the parameter template corresponding to the common group. If no common group exists, the fourth contact can be determined by searching the user's address book and the address book of the newly added contact, and the chat parameters of the newly added contact can be set according to the parameter template corresponding to the fourth contact.

可选地,所述确定所述新增联系人对应的第二目标参数模板包括:Optionally, the determining a second target parameter template corresponding to the newly added contact includes:

在存在多个第四联系人的情况下,将对应第四联系人数量最多的参数模板,确定为所述第二目标参数模板;In the case where there are multiple fourth contacts, the parameter template corresponding to the largest number of fourth contacts is determined as the second target parameter template;

在存在多个目标群组的情况下,将对应目标群组数量最多的参数模板,确定为所述第二目标参数模板。When there are multiple target groups, the parameter template corresponding to the largest number of target groups is determined as the second target parameter template.

本实施例中,在第四联系人的数量大于1的情况下,将对应第四联系人数量最多的参数模板确定为第二目标参数模板。进一步的,将新增联系人的聊天参数设置为第二目标参数模板包括的聊天参数。In this embodiment, when the number of fourth contacts is greater than 1, the parameter template corresponding to the largest number of fourth contacts is determined as the second target parameter template. Further, the chat parameters of the newly added contact are set as the chat parameters included in the second target parameter template.

在目标群组的数量大于1的情况下,将对应目标群组数量最多的参数模板确定为第二目标参数模板。进一步的,将新增联系人的聊天参数设置为第二目标参数模板包括的聊天参数。When the number of target groups is greater than 1, the parameter template corresponding to the largest number of target groups is determined as the second target parameter template. Further, the chat parameters of the newly added contact are set as the chat parameters included in the second target parameter template.

可选地,所述方法还包括:Optionally, the method further comprises:

在显示聊天参数设置界面的情况下,接收对所述M个标签选项中至少一个标签选项的第三输入;In the case of displaying the chat parameter setting interface, receiving a third input of at least one label option among the M label options;

响应于所述第三输入,将所述目标联系对象的聊天参数设置为所述至少一个标签选项对应的参数模板包括的聊天参数。In response to the third input, the chat parameter of the target contact object is set to the chat parameter included in the parameter template corresponding to the at least one label option.

上述聊天参数设置界面可以是目标联系对象的聊天参数设置界面,上述聊天参数设置界面显示有M个标签选项,且每一个标签选项与一个参数模版关联,上述参数模板包括多个预先设置的聊天参数。通过选择标签可以快速的选择标签本身,同时可以基于标签关联的参数模板对目标聊天对象的聊天参数进行设置。标签本身可以便于用户对聊天对象进行分组。The chat parameter setting interface may be a chat parameter setting interface of a target contact object. The chat parameter setting interface displays M label options, and each label option is associated with a parameter template. The parameter template includes multiple preset chat parameters. By selecting a label, the label itself can be quickly selected, and the chat parameters of the target chat object can be set based on the parameter template associated with the label. The label itself can facilitate the user to group chat objects.

本实施例中,在接收到第三输入的情况下,将目标联系对象的聊天参数设置为该第三输入对应的参数模板包括的聊天参数,其中,上述第三输入可以是触控输入,滑动输入,或者其他类型的输入,在此不做具体限定。In this embodiment, when a third input is received, the chat parameters of the target contact object are set to the chat parameters included in the parameter template corresponding to the third input, wherein the third input may be a touch input, a sliding input, or other types of input, which are not specifically limited here.

为便于理解,请参阅图6,图6示出的是目标联系对象的聊天参数设置页面,如图6所示,该页面显示有3个标签选项,每个标签选项的内容为参数模板,每个参数模板包括模板名称、通知铃声、备注、聊天背景和头像信息。这种情况下,可以接收用户对标签选项1的第三输入,将目标联系对象的聊天参数设置为参数模板名称为“家人”对应的聊天参数。For ease of understanding, please refer to FIG. 6, which shows a chat parameter setting page for a target contact object. As shown in FIG. 6, the page displays three label options, each of which contains a parameter template, and each parameter template includes a template name, a notification ringtone, a note, a chat background, and an avatar information. In this case, the user's third input for label option 1 can be received, and the chat parameters of the target contact object are set to the chat parameters corresponding to the parameter template name "family".

本实施例中,预先设置有参数模板,在显示聊天参数设置界面的情况下,通过用户对聊天参数设置界面中标签选项的第三输入,对目标联系对象的聊天参数进行设置。这样,不需要逐一对目标联系对象的聊天参数进行设置,减少了用户的操作步骤,进而提高了设置聊天参数的效率。In this embodiment, a parameter template is pre-set, and when the chat parameter setting interface is displayed, the chat parameters of the target contact object are set by the user through the third input of the label option in the chat parameter setting interface. In this way, there is no need to set the chat parameters of the target contact objects one by one, which reduces the user's operation steps and improves the efficiency of setting the chat parameters.

为便于理解整体方案,请参阅图7,如图7所示,应用本申请实施例方法的装置预先设置有自动设置开关,在该开关处于打开状态的情况下,可以对该新增联系对象自动设置聊天参数。To facilitate understanding of the overall solution, please refer to Figure 7. As shown in Figure 7, the device applying the method of the embodiment of the present application is pre-set with an automatic setting switch. When the switch is in the on state, the chat parameters can be automatically set for the newly added contact object.

在新增联系对象为联系人的情况下,通过查找用户通讯录和新增联系人的通讯录,确定是否存在共同好友,若不存在共同好友,则显示聊天参数设置界面,由用户手动设置新增联系人的聊天参数;若存在共同好友,则确定第一目标参数模板,使用第一目标参数模板,自动设置新增联系对象的聊天参数。When the newly added contact object is a contact, the user's address book and the address book of the newly added contact are searched to determine whether there are common friends. If there are no common friends, the chat parameter setting interface is displayed, and the user manually sets the chat parameters of the newly added contact. If there are common friends, the first target parameter template is determined, and the chat parameters of the newly added contact are automatically set using the first target parameter template.

在新增联系对象为群组的情况下,通过查找用户通讯录,确定群组中是否存在共同好友,即第三联系人,若不存在共同好友,则显示聊天参数设置界面,由用户手动设置新增联系对象的聊天参数;若存在共同好友,则确定第二目标参数模板,使用第二目标参数模板,自动设置新增联系对象的聊天参数。When the newly added contact object is a group, the user's address book is searched to determine whether there is a common friend in the group, that is, the third contact. If there is no common friend, the chat parameter setting interface is displayed, and the user manually sets the chat parameters of the newly added contact object. If there is a common friend, the second target parameter template is determined, and the second target parameter template is used to automatically set the chat parameters of the newly added contact object.

如图8所示,聊天参数的设置装置200包括:As shown in FIG8 , the chat parameter setting device 200 includes:

第一接收模块201,用于接收对第一联系对象和第二联系对象的第一输入;A first receiving module 201 is used to receive a first input of a first contact object and a second contact object;

设置模块202,用于响应于所述第一输入,将所述第一联系对象对应的聊天参数设置为所述第二联系对象的聊天参数。The setting module 202 is configured to set the chat parameter corresponding to the first contact object as the chat parameter of the second contact object in response to the first input.

可选地,所述聊天参数的设置装置200,还包括:Optionally, the chat parameter setting device 200 further includes:

显示模块,用于响应于所述第一输入,显示N个参数设置选项;A display module, configured to display N parameter setting options in response to the first input;

第二接收模块,用于接收对目标参数设置选项的第二输入;A second receiving module, used for receiving a second input of a target parameter setting option;

第二设置模块,用于响应于所述第二输入,将所述第二联系对象对应的目标聊天参数,设置为所述目标参数设置选项表征的聊天参数。The second setting module is used to set the target chat parameter corresponding to the second contact object to the chat parameter represented by the target parameter setting option in response to the second input.

可选地,所述聊天参数的设置装置200,还包括:Optionally, the chat parameter setting device 200 further includes:

第一确定模块,用于在显示新增联系对象界面,且所述新增联系对象界面表征的新增联系对象为群组的情况下,将所述群组中与预设联系人存在关联关系的联系人,确定为第三联系人;A first determining module is used to determine, when a new contact object interface is displayed and the new contact object represented by the new contact object interface is a group, a contact in the group that has an association relationship with the preset contact as a third contact;

第三设置模块,用于将所述新增联系对象的聊天参数,设置为所述第三联系人对应的参数模块中的聊天参数。The third setting module is used to set the chat parameters of the newly added contact object as the chat parameters in the parameter module corresponding to the third contact.

可选地,所述第三设置模块,具体用于:Optionally, the third setting module is specifically used to:

在存在多个第三联系人的情况下,将对应第三联系人数量最多的参数模板确定为第一目标参数模板;In the case where there are multiple third contacts, the parameter template corresponding to the largest number of third contacts is determined as the first target parameter template;

将所述新增联系对象的聊天参数,设置为所述第一目标参数模板包括的聊天参数。The chat parameters of the newly added contact object are set to the chat parameters included in the first target parameter template.

可选地,所述聊天参数的设置装置200,还包括:Optionally, the chat parameter setting device 200 further includes:

第二确定模块,用于在显示新增联系对象界面,且所述新增联系对象界面表征的新增联系对象为新增联系人的情况下,确定所述新增联系人对应的第二目标参数模板;A second determination module is used to determine a second target parameter template corresponding to a newly added contact when a new contact object interface is displayed and the newly added contact object represented by the new contact object interface is a newly added contact;

第四设置模块,用于将所述新增联系对象的聊天参数,设置为所述第二目标参数模板包括的聊天参数。The fourth setting module is used to set the chat parameters of the newly added contact object to the chat parameters included in the second target parameter template.

可选地,所述第二确定模块,具体用于:Optionally, the second determining module is specifically configured to:

将第四联系人对应的参数模块,确定为所述第二目标参数模板;所述第四联系人为所述新增联系人的通讯录中与预设联系人存在关联关系的联系人;或者,The parameter module corresponding to the fourth contact is determined as the second target parameter template; the fourth contact is a contact in the address book of the newly added contact who is associated with the preset contact; or,

将目标群组对应的参数模块,确定为所述第二目标参数模板;所述目标群组包括所述新增联系人和预设联系人。The parameter module corresponding to the target group is determined as the second target parameter template; the target group includes the newly added contacts and the preset contacts.

可选地,所述第二确定模块,还具体用于:Optionally, the second determining module is further specifically configured to:

在存在多个第四联系人的情况下,将对应第四联系人数量最多的参数模板,确定为所述第二目标参数模板;In the case where there are multiple fourth contacts, the parameter template corresponding to the largest number of fourth contacts is determined as the second target parameter template;

在存在多个目标群组的情况下,将对应目标群组数量最多的参数模板,确定为所述第二目标参数模板。When there are multiple target groups, the parameter template corresponding to the largest number of target groups is determined as the second target parameter template.

可选地,所述聊天参数的设置装置200,还包括:Optionally, the chat parameter setting device 200 further includes:

第三接收模块,用于在显示聊天参数设置界面的情况下,接收对所述M个标签选项中至少一个标签选项的第三输入;A third receiving module, configured to receive a third input of at least one of the M label options when the chat parameter setting interface is displayed;

第五设置模块,用于响应于所述第三输入,将所述目标联系对象的聊天参数设置为所述至少一个标签选项对应的参数模板包括的聊天参数。A fifth setting module is used to set the chat parameters of the target contact object to the chat parameters included in the parameter template corresponding to the at least one label option in response to the third input.

本申请实施例中,接收对第一联系对象和第二联系对象的第一输入;响应于第一输入,将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数。本申请实施例中,用户不需要单独对每个联系对象设置聊天参数,只需执行第一输入即可将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数,这减少了设置聊天参数的操作步骤,进而减少了设置聊天参数的时间,提高了对联系对象设置聊天参数的效率。In the embodiment of the present application, a first input to a first contact object and a second contact object is received; in response to the first input, a chat parameter corresponding to the first contact object is set as a chat parameter of the second contact object. In the embodiment of the present application, the user does not need to set the chat parameter for each contact object separately, and only needs to execute the first input to set the chat parameter corresponding to the first contact object as the chat parameter of the second contact object, which reduces the operation steps for setting the chat parameter, thereby reducing the time for setting the chat parameter and improving the efficiency of setting the chat parameter for the contact object.

本申请实施例中的聊天参数的设置装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The chat parameter setting device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

本申请实施例中的聊天参数的设置装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The chat parameter setting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

本申请实施例提供的聊天参数的设置装置能够实现图2方法实施例实现的各个过程,为避免重复,这里不再赘述。The chat parameter setting device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 2. To avoid repetition, it will not be repeated here.

可选地,如图9所示,本申请实施例还提供一种电子设备300,包括处理器301,存储器302,存储在存储器302上并可在所述处理器301上运行的程序或指令,该程序或指令被处理器301执行时实现上述聊天参数的设置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 9, an embodiment of the present application also provides an electronic device 300, including a processor 301, a memory 302, and a program or instruction stored in the memory 302 and executable on the processor 301. When the program or instruction is executed by the processor 301, each process of the above-mentioned chat parameter setting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

图10为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power source (such as a battery) for supplying power to each component, and the power source can be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The electronic device structure shown in FIG10 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.

其中,用户输入单元1007,还用于接收对第一联系对象和第二联系对象的第一输入;The user input unit 1007 is further used to receive a first input to the first contact object and the second contact object;

处理器1010,还用于响应于所述第一输入,将所述第一联系对象对应的聊天参数设置为所述第二联系对象的聊天参数。The processor 1010 is further configured to, in response to the first input, set the chat parameter corresponding to the first contact object as the chat parameter of the second contact object.

其中,显示单元1006,还用于响应于所述第一输入,显示N个参数设置选项;The display unit 1006 is further configured to display N parameter setting options in response to the first input;

用户输入单元1007,还用于接收对目标参数设置选项的第二输入;The user input unit 1007 is further used to receive a second input for a target parameter setting option;

处理器1010,还用于响应于所述第二输入,将所述第二联系对象对应的目标聊天参数,设置为所述目标参数设置选项表征的聊天参数。The processor 1010 is further configured to, in response to the second input, set the target chat parameter corresponding to the second contact object to the chat parameter represented by the target parameter setting option.

其中,处理器1010,还用于在显示新增联系对象界面,且所述新增联系对象界面表征的新增联系对象为群组的情况下,将所述群组中与预设联系人存在关联关系的联系人,确定为第三联系人;The processor 1010 is further configured to, when a new contact object interface is displayed and the new contact object represented by the new contact object interface is a group, determine a contact in the group that is associated with the preset contact as a third contact;

将所述新增联系对象的聊天参数,设置为所述第三联系人对应的参数模块中的聊天参数。The chat parameters of the newly added contact object are set as the chat parameters in the parameter module corresponding to the third contact.

其中,处理器1010,还用于在存在多个第三联系人的情况下,将对应第三联系人数量最多的参数模板确定为第一目标参数模板;The processor 1010 is further configured to, when there are multiple third contacts, determine the parameter template corresponding to the largest number of third contacts as the first target parameter template;

将所述新增联系对象的聊天参数,设置为所述第一目标参数模板包括的聊天参数。The chat parameters of the newly added contact object are set to the chat parameters included in the first target parameter template.

其中,处理器1010,还用于在显示新增联系对象界面,且所述新增联系对象界面表征的新增联系对象为新增联系人的情况下,确定所述新增联系人对应的第二目标参数模板;The processor 1010 is further configured to, when a new contact object interface is displayed and the new contact object represented by the new contact object interface is a new contact, determine a second target parameter template corresponding to the new contact;

将所述新增联系对象的聊天参数,设置为所述第二目标参数模板包括的聊天参数。The chat parameters of the newly added contact object are set as the chat parameters included in the second target parameter template.

其中,处理器1010,还用于将第四联系人对应的参数模块,确定为所述第二目标参数模板;或者,The processor 1010 is further configured to determine the parameter module corresponding to the fourth contact as the second target parameter template; or,

将目标群组对应的参数模块,确定为所述第二目标参数模板。The parameter module corresponding to the target group is determined as the second target parameter template.

其中,处理器1010,还用于在存在多个第四联系人的情况下,将对应第四联系人数量最多的参数模板,确定为所述第二目标参数模板;The processor 1010 is further configured to, when there are multiple fourth contacts, determine the parameter template corresponding to the largest number of fourth contacts as the second target parameter template;

在存在多个目标群组的情况下,将对应目标群组数量最多的参数模板,确定为所述第二目标参数模板。When there are multiple target groups, the parameter template corresponding to the largest number of target groups is determined as the second target parameter template.

其中,用户输入单元1007,还用于在显示聊天参数设置界面的情况下,接收对所述M个标签选项中至少一个标签选项的第三输入;The user input unit 1007 is further used to receive a third input of at least one of the M label options when the chat parameter setting interface is displayed;

处理器1010,还用于响应于所述第三输入,将所述目标联系对象的聊天参数设置为所述至少一个标签选项对应的参数模板包括的聊天参数。The processor 1010 is further configured to, in response to the third input, set the chat parameter of the target contact object to the chat parameter included in the parameter template corresponding to the at least one label option.

本申请实施例中,接收对第一联系对象和第二联系对象的第一输入;响应于第一输入,将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数。本申请实施例中,用户不需要单独对每个联系对象设置聊天参数,只需执行第一输入即可将第一联系对象对应的聊天参数设置为第二联系对象的聊天参数,这减少了设置聊天参数的操作步骤,进而减少了设置聊天参数的时间,提高了对联系对象设置聊天参数的效率。In the embodiment of the present application, a first input to a first contact object and a second contact object is received; in response to the first input, a chat parameter corresponding to the first contact object is set as a chat parameter of the second contact object. In the embodiment of the present application, the user does not need to set the chat parameter for each contact object separately, and only needs to execute the first input to set the chat parameter corresponding to the first contact object as the chat parameter of the second contact object, which reduces the operation steps for setting the chat parameter, thereby reducing the time for setting the chat parameter and improving the efficiency of setting the chat parameter for the contact object.

应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(GraphicsProcessing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10071。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10071 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述聊天参数的设置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned chat parameter setting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述聊天参数的设置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned chat parameter setting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods 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 method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (9)

CN202111611652.5A2021-12-272021-12-27 Chat parameter setting method, device, electronic device and storage mediumActiveCN114285814B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111611652.5ACN114285814B (en)2021-12-272021-12-27 Chat parameter setting method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111611652.5ACN114285814B (en)2021-12-272021-12-27 Chat parameter setting method, device, electronic device and storage medium

Publications (2)

Publication NumberPublication Date
CN114285814A CN114285814A (en)2022-04-05
CN114285814Btrue CN114285814B (en)2024-05-31

Family

ID=80876241

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111611652.5AActiveCN114285814B (en)2021-12-272021-12-27 Chat parameter setting method, device, electronic device and storage medium

Country Status (1)

CountryLink
CN (1)CN114285814B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103051763A (en)*2011-10-172013-04-17联想(北京)有限公司Contact photo identification generation method and electronic device
CN103207729A (en)*2013-03-292013-07-17广东欧珀移动通信有限公司Method and system for setting head portraits of contact persons in batches
CN103425649A (en)*2012-05-152013-12-04腾讯科技(深圳)有限公司Method and device for adding friend information
WO2015014310A1 (en)*2013-08-022015-02-05Tencent Technology (Shenzhen) Company LimitedMethod, apparatus, and server for displaying information
CN104407765A (en)*2013-11-222015-03-11贵阳朗玛信息技术股份有限公司Theme background replacement method and device
CN105120045A (en)*2015-09-102015-12-02陈包容Method and device for creating address book according to note information of new contact name
CN105554064A (en)*2015-12-032016-05-04小米科技有限责任公司Method and device for setting head portrait
CN105847126A (en)*2016-04-292016-08-10广州灵光信息科技有限公司Chat window background display device based on instant messaging software
CN106603793A (en)*2016-11-302017-04-26依偎科技(南昌)有限公司Method and system for batch setting of head portraits of contacts
WO2017124795A1 (en)*2016-01-192017-07-27中兴通讯股份有限公司Contact group processing method, apparatus, and mobile terminal
WO2018057272A1 (en)*2016-09-232018-03-29Apple Inc.Avatar creation and editing
CN108494938A (en)*2018-03-082018-09-04广东欧珀移动通信有限公司 Avatar information processing method, device, server and computer readable medium
WO2019037097A1 (en)*2017-08-252019-02-28深圳市大疆创新科技有限公司Interaction method, interaction device, electronic device, and computer readable storage medium
CN110572489A (en)*2019-09-092019-12-13北京安云世纪科技有限公司Method and device for creating new contact
CN110618851A (en)*2019-08-302019-12-27维沃移动通信有限公司Information operation method and mobile terminal
CN111131531A (en)*2018-11-012020-05-08腾讯科技(深圳)有限公司Method and device for generating nickname in chat group and readable storage medium
CN112702258A (en)*2020-12-212021-04-23维沃移动通信(杭州)有限公司Chat message sharing method and device and electronic equipment
CN112764633A (en)*2021-01-222021-05-07维沃移动通信有限公司Information processing method and device and electronic equipment
US11140257B1 (en)*2019-12-302021-10-05Snap Inc.Setting shared ringtone for calls between users

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103051763A (en)*2011-10-172013-04-17联想(北京)有限公司Contact photo identification generation method and electronic device
CN103425649A (en)*2012-05-152013-12-04腾讯科技(深圳)有限公司Method and device for adding friend information
CN103207729A (en)*2013-03-292013-07-17广东欧珀移动通信有限公司Method and system for setting head portraits of contact persons in batches
WO2015014310A1 (en)*2013-08-022015-02-05Tencent Technology (Shenzhen) Company LimitedMethod, apparatus, and server for displaying information
CN104407765A (en)*2013-11-222015-03-11贵阳朗玛信息技术股份有限公司Theme background replacement method and device
CN105120045A (en)*2015-09-102015-12-02陈包容Method and device for creating address book according to note information of new contact name
CN105554064A (en)*2015-12-032016-05-04小米科技有限责任公司Method and device for setting head portrait
WO2017124795A1 (en)*2016-01-192017-07-27中兴通讯股份有限公司Contact group processing method, apparatus, and mobile terminal
CN105847126A (en)*2016-04-292016-08-10广州灵光信息科技有限公司Chat window background display device based on instant messaging software
WO2018057272A1 (en)*2016-09-232018-03-29Apple Inc.Avatar creation and editing
CN106603793A (en)*2016-11-302017-04-26依偎科技(南昌)有限公司Method and system for batch setting of head portraits of contacts
WO2019037097A1 (en)*2017-08-252019-02-28深圳市大疆创新科技有限公司Interaction method, interaction device, electronic device, and computer readable storage medium
CN108494938A (en)*2018-03-082018-09-04广东欧珀移动通信有限公司 Avatar information processing method, device, server and computer readable medium
CN111131531A (en)*2018-11-012020-05-08腾讯科技(深圳)有限公司Method and device for generating nickname in chat group and readable storage medium
CN110618851A (en)*2019-08-302019-12-27维沃移动通信有限公司Information operation method and mobile terminal
CN110572489A (en)*2019-09-092019-12-13北京安云世纪科技有限公司Method and device for creating new contact
US11140257B1 (en)*2019-12-302021-10-05Snap Inc.Setting shared ringtone for calls between users
CN112702258A (en)*2020-12-212021-04-23维沃移动通信(杭州)有限公司Chat message sharing method and device and electronic equipment
CN112764633A (en)*2021-01-222021-05-07维沃移动通信有限公司Information processing method and device and electronic equipment

Also Published As

Publication numberPublication date
CN114285814A (en)2022-04-05

Similar Documents

PublicationPublication DateTitle
CN111857500B (en)Message display method and device, electronic equipment and storage medium
WO2022161431A1 (en)Display method, apparatus, and electronic device
WO2022206699A1 (en)Message transmission method and apparatus, and electronic device
WO2022089568A1 (en)File sharing method and apparatus, and electronic device
CN111884908B (en)Contact person identification display method and device and electronic equipment
WO2022156674A1 (en)Chat content processing method and apparatus, and electronic device
CN113794795B (en) Information sharing method, device, electronic device and readable storage medium
CN113127432B (en) Operation execution method, device, electronic device and medium
CN112083854A (en)Application program running method and device
CN114518923A (en)Message sending method and device and electronic equipment
CN112866092B (en) Group chat creation method and group chat creation device
CN112702261B (en)Information display method and device and electronic equipment
CN112286615B (en)Information display method and device for application program
CN113965614A (en)Session creation method and device and electronic equipment
WO2023040845A1 (en)Message transmission method and apparatus, and electronic device
CN113709306B (en) Session processing method, device and electronic device
CN113239212B (en) Information processing method, device and electronic device
CN114327088A (en)Message sending method, device, electronic equipment and medium
WO2022089481A1 (en)Information processing method and apparatus, and electronic device
US20240089223A1 (en)Information display method and apparatus, and electronic device
CN113253903A (en)Operation method and operation device
CN117055782A (en)Method, device, equipment and storage medium for displaying session list
CN114221923B (en)Message processing method and device and electronic equipment
CN114285814B (en) Chat parameter setting method, device, electronic device and storage medium
CN115328355B (en) Application function startup method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp