Movatterモバイル変換


[0]ホーム

URL:


CN115328595A - Message card generation method and device, electronic equipment and storage medium - Google Patents

Message card generation method and device, electronic equipment and storage medium
Download PDF

Info

Publication number
CN115328595A
CN115328595ACN202210922479.9ACN202210922479ACN115328595ACN 115328595 ACN115328595 ACN 115328595ACN 202210922479 ACN202210922479 ACN 202210922479ACN 115328595 ACN115328595 ACN 115328595A
Authority
CN
China
Prior art keywords
message card
area
message
template
component
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.)
Pending
Application number
CN202210922479.9A
Other languages
Chinese (zh)
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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Wuhan Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Wuhan Kingsoft Office Software 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Wuhan Kingsoft Office Software Co LtdfiledCriticalBeijing Kingsoft Office Software Inc
Priority to CN202210922479.9ApriorityCriticalpatent/CN115328595A/en
Publication of CN115328595ApublicationCriticalpatent/CN115328595A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the invention provides a message card generation method, a message card generation device, electronic equipment and a storage medium, wherein the method comprises the following steps: displaying a message card assembly in a first area of the interactive interface, and displaying a message card template in a second area of the interactive interface; responding to preset operation aiming at the message card assembly, and displaying the message card assembly in a third area of the interactive interface; and/or responding to preset operation aiming at the message card template, and displaying the message card template in a third area of the interactive interface; in the third area, a message card is generated in response to a triggering operation for the message card assembly and/or the message card template. Therefore, the message card can be generated quickly through the visual message card assembly and/or the message card template, so that the generation process of the message card is simple, the error rate can be reduced, the generation efficiency of the message card is improved, and the cost for sending the message card is reduced.

Description

Translated fromChinese
消息卡片生成方法、装置、电子设备及存储介质Method, device, electronic device and storage medium for generating message card

技术领域technical field

本发明涉及即时通讯技术领域,尤其涉及一种消息卡片生成方法、装置、电子设备及存储介质。The invention relates to the technical field of instant messaging, in particular to a method, device, electronic equipment and storage medium for generating a message card.

背景技术Background technique

消息卡片是一种集多种内容表现形式为一体,可通过交互实现复杂业务逻辑的类型的消息,因而使得消息卡片在处理审批、通知、审核等场景中发挥着重要作用。A message card is a type of message that integrates multiple content representation forms and can implement complex business logic through interaction. Therefore, message cards play an important role in processing approval, notification, review and other scenarios.

由于消息卡片是由多种内容表现形式结合在一起的消息,因此生成消息卡片的过程繁琐而复杂,出错率较高,从而导致生成消息卡片的效率低,发送消息卡片的成本较高。Since a message card is a message combined with multiple content representation forms, the process of generating a message card is cumbersome and complicated, and the error rate is high, resulting in low efficiency of generating a message card and high cost of sending a message card.

发明内容Contents of the invention

为了解决上述由于消息卡片是由多种内容表现形式结合在一起的消息,因此生成消息卡片的过程繁琐而复杂,出错率较高,从而导致生成消息卡片的效率低,发送消息卡片的成本较高的技术问题,本发明实施例提供了一种消息卡片生成方法、装置、电子设备及存储介质。具体技术方案如下:In order to solve the above problems, since the message card is a combination of multiple content forms, the process of generating the message card is cumbersome and complicated, and the error rate is high, resulting in low efficiency of generating the message card and high cost of sending the message card To solve the technical problem, an embodiment of the present invention provides a method, device, electronic device, and storage medium for generating a message card. The specific technical scheme is as follows:

在本发明实施例的第一方面,首先提供了一种消息卡片生成方法,所述方法包括:In the first aspect of the embodiments of the present invention, a method for generating a message card is firstly provided, the method comprising:

在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板;A message card component is displayed in the first area of the interactive interface, and a message card template is displayed in the second area of the interactive interface;

响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域;和/或,响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域;In response to a preset operation on the message card component, displaying the message card component in the third area of the interactive interface; and/or, in response to a preset operation on the message card template, displaying the The message card template is displayed in the third area of the interactive interface;

在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。In the third area, a message card is generated in response to a trigger operation on the message card component and/or the message card template.

在一个可选的实施方式中,所述响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域,包括:响应于针对所述消息卡片组件的预设操作,确定所述预设操作所属的操作类型;根据所述操作类型,将所述消息卡片组件显示在所述交互界面的第三区域的相应位置;In an optional implementation manner, the displaying the message card component in the third area of the interactive interface in response to the preset operation on the message card component includes: responding to the message card component The preset operation of the component determines the operation type to which the preset operation belongs; according to the operation type, the message card component is displayed at a corresponding position in the third area of the interactive interface;

和/或,and / or,

所述响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域,包括:响应于针对所述消息卡片模板的预设操作,确定所述预设操作所属的操作类型;根据所述操作类型,将所述消息卡片模板显示在所述交互界面的第三区域的相应位置。The displaying the message card template in the third area of the interactive interface in response to the preset operation on the message card template includes: in response to the preset operation on the message card template, determining the The operation type to which the operation belongs is preset; according to the operation type, the message card template is displayed at a corresponding position in the third area of the interactive interface.

在一个可选的实施方式中,所述响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片,包括:In an optional implementation manner, the generating a message card in response to a trigger operation for the message card component and/or the message card template includes:

响应于针对所述消息卡片组件的编辑操作和/或积木式搭建操作,生成消息卡片;generating a message card in response to an editing operation and/or a building block operation on the message card component;

和/或,and / or,

响应于针对所述消息卡片模板的编辑操作和/或积木式搭建操作,生成消息卡片。A message card is generated in response to an editing operation and/or a building block operation on the message card template.

在一个可选的实施方式中,所述方法还包括:In an optional embodiment, the method also includes:

在所述交互界面上响应于针对所述消息卡片的预览操作,触发目标接收对象的选择事件;triggering a selection event of a target receiving object in response to a preview operation on the message card on the interactive interface;

响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片组件;在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片组件;Determining the target receiving object in response to the selection event, searching for the message card component related to the authority of the target receiving object from the message card; displaying all the information related to the authority of the target receiving object on the interactive interface The above message card component;

和/或,and / or,

响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片模板;在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片模板。Determining the target recipient in response to the selection event, searching the message card for the message card template related to the authority of the target recipient; displaying all the information related to the authority of the target recipient on the interactive interface Message Card Template.

在一个可选的实施方式中,在所述交互界面上响应于针对所述消息卡片的预览操作,触发目标接收对象的选择事件之前,还包括:In an optional implementation manner, before triggering a selection event of a target receiving object in response to a preview operation on the message card on the interactive interface, the method further includes:

响应于针对对象的选择操作,确定不同的接收对象,其中,不同的所述接收对象用于接收所述消息卡片中不同的所述消息卡片组件和/或所述消息卡片模板;Responding to an object selection operation, determining different receiving objects, wherein different receiving objects are used to receive different message card components and/or message card templates in the message card;

响应于针对所述消息卡片中所述消息卡片组件的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的权限。In response to the permission setting operation for the message card component in the message card, set different permissions of the recipient object to the message card component in the message card, and/or, in response to the message card component The permission setting operation of the message card template in the above is to set the permission of different receiving objects to the message card template in the message card.

在一个可选的实施方式中,所述响应于针对所述消息卡片中所述消息卡片组件的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的权限,包括:In an optional implementation manner, in response to the permission setting operation on the message card component in the message card, setting different permissions of the receiving object on the message card component in the message card, And/or, in response to the permission setting operation for the message card template in the message card, setting different permissions of the receiving object on the message card template in the message card includes:

响应于针对所述消息卡片中所述消息卡片组件的可见权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的可见权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的可见权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的可见权限。In response to the visible permission setting operation for the message card component in the message card, set different visibility permissions of the receiving object for the message card component in the message card, and/or, in response to the The visible authority setting operation of the message card template in the message card is to set the visible authority of different receiving objects to the message card template in the message card.

在一个可选的实施方式中,所述方法还包括:In an optional embodiment, the method also includes:

响应于针对对象的选择操作,确定第一接收对象,所述第一接收对象用于对所述消息卡片的效果进行确认;In response to the selection operation on the object, determine a first receiving object, and the first receiving object is used to confirm the effect of the message card;

响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第一接收对象;In response to the sending operation on the message card, sending the message card to the first recipient;

在接收到所述第一接收对象返回的确认消息的情况下,响应于针对对象的选择操作,确定第二接收对象;In the case of receiving the confirmation message returned by the first receiving object, in response to an object selection operation, determine a second receiving object;

响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第二接收对象。In response to the sending operation on the message card, the message card is sent to the second receiving object.

在一个可选的实施方式中,在所述消息卡片包括交互组件的情况下,所述响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第一接收对象,包括:In an optional implementation manner, in the case where the message card includes an interactive component, the sending the message card to the first receiving object in response to the sending operation on the message card includes:

响应于针对所述交互组件中链接图标的预设操作,将所述链接图标由显示状态变更为编辑状态;changing the link icon from a display state to an edit state in response to a preset operation on the link icon in the interactive component;

在所述链接图标处于所述编辑状态的情况下,响应于链接输入操作,在所述链接图标中添加所述链接输入操作所对应的链接;When the link icon is in the editing state, in response to a link input operation, adding a link corresponding to the link input operation to the link icon;

响应于针对鼠标焦点的移出第三区域的操作,将所述链接图标由所述编辑状态变更为所述显示状态;changing the link icon from the edit state to the display state in response to the mouse focus being moved out of the third area;

响应于针对所述消息卡片的发送操作,将添加链接的所述消息卡片发送至所述第一接收对象;In response to the sending operation on the message card, sending the message card with the added link to the first receiving object;

所述响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第二接收对象,包括:The sending the message card to the second receiving object in response to the sending operation on the message card includes:

响应于针对所述消息卡片的发送操作,将添加链接的所述消息卡片发送至所述第二接收对象。In response to the sending operation on the message card, the message card with the added link is sent to the second receiving object.

在一个可选的实施方式中,在所述消息卡片包括图片组件的情况下,所述响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第一接收对象,包括:In an optional implementation manner, when the message card includes a picture component, the sending the message card to the first receiving object in response to the sending operation on the message card includes:

响应于针对所述图片组件中图片图标的预设操作,弹出本地图片对话框;Popping up a local picture dialog box in response to a preset operation on the picture icon in the picture component;

响应于针对所述对话框中本地图片的选择操作,将所述本地图片填充至所述图片组件;Filling the local picture into the picture component in response to a selection operation on the local picture in the dialog box;

响应于针对智能制图插件的预设操作,调用所述智能制图插件对所述本地图片进行美化;In response to the preset operation for the smart mapping plug-in, calling the smart mapping plug-in to beautify the local picture;

响应于针对所述消息卡片的发送操作,将填充所述本地图片且经过美化的所述消息卡片发送至所述第一接收对象;In response to the sending operation on the message card, sending the beautified message card filled with the local picture to the first recipient;

所述响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第二接收对象,包括:The sending the message card to the second receiving object in response to the sending operation on the message card includes:

响应于针对所述消息卡片的发送操作,将填充所述本地图片且经过美化的所述消息卡片发送至所述第二接收对象。In response to the sending operation on the message card, the beautified message card filled with the local picture is sent to the second recipient.

在一个可选的实施方式中,所述在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板,包括:In an optional implementation manner, the displaying a message card component in the first area of the interactive interface, and displaying a message card template in the second area of the interactive interface include:

确定当前的业务场景,查找所述业务场景中使用情况满足预设条件的第一消息卡片组件和第一消息卡片模板;Determine the current business scenario, and search for the first message card component and the first message card template whose usage in the business scenario satisfies the preset condition;

在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件;Displaying the first message card component in a marked manner in the first area of the interactive interface, and displaying the remaining second message card components in a non-marked manner;

在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。The first message card template is displayed in a marked manner in the second area of the interactive interface, and the remaining second message card templates are displayed in a non-marked manner.

在一个可选的实施方式中,所述方法还包括:In an optional embodiment, the method also includes:

确定所述消息卡片中所述消息卡片组件和/或所述消息卡片模板的权限设置情况;determining the permission settings of the message card component and/or the message card template in the message card;

在所述第一区域显示所述消息卡片组件的所述权限设置情况,和/或,在所述第二区域显示所述消息卡片模板的所述权限设置情况。The permission setting of the message card component is displayed in the first area, and/or the permission setting of the message card template is displayed in the second area.

在一个可选的实施方式中,所述在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板,包括:In an optional implementation manner, the displaying a message card component in the first area of the interactive interface, and displaying a message card template in the second area of the interactive interface include:

确定当前的业务场景,统计所述业务场景中消息卡片组件的组件使用情况以及消息卡片模板的模板使用情况;Determine the current business scenario, and count the component usage of the message card component and the template usage of the message card template in the business scenario;

根据所述组件使用情况,对所述消息卡片组件进行排序,以及根据所述模板使用情况,对所述消息卡片模板进行排序;sorting the message card components according to the usage of the components, and sorting the message card templates according to the usage of the templates;

在交互界面的第一区域,根据所述消息卡片组件的排序情况,显示所述消息卡片组件;In the first area of the interactive interface, display the message card components according to the ordering of the message card components;

在所述交互界面的第二区域,根据所述消息卡片模板的排序情况,显示所述消息卡片模板。In the second area of the interactive interface, the message card templates are displayed according to the ordering of the message card templates.

在一个可选的实施方式中,所述在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板,包括:In an optional implementation manner, the displaying a message card component in the first area of the interactive interface, and displaying a message card template in the second area of the interactive interface include:

获取消息卡片发送对象或者接收对象的对象画像,根据所述对象画像,对消息卡片组件以及消息卡片模板进行排序;Obtain the object portrait of the message card sending object or receiving object, and sort the message card components and message card templates according to the object portrait;

在交互界面的第一区域,根据所述消息卡片组件的排序情况,显示所述消息卡片组件,前N名的所述消息卡片组件通过标记方式进行显示,所述N包括正整数;In the first area of the interactive interface, the message card components are displayed according to the ordering of the message card components, and the top N message card components are displayed by marking, and the N includes positive integers;

在所述交互界面的第二区域,根据所述消息卡片模板的排序情况,显示所述消息卡片模板,前M名的所述消息卡片模板通过标记方式进行显示,所述M包括正整数。In the second area of the interactive interface, the message card templates are displayed according to the ordering of the message card templates, and the top M message card templates are displayed by marking, and the M includes a positive integer.

在一个可选的实施方式中,所述在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板,包括:In an optional implementation manner, the displaying a message card component in the first area of the interactive interface, and displaying a message card template in the second area of the interactive interface include:

确定当前的业务场景,查找与所述业务场景相关的第一消息卡片组件以及第一消息卡片模板;Determine the current business scenario, and search for a first message card component and a first message card template related to the business scenario;

在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件;Displaying the first message card component in a marked manner in the first area of the interactive interface, and displaying the remaining second message card components in a non-marked manner;

在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。The first message card template is displayed in a marked manner in the second area of the interactive interface, and the remaining second message card templates are displayed in a non-marked manner.

在一个可选的实施方式中,所述响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域,包括:In an optional implementation manner, the displaying the message card component in the third area of the interactive interface in response to the preset operation on the message card component includes:

响应于针对所述消息卡片组件的预设操作,统计鼠标焦点在所述消息卡片组件的组件停留时间;In response to the preset operation on the message card component, count the dwell time of the mouse focus on the message card component;

若所述组件停留时间超过预设阈值,则将所述消息卡片组件显示在所述交互界面的第三区域;If the dwell time of the component exceeds a preset threshold, displaying the message card component in a third area of the interactive interface;

和/或,and / or,

所述响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域,包括:The displaying the message card template in the third area of the interactive interface in response to the preset operation on the message card template includes:

响应于针对所述消息卡片模板的预设操作,统计鼠标焦点在所述消息卡片模板的模板停留时间;Responding to the preset operation on the message card template, counting the stay time of the mouse focus on the message card template;

若所述模板停留时间超过预设阈值,则将所述消息卡片模板显示在所述交互界面的第三区域。If the stay time of the template exceeds the preset threshold, the message card template is displayed in the third area of the interactive interface.

在一个可选的实施方式中,所述方法还包括:In an optional embodiment, the method also includes:

若所述组件停留时间未超过预设阈值,则禁止将所述消息卡片组件显示在所述交互界面的第三区域;If the dwell time of the component does not exceed the preset threshold, prohibiting the display of the message card component in the third area of the interactive interface;

和/或,and / or,

若所述模板停留时间未超过预设阈值,则禁止将所述消息卡片模板显示在所述交互界面的第三区域。If the stay time of the template does not exceed the preset threshold, the message card template is prohibited from being displayed in the third area of the interactive interface.

在本发明实施例的第二方面,还提供了一种消息卡片生成装置,所述装置包括:In the second aspect of the embodiments of the present invention, a device for generating a message card is also provided, and the device includes:

第一显示模块,用于在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板;The first display module is used to display the message card component in the first area of the interactive interface, and display the message card template in the second area of the interactive interface;

第二显示模块,用于响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域;A second display module, configured to display the message card component in a third area of the interactive interface in response to a preset operation on the message card component;

和/或,and / or,

第三显示模块,用于响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域;A third display module, configured to display the message card template in a third area of the interactive interface in response to a preset operation on the message card template;

消息卡片生成模块,用于在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。The message card generating module is configured to generate a message card in the third area in response to a trigger operation on the message card component and/or the message card template.

在一个可选的实施方式中,所述第二显示模块具体用于:响应于针对所述消息卡片组件的预设操作,确定所述预设操作所属的操作类型;根据所述操作类型,将所述消息卡片组件显示在所述交互界面的第三区域的相应位置;In an optional implementation manner, the second display module is specifically configured to: in response to a preset operation on the message card component, determine the operation type to which the preset operation belongs; The message card component is displayed at a corresponding position in the third area of the interactive interface;

和/或,and / or,

所述第三显示模块具体用于:响应于针对所述消息卡片模板的预设操作,确定所述预设操作所属的操作类型;根据所述操作类型,将所述消息卡片模板显示在所述交互界面的第三区域的相应位置。The third display module is specifically configured to: in response to a preset operation on the message card template, determine the operation type to which the preset operation belongs; according to the operation type, display the message card template on the The corresponding position of the third area of the interactive interface.

在一个可选的实施方式中,所述消息卡片生成模块具体用于:In an optional implementation manner, the message card generating module is specifically used for:

响应于针对所述消息卡片组件的编辑操作和/或积木式搭建操作,生成消息卡片;generating a message card in response to an editing operation and/or a building block operation on the message card component;

和/或,and / or,

响应于针对所述消息卡片模板的编辑操作和/或积木式搭建操作,生成消息卡片。A message card is generated in response to an editing operation and/or a building block operation on the message card template.

在一个可选的实施方式中,所述装置还包括:In an optional embodiment, the device also includes:

消息卡片预览模块,用于在所述交互界面上响应于针对所述消息卡片的预览操作,触发目标接收对象的选择事件;响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片组件;在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片组件;和/或,响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片模板;在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片模板。A message card preview module, configured to trigger a selection event of a target receiving object in response to a preview operation on the message card on the interactive interface; determine a target receiving object in response to the selection event, and search for a target receiving object from the message card The message card component related to the authority of the target receiving object; displaying the message card component related to the authority of the target receiving object on the interactive interface; and/or, in response to the selection event, determine that the target receives object, searching the message card for the message card template related to the authority of the target receiving object; and displaying the message card template related to the authority of the target receiving object on the interactive interface.

在一个可选的实施方式中,所述装置还包括:In an optional embodiment, the device also includes:

对象确定模块,用于响应于针对对象的选择操作,确定不同的接收对象,其中,不同的所述接收对象用于接收所述消息卡片中不同的所述消息卡片组件和/或所述消息卡片模板;An object determining module, configured to determine different receiving objects in response to an object selection operation, wherein different receiving objects are used to receive different message card components and/or message cards in the message card template;

权限设置模块,用于响应于针对所述消息卡片中所述消息卡片组件的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的权限。A permission setting module, configured to set different permissions of the receiving object on the message card component in the message card in response to the permission setting operation for the message card component in the message card, and/or respond For the permission setting operation of the message card template in the message card, different permissions of the receiving object to the message card template in the message card are set.

在一个可选的实施方式中,所述权限设置模块具体用于:In an optional implementation manner, the authority setting module is specifically used for:

响应于针对所述消息卡片中所述消息卡片组件的可见权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的可见权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的可见权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的可见权限。In response to the visible permission setting operation for the message card component in the message card, set different visibility permissions of the receiving object for the message card component in the message card, and/or, in response to the The visible authority setting operation of the message card template in the message card is to set the visible authority of different receiving objects to the message card template in the message card.

在一个可选的实施方式中,所述装置还包括:In an optional embodiment, the device also includes:

第一接收对象确定模块,用于响应于针对对象的选择操作,确定第一接收对象,所述第一接收对象用于对所述消息卡片的效果进行确认;The first receiving object determination module is configured to determine a first receiving object in response to an object selection operation, and the first receiving object is used to confirm the effect of the message card;

消息卡片第一发送模块,用于响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第一接收对象;The first message card sending module is configured to send the message card to the first receiving object in response to the sending operation on the message card;

第二接收对象确定模块,用于在接收到所述第一接收对象返回的确认消息的情况下,响应于针对对象的选择操作,确定第二接收对象;The second receiving object determining module is configured to determine the second receiving object in response to the selection operation on the object when receiving the confirmation message returned by the first receiving object;

消息卡片第二发送模块,用于响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第二接收对象。The second message card sending module is configured to send the message card to the second receiving object in response to the sending operation on the message card.

在一个可选的实施方式中,在所述消息卡片包括交互组件的情况下,所述消息卡片第一发送模块具体用于:In an optional implementation manner, when the message card includes an interactive component, the first sending module of the message card is specifically configured to:

响应于针对所述交互组件中链接图标的预设操作,将所述链接图标由显示状态变更为编辑状态;changing the link icon from a display state to an edit state in response to a preset operation on the link icon in the interactive component;

在所述链接图标处于所述编辑状态的情况下,响应于链接输入操作,在所述链接图标中添加所述链接输入操作所对应的链接;When the link icon is in the editing state, in response to a link input operation, adding a link corresponding to the link input operation to the link icon;

响应于针对鼠标焦点的移出第三区域的操作,将所述链接图标由所述编辑状态变更为所述显示状态;changing the link icon from the edit state to the display state in response to the mouse focus being moved out of the third area;

响应于针对所述消息卡片的发送操作,将添加链接的所述消息卡片发送至所述第一接收对象;In response to the sending operation on the message card, sending the message card with the added link to the first receiving object;

所述消息卡片第二发送模块具体用于:The second sending module of the message card is specifically used for:

响应于针对所述消息卡片的发送操作,将添加链接的所述消息卡片发送至所述第二接收对象。In response to the sending operation on the message card, the message card with the added link is sent to the second receiving object.

在一个可选的实施方式中,在所述消息卡片包括图片组件的情况下,所述消息卡片第一发送模块具体用于:In an optional implementation manner, when the message card includes a picture component, the first sending module of the message card is specifically configured to:

响应于针对所述图片组件中图片图标的预设操作,弹出本地图片对话框;Popping up a local picture dialog box in response to a preset operation on the picture icon in the picture component;

响应于针对所述对话框中本地图片的选择操作,将所述本地图片填充至所述图片组件;Filling the local picture into the picture component in response to a selection operation on the local picture in the dialog box;

响应于针对智能制图插件的预设操作,调用所述智能制图插件对所述本地图片进行美化;In response to the preset operation for the smart mapping plug-in, calling the smart mapping plug-in to beautify the local picture;

响应于针对所述消息卡片的发送操作,将填充所述本地图片且经过美化的所述消息卡片发送至所述第一接收对象;In response to the sending operation on the message card, sending the beautified message card filled with the local picture to the first recipient;

所述消息卡片第二发送模块具体用于:The second sending module of the message card is specifically used for:

响应于针对所述消息卡片的发送操作,将填充所述本地图片且经过美化的所述消息卡片发送至所述第二接收对象。In response to the sending operation on the message card, the beautified message card filled with the local picture is sent to the second recipient.

在一个可选的实施方式中,所述第一显示模块具体用于:In an optional implementation manner, the first display module is specifically used for:

确定当前的业务场景,查找所述业务场景中使用情况满足预设条件的第一消息卡片组件和第一消息卡片模板;Determine the current business scenario, and search for the first message card component and the first message card template whose usage in the business scenario satisfies the preset condition;

在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件;Displaying the first message card component in a marked manner in the first area of the interactive interface, and displaying the remaining second message card components in a non-marked manner;

在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。The first message card template is displayed in a marked manner in the second area of the interactive interface, and the remaining second message card templates are displayed in a non-marked manner.

在一个可选的实施方式中,所述装置还包括:In an optional embodiment, the device also includes:

权限设置情况显示模块,用于确定所述消息卡片中所述消息卡片组件和/或所述消息卡片模板的权限设置情况;在所述第一区域显示所述消息卡片组件的所述权限设置情况,和/或,在所述第二区域显示所述消息卡片模板的所述权限设置情况。A permission setting display module, configured to determine the permission setting of the message card component and/or the message card template in the message card; display the permission setting of the message card component in the first area , and/or, displaying the permission setting status of the message card template in the second area.

在一个可选的实施方式中,所述第一显示模块具体用于:In an optional implementation manner, the first display module is specifically used for:

确定当前的业务场景,统计所述业务场景中消息卡片组件的组件使用情况以及消息卡片模板的模板使用情况;Determine the current business scenario, and count the component usage of the message card component and the template usage of the message card template in the business scenario;

根据所述组件使用情况,对所述消息卡片组件进行排序,以及根据所述模板使用情况,对所述消息卡片模板进行排序;sorting the message card components according to the usage of the components, and sorting the message card templates according to the usage of the templates;

在交互界面的第一区域,根据所述消息卡片组件的排序情况,显示所述消息卡片组件;In the first area of the interactive interface, display the message card components according to the ordering of the message card components;

在所述交互界面的第二区域,根据所述消息卡片模板的排序情况,显示所述消息卡片模板。In the second area of the interactive interface, the message card templates are displayed according to the ordering of the message card templates.

在一个可选的实施方式中,所述第一显示模块具体用于:In an optional implementation manner, the first display module is specifically used for:

获取消息卡片发送对象或者接收对象的对象画像,根据所述对象画像,对消息卡片组件以及消息卡片模板进行排序;Obtain the object portrait of the message card sending object or receiving object, and sort the message card components and message card templates according to the object portrait;

在交互界面的第一区域,根据所述消息卡片组件的排序情况,显示所述消息卡片组件,前N名的所述消息卡片组件通过标记方式进行显示,所述N包括正整数;In the first area of the interactive interface, the message card components are displayed according to the ordering of the message card components, and the top N message card components are displayed by marking, and the N includes positive integers;

在所述交互界面的第二区域,根据所述消息卡片模板的排序情况,显示所述消息卡片模板,前M名的所述消息卡片模板通过标记方式进行显示,所述M包括正整数。In the second area of the interactive interface, the message card templates are displayed according to the ordering of the message card templates, and the top M message card templates are displayed by marking, and the M includes a positive integer.

在一个可选的实施方式中,所述第一显示模块具体用于:In an optional implementation manner, the first display module is specifically used for:

确定当前的业务场景,查找与所述业务场景相关的第一消息卡片组件以及第一消息卡片模板;Determine the current business scenario, and search for a first message card component and a first message card template related to the business scenario;

在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件;Displaying the first message card component in a marked manner in the first area of the interactive interface, and displaying the remaining second message card components in a non-marked manner;

在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。The first message card template is displayed in a marked manner in the second area of the interactive interface, and the remaining second message card templates are displayed in a non-marked manner.

在一个可选的实施方式中,所述第二显示模块具体用于:In an optional implementation manner, the second display module is specifically used for:

响应于针对所述消息卡片组件的预设操作,统计鼠标焦点在所述消息卡片组件的组件停留时间;In response to the preset operation on the message card component, count the dwell time of the mouse focus on the message card component;

若所述组件停留时间超过预设阈值,则将所述消息卡片组件显示在所述交互界面的第三区域;If the dwell time of the component exceeds a preset threshold, displaying the message card component in a third area of the interactive interface;

和/或,and / or,

所述第三显示模块具体用于:The third display module is specifically used for:

响应于针对所述消息卡片模板的预设操作,统计鼠标焦点在所述消息卡片模板的模板停留时间;Responding to the preset operation on the message card template, counting the stay time of the mouse focus on the message card template;

若所述模板停留时间超过预设阈值,则将所述消息卡片模板显示在所述交互界面的第三区域。If the stay time of the template exceeds the preset threshold, the message card template is displayed in the third area of the interactive interface.

在一个可选的实施方式中,所述第二显示模块还用于:In an optional implementation manner, the second display module is also used for:

若所述组件停留时间未超过预设阈值,则禁止将所述消息卡片组件显示在所述交互界面的第三区域;If the dwell time of the component does not exceed the preset threshold, prohibiting the display of the message card component in the third area of the interactive interface;

和/或,and / or,

所述第三显示模块还用于:The third display module is also used for:

若所述模板停留时间未超过预设阈值,则禁止将所述消息卡片模板显示在所述交互界面的第三区域。If the stay time of the template does not exceed the preset threshold, the message card template is prohibited from being displayed in the third area of the interactive interface.

在本发明实施例的第三方面,还提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In the third aspect of the embodiments of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;

存储器,用于存放计算机程序;memory for storing computer programs;

处理器,用于执行存储器上所存放的程序时,实现上述第一方面中任一所述的消息卡片生成方法。The processor is configured to implement the message card generation method described in any one of the above first aspects when executing the program stored in the memory.

在本发明实施例的第四方面,还提供了一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面中任一所述的消息卡片生成方法。In the fourth aspect of the embodiments of the present invention, a storage medium is also provided, and instructions are stored in the storage medium, and when it is run on a computer, the computer executes the message card described in any one of the above-mentioned first aspects. generate method.

在本发明实施例的第五方面,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的消息卡片生成方法。In the fifth aspect of the embodiments of the present invention, there is also provided a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the methods for generating a message card described above.

本发明实施例提供的技术方案,在交互界面的第一区域显示消息卡片组件,在交互界面的第二区域显示消息卡片模板,响应于针对消息卡片组件的预设操作,将消息卡片组件显示在交互界面的第三区域,和/或,响应于针对消息卡片模板的预设操作,将消息卡片模板显示在交互界面的第三区域,在第三区域,响应于针对消息卡片组件和/或消息卡片模板的触发操作,生成消息卡片。如此通过可视化的消息卡片组件和/或消息卡片模板,可以快速生成消息卡片,使得消息卡片的生成过程较为简洁,可以降低出错率,从而提高了消息卡片的生成效率,降低了发送消息卡片的成本。In the technical solution provided by the embodiment of the present invention, the message card component is displayed in the first area of the interactive interface, the message card template is displayed in the second area of the interactive interface, and the message card component is displayed in response to the preset operation for the message card component. The third area of the interactive interface, and/or, in response to the preset operation for the message card template, the message card template is displayed in the third area of the interactive interface, in the third area, in response to the message card component and/or message The trigger action of the card template generates a message card. In this way, through the visual message card component and/or message card template, the message card can be quickly generated, which makes the generation process of the message card more concise and can reduce the error rate, thereby improving the generation efficiency of the message card and reducing the cost of sending the message card .

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.

图1为本发明实施例中示出的一种消息卡片生成方法的实施流程示意图;FIG. 1 is a schematic diagram of the implementation flow of a method for generating a message card shown in an embodiment of the present invention;

图2为本发明实施例中示出的一种交互界面中组件区、模板区、编辑区的分布示意图;Fig. 2 is a schematic distribution diagram of a component area, a template area, and an editing area in an interactive interface shown in an embodiment of the present invention;

图3为本发明实施例中示出的另一种交互界面中组件区、模板区、编辑区的分布示意图;Fig. 3 is a schematic diagram of the distribution of the component area, the template area, and the editing area in another interactive interface shown in the embodiment of the present invention;

图4为本发明实施例中示出的一种交互界面中编辑区显示单列文本的示意图;Fig. 4 is a schematic diagram of displaying a single column of text in an editing area in an interactive interface shown in an embodiment of the present invention;

图5为本发明实施例中示出的一种交互界面中编辑区显示群公告卡片的示意图;5 is a schematic diagram of a group announcement card displayed in an editing area in an interactive interface shown in an embodiment of the present invention;

图6为本发明实施例中示出的一种交互界面中编辑区对单列文本进行编辑的示意图;6 is a schematic diagram of editing a single column of text in an editing area in an interactive interface shown in an embodiment of the present invention;

图7为本发明实施例中示出的一种交互界面中编辑区对群公告卡片进行编辑的示意图;Fig. 7 is a schematic diagram of editing a group announcement card in an editing area in an interactive interface shown in an embodiment of the present invention;

图8为本发明实施例中示出的另一种消息卡片生成方法的实施流程示意图;FIG. 8 is a schematic diagram of the implementation flow of another method for generating a message card shown in the embodiment of the present invention;

图9为本发明实施例中示出的一种显示方式调整方法的实施流程示意图;FIG. 9 is a schematic flow diagram of a method for adjusting a display mode shown in an embodiment of the present invention;

图10为本发明实施例中示出的另一种显示方式调整方法的实施流程示意图;FIG. 10 is a schematic flow diagram of another method for adjusting a display mode shown in an embodiment of the present invention;

图11为本发明实施例中示出的另一种显示方式调整方法的实施流程示意图;Fig. 11 is a schematic diagram of the implementation flow of another method for adjusting the display mode shown in the embodiment of the present invention;

图12为本发明实施例中示出的另一种显示方式调整方法的实施流程示意图;Fig. 12 is a schematic flow diagram of another display mode adjustment method shown in the embodiment of the present invention;

图13为本发明实施例中示出的一种消息卡片预览方法的实施流程示意图;Fig. 13 is a schematic diagram of the implementation flow of a message card preview method shown in the embodiment of the present invention;

图14为本发明实施例中示出的一种权限设置情况显示的示意图;Fig. 14 is a schematic diagram showing a permission setting situation shown in the embodiment of the present invention;

图15为本发明实施例中示出的一种消息卡片生成装置的结构示意图;Fig. 15 is a schematic structural diagram of a message card generation device shown in an embodiment of the present invention;

图16为本发明实施例中示出的一种电子设备的结构示意图。Fig. 16 is a schematic structural diagram of an electronic device shown in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

如图1所示,为本发明实施例提供的一种消息卡片生成方法的实施流程示意图,该方法应用于电子设备,具体可以包括以下步骤:As shown in FIG. 1 , it is a schematic diagram of the implementation flow of a method for generating a message card provided by an embodiment of the present invention. The method is applied to an electronic device, and may specifically include the following steps:

S101,在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板。S101. Display a message card component in a first area of an interactive interface, and display a message card template in a second area of the interactive interface.

在本发明实施例中,提供一种搭建积木型消息卡片的平台,在其交互界面的第一区域显示消息卡片组件,其中,消息卡片组件有多种内容表现样式,包括但不限于单列文本、双列文本、图文、轮播图、视频、分割线、按钮等,可用于搭建不同样式的消息卡片。其中,这里的第一区域也可以称之为组件区。In an embodiment of the present invention, a platform for building block-type message cards is provided, and a message card component is displayed in the first area of its interactive interface, wherein the message card component has a variety of content presentation styles, including but not limited to single-column text, Double-column text, graphics, carousel images, videos, dividing lines, buttons, etc., can be used to build different styles of message cards. Wherein, the first area here may also be referred to as a component area.

此外,在交互界面的第二区域显示消息卡片模板,消息卡片模板可以适用于多种业务场景,包括但不限于投票卡片、日程卡片、群公告卡片、待办卡片、文档卡片等消息卡片模板。其中,这里的第二区域也可以称之为模板区。In addition, message card templates are displayed in the second area of the interactive interface. Message card templates can be applied to various business scenarios, including but not limited to voting cards, schedule cards, group announcement cards, to-do cards, document cards and other message card templates. Wherein, the second region here may also be called a template region.

需要说明的是,对于第一区域与第二区域,即组件区与模板区,两者占用的交互界面区域可以不同,如图2所示,当然两者占用的交互界面区域可以相同,其中可以通过相应菜单来实现组件区与模板区的切换,如图3所示,本发明实施例对此不作限定。It should be noted that, for the first area and the second area, that is, the component area and the template area, the interactive interface areas occupied by the two may be different, as shown in Figure 2, of course, the interactive interface areas occupied by the two may be the same, which can Switching between the component area and the template area is realized through corresponding menus, as shown in FIG. 3 , which is not limited in this embodiment of the present invention.

S102,响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域。S102. Display the message card component in a third area of the interactive interface in response to a preset operation on the message card component.

在本发明实施例中,对于交互界面第一区域中显示的消息卡片组件,用户可以针对消息卡片进行相应的预设操作,例如点击操作或者拖拽操作等,从而可以响应于用户针对消息卡片组件的预设操作,将消息卡片组件显示在交互界面的第三区域。其中,这里的第三区域也可以称之为编辑区。In the embodiment of the present invention, for the message card component displayed in the first area of the interactive interface, the user can perform corresponding preset operations on the message card, such as clicking or dragging, so that the user can respond to the message card component The preset operation of will display the message card component in the third area of the interface. Wherein, the third area here may also be called an editing area.

例如,对于交互界面组件区中显示的消息卡片组件:单列文本(“这是一段文本”),用户可以对单列文本(“这是一段文本”)进行相应的点击操作,从而可以响应于用户针对单列文本(“这是一段文本”)的点击操作,将单列文本(“这是一段文本”)显示在编辑区,如图4所示。For example, for the message card component displayed in the interactive interface component area: single-column text ("This is a piece of text"), the user can perform a corresponding click operation on the single-column text ("This is a piece of text"), so that the user can respond to the The single-column text (“this is a piece of text”) is clicked to display the single-column text (“this is a piece of text”) in the editing area, as shown in FIG. 4 .

S103,和/或,响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域。S103, and/or, in response to a preset operation on the message card template, display the message card template in a third area of the interactive interface.

在本发明实施例中,对于交互界面第二区域中显示的消息卡片模板,用户可以针对消息卡片模板进行相应的预设操作,例如点击操作或者拖拽操作等,从而可以响应于用户针对消息卡片模板的预设操作,将消息卡片模板显示在交互界面的第三区域。In the embodiment of the present invention, for the message card template displayed in the second area of the interactive interface, the user can perform a corresponding preset operation on the message card template, such as a click operation or a drag operation, so that the user can respond to the message card template The preset operation of the template displays the message card template in the third area of the interactive interface.

例如,对于交互界面中模板区显示的消息卡片模板:群公告卡片(“@所有人”),用户可以针对群公告卡片(“@所有人”)进行相应的点击操作,从而可以响应于用户针对群公告卡片(“@所有人”)进行相应的点击操作,将群公告卡片(“@所有人”)显示在编辑区,如图5所示。For example, for the message card template displayed in the template area of the interactive interface: group announcement card (“@everyone”), the user can click on the group announcement card (“@everyone”) to respond to the user’s Click on the group announcement card (“@everyone”) to display the group announcement card (“@everyone”) in the editing area, as shown in FIG. 5 .

需要说明的是,上述步骤S102与S103的关系是和/或关系,意味着对于交互界面第一区域中显示的消息卡片组件、交互界面第二区域中显示的消息卡片模板,用户可以仅仅针对消息卡片组件进行相应的预设操作,或者用户可以仅仅针对消息卡片模板进行相应的预设操作,或者针对消息卡片组件与消息卡片模板均进行相应的预设操作,可以根据实际需求而定,本发明实施例对此不作限定。It should be noted that the relationship between the above steps S102 and S103 is an and/or relationship, which means that for the message card component displayed in the first area of the interactive interface and the message card template displayed in the second area of the interactive interface, the user can only target the message The card component performs corresponding preset operations, or the user can only perform corresponding preset operations on the message card template, or perform corresponding preset operations on both the message card component and the message card template, which can be determined according to actual needs. The present invention The embodiment does not limit this.

S104,在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。S104. In the third area, generate a message card in response to a trigger operation on the message card component and/or the message card template.

在本发明实施例中,对于交互界面中第三区域显示的消息卡片组件和/或消息卡片模板,用户可以在交互界面第三区域针对消息卡片组件和/或消息卡片模板进行相应的触发操作,从而可以响应于用户针对消息卡片组件和/或消息卡片模板的触发操作,生成消息卡片,触发操作在第三区域执行。这里的生成包括但不限于编辑消息卡片组件和/或消息卡片模板的内容,输入用户所要的信息。In the embodiment of the present invention, for the message card component and/or message card template displayed in the third area of the interactive interface, the user can perform a corresponding trigger operation on the message card component and/or message card template in the third area of the interactive interface, Therefore, a message card can be generated in response to a user's trigger operation on the message card component and/or the message card template, and the trigger operation is performed in the third area. The generation here includes but is not limited to editing the content of the message card component and/or the message card template, and inputting the information required by the user.

其中,对于触发操作,一般可以包括编辑操作和/或积木式搭建操作(即无代码显示的积木搭建方式,意味着没有代码显示,可以向搭建积木一样,对消息卡片组件和/或消息卡片模板执行相应的搭建操作),从而对于交互界面中第三区域显示的消息卡片组件,用户可以在交互界面第三区域针对消息卡片组件进行相应的编辑操作和/或积木式搭建操作,从而可以响应于用户针对消息卡片组件的编辑操作和/或积木式搭建操作,生成消息卡片,和/或,对于交互界面中第三区域显示的消息卡片模板,用户可以在交互界面第三区域针对消息卡片模板进行相应的编辑操作和/或积木式搭建操作,从而可以响应于用户针对消息卡片模板的编辑操作和/或积木式搭建操作,生成消息卡片。Among them, for the trigger operation, it can generally include editing operation and/or building block building operation (that is, the building block building method without code display means that there is no code display, and it can be the same as building blocks, and the message card component and/or message card template Execute the corresponding building operation), so that for the message card component displayed in the third area of the interactive interface, the user can perform corresponding editing operations and/or building block building operations on the message card component in the third area of the interactive interface, so that the user can respond to The user generates a message card based on the editing operation and/or building block operation of the message card component, and/or, for the message card template displayed in the third area of the interactive interface, the user can perform the message card template in the third area of the interactive interface. Corresponding editing operations and/or building block building operations, so that a message card can be generated in response to the user's editing operations and/or building block building operations on the message card template.

例如,对于交互界面中编辑区显示的消息卡片组件:单列文本(“这是一段文本”),用户可以在交互界面编辑区针对单列文本(“这是一段文本”)进行编辑操作,以更改单列文本(“这是一段文本”)中的内容,例如更改内容为“周会于下午2:00开始”,从而可以响应于用户针对单列文本(“这是一段文本”)的编辑操作,生成消息卡片,如图6所示。For example, for the message card component displayed in the editing area of the interactive interface: single-column text ("This is a piece of text"), the user can edit the single-column text ("This is a piece of text") in the editing area of the interactive interface to change the single-column Content in the text ("This is a piece of text"), e.g. changing the content to "Weekly meeting starts at 2:00 pm", so that a message can be generated in response to a user editing action on a single column of text ("This is a piece of text") card, as shown in Figure 6.

又例如,对于交互界面中编辑区显示的消息卡片模板:群公告卡片(“@所有人”),用户可以在交互界面编辑区针对群公告卡片(“@所有人”)进行编辑操作,以更改群公告卡片(“@所有人”)中的内容,例如更改内容为“@所有人,周会于下午2:00开始”,从而可以响应于用户针对群公告卡片(“@所有人”)的编辑操作,生成消息卡片,如图7所示。For another example, for the message card template displayed in the editing area of the interactive interface: group announcement card (“@everyone”), users can edit the group announcement card (“@everyone”) in the editing area of the interactive interface to change The content in the group announcement card ("@everyone"), for example, change the content to "@everyone, the weekly meeting starts at 2:00 pm", so as to respond to the user's response to the group announcement card ("@everyone") Edit operation to generate a message card, as shown in Figure 7.

又例如,对于交互界面中编辑区显示的消息卡片组件:标题、图片、单列文本、按钮,用户可以在交互界面编辑区针对前述消息卡片组件以搭积木的方式进行相应的搭建操作,从而可以响应于用户针对前述消息卡片组件的搭建操作,生成消息卡片。For another example, for the message card components displayed in the editing area of the interactive interface: title, picture, single-column text, and buttons, the user can perform corresponding building operations on the aforementioned message card components in the editing area of the interactive interface by building blocks, so that they can respond Generate a message card based on the user's construction operation for the aforementioned message card component.

又例如,对于交互界面中编辑区显示的消息卡片组件:按钮,消息卡片模板:待办卡片,用户可以在交互界面编辑区针对按钮以及待办卡片以搭积木的方式进行相应的搭建操作,例如将按钮搭建在待办卡片的下方,从而可以响应于用户针对按钮以及待办卡片的搭建操作,生成消息卡片。For another example, for the message card component displayed in the editing area of the interactive interface: button, and the message card template: to-do card, the user can build the button and the to-do card in the interactive interface editing area by building blocks, for example The button is built under the to-do card, so that a message card can be generated in response to the user's building operation on the button and the to-do card.

又例如,对于交互界面中编辑区显示的消息卡片组件:按钮,消息卡片模板:待办卡片,用户可以在交互界面编辑区针对按钮以及待办卡片以搭积木的方式进行相应的搭建操作,并且针对待办卡片进行相应的编辑操作,以更改待办卡片中的内容,例如将按钮搭建在待办卡片的下方,并且更改待办卡片中的内容为“请发送各自的身份证复印件”,从而可以响应于用户针对按钮以及待办卡片的搭建操作,以及针对待办卡片的编辑操作,生成消息卡片。For another example, for the message card component: button and message card template: to-do card displayed in the editing area of the interactive interface, the user can build the button and the to-do card in the interactive interface editing area by building blocks, and Perform corresponding editing operations on the to-do card to change the content in the to-do card, for example, build a button below the to-do card, and change the content in the to-do card to "Please send a copy of your ID card", Thus, a message card can be generated in response to the user's building operation on the button and the to-do card, and the editing operation on the to-do card.

此外,需要说明的是,上述对于消息卡片组件的编辑仅仅是示例,对于消息卡片的编辑内容包括但不限于如下所示:标题、单列文本、双列文本、图文、轮播图、视频、分割线、按钮,其中,不同组件中的文本:支持plaintext和markdown两种语法,支持添加@人,改变颜色,加粗,斜体,删除线等语法,可以进行排版布局(左对齐、右对齐、自适应、居中等),分割线:支持实线和虚线,按钮:支持不同的按钮状态,可以给按钮配置链接,链接:可以给每个组件配置链接,也可以给整个卡片配置链接,支持不同客户端(pc、Android、iOS)配置不同的链接。In addition, it should be noted that the above-mentioned editing of the message card component is only an example, and the editing content of the message card includes but is not limited to the following: title, single-column text, double-column text, graphics, carousel, video, Dividing lines, buttons, among them, the text in different components: supports plaintext and markdown syntax, supports adding @人, changing color, bold, italic, strikethrough and other syntax, and can perform typesetting layout (left alignment, right alignment, Adaptive, centered, etc.), dividing line: support solid line and dotted line, button: support different button states, you can configure links for buttons, links: you can configure links for each component, or configure links for the entire card, support different Clients (pc, Android, iOS) configure different links.

通过上述对本发明实施例提供的技术方案的描述,在交互界面的第一区域显示消息卡片组件,在交互界面的第二区域显示消息卡片模板,响应于针对消息卡片组件的预设操作,将消息卡片组件显示在交互界面的第三区域,和/或,响应于针对消息卡片模板的预设操作,将消息卡片模板显示在交互界面的第三区域,在第三区域,响应于针对消息卡片组件和/或消息卡片模板的触发操作,生成消息卡片,触发操作在第三区域执行。Through the above description of the technical solutions provided by the embodiments of the present invention, the message card component is displayed in the first area of the interactive interface, and the message card template is displayed in the second area of the interactive interface. In response to the preset operation for the message card component, the message The card component is displayed in the third area of the interactive interface, and/or, in response to the preset operation for the message card template, the message card template is displayed in the third area of the interactive interface, and in the third area, in response to the message card component and/or the trigger operation of the message card template to generate a message card, and the trigger operation is executed in the third area.

如此通过可视化的消息卡片组件和/或消息卡片模板,可以快速生成消息卡片,使得消息卡片的生成过程较为简洁,可以降低出错率,从而提高了消息卡片的生成效率,降低了发送消息卡片的成本。In this way, through the visual message card component and/or message card template, the message card can be quickly generated, which makes the generation process of the message card more concise and can reduce the error rate, thereby improving the generation efficiency of the message card and reducing the cost of sending the message card .

此外,在本发明实施例中,对于消息卡片组件与消息卡片模板,用户针对其进行不同的操作,则其显示在第三区域的不同位置,意味着消息卡片组件与消息卡片模板在第三区域的显示位置,因用户针对消息卡片组件与消息卡片模板所进行的操作不同而不同,这样可以方便用户后续生成消息卡片。In addition, in the embodiment of the present invention, if the user performs different operations on the message card component and the message card template, they will be displayed in different positions in the third area, which means that the message card component and the message card template are in the third area The display position of the message card varies depending on the user's operations on the message card component and the message card template, which is convenient for the user to generate message cards later.

因此,在上述步骤S102中,可以响应于针对消息卡片组件的预设操作,确定预设操作所属的操作类型,根据操作类型,将消息卡片组件显示在交互界面的第三区域的相应位置。Therefore, in the above step S102, in response to the preset operation on the message card component, the operation type to which the preset operation belongs can be determined, and the message card component is displayed at a corresponding position in the third area of the interactive interface according to the operation type.

例如,在交互界面的第一区域显示消息卡片组件,用户可以针对消息卡片组件进行相应的点击操作,从而响应于用户针对消息卡片组件的点击操作,确定点击操作所属的A操作类型,根据A操作类型,将消息卡片组件显示在交互界面的编辑区的最下方,意味着用户在组件区点击消息卡片组件,消息卡片组件则会显示在编辑区的最下方。For example, if the message card component is displayed in the first area of the interactive interface, the user can perform a corresponding click operation on the message card component, so that in response to the user’s click operation on the message card component, determine the A operation type to which the click operation belongs, and according to the A operation Type, display the message card component at the bottom of the editing area of the interface, which means that the user clicks the message card component in the component area, and the message card component will be displayed at the bottom of the editing area.

又例如,在交互界面的第一区域显示消息卡片组件,用户可以针对消息卡片组件进行相应的拖拽操作,从而可以响应于用户针对消息卡片组件的拖拽操作,确定拖拽操作所属的B操作类型,根据B操作类型,将消息卡片组件显示在交互界面的编辑区的鼠标焦点位置,意味着用户在组件区拖拽消息卡片组件,消息卡片组件则会随着用户的拖拽操作显示在编辑区的鼠标焦点位置。For another example, the message card component is displayed in the first area of the interactive interface, and the user can perform a corresponding drag operation on the message card component, so that in response to the user's drag operation on the message card component, the B operation to which the drag operation belongs can be determined Type, according to the B operation type, the message card component is displayed at the mouse focus position in the editing area of the interactive interface, which means that the user drags the message card component in the component area, and the message card component will be displayed in the editing area following the user's drag operation. The mouse focus position of the area.

在上述步骤S103中,响应于针对消息卡片模板的预设操作,确定预设操作所属的操作类型,根据操作类型,将消息卡片模板显示在交互界面的第三区域的相应位置。In the above step S103, in response to the preset operation on the message card template, determine the operation type to which the preset operation belongs, and display the message card template at a corresponding position in the third area of the interactive interface according to the operation type.

例如,在交互界面的第一区域显示消息卡片模板,用户可以针对消息卡片模板进行相应的点击操作,从而响应于用户针对消息卡片模板的点击操作,确定点击操作所属的A操作类型,根据A操作类型,将消息卡片模板显示在交互界面的编辑区的最下方,意味着用户在组件区点击消息卡片模板,消息卡片模板则会显示在编辑区的最下方。For example, the message card template is displayed in the first area of the interactive interface, and the user can perform a corresponding click operation on the message card template, so that in response to the user's click operation on the message card template, determine the A operation type to which the click operation belongs, and according to the A operation Type, display the message card template at the bottom of the editing area of the interactive interface, which means that the user clicks the message card template in the component area, and the message card template will be displayed at the bottom of the editing area.

又例如,在交互界面的第一区域显示消息卡片模板,用户可以针对消息卡片模板进行相应的拖拽操作,从而可以响应于用户针对消息卡片模板的拖拽操作,确定拖拽操作所属的B操作类型,根据B操作类型,将消息卡片模板显示在交互界面的编辑区的鼠标焦点位置,意味着用户在组件区拖拽消息卡片模板,消息卡片模板则会随着用户的拖拽操作显示在编辑区的鼠标焦点位置。For another example, the message card template is displayed in the first area of the interactive interface, and the user can perform a corresponding drag operation on the message card template, so that in response to the user's drag operation on the message card template, the B operation to which the drag operation belongs can be determined Type, according to the B operation type, the message card template will be displayed at the mouse focus position in the editing area of the interactive interface, which means that the user drags the message card template in the component area, and the message card template will be displayed in the editing area following the user's dragging operation. The mouse focus position of the area.

此外,在本发明实施例中,在生成消息卡片之后,可以选择第一接收对象为自己,从而将消息卡片发送至自己,预览效果没问题后,选择第二接收对象为实际需要消息卡片的用户,从而将消息卡片发送至实际需要消息卡片的用户,最后,实际需要消息卡片的用户都可以在客户端消息页看到消息卡片。In addition, in the embodiment of the present invention, after generating the message card, you can select yourself as the first receiving object, so as to send the message card to yourself, and after the preview effect is no problem, select the second receiving object as the user who actually needs the message card , so as to send the message card to the user who actually needs the message card. Finally, the user who actually needs the message card can see the message card on the message page of the client.

具体地,如图8所示,为本发明实施例提供的另一种消息卡片生成方法的实施流程示意图,该方法应用于电子设备,具体可以包括以下步骤:Specifically, as shown in FIG. 8 , it is a schematic flowchart of another method for generating a message card provided by an embodiment of the present invention. The method is applied to an electronic device, and may specifically include the following steps:

S801,在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板。S801. Display a message card component in a first area of the interactive interface, and display a message card template in a second area of the interactive interface.

在本发明实施例中,本步骤与上述步骤S101类似,本发明实施例在此不再一一赘述。In the embodiment of the present invention, this step is similar to the above-mentioned step S101, and the embodiment of the present invention will not repeat them one by one here.

S802,响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域。S802. Display the message card component in a third area of the interactive interface in response to a preset operation on the message card component.

在本发明实施例中,本步骤与上述步骤S102类似,本发明实施例在此不再一一赘述。In the embodiment of the present invention, this step is similar to the above-mentioned step S102, and the embodiment of the present invention will not repeat them one by one here.

S803,和/或,响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域。S803, and/or, in response to a preset operation on the message card template, display the message card template in a third area of the interactive interface.

在本发明实施例中,本步骤与上述步骤S103类似,本发明实施例在此不再一一赘述。In the embodiment of the present invention, this step is similar to the above-mentioned step S103, and the embodiment of the present invention will not repeat them one by one here.

S804,在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。S804. In the third area, generate a message card in response to a trigger operation on the message card component and/or the message card template.

在本发明实施例中,本步骤与上述步骤S104类似,本发明实施例在此不再一一赘述。In the embodiment of the present invention, this step is similar to the above-mentioned step S104, and will not be repeated in this embodiment of the present invention.

S805,响应于针对对象的选择操作,确定第一接收对象,所述第一接收对象用于对所述消息卡片的效果进行确认。S805. In response to the selection operation on the object, determine a first receiving object, where the first receiving object is used to confirm the effect of the message card.

在本发明实施例中,用户可以选择接收消息卡片的第一接收对象,这里的第一接收对象可以是自己,也可以是某个默认对象,本发明实施例对此不作限定。In the embodiment of the present invention, the user can select the first receiving object to receive the message card, where the first receiving object can be himself or a default object, which is not limited in the embodiment of the present invention.

基于此,可以响应于针对对象的选择操作,确定第一接收对象,其中,该第一接收对象用于对消息卡片的效果进行确认。其中,这里的对象通常可以理解为用户,本发明实施例对此不作限定。Based on this, the first receiving object may be determined in response to the selection operation on the object, where the first receiving object is used to confirm the effect of the message card. Wherein, the object here may generally be understood as a user, which is not limited in this embodiment of the present invention.

S806,响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第一接收对象。S806. In response to the sending operation on the message card, send the message card to the first recipient.

在本发明实施例中,用户可以针对消息卡片执行相应的发送操作,从而可以响应于针对消息卡片的发送操作,将消息卡片发送至第一接收对象,如此第一接收对象可以在客户端预览消息卡片的效果。In the embodiment of the present invention, the user can perform a corresponding sending operation on the message card, so that the message card can be sent to the first receiving object in response to the sending operation on the message card, so that the first receiving object can preview the message on the client Card effect.

S807,在接收到所述第一接收对象返回的确认消息的情况下,响应于针对对象的选择操作,确定第二接收对象。S807. In a case of receiving the confirmation message returned by the first receiving object, in response to an object selection operation, determine a second receiving object.

在本发明实施例中,对于第一接收对象而言,可以对消息卡片的预览效果进行确认,并在确认没问题的情况下,可以返回确认消息,从而在接收到第一接收对象返回的确认消息的情况下,响应于针对对象的选择操作,确定第二接收对象。In the embodiment of the present invention, for the first receiving object, the preview effect of the message card can be confirmed, and if there is no problem in the confirmation, a confirmation message can be returned, so that after receiving the confirmation returned by the first receiving object In the case of a message, the second receiving object is determined in response to a selection operation on the object.

S808,响应于针对所述消息卡片的发送操作,将所述消息卡片发送至所述第二接收对象。S808. In response to the sending operation on the message card, send the message card to the second recipient.

在本发明实施例中,用户可以针对消息卡片执行相应的发送操作,从而可以响应于针对消息卡片的发送操作,将消息卡片发送至第二接收对象,如此第二接收对象可以在客户端预览消息卡片的效果,这里第二接收对象可以理解为实际需要消息卡片的对象。In the embodiment of the present invention, the user can perform a corresponding sending operation on the message card, so that the message card can be sent to the second receiving object in response to the sending operation on the message card, so that the second receiving object can preview the message on the client The effect of the card, here the second receiving object can be understood as the object that actually needs the message card.

需要说明的是,对于消息卡片,可以响应于针对对象的选择操作,确定第二接收对象,响应于针对消息卡片的发送操作,将消息卡片发送至第二接收对象。如此无需将消息卡片发送至第一接收对象进行确认,而是直接将消息卡片发送至第二接收对象,即实际需要消息卡片的对象。It should be noted that, for the message card, the second receiving object may be determined in response to the selection operation on the object, and the message card may be sent to the second receiving object in response to the sending operation on the message card. In this way, there is no need to send the message card to the first receiving object for confirmation, but directly send the message card to the second receiving object, that is, the object that actually needs the message card.

此外,对于消息卡片,本发明实施例中可以对消息卡片添加卡片交互。具体地,在消息卡片包括交互组件的情况下,交互组件旁会显示链接图标(对于其他消息卡片组件类似,其旁边会显示相应的图标),用户可以针对交互组件中链接图标执行相应的预设操作(例如点击操作),从而响应于用户针对交互组件中链接图标的预设操作,将链接图标由显示状态变更为编辑状态。In addition, for the message card, card interaction can be added to the message card in the embodiment of the present invention. Specifically, when the message card includes an interactive component, a link icon will be displayed next to the interactive component (similar to other message card components, the corresponding icon will be displayed next to it), and the user can execute the corresponding preset for the link icon in the interactive component Operation (for example, click operation), so as to change the link icon from the display state to the edit state in response to the user's preset operation on the link icon in the interactive component.

在链接图标处于编辑状态的情况下,用户可以输入相应的链接,从而响应于链接输入操作,在链接图标中添加链接输入操作所对应的链接。而后,用户可以将鼠标焦点移出第三区域,查看整体效果,相应的链接图标由编辑状态变更为显示状态,因此可以响应于针对鼠标焦点的移出第三区域的操作,将链接图标由编辑状态变更为显示状态。When the link icon is in the editing state, the user can input the corresponding link, so that in response to the link input operation, the link corresponding to the link input operation is added to the link icon. Then, the user can move the mouse focus out of the third area to view the overall effect, and the corresponding link icon changes from the editing state to the display state, so the link icon can be changed from the editing state in response to the operation of moving the mouse focus out of the third area for display status.

继而用户可以针对消息卡片执行相应的发送操作,从而可以响应于针对消息卡片的发送操作,将添加链接的消息卡片发送至第一接收对象,后续在接收到第一接收对象返回的确认消息的情况下,响应于针对对象的选择操作,确定第二接收对象,响应于针对消息卡片的发送操作,将添加链接的消息卡片发送至第二接收对象。Then the user can perform the corresponding sending operation on the message card, so that in response to the sending operation on the message card, the message card with the added link can be sent to the first receiving object. After receiving the confirmation message returned by the first receiving object Next, in response to the selection operation on the object, determine the second receiving object, and in response to the sending operation on the message card, send the message card with the added link to the second receiving object.

此外,对于消息卡片,本发明实施例可以对消息卡片使用智能制图美化图片。具体地,在消息卡片包括图片组件的情况下,图片组件旁会显示图片图标,用户可以针对图片组件中图片图标执行相应的预设操作(例如点击操作),从而响应于用户针对图片组件中图片图标的预设操作,弹出本地图片对话框。In addition, for the message card, the embodiment of the present invention can use intelligent graphics to beautify the picture on the message card. Specifically, when the message card includes a picture component, a picture icon will be displayed next to the picture component, and the user can perform a corresponding preset operation (such as a click operation) on the picture icon in the picture component, so that in response to the user's action on the picture in the picture The preset operation of the icon will pop up the local picture dialog box.

用户可以在本地图片对话框中选择相应的本地图片,从而响应于用户针对本地图片对话框中本地图片的选择操作,将本地图片填充至图片组件,对于智能制图插件,用户可以调用其对本地图片进行美化,从而可以响应于针对智能制图插件的预设操作,调用智能制图插件对图片组件中填充的本地图片进行美化。The user can select the corresponding local picture in the local picture dialog box, so that in response to the user's selection operation on the local picture in the local picture dialog box, the local picture will be filled into the picture component. For the smart drawing plug-in, the user can call its local picture Beautify, so that in response to the preset operation for the smart mapping plug-in, the smart mapping plug-in can be called to beautify the local image filled in the image component.

继而用户可以针对消息卡片执行相应的发送操作,从而可以响应于针对消息卡片的发送操作,将填充本地图片且经过美化的消息卡片发送至第一接收对象,后续在接收到第一接收对象返回的确认消息的情况下,响应于针对对象的选择操作,确定第二接收对象,响应于针对消息卡片的发送操作,将填充本地图片且经过美化的消息卡片发送至第二接收对象。Then the user can perform the corresponding sending operation on the message card, so that in response to the sending operation on the message card, the message card filled with local pictures and beautified can be sent to the first receiving object, and then after receiving the message returned by the first receiving object In the case of confirming the message, in response to the selection operation on the object, determine the second recipient, and in response to the sending operation on the message card, send the beautified message card filled with local pictures to the second recipient.

此外,在本发明实施例中,由于不同的业务场景,其对应的消息卡片不同,相应的消息卡片用到的消息卡片组件和/或消息卡片模板也略有区别。因为为了方便用户查找相应的消息卡片组件和/或消息卡片模板,以便于快速的搭建出适合当前业务场景的消息卡片,在上述步骤S101中,可以基于业务场景,对消息卡片组件和消息卡片模板的显示方式进行调整。In addition, in the embodiment of the present invention, due to different business scenarios, the corresponding message cards are different, and the message card components and/or message card templates used in the corresponding message cards are also slightly different. Because in order to facilitate the user to find the corresponding message card component and/or message card template, so as to quickly build a message card suitable for the current business scenario, in the above step S101, the message card component and message card template can be based on the business scenario to adjust the display mode.

具体地,如图9所示,为本发明实施例提供的一种显示方式调整方法的实施流程示意图,该方法应用于电子设备,具体可以包括以下步骤:Specifically, as shown in FIG. 9 , it is a schematic flowchart of an implementation of a method for adjusting a display mode provided by an embodiment of the present invention. The method is applied to an electronic device, and may specifically include the following steps:

S901,确定当前的业务场景,查找所述业务场景中使用情况满足预设条件的第一消息卡片组件和第一消息卡片模板。S901. Determine a current business scenario, and search for a first message card component and a first message card template whose use conditions meet a preset condition in the business scenario.

S902,在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件。S902. Display the first message card component in a marked manner in the first area of the interactive interface, and display the remaining second message card components in a non-marked manner.

S903,在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。S903. Display the first message card template in a marked manner in the second area of the interactive interface, and display the remaining second message card templates in a non-marked manner.

在本发明实施例中,确定当前的业务场景,查找当前的业务场景中使用情况满足预设条件的第一消息卡片组件和第一消息卡片模板,在交互界面的第一区域通过标记方式显示第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件,在交互界面的第二区域通过标记方式显示第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。In the embodiment of the present invention, the current business scene is determined, the first message card component and the first message card template whose usage in the current business scene meets the preset conditions are searched, and the first message card component is displayed in the first area of the interactive interface by marking. A message card component, and the remaining second message card component is displayed in a non-marking manner, and the first message card template is displayed in a marking manner in the second area of the interactive interface, and the remaining second message card template is displayed in a non-marking manner.

需要说明的是,对于使用情况,可以理解为使用次数,或者使用频次,相应的满足预设条件,可以理解为使用次数大于阈值,或者使用频次大于阈值,本发明实施例对此不作限定。此外,标记方式,例如可以是亮起方式,可以是标记使用情况,如此通过标记方式对消息卡片组件和消息卡片模板进行区分显示,从而可以帮助用户更方便的查找自己要使用的消息卡片组件和消息卡片模板。It should be noted that, for usage, it can be understood as the number of times of use, or the frequency of use, and correspondingly meeting the preset conditions can be understood as the number of times of use is greater than the threshold, or the frequency of use is greater than the threshold, which is not limited in the embodiment of the present invention. In addition, the way of marking, for example, can be the way of lighting up, and it can be the way of marking the usage. In this way, the message card component and the message card template can be distinguished and displayed by the way of marking, which can help users find the message card component and message card they want to use more conveniently. Message card template.

例如,假设当前业务场景为投票场景,则可以查找投票场景中使用次数超过阈值的第一消息卡片组件和第一消息卡片模板,在交互界面的组件区通过亮起的方式显示第一消息卡片组件,以及通过正常方式显示剩余的第二消息卡片组件,在交互界面的模板区通过亮起的方式显示第一消息卡片模板,以及通过正常显示方式显示剩余的第二消息卡片模板。For example, assuming that the current business scenario is a voting scenario, you can search for the first message card component and the first message card template whose usage times exceed the threshold in the voting scenario, and display the first message card component by lighting it up in the component area of the interactive interface , and display the remaining second message card components in a normal manner, display the first message card template by lighting up in the template area of the interactive interface, and display the remaining second message card templates in a normal display manner.

此外,为了方便用户查找相应的消息卡片组件和/或消息卡片模板,以便于快速的搭建出适合当前业务场景的消息卡片,在上述步骤S101中,可以基于业务场景中消息卡片组件的组件使用情况以及消息卡片模板的模板使用情况,对消息卡片组件和消息卡片模板的显示顺序进行调整。In addition, in order to facilitate users to find the corresponding message card components and/or message card templates, so as to quickly build a message card suitable for the current business scenario, in the above step S101, based on the component usage of the message card component in the business scenario As well as the template usage of the message card template, adjust the display order of the message card component and the message card template.

具体地,如图10所示,为本发明实施例提供的另一种显示方式调整方法的实施流程示意图,该方法应用于电子设备,具体可以包括以下步骤:Specifically, as shown in FIG. 10 , it is a schematic flowchart of another method for adjusting a display mode provided by an embodiment of the present invention. The method is applied to an electronic device, and may specifically include the following steps:

S1001,确定当前的业务场景,统计所述业务场景中消息卡片组件的组件使用情况以及消息卡片模板的模板使用情况。S1001. Determine the current business scenario, and count the component usage of the message card component and the template usage of the message card template in the business scenario.

S1002,根据所述组件使用情况,对所述消息卡片组件进行排序,以及根据所述模板使用情况,对所述消息卡片模板进行排序。S1002. Sorting the message card components according to the usage of the components, and sorting the message card templates according to the usage of the templates.

S1003,在交互界面的第一区域,根据所述消息卡片组件的排序情况,显示所述消息卡片组件。S1003. In the first area of the interactive interface, display the message card components according to the ordering of the message card components.

S1004,在所述交互界面的第二区域,根据所述消息卡片模板的排序情况,显示所述消息卡片模板。S1004. In the second area of the interactive interface, display the message card templates according to the ordering of the message card templates.

在本发明实施例中,确定当前的业务场景,统计业务场景中消息卡片组件的组件使用情况以及消息卡片模板的模板使用情况,根据组件使用情况,对消息卡片组件进行排序,以及根据模板使用情况,对消息卡片模板进行排序,在交互界面的第一区域,根据消息卡片组件的排序情况,显示消息卡片组件,在交互界面的第二区域,根据消息卡片模板的排序情况,显示消息卡片模板。In the embodiment of the present invention, the current business scenario is determined, the component usage of the message card component in the business scenario and the template usage of the message card template are counted, and the message card components are sorted according to the component usage, and according to the template usage , sort the message card templates. In the first area of the interactive interface, display the message card components according to the sorting status of the message card components. In the second area of the interactive interface, display the message card templates according to the sorting status of the message card templates.

例如,假设当前业务场景为日程场景,则可以统计日程场景中消息卡片组件的组件使用次数以及消息卡片模板的模板使用次数,根据组件使用次数,对消息卡片组件进行排序,根据模板使用次数,对消息卡片模板进行排序,在交互界面的组件区,根据消息卡片组件的排序情况,显示消息卡片组件,意味着消息卡片组件的使用次数越多,则在组件区的显示顺序越靠前,在交互界面的模板区,根据消息卡片模板的排序情况,显示消息卡片模板,意味着消息卡片模板的使用次数越多,则在模板区的显示顺序越靠前。For example, assuming that the current business scenario is a schedule scenario, you can count the component usage times of the message card component and the template usage times of the message card template in the schedule scenario, sort the message card components according to the component usage times, and sort the message card components according to the template usage times. The message card templates are sorted. In the component area of the interactive interface, the message card components are displayed according to the sorting status of the message card components, which means that the more times the message card components are used, the higher the display order in the component area. In the template area of the interface, the message card templates are displayed according to the order of the message card templates, which means that the more times the message card templates are used, the higher the display order in the template area.

此外,对于不同对象,其喜欢的消息卡片组件以及消息卡片模板存在差异,例如有些对象就喜欢通过单列文本这种消息卡片组件搭建消息卡片,而另外一些对象就喜欢通过单列文本+按钮这种消息卡片组件搭建消息卡片,因此可以基于消息卡片发送对象或者接收对象的对象画像,对消息卡片组件或者消息卡片模板的显示顺序进行调整,方便对象查找自身喜欢的消息卡片组件以及消息卡片模板来搭建消息卡片。In addition, for different objects, there are differences in their favorite message card components and message card templates. For example, some objects like to build message cards through single-column text message card components, while others like to use single-column text+buttons for messages. Card components build message cards, so you can adjust the display order of message card components or message card templates based on the object portrait of the message card sending object or receiving object, so that objects can find their favorite message card components and message card templates to build messages card.

具体地,如图11所示,为本发明实施例提供的另一种显示方式调整方法的实施流程示意图,该方法应用于电子设备,具体可以包括以下步骤:Specifically, as shown in FIG. 11 , it is a schematic flowchart of another display mode adjustment method provided by the embodiment of the present invention. The method is applied to electronic devices, and may specifically include the following steps:

S1101,获取消息卡片发送对象或者接收对象的对象画像,根据所述对象画像,对消息卡片组件以及消息卡片模板进行排序。S1101. Obtain an object portrait of a message card sending object or receiving object, and sort the message card components and message card templates according to the object portrait.

S1102,在交互界面的第一区域,根据所述消息卡片组件的排序情况,显示所述消息卡片组件,前N名的所述消息卡片组件通过标记方式进行显示。S1102. In the first area of the interactive interface, display the message card components according to the ordering of the message card components, and display the top N message card components by marking.

S1103,在所述交互界面的第二区域,根据所述消息卡片模板的排序情况,显示所述消息卡片模板,前M名的所述消息卡片模板通过标记方式进行显示。S1103. In the second area of the interactive interface, display the message card templates according to the ranking of the message card templates, and display the top M message card templates by marking.

在本发明实施例中,可以获取消息卡片发送对象或者接收对象的对象画像,根据对象画像,对消息卡片组件以及消息卡片模板进行排序,在交互界面的第一区域,根据消息卡片组件的排序情况,显示消息卡片组件,前N名的消息卡片组件通过标记方式进行显示,在交互界面的第二区域,根据消息卡片模板的排序情况,显示消息卡片模板,前M名的消息卡片模板通过标记方式进行显示。这里N、M均是正整数,本发明实施例对此不作限定。In the embodiment of the present invention, the object portrait of the message card sending object or receiving object can be obtained, and the message card components and message card templates can be sorted according to the object portrait, and in the first area of the interactive interface, according to the sorting situation of the message card components , to display message card components. The top N message card components are displayed by marking. In the second area of the interactive interface, the message card templates are displayed according to the order of the message card templates. The top M message card templates are displayed by marking. to display. Here, N and M are both positive integers, which are not limited in this embodiment of the present invention.

需要说明的是,对于对象画像,可以理解为对象以前搭建消息卡片所用到的消息卡片组件以及消息卡片模板,也可以理解为对象对于消息卡片组件以及消息卡片模板的喜好程度,其中,喜好程度可以根据用户对消息卡片组件以及消息卡片模板的使用次数来统计得到,当然也可以理解为对象的爱好,例如画画,相应的可以把有关于图片的消息卡片组件以及消息卡片模板的显示顺序往前调整,本发明实施例对此不作限定。It should be noted that for the object portrait, it can be understood as the message card component and message card template used by the object to build the message card before, and it can also be understood as the object’s preference for the message card component and the message card template. The degree of preference can be According to the number of times the user uses the message card component and the message card template, it can also be understood as the hobby of the object, such as painting, and the display order of the message card component and the message card template related to the picture can be forwarded accordingly. adjustment, which is not limited in this embodiment of the present invention.

例如,获取消息卡片接收用户的用户画像,这里的用户画像可以理解为用户以前搭建消息卡片所用到的消息卡片组件以及消息卡片模板,从而可以根据用户画像对消息卡片组件以及消息卡片模板进行排序,在交互界面的组件区,根据消息卡片组件的排序情况,显示消息卡片组件,前N名的消息卡片组件通过标记方式进行显示,意味着用户以前搭建消息卡片所用到的消息卡片组件会亮起,在交互界面的模板区,根据消息卡片模板的排序情况,显示消息卡片模板,前M名的消息卡片模板通过标记方式进行显示,意味着用户以前搭建消息卡片所用到的消息卡片模板会亮起。For example, get the user portrait of the receiving user of the message card. The user portrait here can be understood as the message card component and message card template used by the user to build the message card before, so that the message card component and the message card template can be sorted according to the user portrait. In the component area of the interactive interface, the message card components are displayed according to the sorting of the message card components, and the top N message card components are displayed by marking, which means that the message card components used by the user to build the message cards before will light up. In the template area of the interactive interface, the message card templates are displayed according to the ordering of the message card templates, and the top M message card templates are displayed by marking, which means that the message card templates used by the user to build the message cards before will light up.

此外,对于不同的业务场景,其相关的消息卡片组件以及消息卡片模板是不同的,例如对于投票场面,与投票场景相关的消息卡片组件有按钮、单列文本等,对于日程场景,与日程场景相关的消息卡片组件有双列文本等。如此基于与业务场景相关的消息卡片组件以及消息卡片模板,对消息卡片组件以及消息卡片模板的显示顺序进行调整,方便用户查找消息卡片组件以及消息卡片模板来搭建消息卡片。In addition, for different business scenarios, the related message card components and message card templates are different. For example, for the voting scene, the message card components related to the voting scene include buttons, single-column text, etc., and for the schedule scenario, related to the schedule scenario The message card component has two columns of text, etc. In this way, based on the message card components and message card templates related to the business scenario, the display order of the message card components and message card templates is adjusted to facilitate users to find message card components and message card templates to build message cards.

具体地,如图12所示,为本发明实施例提供的另一种显示方式调整方法的实施流程示意图,该方法应用于电子设备,具体可以包括以下步骤:Specifically, as shown in FIG. 12 , it is a schematic flow chart of another method for adjusting a display mode provided by an embodiment of the present invention. The method is applied to an electronic device, and may specifically include the following steps:

S1201,确定当前的业务场景,查找与所述业务场景相关的第一消息卡片组件以及第一消息卡片模板。S1201. Determine the current business scenario, and search for a first message card component and a first message card template related to the business scenario.

S1202,在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件。S1202. Display the first message card component in a marked manner in the first area of the interactive interface, and display the remaining second message card components in a non-marked manner.

S1203,在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。S1203. Display the first message card template in a marked manner in the second area of the interactive interface, and display the remaining second message card templates in a non-marked manner.

在本发明实施例中,确定当前的业务场景,查找与业务场景相关的第一消息卡片组件以及第一消息卡片模板,在交互界面的第一区域通过标记方式显示第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件,在交互界面的第二区域通过标记方式显示第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。In the embodiment of the present invention, the current business scene is determined, the first message card component and the first message card template related to the business scene are searched, and the first message card component is displayed in the first area of the interactive interface by marking, and by The remaining second message card components are displayed in a non-marking manner, the first message card template is displayed in a marking manner, and the remaining second message card templates are displayed in a non-marking manner in the second area of the interactive interface.

例如,假设当前的业务场景为投票场景,则可以查找与投票场景相关的单列文本、按钮等第一消息卡片组件,以及投票卡片等第一消息卡片模板,如此在交互界面的组件区通过亮起的方式显示与投票场景相关的单列文本、按钮等第一消息卡片组件,以正常显示方式显示剩余的第二消息卡片组件,在交互界面的模板区通过亮起的方式显示与投票场景相关的投票卡片等第一消息卡片模板,以正常显示方式显示剩余的第二消息卡片模板。For example, assuming that the current business scenario is a voting scenario, you can search for the first message card components such as single-column text and buttons related to the voting scenario, and the first message card templates such as voting cards, so that they can be lit in the component area of the interactive interface The first message card components such as single-column text and buttons related to the voting scene will be displayed in the same way, the remaining second message card components will be displayed in the normal display mode, and the votes related to the voting scene will be displayed by lighting up in the template area of the interactive interface Cards and other first message card templates, display the rest of the second message card templates in a normal display mode.

此外,在本发明实施例中,在用户针对消息卡片组件以及消息卡片模板进行操作的时候,有可能误操作,例如,用户在挪动鼠标的过程中,不小心手滑点击了按钮这个消息卡片组件,其会显示在编辑区,如此用户误触发,还需要去删除按钮这个消息卡片组件。基于此,为了防止误触发,在上述步骤S102、S103中,可以统计鼠标焦点在消息卡片组件以及消息卡片模板的停留时间,以此来决定是否在第三区域显示消息卡片组件以及消息卡片模板。In addition, in the embodiment of the present invention, when the user operates on the message card component and the message card template, there may be misoperations. For example, the user accidentally clicks the button of the message card component while moving the mouse. , which will be displayed in the editing area, so the user needs to delete the message card component of the button if it is triggered by mistake. Based on this, in order to prevent false triggering, in the above steps S102 and S103, the dwell time of the mouse focus on the message card component and the message card template can be counted to determine whether to display the message card component and the message card template in the third area.

具体地,响应于针对消息卡片组件的预设操作,统计鼠标焦点在消息卡片组件的组件停留时间,若组件停留时间超过预设阈值,则将消息卡片组件显示在交互界面的第三区域,若组件停留时间未超过预设阈值,则禁止将消息卡片组件显示在交互界面的第三区域。Specifically, in response to the preset operation for the message card component, count the dwell time of the mouse focus on the message card component, and if the component stay time exceeds the preset threshold, the message card component will be displayed in the third area of the interactive interface, if If the dwell time of the component does not exceed the preset threshold, it is prohibited to display the message card component in the third area of the interactive interface.

例如,响应于针对消息卡片组件的点击操作,统计鼠标焦点在消息卡片组件的组件停留时间,若组件停留时间超过50ms,则说明用户有意使用这个消息卡片组件,此时可以将消息卡片组件显示在交互界面的编辑区,若组件停留时间未超过50ms,则用户在挪动鼠标的过程中,不小心手滑点击了这个消息卡片组件,此时可以禁止将消息卡片组件显示在交互界面的编辑区。For example, in response to the click operation on the message card component, count the stay time of the mouse focus on the message card component. If the stay time of the component exceeds 50ms, it means that the user intends to use this message card component. At this time, the message card component can be displayed on the In the editing area of the interactive interface, if the dwell time of the component does not exceed 50ms, and the user accidentally clicks on the message card component while moving the mouse, the display of the message card component in the editing area of the interactive interface can be prohibited at this time.

响应于针对消息卡片模板的预设操作,统计鼠标焦点在消息卡片模板的模板停留时间,若模板停留时间超过预设阈值,则将消息卡片模板显示在交互界面的第三区域,若模板停留时间未超过预设阈值,则禁止将消息卡片模板显示在交互界面的第三区域。In response to the preset operation on the message card template, count the stay time of the mouse focus on the template of the message card template. If the template stay time exceeds the preset threshold, the message card template will be displayed in the third area of the interactive interface. If the template stay time If the preset threshold is not exceeded, the message card template is prohibited from being displayed in the third area of the interactive interface.

例如,响应于针对消息卡片模板的点击操作,统计鼠标焦点在消息卡片模板的模板停留时间,若模板停留时间超过50ms,则说明用户有意使用这个消息卡片模板,此时可以将消息卡片模板显示在交互界面的编辑区,若模板停留时间未超过50ms,则用户在挪动鼠标的过程中,不小心手滑点击了这个消息卡片模板,此时可以禁止将消息卡片模板显示在交互界面的编辑区。For example, in response to the click operation on the message card template, count the stay time of the mouse focus on the template of the message card template. If the template stay time exceeds 50ms, it means that the user intends to use this message card template. At this time, the message card template can be displayed on the In the editing area of the interactive interface, if the stay time of the template does not exceed 50ms, and the user accidentally clicks on the message card template while moving the mouse, the display of the message card template in the editing area of the interactive interface can be prohibited at this time.

此外,在本发明实施例中,在生成消息卡片的过程中,或者生成消息卡片之后,可以针对消息卡片中消息卡片组件和/或消息卡片模板,设置不同的接收对象对其的权限,以使得不同的接收对象接收消息卡片中不同的消息卡片组件和/或消息卡片模板,如此可以达到不同的接收对象,接收不同的消息卡片内容的目的,并且减少了消息卡片的生成次数,提高了消息卡片的生成效率,相应的也就提高了消息卡片的发送效率。In addition, in the embodiment of the present invention, in the process of generating the message card or after the message card is generated, the permissions of different receiving objects can be set for the message card component and/or the message card template in the message card, so that Different receiving objects receive different message card components and/or message card templates in the message card, so that different receiving objects can receive different message card content, reduce the number of message card generation, and improve the message card content. The generation efficiency of the message card is correspondingly improved.

例如,在消息卡片的消息卡片模板上的同一个位置用了2个不同的消息卡片组件A和消息卡片组件B,针对消息卡片组件A,设置接收对象a对其的权限,对于消息卡片组件B,设置接收对象b对其的权限,那么将消息卡片发出去的时候,接收对象a可以看到携带消息卡片组件a的消息卡片,接收对象b可以看到携带消息卡片b的消息卡片,如此接收对象a和接收对象b可以接收不同的消息卡片内容,且减少了消息卡片的生成次数,提高了消息卡片的生成效率,相应的也就提高了消息卡片的发送效率。For example, two different message card component A and message card component B are used at the same position on the message card template of the message card. For message card component A, set the permission of receiving object a to it, and for message card component B , set the permission of the receiving object b to it, then when sending the message card, the receiving object a can see the message card carrying the message card component a, and the receiving object b can see the message card carrying the message card b, so receiving Object a and receiving object b can receive different message card contents, and reduce the number of message card generation, improve the generation efficiency of message cards, and correspondingly improve the sending efficiency of message cards.

基于此,响应于针对对象的选择操作,确定不同的接收对象,其中,不同的接收对象用于接收消息卡片中不同的消息卡片组件和/或消息卡片模板,响应于针对消息卡片中消息卡片组件的权限设置操作,设置不同的接收对象对消息卡片中消息卡片组件的权限,和/或,响应于针对消息卡片中消息卡片模板的权限设置操作,设置不同的接收对象对消息卡片中消息卡片模板的权限。Based on this, in response to the selection operation for the object, different receiving objects are determined, wherein different receiving objects are used to receive different message card components and/or message card templates in the message card, and in response to the message card component in the message card Set the permissions of different receiving objects to the message card component in the message card, and/or, in response to the permission setting operation for the message card template in the message card, set the permissions of different receiving objects to the message card template in the message card permission.

其中,这里的权限设置一般可以是设置可见权限,即响应于针对消息卡片中消息卡片组件的可见权限设置操作,设置不同的接收对象对消息卡片中消息卡片组件的可见权限,和/或,响应于针对消息卡片中消息卡片模板的可见权限设置操作,设置不同的接收对象对消息卡片中消息卡片模板的可见权限。Among them, the permission setting here can generally be setting the visible permission, that is, in response to the visible permission setting operation of the message card component in the message card, setting the visible permission of different receiving objects to the message card component in the message card, and/or, responding For the setting operation of the visible permission of the message card template in the message card, set the visible permission of different receiving objects to the message card template in the message card.

例如,在消息卡片的消息卡片模板上的同一个位置用了2个不同的消息卡片组件A和消息卡片组件B,响应于针对对象的选择操作,确定接收对象a和接收对象b,响应于针对消息卡片中消息卡片组件A的可见权限设置操作,设置接收对象a对其的可见权限,意味着设置消息卡片组件A仅为接收对象a可见,响应于针对消息卡片中消息卡片组件B的可见权限设置操作,设置接收对象b对其的可见权限,意味着设置消息卡片组件B仅为接收对象b可见,那么将消息卡片发出去的时候,接收对象a只能看到携带消息卡片组件a的消息卡片,接收对象b只能看到携带消息卡片b的消息卡片。For example, two different message card components A and B are used at the same position on the message card template of the message card. In response to the selection operation for the object, the receiving object a and the receiving object b are determined, and in response to the The visible permission setting operation of the message card component A in the message card, setting the visible permission of the receiving object a to it, means setting the message card component A to be visible only to the receiving object a, in response to the visible permission of the message card component B in the message card Setting operation, setting the visibility permission of receiving object b to it means that setting message card component B is only visible to receiving object b, then when sending the message card, receiving object a can only see the message carrying message card component a Card, recipient b can only see the message card carrying message card b.

另外,在经过上述权限设置之后,在将消息卡片发送出去之前,还可以针对消息卡片进行预览,以便于确认不同的接收对象是否可以接收消息卡片中不同的消息卡片组件和/或消息卡片模板。基于此,如图13所示,为本发明实施例提供的一种消息卡片预览方法的实施流程示意图,该方法应用于电子设备,具体可以包括:In addition, after the above permission setting, before sending the message card, you can also preview the message card, so as to confirm whether different recipients can receive different message card components and/or message card templates in the message card. Based on this, as shown in FIG. 13 , it is a schematic diagram of the implementation flow of a message card preview method provided by the embodiment of the present invention. The method is applied to electronic devices, and may specifically include:

S1301,在所述交互界面上响应于针对所述消息卡片的预览操作,触发目标接收对象的选择事件。S1301. Trigger a selection event of a target receiving object in response to a preview operation on the message card on the interactive interface.

S1302,响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片组件。S1302. Determine the target receiving object in response to the selection event, and search the message card for the message card component related to the authority of the target receiving object.

S1303,在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片组件。S1303. Display the message card component related to the authority of the target receiving object on the interactive interface.

S1304,和/或,响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片模板。S1304, and/or, determining the target recipient in response to the selection event, searching the message card for the message card template related to the authority of the target recipient.

S1305,在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片模板。S1305. Display the message card template related to the authority of the target recipient on the interactive interface.

在本发明实施例中,在交互界面上响应于针对消息卡片的预览操作,触发目标接收对象的选择事件;响应于选择事件确定目标接收对象,从消息卡片中查找与目标接收对象权限相关的消息卡片组件;在交互界面上展示与目标接收对象权限相关的消息卡片组件;和/或,响应于选择事件确定目标接收对象,从消息卡片中查找与目标接收对象权限相关的消息卡片模板;在交互界面上展示与目标接收对象权限相关的消息卡片模板。In the embodiment of the present invention, the selection event of the target receiving object is triggered in response to the preview operation on the message card on the interactive interface; the target receiving object is determined in response to the selection event, and the message related to the authority of the target receiving object is searched from the message card A card component; displaying a message card component related to the authority of the target receiving object on the interactive interface; and/or, in response to a selection event, determining the target receiving object, and searching for a message card template related to the authority of the target receiving object from the message card; The interface displays message card templates related to the permissions of the target receiver.

例如,在交互界面上可以设置相应的预览按钮,在用户点击预览按钮的情况下会触发预览操作,从而在交互界面上响应于针对消息卡片的预览操作,触发目标接收对象的选择事件,响应于选择事件确定接收对象a,从消息卡片中查找与接收对象a权限相关的消息卡片组件A,在交互界面上展示于接收对象a权限相关的消息卡片组件A,意味着展示携带消息卡片组件A的消息卡片,以便于确认将消息卡片发送出去之后,接收对象a只能看到携带消息卡片组件A的消息卡片。然后,响应于选择事件确定接收对象b,从消息卡片中查找与接收对象b权限相关的消息卡片组件B,在交互界面上展示于接收对象b权限相关的消息卡片组件B,意味着展示携带消息卡片组件B的消息卡片,以便于确认将消息卡片发送出去之后,接收对象a只能看到携带消息卡片组件B的消息卡片。For example, a corresponding preview button can be set on the interactive interface, and the preview operation will be triggered when the user clicks the preview button, so that in response to the preview operation on the message card on the interactive interface, the selection event of the target receiving object is triggered, and in response to Select the event to determine the receiving object a, find the message card component A related to the authority of the receiving object a from the message card, and display the message card component A related to the authority of the receiving object a on the interactive interface, which means displaying the message card component A carrying the message card Message card, so that after confirming that the message card is sent, the receiving object a can only see the message card carrying the message card component A. Then, in response to the selection event, the receiving object b is determined, and the message card component B related to the authority of the receiving object b is searched from the message card, and the message card component B related to the authority of the receiving object b is displayed on the interactive interface, which means that the display carries the message The message card of card component B, so that after confirming that the message card is sent, the recipient a can only see the message card carrying message card component B.

此外,在上述权限设置的过程中,或者权限设置完毕之后,可以在第一区域显示消息卡片组件的权限设置情况,和/或,在第二区域显示消息卡片模板的权限设置情况,方便消息卡片的制作者观察消息卡片组件和/或消息卡片模板为那个接收对象设置了相应的权限。基于此,确定消息卡片中消息卡片组件和/或消息卡片模板的权限设置情况;在第一区域显示消息卡片组件的权限设置情况,和/或,在第二区域显示消息卡片模板的权限设置情况。In addition, during the above permission setting process, or after the permission setting is completed, the permission setting status of the message card component can be displayed in the first area, and/or the permission setting status of the message card template can be displayed in the second area, which is convenient for the message card The creator of the observed message card component and/or message card template set the corresponding permissions for that recipient object. Based on this, determine the permission settings of the message card component and/or the message card template in the message card; display the permission setting of the message card component in the first area, and/or display the permission setting of the message card template in the second area .

例如,在消息卡片的消息卡片模板1上的同一个位置用了2个不同的消息卡片组件A和消息卡片组件B,设置接收对象a对消息卡片模板1以及消息卡片组件A的可见权限,设置接收对象b对消息卡片模板1以及消息卡片组件B的可见权限,由此可以确定消息卡片中消息卡片组件和消息卡片模板1的上述权限设置情况,从而可以在组件区显示消息卡片组件A和消息卡片组件B的权限设置情况,具体可以在消息卡片组件A的左上方标记显示接收对象a的标识,在消息卡片组件B的左上方标记显示接收对象b的标识,在模板区显示消息卡片模板1的权限设置情况,具体可以在消息卡片模板1的左上方标记显示接收对象a和接收对象b的标识,如图14所示。For example, two different message card component A and message card component B are used at the same position on the message card template 1 of the message card, set the visibility permission of receiving object a to message card template 1 and message card component A, and set Receive object b's visible permissions on message card template 1 and message card component B, so that the above permission settings of message card component and message card template 1 in the message card can be determined, so that message card component A and message can be displayed in the component area For the permission setting of card component B, you can mark and display the logo of receiving object a on the upper left of message card component A, mark and display the logo of receiving object b on the upper left of message card component B, and display message card template 1 in the template area Specifically, you can mark and display the identification of receiving object a and receiving object b on the upper left of message card template 1, as shown in Figure 14.

需要说明的是,对于上述消息卡片组件的权限设置情况的显示方式,包括但不限于在第一区域消息卡片组件的左上方或者右上方或者右下方或者左下方等显示拥有该消息卡片组件权限的接收对象标识,本发明实施例对此不作限定。It should be noted that the display method of the authority settings of the above-mentioned message card component includes but is not limited to displaying the permission of the message card component on the upper left or upper right or lower right or lower left of the message card component in the first area. The receiving object identifier is not limited in this embodiment of the present invention.

此外,聊天软件中通常需要不同的消息卡片类型和样式,满足不同的业务场景,导致消息卡片类型和样式过多,服务端压力过大,而本发明实施例中消息卡片支持将不同的组件进行拼接,从而适用于不同的业务场景,减轻服务端的压力。In addition, chat software usually requires different types and styles of message cards to meet different business scenarios, resulting in too many types and styles of message cards and excessive pressure on the server. However, the message cards in the embodiment of the present invention support the integration of different components Splicing, so that it is applicable to different business scenarios and reduces the pressure on the server.

而且本发明实施例支持将消息卡片植入到协作中台的IM(即时通讯)能力中,协作中台是一个独立的中台服务,用来实现IM的能力。将消息卡片能力植入到协作中台中,可以更好的服务即时通讯场景。Moreover, the embodiment of the present invention supports embedding the message card into the IM (instant messaging) capability of the collaboration center. The collaboration center is an independent center service for realizing the IM capability. Implanting the message card capability into the collaboration platform can better serve instant messaging scenarios.

与上述方法实施例相对应,本发明实施例还提供了一种消息卡片生成装置,如图15所示,该装置可以包括:第一显示模块1510、第二显示模块1520、第三显示模块1530、消息卡片生成模块1540。Corresponding to the above-mentioned method embodiments, the embodiment of the present invention also provides a device for generating a message card, as shown in FIG. 15 , the device may include: afirst display module 1510, asecond display module 1520, and athird display module 1530 . A messagecard generation module 1540 .

第一显示模块1510,用于在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板;Thefirst display module 1510 is configured to display the message card component in the first area of the interactive interface, and display the message card template in the second area of the interactive interface;

第二显示模块1520,用于响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域;Thesecond display module 1520 is configured to display the message card component in the third area of the interactive interface in response to a preset operation on the message card component;

和/或,and / or,

第三显示模块1530,用于响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域;Thethird display module 1530 is configured to display the message card template in the third area of the interactive interface in response to a preset operation on the message card template;

消息卡片生成模块1540,用于在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。The messagecard generating module 1540 is configured to generate a message card in the third area in response to a trigger operation on the message card component and/or the message card template.

本发明实施例还提供了一种电子设备,如图16所示,包括处理器161、通信接口162、存储器163和通信总线164,其中,处理器161,通信接口162,存储器163通过通信总线164完成相互间的通信,The embodiment of the present invention also provides an electronic device, as shown in FIG. complete the mutual communication,

存储器163,用于存放计算机程序;Memory 163, used to store computer programs;

处理器161,用于执行存储器163上所存放的程序时,实现如下步骤:When theprocessor 161 is used to execute the program stored on thememory 163, the following steps are implemented:

在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板;响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域;和/或,响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域;在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。The message card component is displayed in the first area of the interactive interface, and the message card template is displayed in the second area of the interactive interface; in response to the preset operation for the message card component, the message card component is displayed in the interactive The third area of the interface; and/or, in response to the preset operation for the message card template, the message card template is displayed in the third area of the interactive interface; in the third area, in response to the preset operation for the message card template The trigger operation of the message card component and/or the message card template generates a message card.

上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,简称PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,简称EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above-mentioned electronic device may be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (EISA for short) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the electronic device and other devices.

存储器可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include a random access memory (Random Access Memory, RAM for short), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far away from the aforementioned processor.

上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application SpecificIntegrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (Digital Signal Processing, referred to as DSP) , Application Specific Integrated Circuit (ASIC for short), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

在本发明提供的又一实施例中,还提供了一种存储介质,该存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的消息卡片生成方法。In yet another embodiment provided by the present invention, a storage medium is also provided, and instructions are stored in the storage medium, and when it is run on a computer, the computer executes the message card generation described in any one of the above embodiments. method.

在本发明提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的消息卡片生成方法。In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions, which, when run on a computer, causes the computer to execute the method for generating a message card described in any one of the above embodiments.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在存储介质中,或者从一个存储介质向另一个存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions according to the embodiments of the present invention will be generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one storage medium to another, for example, from a website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber , digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. any such actual relationship or order exists between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (13)

Translated fromChinese
1.一种消息卡片生成方法,其特征在于,所述方法包括:1. A method for generating a message card, characterized in that the method comprises:在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板;A message card component is displayed in the first area of the interactive interface, and a message card template is displayed in the second area of the interactive interface;响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域;和/或,响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域;In response to a preset operation on the message card component, displaying the message card component in the third area of the interactive interface; and/or, in response to a preset operation on the message card template, displaying the The message card template is displayed in the third area of the interactive interface;在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。In the third area, a message card is generated in response to a trigger operation on the message card component and/or the message card template.2.根据权利要求1所述的方法,其特征在于,所述响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域,包括:响应于针对所述消息卡片组件的预设操作,确定所述预设操作所属的操作类型;根据所述操作类型,将所述消息卡片组件显示在所述交互界面的第三区域的相应位置;2. The method according to claim 1, wherein the displaying the message card component in the third area of the interactive interface in response to the preset operation on the message card component comprises: responding For the preset operation of the message card component, determine the operation type to which the preset operation belongs; according to the operation type, display the message card component at a corresponding position in the third area of the interactive interface;和/或,and / or,所述响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域,包括:响应于针对所述消息卡片模板的预设操作,确定所述预设操作所属的操作类型;根据所述操作类型,将所述消息卡片模板显示在所述交互界面的第三区域的相应位置。The displaying the message card template in the third area of the interactive interface in response to the preset operation on the message card template includes: in response to the preset operation on the message card template, determining the The operation type to which the operation belongs is preset; according to the operation type, the message card template is displayed at a corresponding position in the third area of the interactive interface.3.根据权利要求1所述的方法,其特征在于,所述响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片,包括:3. The method according to claim 1, wherein the generating a message card in response to a trigger operation for the message card component and/or the message card template comprises:响应于针对所述消息卡片组件的编辑操作和/或积木式搭建操作,生成消息卡片;generating a message card in response to an editing operation and/or a building block operation on the message card component;和/或,and / or,响应于针对所述消息卡片模板的编辑操作和/或积木式搭建操作,生成消息卡片。A message card is generated in response to an editing operation and/or a building block operation on the message card template.4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises:在所述交互界面上响应于针对所述消息卡片的预览操作,触发目标接收对象的选择事件;triggering a selection event of a target receiving object in response to a preview operation on the message card on the interactive interface;响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片组件;在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片组件;Determining the target receiving object in response to the selection event, searching for the message card component related to the authority of the target receiving object from the message card; displaying all the information related to the authority of the target receiving object on the interactive interface The above message card component;和/或,and / or,响应于所述选择事件确定目标接收对象,从所述消息卡片中查找与所述目标接收对象权限相关的所述消息卡片模板;在所述交互界面上展示与所述目标接收对象权限相关的所述消息卡片模板。Determining the target recipient in response to the selection event, searching the message card for the message card template related to the authority of the target recipient; displaying all the information related to the authority of the target recipient on the interactive interface Message Card Template.5.根据权利要求4所述的方法,其特征在于,在所述交互界面上响应于针对所述消息卡片的预览操作,触发目标接收对象的选择事件之前,还包括:5. The method according to claim 4, characterized in that, before triggering the selection event of the target receiving object in response to the preview operation for the message card on the interactive interface, further comprising:响应于针对对象的选择操作,确定不同的接收对象,其中,不同的所述接收对象用于接收所述消息卡片中不同的所述消息卡片组件和/或所述消息卡片模板;Responding to an object selection operation, determining different receiving objects, wherein different receiving objects are used to receive different message card components and/or message card templates in the message card;响应于针对所述消息卡片中所述消息卡片组件的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的权限。In response to the permission setting operation for the message card component in the message card, set different permissions of the recipient object to the message card component in the message card, and/or, in response to the message card component The permission setting operation of the message card template in the above is to set the permission of different receiving objects to the message card template in the message card.6.根据权利要求5所述的方法,其特征在于,所述响应于针对所述消息卡片中所述消息卡片组件的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的权限,包括:6. The method according to claim 5, characterized in that, in response to the permission setting operation for the message card component in the message card, setting different receiving objects for the message card component The permission of the message card component, and/or, in response to the permission setting operation for the message card template in the message card, setting different permissions of the receiving object on the message card template in the message card, including :响应于针对所述消息卡片中所述消息卡片组件的可见权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片组件的可见权限,和/或,响应于针对所述消息卡片中所述消息卡片模板的可见权限设置操作,设置不同的所述接收对象对所述消息卡片中所述消息卡片模板的可见权限。In response to the visible permission setting operation for the message card component in the message card, set different visibility permissions of the receiving object for the message card component in the message card, and/or, in response to the The visible authority setting operation of the message card template in the message card is to set the visible authority of different receiving objects to the message card template in the message card.7.根据权利要求1所述的方法,其特征在于,所述在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板,包括:7. The method according to claim 1, wherein the message card component is displayed in the first area of the interactive interface, and the message card template is displayed in the second area of the interactive interface, comprising:确定当前的业务场景,查找所述业务场景中使用情况满足预设条件的第一消息卡片组件和第一消息卡片模板;Determine the current business scenario, and search for the first message card component and the first message card template whose usage in the business scenario satisfies the preset condition;在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件;Displaying the first message card component in a marked manner in the first area of the interactive interface, and displaying the remaining second message card components in a non-marked manner;在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。The first message card template is displayed in a marked manner in the second area of the interactive interface, and the remaining second message card templates are displayed in a non-marked manner.8.根据权利要求5或6所述的方法,其特征在于,所述方法还包括:8. The method according to claim 5 or 6, wherein the method further comprises:确定所述消息卡片中所述消息卡片组件和/或所述消息卡片模板的权限设置情况;determining the permission settings of the message card component and/or the message card template in the message card;在所述第一区域显示所述消息卡片组件的所述权限设置情况,和/或,在所述第二区域显示所述消息卡片模板的所述权限设置情况。The permission setting of the message card component is displayed in the first area, and/or the permission setting of the message card template is displayed in the second area.9.根据权利要求1所述的方法,其特征在于,所述在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板,包括:9. The method according to claim 1, wherein the displaying the message card component in the first area of the interactive interface and displaying the message card template in the second area of the interactive interface comprises:获取消息卡片发送对象或者接收对象的对象画像,根据所述对象画像,对消息卡片组件以及消息卡片模板进行排序;Obtain the object portrait of the message card sending object or receiving object, and sort the message card components and message card templates according to the object portrait;在交互界面的第一区域,根据所述消息卡片组件的排序情况,显示所述消息卡片组件,前N名的所述消息卡片组件通过标记方式进行显示,所述N包括正整数;In the first area of the interactive interface, the message card components are displayed according to the ordering of the message card components, and the top N message card components are displayed by marking, and the N includes positive integers;在所述交互界面的第二区域,根据所述消息卡片模板的排序情况,显示所述消息卡片模板,前M名的所述消息卡片模板通过标记方式进行显示,所述M包括正整数。In the second area of the interactive interface, the message card templates are displayed according to the ordering of the message card templates, and the top M message card templates are displayed by marking, and the M includes a positive integer.10.根据权利要求1所述的方法,其特征在于,所述在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板,包括:10. The method according to claim 1, wherein the displaying the message card component in the first area of the interactive interface and displaying the message card template in the second area of the interactive interface comprises:确定当前的业务场景,查找与所述业务场景相关的第一消息卡片组件以及第一消息卡片模板;Determine the current business scenario, and search for a first message card component and a first message card template related to the business scenario;在交互界面的第一区域通过标记方式显示所述第一消息卡片组件,以及通过非标记方式显示剩余的第二消息卡片组件;Displaying the first message card component in a marked manner in the first area of the interactive interface, and displaying the remaining second message card components in a non-marked manner;在所述交互界面的第二区域通过标记方式显示所述第一消息卡片模板,以及通过非标记方式显示剩余的第二消息卡片模板。The first message card template is displayed in a marked manner in the second area of the interactive interface, and the remaining second message card templates are displayed in a non-marked manner.11.一种消息卡片生成装置,其特征在于,所述装置包括:11. A message card generation device, characterized in that the device comprises:第一显示模块,用于在交互界面的第一区域显示消息卡片组件,在所述交互界面的第二区域显示消息卡片模板;The first display module is used to display the message card component in the first area of the interactive interface, and display the message card template in the second area of the interactive interface;第二显示模块,用于响应于针对所述消息卡片组件的预设操作,将所述消息卡片组件显示在所述交互界面的第三区域;A second display module, configured to display the message card component in a third area of the interactive interface in response to a preset operation on the message card component;和/或,and / or,第三显示模块,用于响应于针对所述消息卡片模板的预设操作,将所述消息卡片模板显示在所述交互界面的第三区域;A third display module, configured to display the message card template in a third area of the interactive interface in response to a preset operation on the message card template;消息卡片生成模块,用于在所述第三区域,响应于针对所述消息卡片组件和/或所述消息卡片模板的触发操作,生成消息卡片。The message card generating module is configured to generate a message card in the third area in response to a trigger operation on the message card component and/or the message card template.12.一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;12. An electronic device, characterized in that it includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus;存储器,用于存放计算机程序;memory for storing computer programs;处理器,用于执行存储器上所存放的程序时,实现权利要求1-10中任一所述的方法步骤。The processor is configured to implement the method steps in any one of claims 1-10 when executing the program stored in the memory.13.一种存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-10中任一所述的方法。13. A storage medium, on which a computer program is stored, wherein when the program is executed by a processor, the method according to any one of claims 1-10 is implemented.
CN202210922479.9A2022-08-022022-08-02Message card generation method and device, electronic equipment and storage mediumPendingCN115328595A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210922479.9ACN115328595A (en)2022-08-022022-08-02Message card generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210922479.9ACN115328595A (en)2022-08-022022-08-02Message card generation method and device, electronic equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN115328595Atrue CN115328595A (en)2022-11-11

Family

ID=83920717

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210922479.9APendingCN115328595A (en)2022-08-022022-08-02Message card generation method and device, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN115328595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116166242A (en)*2023-03-222023-05-26广州嘉为科技有限公司Canvas-based measurement card implementation method, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116166242A (en)*2023-03-222023-05-26广州嘉为科技有限公司Canvas-based measurement card implementation method, device and storage medium
CN116166242B (en)*2023-03-222023-08-01广州嘉为科技有限公司Canvas-based measurement card implementation method, device and storage medium

Similar Documents

PublicationPublication DateTitle
JP6683387B2 (en) Resource sharing method, terminal, and storage medium
CN109005283B (en) Method, device, terminal and storage medium for displaying notification message
CN105612472B (en) Share images and comments across different devices
CN111432067B (en)Unread message number processing method, unread message number processing device, unread message number processing equipment and unread message number processing medium
KR20210019111A (en) Method and apparatus for displaying a chat room associated with a messenger application
US9559992B2 (en)System and method for updating information in an instant messaging application
US11321640B2 (en)Distributing a user interface for accessing files
AU2018229515B2 (en)Access management using electronic images
CN112016023B (en)Service processing method, device, terminal and storage medium
EP3074858A1 (en)Terminal device, screen sharing method, and screen sharing system
CN106294874A (en)Carry out the method and apparatus of picture and text mixing, immediate communication device in instant messaging
US20090111425A1 (en)Device and method for category based collaboration and control for mobile communications devices
CN107291320A (en)The display methods and equipment of application icon
CN102902451A (en)Information processing apparatus, program, and coordination processing method
US11876771B2 (en)Message display method and apparatus, computer device, storage medium, and program product
CN117742538A (en)Message display method, device, electronic equipment and readable storage medium
CN116471249A (en)Information processing method, information processing device, electronic equipment and storage medium
CN115328595A (en)Message card generation method and device, electronic equipment and storage medium
US20210385177A1 (en)Information processing apparatus and non-transitory computer readable medium
US20230019394A1 (en)Comtool Communication System
CN114741143B (en)Notification display method and electronic equipment
US9646267B1 (en)Following an entity in a social network
CN111552975B (en)Screen content identification and word segmentation decryption method based on android system terminal
US20240184424A1 (en)Communication system using user interfaces for automatic instant messenger chat summary generation
US20250227091A1 (en)Dynamic file transfer and generation system

Legal Events

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

[8]ページ先頭

©2009-2025 Movatter.jp